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

How to you disable unequipping or equiping? [closed]

Asked by 5 years ago

I want to to force unequipped a tool and also force equip at certain points. How do I do that?

0
Use the Humanoid's :UnequipTools() function. xPolarium 1388 — 5y

Closed as Not Constructive by User#19524

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
0
Answered by 5 years ago

You can use EquipTool to equip something, and UnequipTools to unequip everything. SetCoreGuiEnabled can be used with Enum.CoreGuiType.Backpack to disable the backpack if you want the player to be unable to equip tools by themselves.

Ad