Server script duplicating when player respawns/falls out of map

Hello, whenever I respawn or fall off the map a server script duplicates and does its functions twice.

Below are screenshots of the issue:

image

On the very last line the server script is printing “equipping” twice instead of once when equipping a tool.

Script:

This portion of the script is relying on a local script using fireserver, I checked if the local script is also being duplicated but as far as I know it’s not as it’s only printing “HELLOO” once above the last line in the image before this one.

Any help will be appreciated thank you for your time!

The portion you show seems to be nested within something what is it? Can you show us what’s beyond the event?

Yes, this is the rest of the code:

Move the event out of character added. Everytime the character respawns it makes a new connection

Oh so like move the code out of the character added block? Or move the character added block out of player added?

Move the equipping event out of the character added block

I understand now, it worked thank you! I didn’t know connections could be made like that with characteradded :slight_smile: