Does If run repeatedly until the condition is met or does it just runs once and I have to run it again?

Hello! I was wondering if the function if runs until the condition is met or it only runs once and I have to run it again.

This is my first post, so if I have broken any rules please let me know!

Once, until you run it again. And if is not a function by the way.

1 Like

thanks for letting me know characterlimit

1 Like

How can i mimic an if continuously until the condition is met?

Depends on your condition. The most basic way is a repeat loop.

repeat
    task.wait()
until someCondition

Okay

the yes character limittttt

With loops along with if statements.
Start here … Coding Fundamentals

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.