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

How to disable player backpack item equip?

Asked by 4 years ago

How do I disable the backpack so whenever I press any of the number keys it won't equip the tool in the player's back pack?

2 answers

Log in to vote
1
Answered by 4 years ago
Edited 4 years ago

Use this.

game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack,false)

Putting this in a server script will disable the backpack for all players.

Remember to upvote if I helped :)

Ad
Log in to vote
1
Answered by 4 years ago

This might help https://www.youtube.com/watch?v=2lDOiWViUO8

Answer this question