this is my basic script structure
local Module = {}
function Module.Function()
local function LocalFunction()
while true do
wait(.1)
if value is true then
print("exp") -- this will print meaning the if condition was met but
break -- this don't break
end
print("loop still running") -- this keeps printing after it should have broke
end
end
LocalFunction()
end
return Module

1 comment
what is "value is"?