I have a couple tools with local scripts inside them and i stored them in the ServerStorage so that i can clone it to a player's backpack whenever they need it. I know that local scripts only work in certain places and i'm guessing this is the cause of the problem since local scripts don't work in ServerStorage and they break when it gets cloned. It doesn't really make sense to store all the tools inside the other places such as ReplicatedFirst or StarterGui so i'm wondering what can i do to prevent the local scripts from breaking when cloned.
COMMUNITY QUESTION
How do i prevent a tool's local scripts from breaking when cloned?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Personally, I've never put a LocalScript in each tool. I use single script architecture. Basically, I have one LocalScript on the client which manages module scripts which handle all tool/gui/client stuff.