#Is this a healthy practice?

1 messages · Page 1 of 1 (latest)

grave widget
#

Should i make this repeat until loop time out using attempts or should i leave it as it is?

#

for the people who hate custom colors

wraith hornet
#

You should add task.wait() to it, no?

#

I assume you are getting their player data and you want to keep trying until it loads

grave widget
#

yes

#

the throllHnd has wait()

#

no not task.wait

wraith hornet
#

Don't use wait(), use task.wait()

grave widget
#

dont feel like using it here

wraith hornet
#

?

grave widget
#

idk

#

inner feeling

#

anyway the main point is should i add attempt time out or not

wraith hornet
#

I'd also suggest moving the wait to the loop because if throllHnd() errors it will crash

#

have task.wait() inside repeat until

grave widget
#

i dont think it can error

#

unless biltin roblox function can

#

builtin*

wraith hornet
#

Most games have a retry counter. For example if the data fails to load it waits a few second retries maybe 5 times. If it hasnt loaded it kicks the player saying data failed to load after 5 attempts

grave widget
wraith hornet
#

wtf

grave widget
#

what

wraith hornet
#

Is this a healthy practice?
no