So here's the thing. My game has a ton of Touched statements for example a ball tool. Once it moves from lightning to workspace it outputs the error that Touched is not a valid member of Workpspace but however only for that time. When a player touches the ball it can access that touched event. How can i make it to remove those errors from Touched cause with all those errors i feel like itl lag my place over time.
COMMUNITY QUESTION
How to fix Touched event errors in my game to reduce lag?
1 answer
Make sure the script setting up the event is disabled, and not enabled until its within game.Workspace (parented to it). This might help.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
you should consider using ServerStorage or ReplicatedStorage to hold objects you don't want interacting with the game instead of Lighting