I want to make a tool "tool less"

Script so far -

-- In this example I use the player's backpack as a place to store the tool, however the tool can be stored where ever you like.

game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false) -- This will disable all hotkeys for selecting tools along with removing the BackpackGui.

local player = game.Players.Player
local character = player.Character
local tool = player.Backpack.Tool

function equip(tool)
    tool.Parent = character
end

function unequip(tool)
    tool.Parent = player.Backpack
end

-- Simply call equip or unequip when you wish

2 comments

0

With no backpack or custom backpack, I suppose you’d have to have the tool parts in the character/welded and use UIS to detect when the tool is equipped and being used

0

try output its useful but you should do local player = game.Players.LocalPlayer on line 5