The problem is that conditional sentences they keep bugging for me i tried elseif and even else if (seperate) but the problem is it always registers the first "if" even if the requirements are not met and its really annoying here is a example of what i mean
local No = math.Random(1,20)
if No = 4 or 8 or 12 or 16 then
print("Multiple of 4")
elseif No = 5 or 10 or 15 or 20 then
print("Multiple of 5")
else
print("Random Number")
end
The problem is that it will always print Multiple of 4 even if the requirements arent met and it really annoys me alot i even tried
local No = math.Random(1,20)
if No = 4 or 8 or 12 or 16 then
print("Multiple of 4")
else
if No = 5 or 10 or 15 or 20 then
print("Multiple of 5")
else
print("Random Number")
end
end
But it still does the same result of always printing the if statement even if requirements arent met so can u help me figure out whats the problem?

1 comment
My apologies for the complicated response, please read my comments.