#different teams different abilities
13 messages · Page 1 of 1 (latest)
This should work Script In ServerScriptService
local Players = game:GetService('Players')
local SpeedTable = {
['TeamA'] = {
Health = 200,
WalkSpeed = 50
},
['TeamB'] = {
Health = 1,
WalkSpeed = 100
},
}
Players.PlayerAdded:Connect(function(Player)
Player.CharacterAdded:Connect(function(Character)
local Humanoid = Character:WaitForChild('Humanoid')
Humanoid.Health = SpeedTable[Player.Team.Name].Health
Humanoid.WalkSpeed = SpeedTable[Player.Team.Name].WalkSpeed
end)
end)
you can add more teams to SpeedTable
and health?
oh wait
im blind
@inner talon is "teama" and "teamb" the names of the teams?
Yes
ok tysm
is it possible to add team only tools to this aswell
and/or have u got any like ability tools