I was making a intro script for my gui, but it doesn't work for some reason. It maybe a common error which i'm too stupid to realize, i putted a print, i tried local and regular scripts but it doesn't work. Why?
game.Players.PlayerAdded:Connect(function(player)
print("xd")
player.PlayerGui.Intro.IntroMusic:Play()
wait(3)
script.Parent.TextLabel.Visible = false
player.PlayerGui.Intro.Frame.BackgroundTransparency = player.PlayerGui.Intro.Frame.BackgroundTransparency -.1
player.PlayerGui.Intro.Frame.BackgroundTransparency = player.PlayerGui.Intro.Frame.BackgroundTransparency -.1
player.PlayerGui.Intro.Frame.BackgroundTransparency = player.PlayerGui.Intro.Frame.BackgroundTransparency -.1
player.PlayerGui.Intro.Frame.BackgroundTransparency = player.PlayerGui.Intro.Frame.BackgroundTransparency -.1
player.PlayerGui.Intro.Frame.BackgroundTransparency = player.PlayerGui.Intro.Frame.BackgroundTransparency -.1
end)

2 comments
use a for loop
Use local scripts for screen guis.