Run it
Copy the script and paste it into your executor.
Players = :()
ReplicatedStorage = :()
UserInputService = :()
player = Players.LocalPlayer
playerGui = player:()
character = player.Character player.CharacterAdded:()
humanoidRoot = character:()
sellPosition = .(, , -)
screenGui = .()
screenGui.Name =
screenGui.ResetOnSpawn =
screenGui.Parent = playerGui
frame = .()
frame.Size = .(, , , )
frame.Position = .(, -, , -)
frame.BackgroundColor3 = .(, , )
frame.BackgroundTransparency =
frame.Active =
frame.Parent = screenGui
dragBar = .()
dragBar.Size = .(, , , )
dragBar.Position = .(, , , )
dragBar.BackgroundColor3 = .(, , )
dragBar.Active =
dragBar.Parent = frame
dragLabel = .()
dragLabel.Size = .(, , , )
dragLabel.Position = .(, , , )
dragLabel.Text =
dragLabel.BackgroundTransparency =
dragLabel.TextColor3 = .(, , )
dragLabel.Font = .Font.SourceSans
dragLabel.TextSize =
dragLabel.Parent = dragBar
sellButton = .()
sellButton.Size = .(, , , -)
sellButton.Position = .(, , , )
sellButton.Text =
sellButton.BackgroundColor3 = .(, , )
sellButton.TextColor3 = .(, , )
sellButton.Font = .Font.SourceSansBold
sellButton.TextSize =
sellButton.Parent = frame
sellButton.MouseButton1Click:(()
originalPosition = humanoidRoot.Position
(()
humanoidRoot.CFrame = .(sellPosition)
.()
ReplicatedStorage:(, ):(, ):()
.()
humanoidRoot.CFrame = .(originalPosition)
)
)
dragging =
dragStart =
startPos =
(input)
dragging
delta = input.Position - dragStart
frame.Position = .(
startPos.X.Scale,
startPos.X.Offset + delta.X,
startPos.Y.Scale,
startPos.Y.Offset + delta.Y
)
dragBar.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging =
dragStart = input.Position
startPos = frame.Position
)
UserInputService.InputChanged:((input)
dragging (input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch)
(input)
)
UserInputService.InputEnded:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging =
)
()
touchConnection
moveConnection
dragBar.TouchTap:(() )
dragBar.TouchPan:((touchPositions, totalTranslation, velocity, state)
state == .UserInputState.Begin
dragging =
startPos = frame.Position
state == .UserInputState.Change dragging
frame.Position = .(
startPos.X.Scale,
startPos.X.Offset + totalTranslation.X,
startPos.Y.Scale,
startPos.Y.Offset + totalTranslation.Y
)
state == .UserInputState.End
dragging =
)
UserInputService.TouchEnabled
()
(im bad at scripting)

⛏️ Mines