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

Gui, Local Scripts...?

Asked by 10 years ago

Please provide explanation with your answers. Simply posting code does not spread knowledge of integral scripting processes which helps people understand the logic and reasoning behind your answer.
-- There is 3 pictures, try to fix this please i'll explain during the process...
game.Players.PlayerAdded:connect(function(player)  -- Problem #1, this means a player joined the game.
    -- Everything below is working properly...
wait(3) -- Waits 3 seconds
    script.Parent.ImageTransparency = 0.1 -- makes the picture more invisible
    wait(0.1) -- wait
    script.Parent.ImageTransparency = 0.2 -- makes the picture more invisible
    wait(0.1) -- wait
    script.Parent.ImageTransparency = 0.3 -- makes the picture more invisible
    wait(0.1) -- wait
    script.Parent.ImageTransparency = 0.4 -- makes the picture more invisible
    wait(0.1) -- wait
    script.Parent.ImageTransparency = 0.5 -- makes the picture more invisible
    wait(0.1) -- wait
    script.Parent.ImageTransparency = 0.6 -- makes the picture more invisible
    wait(0.1) -- wait
    script.Parent.ImageTransparency = 0.7 -- makes the picture more invisible
    wait(0.1) -- wait
    script.Parent.ImageTransparency = 0.8 -- makes the picture more invisible
    wait(0.1) -- wait
    script.Parent.ImageTransparency = 0.9 -- makes the picture more invisible
    wait(0.1) -- wait
    script.Parent.ImageTransparency = 1 -- Completely invisible...
    script.Parent.Visible = false -- Can't see the picture at all.
    wait(0.3) -- wait
    script.Parent.Parent.RobloxLuaLogo.Visible = true -- You can see the picture
    script.Parent.Parent.RobloxLuaLogo.ImageTransparency = 0.9 -- makes the picture more visible
    wait(0.1) -- wait
    script.Parent.Parent.RobloxLuaLogo.ImageTransparency = 0.8 -- makes the picture more visible
    wait(0.1) -- wait
    script.Parent.Parent.RobloxLuaLogo.ImageTransparency = 0.7 -- makes the picture more visible
    wait(0.1) -- wait
    script.Parent.Parent.RobloxLuaLogo.ImageTransparency = 0.6 -- makes the picture more visible
    wait(0.1) -- wait
    script.Parent.Parent.RobloxLuaLogo.ImageTransparency = 0.5 -- makes the picture more visible
    wait(0.1) -- wait
    script.Parent.Parent.RobloxLuaLogo.ImageTransparency = 0.4 -- makes the picture more visible
    wait(0.1) -- wait
    script.Parent.Parent.RobloxLuaLogo.ImageTransparency = 0.3 -- makes the picture more visible
    wait(0.1) -- wait
    script.Parent.Parent.RobloxLuaLogo.ImageTransparency = 0.2 -- makes the picture more visible
    wait(0.1) -- wait
    script.Parent.Parent.RobloxLuaLogo.ImageTransparency = 0.1 -- makes the picture more visible
    wait(0.1) -- wait
    script.Parent.Parent.RobloxLuaLogo.ImageTransparency = 0 -- Completely visible
    wait(2) -- wait
    script.Parent.Parent.RobloxLuaLogo.ImageTransparency = 0.1 -- makes the picture more invisible
    wait(0.1) -- wait
    script.Parent.Parent.RobloxLuaLogo.ImageTransparency = 0.2 -- makes the picture more invisible
    wait(0.1) -- wait
    script.Parent.Parent.RobloxLuaLogo.ImageTransparency = 0.3 -- makes the picture more invisible
    wait(0.1) -- wait
    script.Parent.Parent.RobloxLuaLogo.ImageTransparency = 0.4 -- makes the picture more invisible
    wait(0.1) -- wait
    script.Parent.Parent.RobloxLuaLogo.ImageTransparency = 0.5 -- makes the picture more invisible
    wait(0.1) -- wait
    script.Parent.Parent.RobloxLuaLogo.ImageTransparency = 0.6 -- makes the picture more invisible
    wait(0.1) -- wait
    script.Parent.Parent.RobloxLuaLogo.ImageTransparency = 0.7 -- makes the picture more invisible
    wait(0.1) -- wait
    script.Parent.Parent.RobloxLuaLogo.ImageTransparency = 0.8 -- makes the picture more invisible
    wait(0.1) -- wait
    script.Parent.Parent.RobloxLuaLogo.ImageTransparency = 0.9 -- makes the picture more invisible
    wait(0.1) -- wait
    script.Parent.Parent.RobloxLuaLogo.ImageTransparency = 1 -- Completely invisible
    script.Parent.Parent.White.Visible = false -- Completely invisble
    -- Everything is working above
    end) -- Problem #2, this means the whole script ends now.

Help work this script...

1 answer

Log in to vote
0
Answered by 10 years ago

What's not working with it? You need to be more specific.

0
The playeradded and end) at the end and beggining DevScripting 92 — 10y
Ad

Answer this question