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: A specific weapon for a specific team.

Previous Thread :: Next Thread 
Opacor is not online. 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 is not online. Ultraw
Joined: 20 Nov 2010
Total Posts: 6575
09 Dec 2011 01:25 AM
its a script i dont know
Report Abuse
Ultraw is not online. 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 is not online. Opacor
Joined: 16 Nov 2010
Total Posts: 455
09 Dec 2011 11:46 AM
Does that work by clans either?
Report Abuse
Ultraw is not online. 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
mikeyboy9844 is not online. mikeyboy9844
Joined: 08 Nov 2010
Total Posts: 7622
09 Dec 2011 02:22 PM
It's a Script I have it,by:Stickmasterluke
Report Abuse
Opacor is not online. Opacor
Joined: 16 Nov 2010
Total Posts: 455
10 Dec 2011 04:37 AM
Sent the link please.
Report Abuse
Opacor is not online. 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
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