Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to script a gear without it's normal gui?

Hi, this is my first post and am trying to script a gui that equips a gear using the gui i made instead of the one at the bottom of the screen. I've got the gui where when you click it, my player receive the gear in his backpack but the gui always spawns on the bottom of the screen. How do i remove this permanently so the gear is only equipped using my gui? Any suggestions would be appreciated :)

1 answer

✓ Accepted answer

Basically you disable the CoreGui by SetCoreGuiEnabled function

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

Note that this code must be inside local script

here is all you need

Btw since the backpack will be disabled you won't be able to move tools from backpack to player's character. Make sure that ur gear giver inserts the tool inside player's character.

1 comment

0

IT WORKED! :D

This discussion is preserved as it was. New answers, comments, and votes are closed.