|
| 14 Sep 2016 01:15 PM |
How can I make a tool non equipable?
|
|
|
| Report Abuse |
|
|
Mitko0o1
|
  |
| Joined: 30 Nov 2010 |
| Total Posts: 5725 |
|
|
| 14 Sep 2016 01:18 PM |
workspace.Mitko0o1.ChildAdded:connect(function(child) if child:IsA("Tool") and child.Name = "MyToolName" then local clone = child:Clone() clone.Parent = game.Players.Mitko0o1.Backpack child:Destroy() end end) |
|
|
| Report Abuse |
|
|
|
| 14 Sep 2016 01:21 PM |
I dont want it to be destroyed.... I want it to be in the inventory but non equip able
|
|
|
| Report Abuse |
|
|
Mitko0o1
|
  |
| Joined: 30 Nov 2010 |
| Total Posts: 5725 |
|
|
| 14 Sep 2016 01:23 PM |
| when you equip the tool it goes inside your character model, this script will detect when the tool is added to your character, clone the tool so it's the same as it was before and delete the tool inside your character to give the illusion of it being unequippable |
|
|
| Report Abuse |
|
|