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

I made a script to turn off disabled but when the player dies the script turn to disabled again?

Ok so i made a script that when u touch it the script on ur player will not be disabled but when u died,so the player will reset and the script turn back to disabled can anyone tell me how to avoid this?

1 answer

if u placed a script within the character and the character resets it will grab a new copy of the script from the place u placed it in and put it in the new character that loads, in other words ditching ur current script; thus any changes made there would not affect the new copy. The way to avoid this would be to externally edit the script before it gets copied into the character, but i cant tell what would be the best way for u due to lack of sufficient info about the purpose of the script. I will edit the solution in if u r willing to share more.

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