Hi, I everytime I make a tool in studio and its atleast slightly complex, it breaks when you respawn. I’m tired of adding a wait(.1) at the top of my scripts inside of tools every single time. So, what needs to load first for the script to run? So I’ve already made the script wait until the character is a descendant of workspace, anything else I need to wait for and then run it?
Edit: The serverscript is fine, it’s just the localscript
Where is your tool’s script located? If it’s parented to the tool it shouldn’t have problems re-running on respawn.
Could you maybe post a screenshot of the hierarchy in the explorer? And maybe your code as well?
Thanks! That seems to solve it, really stupid how it adds the tool before the character. All I had to do was add Player.CharacterAdded:Wait()
Also I just found out the same question was answered before, really sorry, I didn’t really look into it and decided to ask the question after I saw that the first 5 threads weren’t related.