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
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
Have you even attempted it.
answer pls
As said above, use Random Numbers to to select 1 or 2 and then use a simple If Statement to decide what happens afterwards! :)
thanks
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.
1 comment
use math.random or other similar stuff