i'm trying to make it so when a player joins, it says "(playername) has joined!" i can do that part, but whenever i do gui.Visible = false, it doesn't go away. here's the script:
local gui = game.StarterGui.ScreenGui.TextLabel
local Players = game:GetService("Players")
function join(player)
gui.Text = (player.Name .. " has joined!")
gui.Visible = true
wait(3)
gui.Visible = false
gui.Text = (" ")
end
Players.PlayerAdded:connect(join)

1 comment
https://scriptinghelpers.org/blog/common-mistakes#PlayerGui