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
 

Re: Number Range

Previous Thread :: Next Thread 
iLordOfAviation is not online. iLordOfAviation
Joined: 23 Mar 2012
Total Posts: 1325
22 Jun 2016 06:20 PM
Is there a way to make a number range? Like in 2nd grade when your teacher wanted you to do pages 2, 3, 4, 5, 6, 7, and 8, they would put on the board pages 2-8. Is there a way to do that in a script? I know it wouldn't be 2-8, because that would just be subtracting, even though that wouldn't be set up to actually do anything correctly.


Report Abuse
pinballboy7 is not online. pinballboy7
Joined: 12 Mar 2009
Total Posts: 1485
22 Jun 2016 06:20 PM
Could you be more specific? Your description is pretty vague and hard to understand.
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
22 Jun 2016 06:20 PM
http://wiki.roblox.com/index.php?title=API:NumberRange


Report Abuse
iLordOfAviation is not online. iLordOfAviation
Joined: 23 Mar 2012
Total Posts: 1325
22 Jun 2016 06:50 PM
Oh, thanks time.


Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
22 Jun 2016 10:07 PM
if you wanted to do a number range you can do a loop

local range = {}

local inc = 1

for i = min,max,inc do
range[#range + 1] = i
end

print(table.concat(range,", "))


Report Abuse
iJacobness is not online. iJacobness
Joined: 20 Jan 2014
Total Posts: 4944
22 Jun 2016 10:09 PM
theres also a DoubleConstrainedValue, but its not in basic objects, you have to insert it using Instance.new


r+://393244197r+://393244224r+://393244262
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