Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Repeat until not working as intended?

Asked by 4 years ago
Edited 4 years ago
repeat
    wait(.1)
    game.Workspace.Sreen.logo.Transparency =    game.Workspace.Sreen.logo.Transparency -.1
until game.Workspace.Sreen.logo.Transparency == 0

It keeps subtracting.. Please help me.

3 answers

Log in to vote
1
Answered by 4 years ago

You forgot to put an "=" when you subtract the .1

0
When I put a = it breaks the script. isaacjh100 41 — 4y
Ad
Log in to vote
0
Answered by
iivSnooxy 248 Moderation Voter
4 years ago

Maybe because you put a “-“ in line 3

Log in to vote
0
Answered by 4 years ago
Edited 4 years ago

I worked it out... I had to put a == when it subtracted....

Answer this question