local Chance = math.random(13,20)
while true do
if Chance == 13 then
print(Chance)
1 Like
You’re not randomizing in the loop, put local Chance = math.random(13,20)
inside of the while true do
while true do
local Chance = math.random(13,20)
if Chance == 13 then
print(Chance)
1 Like
I just did and its printing 13, so the chance is the same
while true do
local Chance = math.random(13,20)
if Chance == 13 then
print(Chance)
1 Like
It’s only printing 13 because it’s in the if statement, put it outside of it, something like this
while true do
local Chance = math.random(13,20)
print(Chance)
if Chance == 13 then
1 Like