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

How do i force the player to Hold tool?

Asked by 3 years ago

How do I Force a player to Hold a tool, And cant be Unnequipped

0
I just wanna add something here, when a player has a tool that's not equipped, it's usually stored in the player's inventory. Equipping it moves it to the character model of the player. CjayPlyz 643 — 3y

1 answer

Log in to vote
0
Answered by 3 years ago

First, you want to disable "Can Be Dropped" in the tool so the player can't drop it. Next, make a local script in the tool and use this code

script.Parent.Unequipped:Connect(function()
    wait()
    game.Players.LocalPlayer.Character.Humanoid:EquipTool(script.Parent)
end)

If this worked, be sure to accept the answer! Good luck, and let me know if it does not work.

Ad

Answer this question