I’m trying to make a part color change locally. I’m doing this using a remote event but I can’t find anything on the devhub, youtube, or devforum to fix this simple script. In the output it responds to my issue by saying "Part1 is not a valid member of Workspace “Workspace”. I’ve also tried to use local scripts by themselves as well and to use local functions.
From the official documentation:
“ClickDetector events fire on both the client and the server. Since a LocalScript will only run if it descends from a Player or player Character, it’s usually not useful to put a LocalScript inside a ClickDetector, since the script won’t run or the object won’t be clickable. If you need a LocalScript to detect ClickDetector events, StarterPlayerScripts may be a better place instead.”
I’m trying to think of a solution but the documentation is very vague
Nah he just had referenced the remote event incorrectly that’s why (already explained in the other reply I sent)
Edit: Wait I just read the entire thing about Part1 is not a valid member of workspace, well, even if that thing worked the point I made still stands so now you only have 1 issue!
Regards this one its probably what this guy above said