
707 Views
178 Executions
* crab GUI
Universal Script 📌
SmoreBUTTSPublished 5
10 months ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Funny Bum slammer
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local gui = Instance.new("ScreenGui", LocalPlayer:WaitForChild("PlayerGui"))
local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 300, 0, 380)
frame.Position = UDim2.new(0.5, -150, 0.5, -190)
frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
frame.BorderSizePixel = 0
frame.Parent = gui
local UIS = game:GetService("UserInputService")
local drag, dragStart, startPos
frame.InputBegan:Connect(function(i)
if i.UserInputType == Enum.UserInputType.MouseButton1 then
drag = true
dragStart = i.Position
startPosPosition = frame.
end
end)
frame.InputChanged:Connect(function(i)
if i.UserInputType == Enum.UserInputType.MouseMovement and drag then
local delta = i.Position - dragStart
frame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X,
startPos.Y.Scale, startPos.Y.Offset + delta.Y)
end
end)
UIS.InputEnded:Connect(function(i)
if i.UserInputType == Enum.UserInputType.MouseButton1 then
drag = false
end
end)
-- TITLE








Dang smash
Doesnt work
You cant just put me for the players name or your name [Not display]