Fall damage script is being inconsistent

I’m trying to make a fall damage script but it is super inconsistent and I don’t know why.

My code. its a server script inside of the character.
image

The code works completely fine in a local script but the damage only seems to show up on the client side. I moved it over to a server script to try and fix that (which it did) but now its only working half of the time :sob:

I haven’t tried much yet so any help will be appreciated

My guess would be it being a server script in starter character scripts. Maybe try changing it to a local script and see what happens.

as said the script works completely fine in a local script but the damage is only client side and i need the server to know the player is damaged :sob:

Try using a remote event that fires the server when the local script is activated.

that works would have been nice if it could have been one script but thanks nonetheless

No Problem, Happy To Help Anytime!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.