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

How do i change the local player team?

Asked by 5 years ago

I think the title is pretty self explainatory.

0
and plz send an answer not a comment mewant_taco 17 — 5y
2
player.TeamColor. Change it in a server Script. There isn't a point answering since this could be said in a comment. Make an attempt if you need help. xPolarium 1388 — 5y

1 answer

Log in to vote
1
Answered by
starmaq 1290 Moderation Voter
5 years ago

After you got your team setup, you gotta use a local script (since were getting the player) you can use either plr.TeamColor = team.TeamColor and just use the property Team plr.Team = team

local plr = game.Players.LocalPlayer
local team = game:GetService("Teams").CoolBoys -- your team name

plr.Team = team
plr.TeamColor = team.TeamColor
0
Thanks! :3 mewant_taco 17 — 5y
0
np! starmaq 1290 — 5y
Ad

Answer this question