UserInputService.JumpRequest problem

I have a standard double jump script that uses the JumpRequest function from the userinputservice. It works fine when a player spawns in, but when i give the player a new character without killing them the jump request no longer works.
I got the script from the wiki here: Double Jumping



here is the code within it.
I have narrowed it down to the jumprequest because there is no output in any of the other blocks.
I have tried creating a new jumprequest function every time there is a new character but that did not work either.

How are you giving the player a new character?

I am copying a character from serverstorage and setting that character as the players character

Try setting it as the Character before parenting it.

7 Likes

wow it worked thank you so much!

1 Like