#is this gonna cause lag issues

1 messages · Page 1 of 1 (latest)

trim skiff
#
while activated == true do
    wait()
    if db == false then
    doThing(player)
    end
end

ik not having the wait() thing is gonna make my game crash but idk how well just having wait() would do

wind kelp
#

not really

#

idk bro dont ask me 💔

empty patio
#

it's generally always better to use events and such instead of a constantly checking loop

dusty depot
#

If you remove the wait(), the script might timeout if the loop's condition remains true but seeing activated will most likeky be false after some time, it will not.

Also prefer using task.wait() as wait is getting depreacated