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

How do I make a chance system?

I'm looking to make a chance system and I don't know how, please no confusing stuff...

2 comments

0

This is not a request site, use math.random

0

math.random isn't reliable

2 answers

To make a chance system you can use a variable with math.random.

local chance = math.random(1,6) -- picks a random number between 1 and 6 (you can put any minimum and maximum numbers)

if number == 6 then -- if it picks a certain number
-- put your code here

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