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

no change player team message?

Asked by
knotam 3
4 years ago

I have a script that changes a player's team

```game.ReplicatedStorage.DisasterEndedEvent.OnServerEvent:Connect(function() didEnd = true for i, v in pairs(game.Players:GetChildren()) do

                if v.Team == teamPlaying then
                v.Team = teamLobby
                v:LoadCharacter()
                end
                end

end)```

However, the chat box is often full of message on the player switching team that says "You are now on the 'Playing' team. Is there a way to disable this without using any chat modules or such?

Answer this question