Is there a better way to write this?

repeat
wait()
tool.Parent = char
until tool.Parent == char
Is there a better to write this? As it w

Sorry, but I was asking if there another way to write this. As this does work but I need help understand other solutions.

There’s not a need for this repeat loop. Simply type tool.Parent = char. If you’re experimenting with the repeat loops then yes, this is technically one way to utilize them.