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 » Scripting Helpers
Home Search
 

Re: Script erroring

Previous Thread :: Next Thread 
CarlosMX is not online. CarlosMX
Joined: 30 Apr 2011
Total Posts: 791
07 Jan 2013 06:17 PM
This script isn't working. In the output it states its erroring around the '+' region
It's mean't to check if wat hit it is 'Checkpoint1' and if so add 1 lap to it's value

function onTouched(hit)
if hit.Name == "Checkpoint1" then
script.Parent.Laps.Value + 1
end
end

script.Parent.Touched:connect(onTouched)
Report Abuse
Th30racle is not online. Th30racle
Joined: 03 Nov 2012
Total Posts: 214
07 Jan 2013 06:19 PM
Lol'd
This script has to be in a player.
Report Abuse
CarlosMX is not online. CarlosMX
Joined: 30 Apr 2011
Total Posts: 791
07 Jan 2013 06:29 PM
? rly? ...
Report Abuse
Th30racle is not online. Th30racle
Joined: 03 Nov 2012
Total Posts: 214
07 Jan 2013 06:32 PM
This is beyond fixing.
Report Abuse
CarlosMX is not online. CarlosMX
Joined: 30 Apr 2011
Total Posts: 791
09 Jan 2013 01:29 AM
Do you know how to script? Because I got it to work.
Report Abuse
crazydude2243 is not online. crazydude2243
Joined: 05 Sep 2010
Total Posts: 245
09 Jan 2013 01:46 AM
He is correct
it has to be in a player
Report Abuse
Monkey727 is not online. Monkey727
Joined: 12 Jan 2009
Total Posts: 969
09 Jan 2013 03:40 AM
script.Parent.Laps.Value = script.Parent.Laps.Value + 1

>.>
Report Abuse
CarlosMX is not online. CarlosMX
Joined: 30 Apr 2011
Total Posts: 791
09 Jan 2013 01:33 PM
@monkey, yup, thats exactly what I changed it too and it works
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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