Opacor
|
  |
| Joined: 16 Nov 2010 |
| Total Posts: 455 |
|
|
| 09 Dec 2011 12:37 AM |
I want to get an weapon for an team. Example: Team A has a flame sword, and Team B has linked a sword. |
|
|
| Report Abuse |
|
|
Ultraw
|
  |
| Joined: 20 Nov 2010 |
| Total Posts: 6575 |
|
| |
|
Ultraw
|
  |
| Joined: 20 Nov 2010 |
| Total Posts: 6575 |
|
|
| 09 Dec 2011 01:44 AM |
Sword1 = game.Lighting.SwordNameHere Sword2 = game.Lighting.SwordNameHere
Team1Color = "TeamColorHere" Team2Color = "TeamColourHere"
function onEnter(p) if p.TeamColor == Team1Color then Sword1:clone().Parent = p.BackPack elseif p.TeamColor == Team2Color then Sword2:clone().Parent = p.BackPack end game.Players:ChildAdded:connect(onEnter)
Thats my best shot.. Put the swords in lighting and put their name in the place where it says sword name here. Change the TeamColorHere to the color. Eg. White Put the word into a script. (Insert>Object>Script) |
|
|
| Report Abuse |
|
|
Opacor
|
  |
| Joined: 16 Nov 2010 |
| Total Posts: 455 |
|
|
| 09 Dec 2011 11:46 AM |
| Does that work by clans either? |
|
|
| Report Abuse |
|
|
Ultraw
|
  |
| Joined: 20 Nov 2010 |
| Total Posts: 6575 |
|
|
| 09 Dec 2011 01:16 PM |
nope not for clans. i dont know how to do it for clans. Go to SH |
|
|
| Report Abuse |
|
|
|
| 09 Dec 2011 02:22 PM |
| It's a Script I have it,by:Stickmasterluke |
|
|
| Report Abuse |
|
|
Opacor
|
  |
| Joined: 16 Nov 2010 |
| Total Posts: 455 |
|
| |
|
Opacor
|
  |
| Joined: 16 Nov 2010 |
| Total Posts: 455 |
|
|
| 10 Dec 2011 05:04 AM |
game.Players.PlayerAdded:connect(function(player) if player:IsInGroup(204257) then ------ put your group ID in the "(204257)" player.TeamColor = BrickColor.new("Dark stone grey") else --<< end end)
This is the Cadets ID but it stil wont work. Do you know how to put the Cadets in the team? |
|
|
| Report Abuse |
|
|