Help with Rotating Gui

Is there a way to make a SurfaceGui rotate to the players position? BillboardGuis don’t support text buttons.

What do you mean by this?
Is your text button’s Active property set to true?

One way would be to put the SurfaceGui on a block that is constantly changing its rotation to face the player using CFrame.lookAt() that would be put inside a local script.

Is lookAt() a thing? I can’t seem to find it.

Have a look here:

CFrame.new ( Vector3 pos, Vector3 lookAt )
Creates a new CFrame located at pos and facing towards lookAt , assuming that (0, 1, 0) is considered “up”.

So… This?

local plr = game.Players.LocalPlayer
while true do
	wait(.1)
	script.Parent.CFrame.lookAt(plr.Character.Head.CFrame)
end
local player = game.Players.LocalPlayer
while wait() do
    script.Parent.CFrame = CFrame.lookAt(script.Parent.Position, player.Character.Head.Position)
end

CFrame.lookAt() requires 2 arguments:

  1. The position it is at
  2. The position it is looking at

Still does not work. No errors.