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
 

Add or subtract.

Previous Thread :: Next Thread 
Mzh3000 is not online. Mzh3000
Joined: 22 Jan 2009
Total Posts: 4967
10 Jan 2012 12:58 PM

Location.Value = Location.Value - 1

How do I do it :/

I am using an int Value
Report Abuse
su8 is not online. su8
Joined: 06 Mar 2009
Total Posts: 6334
10 Jan 2012 12:58 PM
And your question was?
Report Abuse
Mzh3000 is not online. Mzh3000
Joined: 22 Jan 2009
Total Posts: 4967
10 Jan 2012 01:01 PM
How do I add or subtract to a value.

I have a mouseclick in there and when you click the mouse it checks the value for being above 0. Then moves a brick. But it also subtracts one once it moves that brick.

If the vlaue is 0 it will just print "lawl nope" so I need it to actualy be able to subtract a number.

How would I write it.
Report Abuse
su8 is not online. su8
Joined: 06 Mar 2009
Total Posts: 6334
10 Jan 2012 01:07 PM
Just like one in your first post
Report Abuse
Mzh3000 is not online. Mzh3000
Joined: 22 Jan 2009
Total Posts: 4967
10 Jan 2012 01:10 PM
oh... lol I had some error somewhere XD
Report Abuse
Miro034 is not online. Miro034
Joined: 07 Oct 2009
Total Posts: 6568
10 Jan 2012 01:52 PM
That is excellent. That looks correct to me!
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