Hi there! Today I’m letting out a simple script that enables you to climb up on the nearest object, similar to GTA IV! Idea was from JediJosh920’s ParkourIV script, but I took nothing from it.
I haven’t seen something like this released to the public, so I figured I would for anyone who’d find it useful
VERSION 1.1
Now when you spam that space bar, you won’t be jumping all over the place! (was a funny bug). You may still be able to do a double jump, but this is something to do with the taskclimb native that if there is nothing to climb, you just jump again. I will look more into how to cancel this out so you don’t double jump. But other than that, it will be more accurate. Don’t go and try to spam the space bar to try to catch the ledge, you’ll only cancel out your chance to climb & fall to your death.
I understood that the last moment from the video seemed ridiculous to many, but I decided to correct it and forgot to publish it for you. Just added two numbers seven and zero. Have fun! Oh yeah, now you need a little more skill to master parkour
Citizen.CreateThread(function()
while true do
ped = GetPlayerPed(-1)
if IsPedJumping(ped) and IsControlJustPressed(0, 22) then
TaskClimb(ped, 0)
end
Citizen.Wait(70)
end
end)
I was expecting a short delay would’ve fixed it. though id like to make it where the player wouldn’t ragdoll so quickly so you could maybe be able to reach other things too.