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

BillboardGui not appearing?

I'm using a billboardgui as a ingame menu, and I am trying to get it to adornee to the torso.

But...

local player = game.Players.LocalPlayer
local BBGui = Instance.new("BillboardGui", player.PlayerGui)
local frame = Instance.new("Frame", player.PlayerGui.BillboardGui)
local GGOBillboardGui = player.PlayerGui.BillboardGui

GGOBillboardGui.Adornee = player.Character.Torso


Even though it says that it is adornee to the torso, it just not appearing? Frame's visible is on.

Please help?

1 comment

0

Are there any errors / output? Have you done debugging to make sure this script runs fully through?

1 answer

Objects inserted through Advanced Objects have different default properties than objects created with Instance.new(). Even though inserting a Frame through Advanced Objects gives you one with a Size of 0,100, 0,100, creating a Frame with Instance.new() gives you one that's at Size 0,0, 0,0. You need to set the size to something other than 0 to get it to appear.

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