K i'm trying to make it when a player enters it will appear if their name is in the list
--Name announcer
winner = {"Player's name"}
function OnPlayerEntered(player)
if player.name == access then -- is this correct?
local msg = Instance.new("Message")
msg.Parent = game.Workspace
msg.Text = winner "is the winner"
wait(2)
msg:remove()
end
end
game.Players.ChildAdded:connect(OnPlayerEntered)

1 comment
hi\