222304
|
  |
 |
| Joined: 26 May 2008 |
| Total Posts: 24900 |
|
|
| 10 Feb 2016 05:30 PM |
I've seen it done, and checked the roblox wiki
Nothing helpful so far |
|
|
| Report Abuse |
|
|
EgoMoose
|
  |
| Joined: 04 Feb 2009 |
| Total Posts: 2896 |
|
|
| 10 Feb 2016 05:34 PM |
Can you give an example of where you've seen it done?
It's more likely that the "tools" were actually pseudo-tools meaning that they're welded to the player and they're scripted to be just like tools, but they aren't actually tools.
I believe if you disable the backpack UI with SetCorGuiEnabled you also take away the ability to unequip tools.
I have never tried this, and it may not be valid for what you want to use it for, but you might be able to re-equip with the EquipTool method when the unequipped event happens? |
|
|
| Report Abuse |
|
|
222304
|
  |
 |
| Joined: 26 May 2008 |
| Total Posts: 24900 |
|
|
| 10 Feb 2016 05:36 PM |
"It's more likely that the "tools" were actually pseudo-tools meaning that they're welded to the player and they're scripted to be just like tools, but they aren't actually tools."
That might be the case |
|
|
| Report Abuse |
|
|
Tynezz
|
  |
| Joined: 28 Apr 2014 |
| Total Posts: 4945 |
|
|
| 10 Feb 2016 05:37 PM |
Use EquipTool
local currentTool; local p=game.Players.LocalPlayer local c=p.Character or p.CharacterAdded:wait()
c.ChildAdded:connect(function(tool) if tool.className=='Tool' then currentTool=tool end end)
game:GetService("RunService").RenderStepped:connect(function() if currentTool then if currentTool.Parent~=c then c:EquipTool(currentTool) end end end)
|
|
|
| Report Abuse |
|
|
222304
|
  |
 |
| Joined: 26 May 2008 |
| Total Posts: 24900 |
|
|
| 10 Feb 2016 05:40 PM |
| Well, I'm a bit more concerned about players not being able to drop currently equipped weapons I suppose |
|
|
| Report Abuse |
|
|
EgoMoose
|
  |
| Joined: 04 Feb 2009 |
| Total Posts: 2896 |
|
|
| 10 Feb 2016 05:42 PM |
| I believe there's a property in tools that doesn't let players drop them. |
|
|
| Report Abuse |
|
|
222304
|
  |
 |
| Joined: 26 May 2008 |
| Total Posts: 24900 |
|
|
| 10 Feb 2016 07:52 PM |
| dang if that's the case i feel dumb |
|
|
| Report Abuse |
|
|
222304
|
  |
 |
| Joined: 26 May 2008 |
| Total Posts: 24900 |
|
|
| 10 Feb 2016 07:54 PM |
| dang what do you know, there is a property |
|
|
| Report Abuse |
|
|