|
| 12 Aug 2013 08:37 AM |
| Im just learning LUA, cant make a script to remove all the items from the visitor team starterpacks, any help? |
|
|
| Report Abuse |
|
|
|
| 12 Aug 2013 08:45 AM |
One thing; you might want to call it Lua unless you love armpits.
game.Players.PlayerAdded:connect(function(player) wait() if player.TeamColor = "Color Name Here" then player.StarterGear["Gear Name Here"]:Destroy() --[[Just copy this line]] player.Backpack["Gear Name Here"]:Destroy() --[[And this line and paste below this line for more gear.]] end end)
This won't work in solo mode test it in a server. |
|
|
| Report Abuse |
|
|
Infocus
|
  |
| Joined: 28 Apr 2011 |
| Total Posts: 8022 |
|
|
| 12 Aug 2013 08:50 AM |
game.Players.PlayerAdded:connect(function(plyr) if plyr.TeamColor = game.Teams["Visitors"].TeamColor then -- Change visitors to ur team name for _, v in pairs (plyr.Backpack:children()) do v:Destroy() end end end) |
|
|
| Report Abuse |
|
|
|
| 12 Aug 2013 08:53 AM |
There is always a guy that always beats me, anyhow he's beginner
You guys are just like me you don't get a lot of sleep? Because I saw you post last night at 1 in the morning... now it's 9 in the morning. |
|
|
| Report Abuse |
|
|
Infocus
|
  |
| Joined: 28 Apr 2011 |
| Total Posts: 8022 |
|
|
| 12 Aug 2013 08:55 AM |
Sleeping are for noobs
Noone is ever better at someone lal
I just made ur script simpler
I mix 5 - hour energy and coffee |
|
|
| Report Abuse |
|
|
bohdan77
|
  |
| Joined: 10 Aug 2008 |
| Total Posts: 7944 |
|
|
| 12 Aug 2013 08:57 AM |
| Or he slept 8 hours, because that's the time you're supposed to sleep. -_- |
|
|
| Report Abuse |
|
|
blocco
|
  |
| Joined: 14 Aug 2008 |
| Total Posts: 29474 |
|
|
| 12 Aug 2013 08:57 AM |
"Sleeping are for noobs"
so are grammer and speling |
|
|
| Report Abuse |
|
|
Infocus
|
  |
| Joined: 28 Apr 2011 |
| Total Posts: 8022 |
|
|
| 12 Aug 2013 08:58 AM |
Not really @ Bohd
I slept @ 5 am and its 11:58 pm here
|
|
|
| Report Abuse |
|
|
Infocus
|
  |
| Joined: 28 Apr 2011 |
| Total Posts: 8022 |
|
|
| 12 Aug 2013 08:58 AM |
| I had a filing that I was rong, but I couldnt grasp my whole body round it |
|
|
| Report Abuse |
|
|