|
| 11 Dec 2015 06:44 PM |
| How can I use a script to put a gear in the player's inventory and then automatically equip it? |
|
|
| Report Abuse |
|
|
|
| 11 Dec 2015 06:48 PM |
| You'd clone your tool into the players backpack(located within their player, not their character). I don't know exactly how to force the equip. |
|
|
| Report Abuse |
|
|
| |
|
|
| 11 Dec 2015 06:52 PM |
where can I find the classic roblox sword?
I seem to be having trouble, can't even find it in the catalog. |
|
|
| Report Abuse |
|
|
| |
|
|
| 11 Dec 2015 07:07 PM |
| How would I make sure it goes into all Players' backpacks |
|
|
| Report Abuse |
|
|
|
| 11 Dec 2015 07:09 PM |
Put into starterpack, no scripting required!
|
|
|
| Report Abuse |
|
|
|
| 11 Dec 2015 07:09 PM |
| But I want it to happen when they teleport to an area. |
|
|
| Report Abuse |
|
|
|
| 11 Dec 2015 07:36 PM |
| Put the players into a table, loop through the table and find their backpacks and put it in. To remove either kill them or loop thru and remove. |
|
|
| Report Abuse |
|
|
|
| 11 Dec 2015 07:37 PM |
I started doing that but I don't know the for loop in Lua The things I've tried haven't worked |
|
|
| Report Abuse |
|
|
|
| 11 Dec 2015 08:01 PM |
for index, variable in pairs(game.Worksapce:GetChildren()) do print(variable.Name) end
this would print the names of everything in workspace.
|
|
|
| Report Abuse |
|
|