|
| 11 Jan 2014 01:27 AM |
All of these scripts are in a spawnlocation and the GroupID is in the script itself.
This is supposed to put the player "Vauxilary" on the team colour of the spawnlocation:
Vauxilary = "Vauxilary"
game.Players.PlayerAdded:connect(function(p) if game.Players:findFirstChild(Vauxilary) then wait(5)
Enter.TeamColor=script.Parent.TeamColor end end)
game.Players.ChildAdded:connect(Enter)
This is supposed to put players that are in the Group on the team colour of the spawnlocation:
if Enter then script.GroupID.Value = true Enter.TeamColor=script.Parent.TeamColor end
game.Players.ChildAdded:connect(Enter)
This is supposed to put players that are not in the group on the team colour of the spawnlocation:
if Enter then script.GroupID.Value = false Enter.TeamColor=script.Parent.TeamColor end
game.Players.ChildAdded:connect(Enter)
Neither of these scripts work and even if they did they are unefficient. I'm a novice scripter and I'd appreciate it if you fixed the scripts for me, bonus points if you can put it all in one script that works in Workspace.
Thank you very very much in advance!
|
|
|
| Report Abuse |
|
|
| 11 Jan 2014 03:07 AM |
game.Players.PlayerAdded:connect(function(p) GroupID = --next to the = put the group id TeamColor = BrickColor.new("") -- Inside the ("") put the TeamColor if p:IsInGroup(GroupID) then wait(5) p.TeamColor = TeamColor end end)
|
|
|
| Report Abuse |
|