RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"tab for inventroy"
-- local script local player = game.Players.LocalPlayer local inventory = player.PlayerGui.Inventory local function toggleInventory() if inventory.Visible then inventory.Visible = false else inventory.Visible = true end end -- bind the toggleInventory function to a key press event game:GetService("UserInputService").InputBegan:Connect(function(input) if input.KeyCode == Enum.KeyCode.Tab then toggleInventory() end end)