I have a script which flings me forward whenever I press F. Here is how the script goes:
- Press F and it fires an event which runs a server script which Changes a BoolValue inside the character to True
- Local script which detects whenever the BoolValue is changed and only works when the BoolValue is true
- If BoolValie is true , it fires a remote event which in turns runs a server script to fling and ragdoll my player
It works fine the first time but does nothing when I respawn