Jump Power Script Not Working

I’m trying to make a “Every Second You Get +1 Jump Power” type of game, but the script isn’t working

I’ve tried checking the script for errors or looking in output, no errors

It’s made by an AI, usually the problem for me, but the scripts by this AI always work
This is confusing.

repeat task.wait() until game:IsLoaded()
game:GetService("RunService").RenderStepped:Connect(function()
local plr = game.Players.LocalPlayer

plr.Character:FindFirstChildOfClass("Humanoid").JumpPower += 1
task.wait(1)
end)

I don’t see anything wrong with this code. Is there any other code in this script you can show us?

its just these 5 lines in the script

Can you try this?

local Player = game.Players.LocalPlayer

while true do
    wait(1)
    if not Player.Character then continue end -- checks to see if the character exists
    Player.Character.Humanoid.JumpPower += 1
end

do i place it in workspace or somewhere else?

Please check whether you have UseJumpPower enabled. If yes then just add this

player.Character.Humanoid.UseJumpPower = true

in a local script under either starter character scripts or starter player scripts

turns out i was using a basic script and not a localscript

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.