|
| 10 Oct 2016 09:50 AM |
Tool.Unequipped:connect(function(mouse) while wait do if script.Parent.Selected == true then script.Parent.Selected = false end wait(3) break end end)
So when you unequip the tool, you should have to wait 1 second before being able to re-equip. That was my best attempt, any help?
|
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 10 Oct 2016 09:52 AM |
Tool.Unequipped:connect(function() human:EquipTool(Tool) end)
|
|
|
| Report Abuse |
|
|
|
| 10 Oct 2016 10:02 AM |
Tool = script.Parent human = game.Players.LocalPlayer.Character.Humanoid
Tool.Unequipped:connect(function() human:EquipTool(Tool) end)
10:01:16.644 - Something unexpectedly tried to set the parent of Tool to Player1 while trying to set the parent of Tool. Current parent is Backpack.
Shouldn't there be a wait somewhere?
|
|
|
| Report Abuse |
|
|
|
| 10 Oct 2016 10:06 AM |
Tool = script.Parent human = game.Players.LocalPlayer.Character.Humanoid
Tool.Unequipped:connect(function() human:EquipTool(function() human:UnequipTools() end) end)
10:04:29.754 - Unable to cast value to Object
|
|
|
| Report Abuse |
|
|
|
| 10 Oct 2016 10:20 AM |
b please help, this is very important to me
|
|
|
| Report Abuse |
|
|
|
| 10 Oct 2016 10:22 AM |
| Why does it need to be a tool in the first place? |
|
|
| Report Abuse |
|
|
|
| 10 Oct 2016 10:27 AM |
cause it is like a sword and I don't want people to be able to re-equip or else it's not fair.
|
|
|
| Report Abuse |
|
|
|
| 10 Oct 2016 10:28 AM |
| How is re-equipping a sword not fair? |
|
|
| Report Abuse |
|
|
|
| 10 Oct 2016 10:33 AM |
One that blocks, if you re-equip it gets through the block and messes with the block script.
|
|
|
| Report Abuse |
|
|
| |
|