Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do i make a script work even after the person owning it dies?

A script which is making like a fireball is working perfectly fine but when a person owning it dies it disappeares,how do i fix that?

1 answer

✓ Accepted answer

Hi AmericanLight,

I think it's because you're parenting the Fireball to the player or have a .Died event inside of the fireball which removes it. By the looks of it, if you created it yourself and don't know why this is happening, it's probably not because you yourself removed it using the .Died event of the Humanoid.

You probably parented it to the Character of the Player, which gets destroyed every time a player dies. So, upon the Character being destroyed, so are all of its descendants. Therefore, you need to make sure the fireball isn't under the Character.

##I hope I helped, and have a wonderful day/night.

Thanks,

Best regards,

~~ KingLoneCat

1 comment

0

thx c:

This discussion is preserved as it was. New answers, comments, and votes are closed.