|
| 22 Nov 2016 07:27 AM |
Why does my intro keep on looping
ServerStorage:
local player = game.Players.LocalPlayer local gui = script.Parent local frame = gui:WaitForChild('Background') local logo = frame:WaitForChild('Logo') local message = logo:WaitForChild('Message') local introran = player:WaitForChild('IntroRan') wait() if introran == true then frame.BackgroundTransparency = 1 logo.BackgroundTransparency = 1 logo.ImageTransparency = 1 message.BackgroundTransparency = 1 message.TextTransparency = 1 gui:Destroy() else wait(2) end for i = 1,0,-0.1 do logo.ImageTransparency = i message.TextTransparency = i wait(0.1) end wait(5) for i = 0,1,0.1 do logo.ImageTransparency = i message.TextTransparency = i wait(0.1) end for i = 0,1,0.1 do frame.BackgroundTransparency = i wait(0.1) end
Workspace: (Script1) game.Players.PlayerAdded:connect(function(player) game.ServerStorage.IntroGUI:Clone().Parent = player.PlayerGui player.PlayerGui.IntroGUI.MainLocalScript.Disabled = false end)
Workspace: (CreateIntroRanValue)
game.Players.PlayerAdded:connect(function(player) game.ServerStorage.IntroGUI:Clone().Parent = player.PlayerGui player.PlayerGui.IntroGUI.MainLocalScript.Disabled = false end)
Help :3 |
|
|
| Report Abuse |
|
|
| 22 Nov 2016 07:28 AM |
| its not looping, its just does the same thing multiple times. Check my game if you don't know what I mean |
|
|
| Report Abuse |
|