Basically, I made an Intro Gui today, it works in studio, but as soon as we get in-game, I just have a white frame and the Intro doesn't play as intended. Here's the code(it's in a local script)
local image = script.Parent
local fmaLogo = script.Parent.Parent["FMA Logo"]
local textLabel = script.Parent.TextLabel
local frame = script.Parent.Parent
local music = script.IntroMusic:Clone()
music.Parent = workspace
music:Play()
game.Players.LocalPlayer.Character.Humanoid.Died:connect(function()
music:Remove()
end)
wait(2)
for i=1, 10 do
image.ImageTransparency = image.ImageTransparency - 0.1
wait(0.1)
end
wait(1)
textLabel:TweenPosition(UDim2.new(0.103, 0,1.024, 0), "In", "Linear", 1)
wait(0.5)
textLabel.TextTransparency = 0
wait(2)
textLabel.TextTransparency = 1
for i=1, 10 do
image.ImageTransparency = image.ImageTransparency + 0.1
wait(0.1)
end
wait(1)
for i=1, 10 do
fmaLogo.ImageTransparency = fmaLogo.ImageTransparency - 0.1
wait(0.1)
end
fmaLogo:TweenPosition(UDim2.new(0.35, 0, 0, 0), "In", "Linear", 1)
for i=1, 10 do
frame.BackgroundTransparency = frame.BackgroundTransparency + 0.1
wait(0.1)
end

2 comments
it's Destroy not Remove. It's Connect not connect
Didn't fix my problem, but thanks for the help