Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Is it possible to make choose number?

Is it possible to make choose number 1 or 2

if the number that chosen is 1 then trigger the script 1 if the number that chosen is 2 then trigger the script 2

1 comment

1

use math.random or other similar stuff

3 answers

By using "math.Random()" you can have it choose and random number.

For Example

Local Number = math.Random(1,10) --Choose what number with 1,10 etc--
	print(Number)
end

So if you want to change it to 1 or 2 then simply change 1,10 to 1,2 If this helped then your welcome just try next time. (You can get some help off the roblox wiki)

This discussion is preserved as it was. New answers, comments, and votes are closed.