spottik
|
  |
| Joined: 01 Aug 2009 |
| Total Posts: 495 |
|
|
| 06 Jan 2015 03:08 PM |
| I am trying to create a script for my mining game and i dont know how to make a script that can read if the pick has hit the "Ore" yet, i dont know what i should use to detect if the "Pick" has touch the "Ore " yet. Please help. |
|
|
| Report Abuse |
|
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 06 Jan 2015 03:10 PM |
Put this in the pick
script.Parent.Touched:connect(function(object) if (object.Name == "Ore") then print("OMG A ORE") end end) |
|
|
| Report Abuse |
|
|
spottik
|
  |
| Joined: 01 Aug 2009 |
| Total Posts: 495 |
|
| |
|