Hey guys, im getting no errors the first past before the wait works, and it stops my walkspeed, but then after I change it back and the jumppower it wont change and I get stuck, any help??
Sorry if I’m misunderstanding something, but it seems as if you’re saying specifically the JumpPower of the player doesn’t change back to normal after the wait? Could you please elaborate on this and tell us if there are any errors in the output?
Also as a recommendation, I suggest that you should add a debounce to your function so that the function will not execute if it has already been executed.
You only added the ClickDetector unto the event, but wheres the part? For example if you are using an object to interact with the player what you should do is
The thing is, you probably didn’t make the whole animation to finish first before moving on. It would be super cool if you showed us a screenshot of your output!
You are wrong. You load an instance, not an int64 or string.
Please make sure you research the API if you are unsure of any information.
Please also don’t spam replies. You can always edit anything you put instead.
@NinjazBeast
It’s possible you are deleting the script or parenting object, and you are unaware of it. After clicking the part, make sure it still exists in workspace.
Keep a variable for your Humanoid. At the beginning of the function, put: local humanoid = player.Character.Humanoid
Something else may be changing walkspeed.
If none of the above fix the issue, try putting your walkspeed script in a LocalScript.