#Disable jumping

1 messages · Page 1 of 1 (latest)

austere jetty
#

Hey I just need something how I can disable and jumping for the local player and than reactivate it again...

austere jetty
#

ok thanks

austere jetty
# plain tendon set jumppower to 0

Hey I want to like make it so the player has a little jump cooldown but it doesnt work... could you help me there her is the script :```lua
local jump = game.StarterPlayer.CharacterJumpPower

local function character_added(char:Model)
task.wait()
local humanoid = char.Humanoid

humanoid.StateChanged:Connect(function(old_state, new_state)
    if new_state==Enum.HumanoidStateType.Jumping then
        print("Jumping")
        jump = 0
        wait(3)
        jump = 24
    end
end)

end

if game.Players.LocalPlayer.Character then
character_added(game.Players.LocalPlayer.Character)
end

game.Players.LocalPlayer.CharacterAdded:Connect(character_added)```

#

and bt it prints Jumping

plain tendon
#

That's how most cooldowns are done.

austere jetty
#

doesnt do anything just stops the print thing from printing

austere jetty