|
| 25 Feb 2017 04:06 PM |
As in when you touch the block it changes your team, but is NOT a spawn point.
|
|
|
| Report Abuse |
|
|
| 25 Feb 2017 04:08 PM |
local teamnametochange = "Team name here(has to be a string)" local teams = game:FindService("Teams")
script.Parent.Touched:connect(function(hit) local player = game.Players:GetPlayerFromCharacter(hit.Parent) if player then player.TeamColor = teams[teamnametochange].TeamColor end end) |
|
|
| Report Abuse |
|