Yahoo Poland Wyszukiwanie w Internecie

Search results

  1. In this article, the while loop is used to repeat instructions forever. To create a while loop that repeats forever, use the syntax below, being sure to include instructions between the do and end keywords.

  2. 30 sty 2023 · That’s because it’s not calling the function when the script runs, it only calls the function when its transparency changes. I would add ChangePartColor() at the end of the script to make it work when the script runs.

  3. 5 kwi 2024 · Hey guys, I’ve been working with this while loop inside of a player added function and it simply doesn’t run. I tried to find solutions online but I haven’t found anything. no loops or functions work at all.

  4. 22 maj 2019 · The problem I am facing is that when I fire this function, the loop continues, and so if I fire it several times, the while loop is running 7 times other (so itll print 1 7 times at once) The function should only run wh…

  5. 4 maj 2024 · Instead of using a while loop with wait () inside, can’t you just get the time (using os.clock () I think), and since it’s in seconds, you can do something like so : while Status.Value do. local frames = -- put the number of frames for the TV you have here. local frame = (((os.clock()%8) * frames) // 8) +1.

  6. 19 mar 2022 · coroutine.wrap(function() while true do print('loop 1') task.wait(1) end end)() coroutine.wrap(function() while true do print('loop 2') task.wait(5) end end)() Using coroutines will cause both loops to run simultaneously.

  7. 26 paź 2022 · When you put in a loop, any code put below the Loop will not run until the loop has ended. You can try using a loop to do multiple things at once. What not to do (unless you are breaking the loop): while true do --this will never stop, unless you add an if statement. wait() print("lol") end print("stopped")

  1. Ludzie szukają również