Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Make a tool unselectable?

Asked by 10 years ago

How would I make a tool Unselectable(you cant take it off) once you equip it?

1 answer

Log in to vote
0
Answered by 10 years ago

There's no exact way to do that, unless you make yourself a custom tool using scripts (not the tool instance)

Best I could come up is this:

--localscript in the tool
local tool = script.Parent
local me = game.Players.LocalPlayer
local humanoid = me.Character.Humanoid

while wait() do
    humanoid:EquipTool(tool)
end
Ad

Answer this question