Wait not working as it should

Not really much to explain here, I almost never have problems that require me to go and ask for other people’s help when it comes to scripting, usually searching the documentation always gives me a fix, but in one of my scripts, there’s a line similar to this:

Part.Transparency  = 1
wait(30)
Part.Transparency = 0

But after the transparency is changed to one, it immediately changes back, the wait(30) is not waiting at all. Any help is appreciated, thanks.

Try using task.wait(30) instead of wait(30).

Didn’t work, still just makes the object visible again immediately after making it invisible.

nevermind i was tripping on willymode, thanks

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.