Run it
Copy the script and paste it into your executor.
Players = :()
player = Players.LocalPlayer
playerGui = player:()
screenGui = .()
screenGui.Name =
screenGui.ResetOnSpawn =
screenGui.Parent = playerGui
frame = .()
frame.Size = .(, , , )
frame.Position = .(, -, , )
frame.BackgroundColor3 = .(, , )
frame.BorderSizePixel =
frame.BorderColor3 = .(, , )
frame.Parent = screenGui
corner = .()
corner.CornerRadius = .(, )
corner.Parent = frame
dragging
dragInput
dragStart
startPos
(input)
delta = input.Position - dragStart
frame.Position = .(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
frame.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging =
dragStart = input.Position
startPos = frame.Position
input.Changed:(()
input.UserInputState == .UserInputState.End
dragging =
)
)
frame.InputChanged:((input)
input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch
dragInput = input
)
:().InputChanged:((input)
input == dragInput dragging
(input)
)
titleLabel = .()
titleLabel.Size = .(, , , )
titleLabel.Position = .(, , , )
titleLabel.BackgroundTransparency =
titleLabel.Text =
titleLabel.TextColor3 = .(, , )
titleLabel.TextSize =
titleLabel.Font = .Font.GothamBold
titleLabel.Parent = frame
directionLabel = .()
directionLabel.Size = .(, -, , )
directionLabel.Position = .(, , , )
directionLabel.BackgroundTransparency =
directionLabel.Text =
directionLabel.TextColor3 = .(, , )
directionLabel.TextSize =
directionLabel.Font = .Font.Gotham
directionLabel.TextXAlignment = .TextXAlignment.Left
directionLabel.Parent = frame
directionBox = .()
directionBox.Size = .(, , , )
directionBox.Position = .(, -, , )
directionBox.BackgroundColor3 = .(, , )
directionBox.Text =
directionBox.PlaceholderText =
directionBox.TextColor3 = .(, , )
directionBox.TextSize =
directionBox.Font = .Font.Gotham
directionBox.ClearTextOnFocus =
directionBox.Parent = frame
boxCorner = .()
boxCorner.CornerRadius = .(, )
boxCorner.Parent = directionBox
launchButton = .()
launchButton.Size = .(, , , )
launchButton.Position = .(, -, , )
launchButton.BackgroundColor3 = .(, , )
launchButton.Text =
launchButton.TextColor3 = .(, , )
launchButton.TextSize =
launchButton.Font = .Font.GothamBold
launchButton.Parent = frame
buttonCorner = .()
buttonCorner.CornerRadius = .(, )
buttonCorner.Parent = launchButton
()
character = player.Character
character
humanoidRootPart = character:()
humanoid = character:()
humanoidRootPart humanoid
input = directionBox.Text
x, y, z = , ,
numbers = {}
num .(input, )
.(numbers, (num))
#numbers >=
x, y, z = numbers[], numbers[], numbers[]
#numbers ==
x, y = numbers[], numbers[]
#numbers ==
y = numbers[]
humanoid:(.HumanoidStateType.Physics)
bodyVelocity = .()
bodyVelocity.MaxForce = .(.huge, .huge, .huge)
bodyVelocity.Velocity = .(x, y, z)
bodyVelocity.Parent = humanoidRootPart
bodyAngularVelocity = .()
bodyAngularVelocity.MaxTorque = .(.huge, .huge, .huge)
bodyAngularVelocity.AngularVelocity = .(
.(-, ),
.(-, ),
.(-, )
)
bodyAngularVelocity.Parent = humanoidRootPart
.()
bodyVelocity:()
bodyAngularVelocity:()
.(()
lastY = humanoidRootPart.Position.Y
stableCount =
stableCount <
.()
character character.Parent
humanoidRootPart humanoidRootPart.Parent
currentY = humanoidRootPart.Position.Y
velocityY = humanoidRootPart.AssemblyLinearVelocity.Y
.(velocityY) < .(currentY - lastY) <
stableCount = stableCount +
stableCount =
lastY = currentY
humanoid humanoid.Parent
humanoid:(.HumanoidStateType.GettingUp)
)
launchButton.MouseButton1Click:(launchPlayer)
launchButton.MouseEnter:(()
launchButton.BackgroundColor3 = .(, , )
)
launchButton.MouseLeave:(()
launchButton.BackgroundColor3 = .(, , )
)
Universal