Information
You are viewing an older version of the chatbox. A new and improved version is coming soon with better quality and exciting new features—stay tuned! In the meantime, you can download and explore the code. Thanks for your patience!
local player = game.Players.LocalPlayer local metamorfoseBoo
by @pinhebox
OpenAI (gpt-4o-mini)

local player = game.Players.LocalPlayer
local metamorfoseBool = player:WaitForChild("Metamorfose")
local StarterGui = game:GetService("StarterGui")
local function updateBackpackVisibility()
if metamorfoseBool.Value then
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)
else
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, true)
end
end
updateBackpackVisibility()
metamorfoseBool.Changed:Connect(function()
updateBackpackVisibility()
end)
nao esta no Player em si, mais no seu Character
index.lua
Loading...
Olha, era pra backpack nao se tornar visivel até que o valor voltasse a ser false, enquanto for TRUE ela deve ficar desativada, e assim que o valor mudar para True a backpack deve ser desativada IMEDIATAMENTE
index.lua
Loading...
eu estou percebendo que ela é desativada porém em seguida já é reativada, vamos adicionar um cotndown de verificação (0) secs
index.lua
Loading...
Try the new version and experience improved quality and exciting new features!