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

How can I get the object to actually change transparency?

Asked by 4 years ago
Edited 4 years ago

I have this script but it never becomes transparent, how can I fix this?

    wait (5)
    game.Workspace.Rocket_launch:Play()
while wait(0.01) do
    script.Parent.Position = script.Parent.Position + Vector3.new(0,2,0)
    end
    wait(25)
        script.Parent.Transparency = 1
end)
0
Check outputs for any errors nekosiwifi 398 — 4y

1 answer

Log in to vote
0
Answered by 4 years ago

Is the script.Parent an actual part? If it is, it should work perfectly fine. Did you wait for 25 seconds?

Ad

Answer this question