So I'm trying to make a script that will pop up a GUI only when the player enters. Not when the player respawns.
This is what a tried.
function onEntered(player)
game.Players.PlayerAdded:connect(onEntered) --Problem should be here.
local Ent = Instance.new("ScreenGui")
Ent.Parent = game.Players.LocalPlayer.PlayerGui --This is just the first part of my GUI script.
end
When I test it there are no errors in the output.
Pleas help!
