Aight so Im trying to make it so that when a brick touches another brick it will show a gui everytime they passed by because Im using it for a slot game
Basically an indicator when to turn.
eg.
but people can see it too even though its a local script
I might be late to reply since I would be sleeping after this.
Client-to-server interaction is done with RemoteEvents/RemoteFunctions.
In your case, have your LocalScript to fire a RemoteEvent that will change the brick’s appearance.
Use :FireClient() from a remote event fired when the part touches the other part. In a local script, you can then make the GUI visible with the :OnClientEvent() remote.