Because you put a print inside the if.
if
tostring(10) == "10")
then
print("This script works")
else
print("Everything is wrong in the world 0_o")
end
That would work. This is pointless to say, but most people wouldn't write an "if" statement like that. Most would do it like this.
if tostring(10) == "10" then
print("This script works")
else
print("Everything is wrong in the world 0_o")
end
-LF |