How to force the user to keep a tool equipped?

I’ve been trying to create a system for a hot-potato style tool, and as part of it I want to keep the user from being able to swap tools. I’m trying to keep the player with the tool equipped but cannot get it to work.

I’ve tried applying the following but have had no success.

Tool.Unequipped:Connect(function()
	Tool.Parent = Player.Character
end)

Any help would be greatly appreciated.

1 Like

Try wrapping that in a task.defer.

1 Like
Tool.Unequipped:Connect(function(): ()
    Humanoid:EquipTool(Tool)
end)

(Make sure you have the Humanoid declared as a variable, or just modify the script otherwise)

Aww man it’s so obvious now that I see the vision.

Thank you for the help!!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.