Run it
Copy the script and paste it into your executor.
Players = :()
UserInputService = :()
StarterGui = :()
TweenService = :()
player = Players.LocalPlayer
screenGui
infoGuiDisplayed =
button
lastPosition = .(, -, , -)
resetCooldown =
()
(()
StarterGui:(, {
Title = ,
Text = ,
Duration =
})
)
()
screenGui = .()
screenGui.Name =
screenGui.Parent = player:()
button = .()
button.Size = .(, , , )
button.Position = lastPosition
button.Text =
button.BackgroundColor3 = .(, , )
button.TextColor3 = .(, , )
button.Font = .Font.GothamBold
button.TextSize =
button.BorderSizePixel =
button.AutoButtonColor =
button.Parent = screenGui
uiCorner = .()
uiCorner.CornerRadius = .(, )
uiCorner.Parent = button
dragging =
dragStart
startPos
button.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1
dragging =
dragStart = input.Position
startPos = button.Position
)
button.InputEnded:((input)
input.UserInputType == .UserInputType.MouseButton1
dragging =
lastPosition = button.Position
)
button.MouseButton1Click:(()
resetCooldown
resetCooldown =
player.Character:()
()
resetCooldown =
)
UserInputService.InputChanged:((input)
dragging input.UserInputType == .UserInputType.MouseMovement
delta = input.Position - dragStart
newPosition = .(
startPos.X.Scale,
startPos.X.Offset + delta.X,
startPos.Y.Scale,
startPos.Y.Offset + delta.Y
)
tweenInfo = TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out)
tween = TweenService:(button, tweenInfo, {Position = newPosition})
tween:()
)
screenGui.Enabled =
()
infoGuiDisplayed UserInputService.TouchEnabled
()
screenGui.Enabled =
infoGuiDisplayed =
infoGui = .()
infoGui.Name =
infoGui.Parent = player:()
frame = .()
frame.Size = .(, , , )
frame.Position = .(, -, , -)
frame.BackgroundColor3 = .(, , )
frame.Parent = infoGui
textLabel = .()
textLabel.Size = .(, , , )
textLabel.Position = .(, , , )
textLabel.Text =
textLabel.TextColor3 = .(, , )
textLabel.Font = .Font.GothamBold
textLabel.TextSize =
textLabel.BackgroundTransparency =
textLabel.Parent = frame
okButton = .()
okButton.Size = .(, , , )
okButton.Position = .(, , , )
okButton.Text =
okButton.BackgroundColor3 = .(, , )
okButton.TextColor3 = .(, , )
okButton.Font = .Font.GothamBold
okButton.TextSize =
okButton.Parent = frame
uiCorner = .()
uiCorner.CornerRadius = .(, )
uiCorner.Parent = okButton
okButton.MouseButton1Click:(()
infoGui:()
()
screenGui.Enabled =
)
()
screenGui
screenGui.Enabled = screenGui.Enabled
UserInputService.InputBegan:((input, gameProcessed)
gameProcessed input.KeyCode == .KeyCode.F
()
)
player.CharacterAdded:(()
player:()
player.PlayerGui:()
player.PlayerGui.ResetButtonGui:()
()
)
.PlaceId ==
()
()just a random reset script, can be good for things like try to die or for games that dont support resetting (do not spam click in try to die, anti-cheat will kick you). if it doesnt load try executing again