Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Group Member,Player.Name"Has Joined The Game" script not working, Why?

Her is the script and it is very simple

game.Players.PlayerAdded:Connect(function(player)
	if  player:IsInGroup(1027635) then
	local Message = Instance.new("Message", game.Workspace)
	Message.Text =  "Group Member",player.name,"Has Joined The Game!"
	wait(10)
	Message:Destroy()
	end
end)

1 comment

0

it just says Group Member Nothing El.se

1 answer

✓ Accepted answer
game.Players.PlayerAdded:Connect(function(player)
    if  player:IsInGroup(1027635) then
    local Message = Instance.new("Message", game.Workspace)
    Message.Text =  "Group Member: "..player.name.." Has Joined The Game!" -- commas not allowed
    wait(10)
    Message:Destroy()
    end
end)

This discussion is preserved as it was. New answers, comments, and votes are closed.