|
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
| |
|
| |
|
|
| 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 |
|
|
|
| 05 Jun 2017 02:40 PM |
| I'll pay you 500 fake cash if you give me a copy and pste solution |
|
|
| Report Abuse |
|
|
| |
|
|
| 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 |
|
|
| |
|