Arzachel
|
  |
| Joined: 19 Dec 2011 |
| Total Posts: 271 |
|
|
| 22 Dec 2011 12:02 PM |
For example, lets say I have two teams, Knights and Aliens. I would want the knights to spawn with swords and etc while the aliens would spawn with ray guns and etc.
-Dis ish ma siggy- |
|
|
| Report Abuse |
|
|
|
| 22 Dec 2011 12:07 PM |
Since I don't want you stealing anything and making it yours with no credit.
Here is a non-working example! function onPlayerSpawn() if Player.Team = Knights then instance.new ect....
it would be something along those lines, but that is not a working example. |
|
|
| Report Abuse |
|
|
Arzachel
|
  |
| Joined: 19 Dec 2011 |
| Total Posts: 271 |
|
|
| 22 Dec 2011 12:08 PM |
...
@krooked, Its not going to be a famous game its just for me and my friends to hang out.
-Dis ish ma siggy- |
|
|
| Report Abuse |
|
|
dapurple
|
  |
| Joined: 13 Aug 2011 |
| Total Posts: 231 |
|
|
| 22 Dec 2011 12:08 PM |
| I have the same problem as him, but that doesn't help me. |
|
|
| Report Abuse |
|
|
|
| 22 Dec 2011 12:10 PM |
| Still, im not going to give you a full script, this is a place for help, not scripts. |
|
|
| Report Abuse |
|
|
|
| 22 Dec 2011 12:11 PM |
| lol i meant not for requests. |
|
|
| Report Abuse |
|
|
Arzachel
|
  |
| Joined: 19 Dec 2011 |
| Total Posts: 271 |
|
|
| 22 Dec 2011 12:18 PM |
I have a question. Why didnt this script work?
local function respawned(character,newguy) if newguy.TeamColor = BrickColor.new("Bright blue") then -- Edit for the TeamColor here game.Lighting["LinkedSword"]:clone().Parent = newguy.Backpack elseif newguy.TeamColor = BrickColor.new("Bright green") then -- Edit for the TeamColor here game.Lighting["RayGun"]:clone().Parent = newguy.Backpack end end function playerIn(newguy) newguy.CharacterAdded:connect(function(character) respawned(character,newguy) end) end game.Players.PlayerAdded:connect(playerIn)
|
|
|
| Report Abuse |
|
|
|
| 22 Dec 2011 12:38 PM |
| You have to define newguy. |
|
|
| Report Abuse |
|
|
| |
|
pauljkl
|
  |
| Joined: 23 Oct 2008 |
| Total Posts: 9364 |
|
|
| 22 Dec 2011 05:23 PM |
local function respawned(character,newguy) if newguy.TeamColor = BrickColor.new("Bright blue") then -- Edit for the TeamColor here game.Lighting["LinkedSword"]:clone().Parent = newguy.Backpack elseif newguy.TeamColor = BrickColor.new("Bright green") then -- Edit for the TeamColor here game.Lighting["RayGun"]:clone().Parent = newguy.Backpack end end function playerIn(newguy) newguy.CharacterAdded:connect(function(character) respawned(character,newguy) end) end game.Players.PlayerAdded:connect(playerIn)
My script! Have you got the tools in Lighting and is there a team that is Bright blue and a team that is Bright green? Otherwise that script worsk just right |
|
|
| Report Abuse |
|
|
NCISrox
|
  |
| Joined: 04 Jun 2010 |
| Total Posts: 5184 |
|
|
| 22 Dec 2011 05:35 PM |
Paul, what do we do? It's gone. Dx -NCISrox |
|
|
| Report Abuse |
|
|
pauljkl
|
  |
| Joined: 23 Oct 2008 |
| Total Posts: 9364 |
|
|
| 22 Dec 2011 05:46 PM |
| Look at the mourning thread NCIS |
|
|
| Report Abuse |
|
|
|
| 22 Dec 2011 06:24 PM |
| What about a starter pack? Not sure if you can configure it to a certain team. |
|
|
| Report Abuse |
|
|
| |
|
352ynnhoj
|
  |
| Joined: 21 Sep 2010 |
| Total Posts: 1054 |
|
|
| 22 Dec 2011 07:23 PM |
| this belongs in script help |
|
|
| Report Abuse |
|
|
NCISrox
|
  |
| Joined: 04 Jun 2010 |
| Total Posts: 5184 |
|
|
| 22 Dec 2011 07:29 PM |
^Coolstorybro. You belong in C&G. Mmmk? -NCISrox |
|
|
| Report Abuse |
|
|
| |
|
TINISH0TZ
|
  |
| Joined: 20 Nov 2009 |
| Total Posts: 2549 |
|
|
| 26 Mar 2012 04:33 PM |
Something like this:
Opposing team.
- if player.team = red then player.backpack.sword = false
|
|
|
| Report Abuse |
|
|
drew8732
|
  |
| Joined: 01 Apr 2010 |
| Total Posts: 1965 |
|
|
| 26 Mar 2012 05:06 PM |
| Just use a team starterpack script. |
|
|
| Report Abuse |
|
|
| |
|
| |
|
NCISrox
|
  |
| Joined: 04 Jun 2010 |
| Total Posts: 5184 |
|
|
| 28 Apr 2012 11:52 AM |
if teamcolor = wutevs game.lighting.wep:clone clone.parent = backpack
yasteyonsckj -NCISrox |
|
|
| Report Abuse |
|
|