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 » Scripters
Home Search
 

Re: Help!

Previous Thread :: Next Thread 
EpicProtect is online. EpicProtect
Joined: 12 Feb 2016
Total Posts: 85
05 Jun 2017 02:30 PM
So I'm making a game and I want to give weapons to certain teams.
For example:

Police Officers: Keycards, tasers, handcuffs, pistol and rifle
Criminals: Pistol, rifle and anything they steal.
Prisoners: Fists

I'm not making a prisin game. Just a example!
Report Abuse
SinisterMemories is not online. SinisterMemories
Joined: 21 Mar 2013
Total Posts: 4892
05 Jun 2017 02:34 PM
use conditional statement and :Clone()

if player.Team == "Police Officers" then
-- clone tools to their backpack
elseif player.Team == "Criminals" then
-- clone tools to their backpack
elseif player.Team == "Prisoners" then
end


#code print("oh no an errorz!")
Report Abuse
SinisterMemories is not online. SinisterMemories
Joined: 21 Mar 2013
Total Posts: 4892
05 Jun 2017 02:34 PM
Forgot the last -- clone tools to their backpack
under
elseif player.Team == "Prisoners" then


#code print("oh no an errorz!")
Report Abuse
EpicProtect is online. EpicProtect
Joined: 12 Feb 2016
Total Posts: 85
05 Jun 2017 02:34 PM
Prison*
Report Abuse
EpicProtect is online. EpicProtect
Joined: 12 Feb 2016
Total Posts: 85
05 Jun 2017 02:35 PM
thanks sinistermemories!
Report Abuse
SinisterMemories is not online. SinisterMemories
Joined: 21 Mar 2013
Total Posts: 4892
05 Jun 2017 02:37 PM
btw i didn't give you a copy and paste solution, so pasting that into a script willn't work. I just gave you what you would need probably


#code print("oh no an errorz!")
Report Abuse
EpicProtect is online. EpicProtect
Joined: 12 Feb 2016
Total Posts: 85
05 Jun 2017 02:40 PM
I'll pay you 500 fake cash if you give me a copy and pste solution
Report Abuse
EpicProtect is online. EpicProtect
Joined: 12 Feb 2016
Total Posts: 85
05 Jun 2017 02:42 PM
Paste*
god im a typo
Report Abuse
SinisterMemories is not online. SinisterMemories
Joined: 21 Mar 2013
Total Posts: 4892
05 Jun 2017 02:43 PM
i dont know where your tools etc. are so i cant really


#code print("oh no an errorz!")
Report Abuse
EpicProtect is online. EpicProtect
Joined: 12 Feb 2016
Total Posts: 85
05 Jun 2017 02:51 PM
random tools
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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