• Please report every thread you think might be harmful or does not meet expectations or the link is offline, you will be refunded the credits you paid and the Thread Starter recieves a message to update his content, if its malicious we remove it and warn and eventualy the TS if it reoccurs.

Disable bunny hopping (1 Viewer)

brane5019

New member
Joined
Feb 21, 2024
Messages
2
Reaction score
0
Points
1
Credits
18
The character falls to the ground after jumping two or three times and then stands up.

Add any Client.lua

Citizen.CreateThread(function()

while true do

Citizen.Wait(100)

local ped = PlayerPedId()

if IsPedOnFoot(ped) and not IsPedSwimming(ped) and (IsPedRunning(ped) or IsPedSprinting(ped)) and not IsPedClimbing(ped) and IsPedJumping(ped) and not IsPedRagdoll(ped) then

local chance_result = math.random()

if chance_result < 0.50 then

Citizen.Wait(600)

SetPedToRagdoll(ped, 5000, 1, 2)

else

Citizen.Wait(2000)

end

end

end

end)
 

Users who are viewing this thread

Top