I'm trying to create a script that stops until a NumberValue in workspace is a certain value.
Example:
game.workspace.part.transparency = 1
wait(game.workspace.value.value == 100) -- Trying to have the script stop here until the value = 100
game.workspace.part.transparency = 0
Definitely don't know how to do it, thank you in advance.

2 comments
Events, not polling. Fix your answer and i'll remove my -1 and accept it again
done, I was in a rush and completely omitted the fact it was an intvalue.