So I'm trying to make a destructible object that only breaks locally, but my issue is I can't seem to figure out how to make a local script recognize an object that your character touches. I'm a total Lua noob, so any help would be much appreciated!! :)
COMMUNITY QUESTION
How can I make a local touch function?
1 answer
At StarterPlayerScripts, add a local script that simply will (insert part here):Destroy() whenever the part gets Touched. To detect if something is touched, you can use the (insert part here).Touched event. Sadly, this ain't a request site. So you should figure out the script yourself. You can search for some info at the API reference or Lua 5.1 Reference Manual
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
You realize he want's to recognize collision...?
oh, lemme redo that lol
I appreciate the help! I'll see what I can do with your information.