heya. I'm trying to make my startup screen for my MMORPG, and I realized that it starts again whenever I die/reset (something I don't want,obviously.)
I've made modifications to the script, including adding another local script in the StarterGUI, specifically to make sure that the GUI fires ONLY when the player joins the server, shown below.
game.Players.PlayerAdded:connect(function(plr)
local startup = game.ReplicatedStorage.GUIs.startupScreen:Clone()
startup.Parent = plr.PlayerGui
end)
Also, the GUI works as so. The GUI goes from invisible to visible using the transparency property in the GUI. I set it to trigger whenever the PlayerGUI is the GUI's parent. (Basically the GUI is in the player) However, when I join the game, it doesn't move to the playerGUI parent.
Here's the transparency script within the GUI if this would help any.
local player = game.Players.LocalPlayer
local parent = player.PlayerGui
if not parent then
wait()
else
for i = 1,0.5, -.01 do
script.Parent.BackgroundTransparency = i
wait(.1)
end
end
Thanks in advance.

2 comments
You destroy the GUI after the use, right?
Yep