-- locals local player = game.Players.LocalPlayer local frame = script.Parent:WaitForChild("Frame") local part = workspace:WaitForChild("Part") local partp = part.Position -- script while wait() do frame.Position = UDim2.new(0, partp.X, 0, partp.Y) end
I put the frame anchor to 1,1. Because I thought it would fix the issue of having the GUI be stuck at 0,0. Though, it did more harm than friendliness. Can someone help or explain me why this doesn't work?
Thanks in advance,
You don't need a script for this. Instead make a part in the workspace, add a Billboard Gui **to it, and then put your **frame inside.
Set the size of the billboard to the same size as the frame so everything fits perfectly and then set the "AlwaysOnTop" bool value in the billboard **to "true**"