11.1k Views
97 Executions
auto roll traits (Read Description)
Tower Defense RNG
ShadowMonarchPublished 5
2 years ago
Please login to perform these actions:auto roll traits (Read Description) is a Tower Defense RNG script for Roblox, uploaded to ScriptBlox on Nov 12, 2024.
Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
It works but not very optimized make sure to have auto roll off before you execute and after execution just roll once on any tower or trap you want to roll on after you get the traits just press stop rolling and if you wanna roll on a different tower roll one it once then press start rolling ( i tried my best to make it detect traits that you have rolled and then stop the script if you get all traits but that didn't work out well) if anyone wants to make it better please be my guest as I am not that great at coding
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local RollService = ReplicatedStorage:WaitForChild("_NetworkServiceContainer"):WaitForChild("RollService")
local activeUUID = nil
local rolling = true
local function createDraggableButton(buttonText, initialPosition, buttonColor)
local CustomScreenGui = Instance.new("ScreenGui")
local CustomButton = Instance.new("TextButton")
local UICorner = Instance.new("UICorner")
local UIStroke = Instance.new("UIStroke")
local CoreGui = game:GetService("CoreGui")
CustomScreenGui.Name = "RollingControlGUI"
CustomScreenGui.Parent = CoreGui
CustomScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
CustomScreenGui.ResetOnSpawn = false
CustomButton.Parent = CustomScreenGui
CustomButton.BackgroundColor3 = buttonColor or Color3.fromRGB(255, 255, 255)
CustomButton.BackgroundTransparency = 0.5
CustomButton.Position = initialPosition
CustomButton.Size = UDim2.new(0.1, 0, 0.05, 0)
CustomButton.Text = buttonText
CustomButton.TextColor3 = Color3.fromRGB(255, 255, 255)
CustomButton.TextScaled = true
UICorner.CornerRadius = UDim.new(1, 0)
UICorner.Parent = CustomButton
UIStroke.Parent = CustomButton
UIStroke.Thickness = 2
UIStroke.Color = Color3.fromRGB(0, 0, 0)
local dragging
local dragInput, dragStart, startPos
CustomButton.InputBegan:Connect(function(input)
![[2X🍀] Tower Defense RNG](/images/script/18458348062-1731498064879.png)
![[2X🍀] Tower Defense RNG](/images/script/18458348062-1744816242192.webp)
my script is remix for his, the mechanic is almost same
very cool LIKE :)
nice script LIKE :)
🤫
GPT
I tried my best to make it as optimized as possible please read description before using it