Advertisement
Mayosis

+1 per second jump roblox tamplate

Feb 2nd, 2023
1,135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.48 KB | Gaming | 0 0
  1. --- increases the player's jump height by 1 each second script
  2.  
  3. local player = game.Players.LocalPlayer
  4. local char = player.Character or player.CharacterAdded:Wait()
  5.  
  6. while true do
  7.     char.Humanoid.JumpPower = char.Humanoid.JumpPower + 1
  8.     wait(1)
  9. end
  10.  
  11. --- Place this script in a Script object within the Roblox studio and run it to increase the player jump height by 1 each second
  12. --- leaderboard
  13.  
  14. local player = game.Players.LocalPlayer
  15. local char = player.Character or player.CharacterAdded:Wait()
  16. local jumpPower = Instance.new("IntValue")
  17. jumpPower.Name = "JumpPower"
  18. jumpPower.Parent = player
  19. jumpPower.Value = 16
  20.  
  21. char:GetPropertyChangedSignal("Humanoid.JumpPower"):Connect(function()
  22.     jumpPower.Value = char.Humanoid.JumpPower
  23. end)
  24. --- Place this script in a Script object within the Roblox Studio and the player's jump power will be tracked and displayed in the leaderboard
  25. --- amount gui that counts your jump ( no need to add GUI cuz the gui creates it self)
  26.  
  27. local player = game.Players.LocalPlayer
  28. local char = player.Character or player.CharacterAdded:Wait()
  29.  
  30. local jumpGUI = Instance.new("ScreenGui")
  31. local jumpLabel = Instance.new("TextLabel")
  32. jumpLabel.Parent = jumpGUI
  33. jumpLabel.Text = "Jump Height: " .. char.Humanoid.JumpPower
  34. jumpLabel.Position = UDim2.new(0.5, 0, 0.5, 0)
  35. jumpLabel.Size = UDim2.new(0, 100, 0, 50)
  36. jumpLabel.TextXAlignment = "Center"
  37. jumpLabel.TextYAlignment = "Center"
  38.  
  39. char:GetPropertyChangedSignal("Humanoid.JumpPower"):Connect(function()
  40.     jumpLabel.Text = "Jump Height: " .. char.Humanoid.JumpPower
  41. end)
  42.  
  43. jumpGUI.Parent = player.PlayerGui
  44. --- Place this script in a Script object within the Roblox Studio, and run it to display the player's current jump height in a GUI.
  45. ---  button script rebirth feature that double the per second jump and show the cost rebirth, when you dont have the cost amount of jump pop up text "NOT ENOUGH" with red color, if you want to rebirth again the cost is double and the per second jump is double ( no need to add GUI )
  46.  
  47. local player = game.Players.LocalPlayer
  48. local char = player.Character or player.CharacterAdded:Wait()
  49. local cost = 100
  50. local rate = 1
  51.  
  52. local rebirthButton = Instance.new("TextButton")
  53. rebirthButton.Text = "Rebirth (Cost: " .. cost .. ")"
  54. rebirthButton.Parent = game.StarterGui
  55. rebirthButton.Size = UDim2.new(0, 100, 0, 50)
  56. rebirthButton.Position = UDim2.new(0.5, 0, 0.5, 0)
  57. rebirthButton.TextXAlignment = "Center"
  58. rebirthButton.TextYAlignment = "Center"
  59.  
  60. rebirthButton.MouseButton1Click:Connect(function()
  61.     if char.Humanoid.JumpPower >= cost then
  62.         char.Humanoid.JumpPower = char.Humanoid.JumpPower - cost
  63.         cost = cost * 2
  64.         rate = rate * 2
  65.         rebirthButton.Text = "Rebirth (Cost: " .. cost .. ")"
  66.     else
  67.         local notEnoughLabel = Instance.new("TextLabel")
  68.         notEnoughLabel.Parent = game.StarterGui
  69.         notEnoughLabel.Text = "NOT ENOUGH"
  70.         notEnoughLabel.Size = UDim2.new(0, 100, 0, 50)
  71.         notEnoughLabel.Position = UDim2.new(0.5, 0, 0.5, 0)
  72.         notEnoughLabel.TextXAlignment = "Center"
  73.         notEnoughLabel.TextYAlignment = "Center"
  74.         notEnoughLabel.TextColor3 = Color3.new(1, 0, 0)
  75.         wait(3)
  76.         notEnoughLabel:Destroy()
  77.     end
  78. end)
  79.  
  80. while true do
  81.     char.Humanoid.JumpPower = char.Humanoid.JumpPower + rate
  82.     wait(1)
  83. end
  84. --- Place this script in a Script object within the Roblox Studio and run it to enable the rebirth button.
  85. --- if you have problem pls comment i will fix it i guess idk
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement