Run it
Copy the script and paste it into your executor.
local UIS = game:GetService("UserInputService")
local lp = game.Players.LocalPlayer
local glue = PhysicalProperties.new(100, 0.5, 1, 100, 100)
local normal = PhysicalProperties.new(0.7, 0.3, 0.5, 1, 1)
local gui = Instance.(, lp.PlayerGui)
gui.Name =
gui.ResetOnSpawn =
frame = .(, gui)
frame.Size = .(, , , )
frame.Position = .(, -, , )
frame.BackgroundColor3 = .(, , )
frame.BorderSizePixel =
frame.BorderColor3 = .(, , )
btn = .(, frame)
btn.Size = .(, , , )
btn.BackgroundTransparency =
btn.Text =
btn.TextColor3 = .(, , )
btn.Font =
btn.TextSize =
drag =
startPos, dragStart
btn.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
drag =
dragStart = input.Position
startPos = frame.Position
)
UIS.InputChanged:((input)
drag (input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch)
delta = input.Position - dragStart
frame.Position = .(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
)
UIS.InputEnded:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
drag =
)
active =
()
c = lp.Character
c
_, v (c:())
v:()
v.CustomPhysicalProperties = active glue normal
v.RootPriority = active
btn.MouseButton1Click:(()
active = active
btn.Text = active
frame.BorderColor3 = active .(, , ) .(, , )
()
)
lp.CharacterAdded:(()
.()
active
()
)IT sticks to anything (on the ground), also u can change the value on the script on the first value an the top