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

Limiting ROBLOX's CoreGui Inventory, how?

Hello all, me again! So I've recently decided to create a form of 'Battle Royale' for my game, and I've been wondering, how could you limit ROBLOX's CoreGui Inventory and is it possible? I've done some research regarding it, and instead of having to create a whole new system, I thought why not just edit the preset one? So, any and all help to answer this question is awesome! Thanks all!

1 answer

You can't really edit roblox's Coregui, its used for Things like Menu, chat, leaderboard, no scripts have or should have permission level to edit (only game scripts) , however, you can disable some like leaderboard, chat, topbar, inventory, using predefined functions, heres an example of what you can do:

wait()
pcall(function()
	local starterGui = game:GetService('StarterGui')
	starterGui:SetCore("TopbarEnabled", false)
end) -- this disables the annoying top bar so you can fill all screen space for your GUIs

1 comment

0

Right, I knew that. So there's no way to edit ROBLOX's GUI? Like make only a certain amount of weapons/items able to be in the inventory?

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