so basically i have an if statement like this
x = 6
if x == 5 then
print("eee")
elseif x == 6 then
print("a")
end
and all i want to do is make it wait before checking that x == 6, i want to make it wait before checking the elseif
so basically i have an if statement like this
x = 6
if x == 5 then
print("eee")
elseif x == 6 then
print("a")
end
and all i want to do is make it wait before checking that x == 6, i want to make it wait before checking the elseif
local x = 6
if x == 5 then
print("eee")
else
wait(1) -- Add a delay (in seconds) before checking the next condition
if x == 6 then
print("a")
end
end
Is that what you mean?
local x = 6
if x == 5 then
print("eee")
end
wait(5)
if x == 6 then
print("a")
end
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.