I know this is basic but I'm confused. The first function works but not the next, even though they are very similar. What happened?
function round(player,text,time) Wait(3) local m = Instance.new("Message",player.PlayerGui) m.Text = text wait(time) m:Destroy() end function begin(text,time) Wait(1) local m= Instance.new("Message") m.Text = text wait(time) m:Destroy() end game.Players.PlayerAdded:connect(function(player) workspace:WaitForChild(player.Name) round(player,"The round will begin soon!",3) end) begin("Beginning the round now!",3)
Thanks
set the parent of the message to workspace so it can be seen by all.
line 11-12 m.Parent = workspace