tarrdo
|
  |
| Joined: 24 Jun 2008 |
| Total Posts: 476 |
|
|
| 21 Jul 2014 06:02 PM |
How do I make an admin command I just want a command that goes ":give infernsword tarrdo and it would game.ServerStorage.InfernoSword:clone().Parent = game.Players["Player1"].Backpack |
|
|
| Report Abuse |
|
|
|
| 21 Jul 2014 06:03 PM |
| http://wiki.roblox.com/index.php?title=PlayerChatted_%28Event%29 |
|
|
| Report Abuse |
|
|
tarrdo
|
  |
| Joined: 24 Jun 2008 |
| Total Posts: 476 |
|
|
| 21 Jul 2014 06:04 PM |
| "Protected:This item is protected. Attempting to use it in a Script or LocalScript will cause an error." |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 21 Jul 2014 06:05 PM |
Game.Players.PlayerAdded:connect(function(player) player.Chatted:connect(function(message) if message:sub(1, 6) == ":give " then local tool = game.ServerStorage[message:sub(7)]; if tool then tool:clone().Parent = player.Backpack; end end end) end) |
|
|
| Report Abuse |
|
|
sbk28
|
  |
| Joined: 15 Nov 2008 |
| Total Posts: 2528 |
|
|
| 21 Jul 2014 06:05 PM |
| http://wiki.roblox.com/index.php?title=Chatted_(Event)/player |
|
|
| Report Abuse |
|
|