Run it
Copy the script and paste it into your executor.
Players = :()
UIS = :()
player = Players.LocalPlayer
playerGui = player:()
oldGui = playerGui:()
oldGui
oldGui:()
gui = .()
gui.Name =
gui.ResetOnSpawn =
gui.Parent = playerGui
toggle = .()
toggle.Name =
toggle.Size = .(, )
toggle.Position = .(, , , )
toggle.BackgroundColor3 = .(, , )
toggle.BorderColor3 = .(, , )
toggle.BorderSizePixel =
toggle.Text =
toggle.TextColor3 = .(, , )
toggle.TextSize =
toggle.Font = .Font.GothamBlack
toggle.Active =
toggle.Parent = gui
menu = .()
menu.Name =
menu.Size = .(, )
menu.Position = .(, -, , -)
menu.BackgroundColor3 = .(, , )
menu.BorderColor3 = .(, , )
menu.BorderSizePixel =
menu.Visible =
menu.Parent = gui
title = .()
title.Size = .(, , , )
title.BackgroundTransparency =
title.Text =
title.TextColor3 = .(, , )
title.Font = .Font.GothamBlack
title.TextSize =
title.Parent = menu
button = .()
button.Size = .(, , , )
button.Position = .(, , , )
button.BackgroundColor3 = .(, , )
button.BorderColor3 = .(, , )
button.BorderSizePixel =
button.TextColor3 = .(, , )
button.Text =
button.Font = .Font.GothamBold
button.TextSize =
button.Parent = menu
count =
button.Activated:(()
count +=
button.Text = .. count
)
dragging =
pressPosition
buttonStartPosition
activeInput
moved =
dragThreshold =
toggle.InputBegan:((input)
input.UserInputType ~= .UserInputType.Touch
input.UserInputType ~= .UserInputType.MouseButton1
dragging =
moved =
activeInput = input
pressPosition = input.Position
buttonStartPosition = toggle.Position
)
UIS.InputChanged:((input)
dragging
validInput =
input.UserInputType == .UserInputType.MouseMovement
(input.UserInputType == .UserInputType.Touch
activeInput == input)
validInput
delta = input.Position - pressPosition
delta.Magnitude > dragThreshold
moved =
moved
toggle.Position = .(
buttonStartPosition.X.Scale,
buttonStartPosition.X.Offset + delta.X,
buttonStartPosition.Y.Scale,
buttonStartPosition.Y.Offset + delta.Y
)
)
UIS.InputEnded:((input)
input == activeInput
input.UserInputType == .UserInputType.MouseButton1
dragging =
activeInput =
)
lastPressPosition
wasDragging =
toggle.Activated:(()
moved
menu.Visible = menu.Visible
)
()Esse script é bom para pessoas que está sem fazer nada ou AFK... Esse script pode ser usado para (auto click) e etc. É um script bem básico, se você quiser dar um apoio para usar ele, fique à vontade!!