I have already made a script about it
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)
local Part = game.Workspace["Backpack?"]
Part.Touched:Connect(function(Hit)
local player = game.Players:GetPlayerFromCharacter(Hit.Part)
if player then
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, true)
end
end)
The script is about the player have already a disabled backpack, when the player touch a part called "BackPack?" the script make the character's backpack enbled again, anybody help me with this?

4 comments
Replace 'local part = workspace:FindFirstChild("Part")' with the location of your part.
Thanks!!
is it in the same script?
no, a localscript for the client (in startergui or playerscripts) and script in severscriptservice i guess