generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Building Helpers
Home Search
 

Re: How To Make Team Only Gear?

Previous Thread :: Next Thread 
Arzachel is not online. 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
Krookedphycopath is not online. Krookedphycopath
Joined: 13 Aug 2010
Total Posts: 908
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 is not online. 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 is not online. 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
Krookedphycopath is not online. Krookedphycopath
Joined: 13 Aug 2010
Total Posts: 908
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
Krookedphycopath is not online. Krookedphycopath
Joined: 13 Aug 2010
Total Posts: 908
22 Dec 2011 12:11 PM
lol i meant not for requests.
Report Abuse
Arzachel is not online. 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
Krookedphycopath is not online. Krookedphycopath
Joined: 13 Aug 2010
Total Posts: 908
22 Dec 2011 12:38 PM
You have to define newguy.
Report Abuse
ChanceJared9 is not online. ChanceJared9
Joined: 24 Nov 2011
Total Posts: 97
22 Dec 2011 04:25 PM
[ Content Deleted ]
Report Abuse
pauljkl is not online. 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 is not online. 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 is not online. pauljkl
Joined: 23 Oct 2008
Total Posts: 9364
22 Dec 2011 05:46 PM
Look at the mourning thread NCIS
Report Abuse
Jerry05171998 is not online. Jerry05171998
Joined: 05 Dec 2010
Total Posts: 93
22 Dec 2011 06:24 PM
What about a starter pack? Not sure if you can configure it to a certain team.
Report Abuse
NETREXAN101 is not online. NETREXAN101
Joined: 19 Dec 2011
Total Posts: 21
22 Dec 2011 06:31 PM
Ok.
Report Abuse
352ynnhoj is not online. 352ynnhoj
Joined: 21 Sep 2010
Total Posts: 1054
22 Dec 2011 07:23 PM
this belongs in script help
Report Abuse
NCISrox is not online. NCISrox
Joined: 04 Jun 2010
Total Posts: 5184
22 Dec 2011 07:29 PM
^Coolstorybro.
You belong in C&G. Mmmk?
-NCISrox
Report Abuse
Mando1700 is not online. Mando1700
Joined: 08 Feb 2012
Total Posts: 1
26 Mar 2012 03:39 PM
NCIS does rock
Report Abuse
TINISH0TZ is not online. 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 is not online. drew8732
Joined: 01 Apr 2010
Total Posts: 1965
26 Mar 2012 05:06 PM
Just use a team starterpack script.
Report Abuse
RockTheMIC is not online. RockTheMIC
Joined: 22 Jul 2011
Total Posts: 2319
26 Mar 2012 06:53 PM
Script it.
Report Abuse
ninjagofan200 is not online. ninjagofan200
Joined: 28 Mar 2011
Total Posts: 401
26 Mar 2012 06:58 PM
xD
Report Abuse
NCISrox is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Building Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image