Sarge101
|
  |
| Joined: 12 Jan 2009 |
| Total Posts: 67 |
|
|
| 04 Oct 2014 03:09 PM |
Hello I am Sarge101, I am fairly new to scripting and I have a question...
I have LuaModeMaker's admin commands and I am trying to add something with no luck at all. If you can help that would be amazing
What I am trying to do...
;tool sar = gives me a tool I want from the catalog. I don't know what to do.
Thank you to anyone who helps
|
|
|
| Report Abuse |
|
|
Sarge101
|
  |
| Joined: 12 Jan 2009 |
| Total Posts: 67 |
|
|
| 04 Oct 2014 03:18 PM |
The script looks like this but I want to add more commands to it so I can give more gear to me or other players.
if string.sub(Message,1,5+#Bet) == "sword"..Bet then local Players = Scan(string.sub(Message, 6+#Bet), Speaker) for _,Player in pairs(Players) do if Player ~= nil then if Player.Backpack ~= nil then if Player.Character ~= nil then local Object = game:GetService("InsertService"):LoadAsset(125013769) Object:GetChildren()[1].Parent = Player.Character end end end end end |
|
|
| Report Abuse |
|
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 04 Oct 2014 03:32 PM |
If you are new to script you should probably start with editing simple scripts and making your own scripts
https://www.youtube.com/watch?v=Urvn69ZbM_Y |
|
|
| Report Abuse |
|
|