Run it
Copy the script and paste it into your executor.
Players = :()
ReplicatedStorage = :()
UserInputService = :()
TweenService = :()
player = Players.LocalPlayer
playerGui = player:()
claiming =
connection
speed =
screenGui = .()
screenGui.Name =
screenGui.ResetOnSpawn =
screenGui.Parent = playerGui
mainFrame = .()
mainFrame.Size = .(, , , )
mainFrame.Position = .(, -, , -)
mainFrame.BackgroundColor3 = .(, , )
mainFrame.BorderSizePixel =
mainFrame.Active =
mainFrame.Parent = screenGui
corner = .()
corner.CornerRadius = .(, )
corner.Parent = mainFrame
title = .()
title.Size = .(, -, , )
title.Position = .(, , , )
title.BackgroundTransparency =
title.Text =
title.TextColor3 = .(, , )
title.Font = .Font.GothamBold
title.TextSize =
title.TextXAlignment = .TextXAlignment.Left
title.Parent = mainFrame
closeBtn = .()
closeBtn.Size = .(, , , )
closeBtn.Position = .(, -, , )
closeBtn.BackgroundColor3 = .(, , )
closeBtn.Text =
closeBtn.TextColor3 = .(,,)
closeBtn.Font = .Font.GothamBold
closeBtn.TextSize =
closeBtn.Parent = mainFrame
closeCorner = .()
closeCorner.CornerRadius = .(, )
closeCorner.Parent = closeBtn
toggleBtn = .()
toggleBtn.Size = .(, -, , )
toggleBtn.Position = .(, , , )
toggleBtn.BackgroundColor3 = .(, , )
toggleBtn.Text =
toggleBtn.TextColor3 = .(,,)
toggleBtn.Font = .Font.GothamBold
toggleBtn.TextSize =
toggleBtn.AutoButtonColor =
toggleBtn.Parent = mainFrame
toggleCorner = .()
toggleCorner.CornerRadius = .(, )
toggleCorner.Parent = toggleBtn
speedLabel = .()
speedLabel.Size = .(, -, , )
speedLabel.Position = .(, , , )
speedLabel.BackgroundTransparency =
speedLabel.Text =
speedLabel.TextColor3 = .(, , )
speedLabel.Font = .Font.Gotham
speedLabel.TextSize =
speedLabel.TextXAlignment = .TextXAlignment.Center
speedLabel.Parent = mainFrame
sliderFrame = .()
sliderFrame.Size = .(, -, , )
sliderFrame.Position = .(, , , )
sliderFrame.BackgroundColor3 = .(, , )
sliderFrame.Parent = mainFrame
sliderCorner = .()
sliderCorner.CornerRadius = .(, )
sliderCorner.Parent = sliderFrame
sliderFill = .()
sliderFill.Size = .(, , , )
sliderFill.Position = .(, , , )
sliderFill.BackgroundColor3 = .(, , )
sliderFill.Parent = sliderFrame
fillCorner = .()
fillCorner.CornerRadius = .(, )
fillCorner.Parent = sliderFill
sliderKnob = .()
sliderKnob.Size = .(, , , )
sliderKnob.Position = .(, -, , -)
sliderKnob.BackgroundColor3 = .(, , )
sliderKnob.ZIndex =
sliderKnob.Parent = sliderFrame
knobCorner = .()
knobCorner.CornerRadius = .(, )
knobCorner.Parent = sliderKnob
knobStroke = .()
knobStroke.Thickness =
knobStroke.Color = .(, , )
knobStroke.Parent = sliderKnob
()
percent = .((speed - ) / , , )
sliderFill.Size = .(percent, , , )
sliderKnob.Position = .(percent, -, , -)
speedLabel.Text = .. speed
dragging =
sliderFrame.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging =
)
UserInputService.InputChanged:((input)
dragging (input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch)
relX = .((input.Position.X - sliderFrame.AbsolutePosition.X) / sliderFrame.AbsoluteSize.X, , )
speed = .(relX * + )
()
)
UserInputService.InputEnded:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging =
)
draggingGUI =
dragStart, startPos
title.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
draggingGUI =
dragStart = input.Position
startPos = mainFrame.Position
)
UserInputService.InputChanged:((input)
draggingGUI (input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch)
delta = input.Position - dragStart
mainFrame.Position = .(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
)
UserInputService.InputEnded:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
draggingGUI =
)
toggleBtn.MouseButton1Click:(()
claiming = claiming
claiming
toggleBtn.Text =
TweenService:(toggleBtn, TweenInfo.(), {BackgroundColor3 = .(, , )}):()
connection = .(()
claiming
i = , speed
claiming
(()
ReplicatedStorage.LikeAndJoinService.RE.Claimed:(.({
[] = ,
[] = ,
}))
)
.()
)
toggleBtn.Text =
TweenService:(toggleBtn, TweenInfo.(), {BackgroundColor3 = .(, , )}):()
connection .(connection)
)
closeBtn.MouseButton1Click:(()
claiming =
connection .(connection)
screenGui:()
)
()Simple Gui