|
| 27 Mar 2014 04:39 PM |
I thought I could do a fast job by just pulling a script from free models and modifying it, but apparently I couldn't
Both teams are not autoassignable no one gets on a team on entering
group = 877323 -- change to group ID
function Check(p) local player = p if player ~= nil then if player:IsInGroup(group) then player.TeamColor = BrickColor.new("Really Blue") else player.TeamColor = BrickColor.new("Really Red") end end end
game.Players.ChildAdded:connect(Check)
|
|
|
| Report Abuse |
|
|
|
| 27 Mar 2014 04:43 PM |
Try this out:
--Born was Here group = 877323
game.Players.PlayerAdded:connect(function(Player) if Player:IsInGroup(group) then Player.TeamColor = BrickColor.new("Really Blue") else Player.TeamColor = BrickColor.new("Really Red") end --Born was here too end) |
|
|
| Report Abuse |
|
|
| |
|
|
| 27 Mar 2014 04:54 PM |
is there anything else I need to specify in the groups and spawns?
|
|
|
| Report Abuse |
|
|
|
| 27 Mar 2014 04:58 PM |
anything?
its really starting to frustrate me. |
|
|
| Report Abuse |
|
|
|
| 27 Mar 2014 05:09 PM |
| This is really wasting my time |
|
|
| Report Abuse |
|
|
|
| 27 Mar 2014 05:12 PM |
| does it need to be a local script? |
|
|
| Report Abuse |
|
|