Looks pretty simple, I think it’s fine, personally.
What? The callback is called by the engine threaded, so there’s no yield whatsoever, that’s why I was wondering
this is probably too slow, you might wanna remove the waits and compensate it by changing -1 to -.1
if youre doing something after the repeat loop, it will not execute until the repeat loop finishes (inside the function). thats why i used task.spawn but yeah everything after script.Parent.Touched:Connect(onTouched) wont yield
This script might just be one of the most magnificent things I’ve ever seen. Don’t listen to the haters!
This post had me reconsider my life choices
So it’s just because maybe you wanna do something else afterwards, that makes sense (although I’d do all the stuff first & then the repeat loop, well I wouldn’t use this setup at all tbf but assuming I had)
Thanks !
NOOOOOO IT’S OVERRR, thank you to everyone though, you were all amazing<3
I don’t understand why you made this post in the first place. There’s nothing wrong?
Tbf technically speaking, there is indeed nothing wrong, you even get to have a faster program technically, as loop-related instructions are completely removed from the final code!