So if a part is server side detecting a touch is very easy by doing:
.Touched:Connect
But how do i do the same thing with a local part, If you put this in a local script it does nothing so is it possible?
So if a part is server side detecting a touch is very easy by doing:
.Touched:Connect
But how do i do the same thing with a local part, If you put this in a local script it does nothing so is it possible?
This discussion is preserved as it was. New answers, comments, and votes are closed.
5 comments
For starters, LocalScripts will not run in the Workspace, so putting one in a part isn't going to get you anywhere. The LocalScript would have to be somewhere it can run (like the player) and the part would have to be accessed by accessing it as a child (or descendant) of Workspace instead of being the script's Parent.
um u do the same thing with a local part but a local script instead
RobloxWhizYT I know putting a local script in workspace won't do anything that's why i said that, I don't quite understand what you are telling me to do.
Oh i see you mean have the local script in a place like StarterGui and run it from there, I'll give that a go sounds like it should work though.
Ok that worked perfectly, I can't believe i didn't think of that thank you.