So the script is ment to play like a intro/dialog so the people know whats going on. But in the 1/2 of the script I have the sound set to play. So what it does, is its skips everything but the sound that plays just fine. What's with that? O.o
Code:
local Intro = game.StarterGui.Intro local Frame = game.StarterGui.Intro.Frame local One = game.StarterGui.Intro.Frame.One local Two = game.StarterGui.Intro.Frame.Two local COne1 = game.StarterGui.Intro.Frame.COne1 local COne2 = game.StarterGui.Intro.Frame.COne2 local COne3 = game.StarterGui.Intro.Frame.COne3 local COne4 = game.StarterGui.Intro.Frame.COne4 local COne5 = game.StarterGui.Intro.Frame.COne5 local COne6 = game.StarterGui.Intro.Frame.COne6 local COne7 = game.StarterGui.Intro.Frame.COne7 local COne8 = game.StarterGui.Intro.Frame.COne8 local COne9 = game.StarterGui.Intro.Frame.COne9 local COne10 = game.StarterGui.Intro.Frame.COne10 local COne11 = game.StarterGui.Intro.Frame.COne11 local COne12 = game.StarterGui.Intro.Frame.COne12 local Sound = game.Workspace.PhoneVibrate One.TextTransparency = 0 wait(2) One.TextTransparency = 0 Two.TextTransparency = 1 wait(2) Two.TextTransparency = 0 Sound.Playing = true Sound.Looped = true wait(2) Sound.Playing = false Sound.Looped = false COne1.TextTransparency = 1 wait(1) COne2.TextTransparency = 1 wait(1) COne3.TextTransparency = 1 wait(1) COne4.TextTransparency = 1 wait(1) COne5.TextTransparency = 1 wait(1) COne6.TextTransparency = 1 wait(1) COne7.TextTransparency = 1 wait(1) COne8.TextTransparency = 1 wait(1) COne9.TextTransparency = 1 wait(1) COne10.TextTransparency = 1 wait(1) COne11.TextTransparency = 1 wait(1) COne12.TextTransparency = 1 wait(1) Intro.Enabled = false -- Intro is enabled at the start thats why I didn't put a Intro.Enabled = true
StarterGui is just a folder for Guis. Contents in StarterGui get replicated into the LocalPlayer's PlayerGui. The interactive Guis are in PlayerGui. To reference it, just do something like this:
local player = game:GetService("Players").LocalPlayer local playerGui = player:WaitForChild"PlayerGui" -- Now change everything that says StarterGui change to player gui.