So this script works on other surfaceguis but not this one, And I really don't know why
local SG = game:GetService("StarterGui") local B = game.Workspace:WaitForChild("Tracker") or game.Workspace:FindFirstChild("Tracker") game.Players.PlayerAdded:connect(function() if B then B.SurfaceGui = SG SG.SurfaceGui.Adornee = B end end)
The only error I'm getting is
'SurfaceGui is not a valid member of Part' even though it clearly is http://prntscr.com/7i7osl
I think you need to do this:
game.StarterGui.SurfaceGui.Adornee = workspace.Tracker
in the Command BarThe reason you're getting that error is explained by FearMeIAmLag's comment. You can't reassign what the SurfaceGui is, you can only specify what you want to do with it (ex change its Parent or some other property, or run one of its functions).