Advertisement
xFLCN

Jump Script lol

Apr 30th, 2025 (edited)
11
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. -- Services
  2. local Players = game:GetService("Players")
  3. local RunService = game:GetService("RunService")
  4.  
  5. -- Create ScreenGui
  6. local screenGui = Instance.new("ScreenGui")
  7. screenGui.Name = "JumpGUI"
  8. screenGui.ResetOnSpawn = false
  9. screenGui.Parent = game.CoreGui
  10.  
  11. -- Create TextButton
  12. local button = Instance.new("TextButton")
  13. button.Size = UDim2.new(0, 60, 0, 60)
  14. button.Position = UDim2.new(0, 200, 0, 200)
  15. button.Text = "Niggay Jump"
  16. button.TextColor3 = Color3.new(1, 1, 1)
  17. button.Font = Enum.Font.SourceSansBold
  18. button.TextSize = 18
  19. button.Parent = screenGui
  20. button.Active = true
  21. button.Draggable = true
  22.  
  23. -- Make it round
  24. local corner = Instance.new("UICorner")
  25. corner.CornerRadius = UDim.new(1, 0) -- 100% round
  26. corner.Parent = button
  27.  
  28. -- Rainbow effect
  29. local hue = 0
  30. RunService.RenderStepped:Connect(function()
  31. hue = (hue + 0.002) % 1
  32. button.BackgroundColor3 = Color3.fromHSV(hue, 1, 1)
  33. end)
  34.  
  35. -- Jump on click
  36. button.MouseButton1Click:Connect(function()
  37. local player = Players.LocalPlayer
  38. local character = player.Character
  39. if character then
  40. local humanoid = character:FindFirstChildOfClass("Humanoid")
  41. if humanoid and humanoid:GetState() ~= Enum.HumanoidStateType.Jumping then
  42. humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
  43. end
  44. end
  45. end)
  46.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement