I’m trying to make a sprinting system that only allows players to sprint for 10 seconds or so and then they have to wait for it to recharge until its no longer at 0 so they can sprint again. Do you guys know how to disable sprinting? I read on the wiki that ply:SprintDisable is broken, So could you guys give me ideas on how to work around that?
Set the sprint speed to the walk speed.
Oh, I think I see where your going with this. Then say if the player is in key pressed shift SetRunSpeed(400) or something of that matter?
Where would you type this? into console command? or make a lua file with the data in it?
Put it in init.lua in the game mode under your spawning conditions