|
| 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 |
|
|
|
| 22 Jun 2016 06:20 PM |
| Could you be more specific? Your description is pretty vague and hard to understand. |
|
|
| Report Abuse |
|
|
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 |
|
|
| |
|
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 |
|
|
|
| 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 |
|
|