|
| 08 Apr 2017 05:50 PM |
| Ok so i need help making a gustom inventory gui so what i want it to do is when a player buys an item from the shop that item will go in the players inventory and that player can equip it or unequip it form the inventory but the player can only have one of those items equip out a time |
|
|
| Report Abuse |
|
|
|
| 08 Apr 2017 05:53 PM |
| Umm... What's the issue? What do you need help with? lmao... You can't equip two tools by default anyways. |
|
|
| Report Abuse |
|
|
|
| 08 Apr 2017 05:54 PM |
| im trying to figure out how to make a custom gui system that will make it were the player can equip and unequip it |
|
|
| Report Abuse |
|
|
|
| 08 Apr 2017 06:01 PM |
equipped = false GUI.MouseButton1Click:connect(function() if equipped == false then tool.Parent = plr.Backpack else tool.Parent = GUI.Parent.tools end end |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
|
| 08 Apr 2017 09:57 PM |
| how will i be able to use that |
|
|
| Report Abuse |
|
|
|
| 09 Apr 2017 11:16 PM |
| Make the variable GUI the button, and make the variable tool the tool you want to equip and unequip |
|
|
| Report Abuse |
|
|
|
| 10 Apr 2017 09:52 AM |
| It's not just a tool like it's custom audio too |
|
|
| Report Abuse |
|
|