The if and elseif statements work when i tweak my variables but the final else statement does not work. Am i doing something wrong?
num = 1
num2 = 3
function ifStatement()
if num > num2 then
script.Parent.Size = Vector3.new(2,2,2)
elseif num == num2 then
script.Parent.Transparency = 0.3
else
script.Parent.Velocity = Vector3.new(1,0,1)
end
end
ifStatement()

3 comments
i dont think u can do elseif and else in a if statement not sure
yes you can
The variable num would have to be less than num2 for the else statement to run.