Contouri
|
  |
| Joined: 07 Oct 2011 |
| Total Posts: 2792 |
|
|
| 28 Jun 2015 04:20 AM |
b = script.Parent
function onTouched(thing) if not thing and thing.Parent then return end -- Found part with model as parent local maybeCart = thing.Parent if maybeCart.Name ~= "Cart" then return end -- Found cart m = Instance.new('Message') m.Name = tostring(math.randomseed(1600)) m.Text = 'The cart was brought to safety' game:service('Debris'):AddItem(m, 5) end
b.Touched:connect(thing) |
|
|
| Report Abuse |
|
|
|
| 28 Jun 2015 04:24 AM |
Why not test it yourself?
Enjoying your stay at the Scripters Forum? Join this! http://www.roblox.com/My/Groups.aspx?gid=2582784 |
|
|
| Report Abuse |
|
|
Contouri
|
  |
| Joined: 07 Oct 2011 |
| Total Posts: 2792 |
|
|
| 28 Jun 2015 04:26 AM |
| I tested it, it didnt work but idk whats wrong with it |
|
|
| Report Abuse |
|
|