Run it
Copy the script and paste it into your executor.
Players = :()
UserInputService = :()
Player = Players.LocalPlayer
PlayerGui = Player:()
Leaderstats = Player:()
COINS_VALUE_INSTANCE = Leaderstats:()
FRAME_COLOR = .(, , )
BUTTON_COLOR = .(, , )
FONT_COLOR = .(, , )
FONT_STYLE = .Font.Cartoon
FRAME_SIZE = .(, , , )
ScreenGui = .()
ScreenGui.Name =
ScreenGui.Parent = PlayerGui
MainFrame = .()
MainFrame.Name =
MainFrame.Size = FRAME_SIZE
MainFrame.Position = .(, , , )
MainFrame.BackgroundColor3 = FRAME_COLOR
MainFrame.BorderSizePixel =
MainFrame.Parent = ScreenGui
FrameCorner = .()
FrameCorner.CornerRadius = .(, )
FrameCorner.Parent = MainFrame
DragHandle = .()
DragHandle.Name =
DragHandle.Size = .(, , , )
DragHandle.Position = .(, , , )
DragHandle.BackgroundColor3 = FRAME_COLOR
DragHandle.BackgroundTransparency =
DragHandle.Text =
DragHandle.Font = FONT_STYLE
DragHandle.TextSize =
DragHandle.TextColor3 = FONT_COLOR
DragHandle.Parent = MainFrame
CoinInput = .()
CoinInput.Name =
CoinInput.Size = .(, , , )
CoinInput.Position = .(, , , )
CoinInput.AnchorPoint = .(, )
CoinInput.PlaceholderText =
CoinInput.Font = FONT_STYLE
CoinInput.TextSize =
CoinInput.TextColor3 = FONT_COLOR
CoinInput.BackgroundColor3 = .(, , )
CoinInput.BorderSizePixel =
CoinInput.ClearTextOnFocus =
CoinInput.Parent = MainFrame
InputCorner = .()
InputCorner.CornerRadius = .(, )
InputCorner.Parent = CoinInput
SetButton = .()
SetButton.Name =
SetButton.Size = .(, , , )
SetButton.Position = .(, , , )
SetButton.AnchorPoint = .(, )
SetButton.Text =
SetButton.Font = FONT_STYLE
SetButton.TextSize =
SetButton.TextColor3 = .(, , )
SetButton.BackgroundColor3 = BUTTON_COLOR
SetButton.BorderSizePixel =
SetButton.Parent = MainFrame
ButtonCorner = .()
ButtonCorner.CornerRadius = .(, )
ButtonCorner.Parent = SetButton
()
text = CoinInput.Text
numberValue = (text)
numberValue ~=
COINS_VALUE_INSTANCE COINS_VALUE_INSTANCE:()
COINS_VALUE_INSTANCE.Value = numberValue
SetButton.Text = .. numberValue ..
.()
SetButton.Text =
()
SetButton.Text =
.()
SetButton.Text =
SetButton.MouseButton1Click:(setValue)
dragging =
dragOffset = .zero
(input)
(input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch) input.Target == DragHandle
dragging =
framePosition = MainFrame.AbsolutePosition
dragOffset = input.Position - framePosition
(input)
dragging (input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch)
newPos = input.Position - dragOffset
MainFrame.Position = .(newPos.X, newPos.Y)
(input)
(input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch) dragging
dragging =
dragOffset = .zero
UserInputService.InputBegan:(handleInputBegan)
UserInputService.InputChanged:(handleInputChanged)
UserInputService.InputEnded:(handleInputEnded)
()
Set coins [cilent]

Forsaken RP