How would I add a respawn function once the player is teamed?
function onPlayerEntered(plyr)
if plyr:IsInGroup(4818698) then
plyr.TeamColor = BrickColor.new("Medium stone grey")
end
end
game.Players.PlayerAdded:connect(onPlayerEntered)
How would I add a respawn function once the player is teamed?
function onPlayerEntered(plyr)
if plyr:IsInGroup(4818698) then
plyr.TeamColor = BrickColor.new("Medium stone grey")
end
end
game.Players.PlayerAdded:connect(onPlayerEntered)
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Solved it.