Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function ChangingTeam(player, team)
- --player.Character:FindFirstChild("Humanoid").Health = 0
- player.Team = game.Teams[team]
- local human = player.Character:FindFirstChild("Humanoid")
- human.Health = 0
- end
- game.ReplicatedStorage.events.ChangeTeam.OnServerEvent:Connect(ChangingTeam)
Advertisement
Add Comment
Please, Sign In to add comment