game.Players.PlayerAdded:connect(function(player) while true do wait(60) player.TeamColor = BrickColor.new("Bright yellow") wait(180) player.TeamColor = BrickColor.new("Bright blue") end end)
Does anybody know how to make player's die after team change? I really don't know how.
game.Players.PlayerAdded:connect(function(player) while true do wait(60) player.TeamColor = BrickColor.new("Bright yellow") pcall(function() player.Character:BreakJoints() end) wait(180) player.TeamColor = BrickColor.new("Bright blue") pcall(function() player.Character:BreakJoints() end) end end)