titanpicha
(titanpicha)
October 1, 2024, 1:45am
#1
Hello, whenever I respawn or fall off the map a server script duplicates and does its functions twice.
Below are screenshots of the issue:
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!
sonic_848
(killer)
October 1, 2024, 1:48am
#2
The portion you show seems to be nested within something what is it? Can you show us what’s beyond the event?
titanpicha
(titanpicha)
October 1, 2024, 1:49am
#3
Yes, this is the rest of the code:
sonic_848
(killer)
October 1, 2024, 1:50am
#4
Move the event out of character added. Everytime the character respawns it makes a new connection
titanpicha
(titanpicha)
October 1, 2024, 1:52am
#5
Oh so like move the code out of the character added block? Or move the character added block out of player added?
sonic_848
(killer)
October 1, 2024, 1:53am
#6
Move the equipping event out of the character added block
titanpicha
(titanpicha)
October 1, 2024, 1:57am
#7
I understand now, it worked thank you! I didn’t know connections could be made like that with characteradded