Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Players = game:GetService("Players")
- local LocalPlayer = Players.LocalPlayer
- -- Create the ScreenGui
- local ScreenGui = Instance.new("ScreenGui")
- ScreenGui.Name = "SpeedJumpGUI"
- ScreenGui.ResetOnSpawn = false
- ScreenGui.Parent = LocalPlayer.PlayerGui
- -- Create Speed Input
- local SpeedFrame = Instance.new("Frame")
- SpeedFrame.Size = UDim2.new(0, 200, 0, 100)
- SpeedFrame.Position = UDim2.new(0.1, 0, 0.4, 0)
- SpeedFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- SpeedFrame.BorderSizePixel = 2
- SpeedFrame.Parent = ScreenGui
- local SpeedTextBox = Instance.new("TextBox")
- SpeedTextBox.Size = UDim2.new(0.8, 0, 0.4, 0)
- SpeedTextBox.Position = UDim2.new(0.1, 0, 0.1, 0)
- SpeedTextBox.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
- SpeedTextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
- SpeedTextBox.PlaceholderText = "Enter Speed"
- SpeedTextBox.Text = ""
- SpeedTextBox.Font = Enum.Font.SourceSansBold
- SpeedTextBox.TextSize = 16
- SpeedTextBox.Parent = SpeedFrame
- local SpeedButton = Instance.new("TextButton")
- SpeedButton.Size = UDim2.new(0.8, 0, 0.3, 0)
- SpeedButton.Position = UDim2.new(0.1, 0, 0.6, 0)
- SpeedButton.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
- SpeedButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- SpeedButton.Text = "Set Speed"
- SpeedButton.Font = Enum.Font.SourceSansBold
- SpeedButton.TextSize = 16
- SpeedButton.Parent = SpeedFrame
- -- Create Jump Power Input
- local JumpFrame = Instance.new("Frame")
- JumpFrame.Size = UDim2.new(0, 200, 0, 100)
- JumpFrame.Position = UDim2.new(0.1, 0, 0.55, 0)
- JumpFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- JumpFrame.BorderSizePixel = 2
- JumpFrame.Parent = ScreenGui
- local JumpTextBox = Instance.new("TextBox")
- JumpTextBox.Size = UDim2.new(0.8, 0, 0.4, 0)
- JumpTextBox.Position = UDim2.new(0.1, 0, 0.1, 0)
- JumpTextBox.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
- JumpTextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
- JumpTextBox.PlaceholderText = "Enter Jump Power"
- JumpTextBox.Text = ""
- JumpTextBox.Font = Enum.Font.SourceSansBold
- JumpTextBox.TextSize = 16
- JumpTextBox.Parent = JumpFrame
- local JumpButton = Instance.new("TextButton")
- JumpButton.Size = UDim2.new(0.8, 0, 0.3, 0)
- JumpButton.Position = UDim2.new(0.1, 0, 0.6, 0)
- JumpButton.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
- JumpButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- JumpButton.Text = "Set Jump Power"
- JumpButton.Font = Enum.Font.SourceSansBold
- JumpButton.TextSize = 16
- JumpButton.Parent = JumpFrame
- -- Button Functions
- SpeedButton.MouseButton1Click:Connect(function()
- local speed = tonumber(SpeedTextBox.Text)
- if speed and LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Humanoid") then
- LocalPlayer.Character.Humanoid.WalkSpeed = speed
- end
- end)
- JumpButton.MouseButton1Click:Connect(function()
- local jumpPower = tonumber(JumpTextBox.Text)
- if jumpPower and LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Humanoid") then
- LocalPlayer.Character.Humanoid.JumpPower = jumpPower
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement