|
| 04 Feb 2013 03:20 PM |
| I own a group called BrickLand School and I want two spawn teams to say 'Brickland' and 'Unknown' But it needs to be scripted so every member of brickland will be under Brickland but people who aren't a member are under unknown, can anyone help? |
|
|
| Report Abuse |
|
|
| |
|
|
| 04 Feb 2013 05:02 PM |
So.. Here is a script add it in the spawn and make the spawn not auto assinable
group = 000000
game.Players.PlayerAdded:connect(function(newPlayer)
if newPlayer~=nil then
if newPlayer:IsInGroup(group)==true then --YOUR GROUP ID IN THE ()
newPlayer.TeamColor=BrickColor.new(\"Bright green\") --Whatever your group\'s teamcolor is
repeat wait(0.5) until newPlayer.Character~=nil
newPlayer.Character.Humanoid.Health=0
end
end
end)
\Shakin4AFriend/ |
|
|
| Report Abuse |
|
|
|
| 04 Feb 2013 05:03 PM |
Put your group ID in the 000000
\Shakin4AFriend/ |
|
|
| Report Abuse |
|
|
|
| 05 Feb 2013 12:47 AM |
| Didn't seem to work (Yes I do have it correctly done) But thanks anyway... |
|
|
| Report Abuse |
|
|
69scott69
|
  |
| Joined: 30 Jan 2011 |
| Total Posts: 6136 |
|
|
| 05 Feb 2013 02:09 AM |
| Don't put your group's name in the ID, you have to find the ID number of your group and put it there. |
|
|
| Report Abuse |
|
|
|
| 05 Feb 2013 10:08 AM |
| I'm not an idiot I do know... |
|
|
| Report Abuse |
|
|
|
| 05 Feb 2013 10:12 AM |
In the second line, doesnt there miss a bracket? (function(newplayer)) right? I might be wrong, I'm no good scripter XD |
|
|
| Report Abuse |
|
|