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

How do I add differences to teams? [closed]

Asked by 5 years ago

Such as when someone joins the team they are bigger, have more health, can fly, or get wings?

Closed as Not Constructive by DeceptiveCaster

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
0
Answered by 5 years ago

I didn't test this, but maybe something similar to

game.Players.PlayerAdded:Connect(function(plr)
    if plr.Team == game.Teams.YOURTEAMNAME then
    plr.Character.Humanoid.MaxHealth = 200
    plr.Character.Humanoid.Health = 200
    end
end)
Ad