generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Will this script work

Previous Thread :: Next Thread 
Contouri is not online. 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
powerhotmail123 is not online. powerhotmail123
Joined: 11 Apr 2011
Total Posts: 5041
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 is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image