Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 4 years ago

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)

0
it just says Group Member Nothing El.se Vortex_Vasne 89 — 4y

1 answer

Log in to vote
1
Answered by
0_2k 496 Moderation Voter
4 years ago
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)
Ad

Answer this question