Advertisement
Smartdumgood

Speed & Jump for roblox

Nov 30th, 2024
1,302
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.00 KB | None | 0 0
  1. local Players = game:GetService("Players")
  2. local LocalPlayer = Players.LocalPlayer
  3.  
  4. -- Create the ScreenGui
  5. local ScreenGui = Instance.new("ScreenGui")
  6. ScreenGui.Name = "SpeedJumpGUI"
  7. ScreenGui.ResetOnSpawn = false
  8. ScreenGui.Parent = LocalPlayer.PlayerGui
  9.  
  10. -- Create Speed Input
  11. local SpeedFrame = Instance.new("Frame")
  12. SpeedFrame.Size = UDim2.new(0, 200, 0, 100)
  13. SpeedFrame.Position = UDim2.new(0.1, 0, 0.4, 0)
  14. SpeedFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  15. SpeedFrame.BorderSizePixel = 2
  16. SpeedFrame.Parent = ScreenGui
  17.  
  18. local SpeedTextBox = Instance.new("TextBox")
  19. SpeedTextBox.Size = UDim2.new(0.8, 0, 0.4, 0)
  20. SpeedTextBox.Position = UDim2.new(0.1, 0, 0.1, 0)
  21. SpeedTextBox.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  22. SpeedTextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  23. SpeedTextBox.PlaceholderText = "Enter Speed"
  24. SpeedTextBox.Text = ""
  25. SpeedTextBox.Font = Enum.Font.SourceSansBold
  26. SpeedTextBox.TextSize = 16
  27. SpeedTextBox.Parent = SpeedFrame
  28.  
  29. local SpeedButton = Instance.new("TextButton")
  30. SpeedButton.Size = UDim2.new(0.8, 0, 0.3, 0)
  31. SpeedButton.Position = UDim2.new(0.1, 0, 0.6, 0)
  32. SpeedButton.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
  33. SpeedButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  34. SpeedButton.Text = "Set Speed"
  35. SpeedButton.Font = Enum.Font.SourceSansBold
  36. SpeedButton.TextSize = 16
  37. SpeedButton.Parent = SpeedFrame
  38.  
  39. -- Create Jump Power Input
  40. local JumpFrame = Instance.new("Frame")
  41. JumpFrame.Size = UDim2.new(0, 200, 0, 100)
  42. JumpFrame.Position = UDim2.new(0.1, 0, 0.55, 0)
  43. JumpFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  44. JumpFrame.BorderSizePixel = 2
  45. JumpFrame.Parent = ScreenGui
  46.  
  47. local JumpTextBox = Instance.new("TextBox")
  48. JumpTextBox.Size = UDim2.new(0.8, 0, 0.4, 0)
  49. JumpTextBox.Position = UDim2.new(0.1, 0, 0.1, 0)
  50. JumpTextBox.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  51. JumpTextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  52. JumpTextBox.PlaceholderText = "Enter Jump Power"
  53. JumpTextBox.Text = ""
  54. JumpTextBox.Font = Enum.Font.SourceSansBold
  55. JumpTextBox.TextSize = 16
  56. JumpTextBox.Parent = JumpFrame
  57.  
  58. local JumpButton = Instance.new("TextButton")
  59. JumpButton.Size = UDim2.new(0.8, 0, 0.3, 0)
  60. JumpButton.Position = UDim2.new(0.1, 0, 0.6, 0)
  61. JumpButton.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
  62. JumpButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  63. JumpButton.Text = "Set Jump Power"
  64. JumpButton.Font = Enum.Font.SourceSansBold
  65. JumpButton.TextSize = 16
  66. JumpButton.Parent = JumpFrame
  67.  
  68. -- Button Functions
  69. SpeedButton.MouseButton1Click:Connect(function()
  70. local speed = tonumber(SpeedTextBox.Text)
  71. if speed and LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Humanoid") then
  72. LocalPlayer.Character.Humanoid.WalkSpeed = speed
  73. end
  74. end)
  75.  
  76. JumpButton.MouseButton1Click:Connect(function()
  77. local jumpPower = tonumber(JumpTextBox.Text)
  78. if jumpPower and LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Humanoid") then
  79. LocalPlayer.Character.Humanoid.JumpPower = jumpPower
  80. end
  81. end)
  82.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement