No they can’t be, exhaustion is caused by loop running too many times per second
while loops can be exhausted even if they have waits but it requires a very specific scenario
Watch exhausted | Streamable
In this clip I have one script the clears all children in workspace and another that will crash the game for a bit when clear all children is called, first I show it without the crash script enabled and then with. So what is need is a function that stalls the script for a longer period of time to be called in the while loop causing the loop to be exhausted.
Loop exhaustion still can be avoided by using them task.wait() instead of wait(), from what i know wait() can stop working randomly due to some lag, with task.wait() it’s like RunService
How would a child exist but parent wont? LMAO. Use your brain
Or just use HealthChanged
? (9e9x better)
i have not seen the replies on this post. however, it seems that the code is good. i looked it up and i found this answer on someone’s post with a similar issue:
it seems u set “archivable” to true on the text label?
what do you mean, an instance doesn’t have to have a parent
Sorry for the trouble that the reply post i make 2nd is actually wrong error. I have pick a solution and the 2nd post reply made by me is actually a another script error that easily fixable. I overlook, Sorry again for the trouble
Error Actually:
Players.PowGeek.PlayerGui.Health.Health.Health:27: attempt to index nil with ‘Text’ - Studio
2nd post Reply error
Workspace.Powgeek.Health:11:Attempt to index nil with character
you do realize script needs to have a parent, script cannot exist if parent doesnt exist.
Its the same as u being born and have no father (father never existed)
why does a script need to have a parent? if you write
script.Parent = nil
in middle of a script, it won’t stop
cause it already got executed???
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.