Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How does ExtentsOffset work?

local gui = Instance.new("BillboardGui",workspace)
	gui.Name = "LEVELUP"
	gui.ExtentsOffset.Position = Vector3.new(0,8,0) -- IT won't work.

And yes i checked the wiki, and it just said it was using Vectors

xyz

1 answer

✓ Accepted answer

"A Vector3 (x,y,z) defined in studs that will offset the gui from the extents of the 3D object it is rendering from" - Roblox wiki, billboard gui properties

The reason it isn't doing anything is because you first need a part for the GUI to render from. Additionally, "ExtentOffset.Position" should be "ExtentsOffset"

local part = Instance.new("Part",workspace)
part.Anchored = true
part.CFrame = CFrame.new(0,5,0)
local gui = Instance.new("BillboardGui",part)
gui.Adornee = part
gui.ExtentSOffset = Vector3.new(5,0,0)

This discussion is preserved as it was. New answers, comments, and votes are closed.