Hello, I have made an intro in a localscript, in correct files, and it is in StarterGui, everything works perfectly, but when you die in the game, the intro repeats. Here is the script:
local player = game.Players.LocalPlayer
local gui = script.Parent
local frame = gui:WaitForChild('Background')
local logo = frame:WaitForChild('Logo')
local introran = player:WaitForChild('IntroRan')
local message = logo:WaitForChild('Message')
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)
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
end
I would appreciate it if I could have the answer as part of this script, but anything is appreciated, thanks!

1 comment
You could always get around the FilteringEnabled problem with RemoteFuncions and RemoteEvents but this is a major pain especially for the server to mess with the Gui.