When the game loads, it moves everything from StarterGui into PlayerGui. Maybe try using this.
local Players = game:FindService("Players")
script.Parent.Touched:Connect(function(hit)
local humanoid = hit.Parent:FindFirstChild("Humanoid")
if humanoid ~= nil then
local player = Players:GetPlayerFromCharacter(humanoid.Parent)
player.PlayerGui.PC_INTERFACE:WaitForChild("Frame").Visible = true
end
end)
function E(hit)
hum = hit.Parent:FindFirstChild(“Humanoid”)
if hum then
plr = game.Players:GetPlayerFromCharacter(hum.Parent)
plr.PlayerGui.PC_INTERFACE.Frame.Visible = true
end
end