nfsmartie
|
  |
| Joined: 03 Sep 2011 |
| Total Posts: 11 |
|
|
| 27 Mar 2016 12:40 PM |
| I am making a game where there is a teleport to and from a pvp arena. I need a script so when you go through 1 teleporter, it gives you the weapons, but when you go through the other portal, it takes away the weapons. I have the 2 weapons in Lighting, and the 2 weapon's names are "Sword" and "Gun" (without quotes). Can anyone help??? |
|
|
| Report Abuse |
|
|
|
| 27 Mar 2016 12:56 PM |
gs = Game:GetService("GiveService") rs = Game:GetService("RemoveService") function Function(player) if player.teleporter1 = true then player.gs(game.Lighting.Sword) else player.rs(gmae.Lighting.Sword) end if player.teleporter2 = true then player.gs(game.Lighting.Gun) else player.rs(gmae.Lighting.Gun) end end end end) end end
y-you monster |
|
|
| Report Abuse |
|
|
|
| 27 Mar 2016 12:57 PM |
oops i forgot a end, add another 1 at the bottom
y-you monster |
|
|
| Report Abuse |
|
|