#How can i always have my billboard gui above the part

1 messages · Page 1 of 1 (latest)

worldly condor
#

So i have a part part, but my problem is that if its moves or anything its hard to read and understand key info about the pet. Is there anyway to always make the text above it no matter where the pets rotation

#

Im using this to make the part

    local PriceHolder = Instance.new("Part")
    PriceHolder.Parent = newPet
    PriceHolder.Anchored = true
    PriceHolder.Transparency = 1
    PriceHolder.Size = Vector3.new(0.85, 0.2, 0.75)
    PriceHolder.CFrame = newPet.Base.CFrame * CFrame.new(0, 0.7, 0)
    
    local BillboardGui = Instance.new("BillboardGui")
    BillboardGui.Parent = PriceHolder
    BillboardGui.Size = UDim2.new(2.5, 0, 0.5, 0)
    
    local PriceText = Instance.new("TextLabel")
    PriceText.Parent = BillboardGui
    PriceText.BackgroundTransparency = 1
    PriceText.Size = UDim2.new(1, 0, 1, 0)
    PriceText.Font = Enum.Font.FredokaOne
    PriceText.Text = "Price ".. price
    PriceText.TextColor3 = Color3.fromRGB(181, 180, 158)
    PriceText.TextScaled = true
    
    local Weld = Instance.new("WeldConstraint")
    Weld.Parent = newPet.Base
    Weld.Part0 = newPet.Base
    Weld.Part1 = PriceHolder
    
    PriceHolder.Anchored = true```
#

so like you see how the text doesnt rotate, sort of like that where it rotates round the pet so its always above

lavish mango
#

change like

#

the size world offset of the billboard

#

hold on lemme check

#

set the billboard's adornee to a part thats in the middle of the pet

#

set one of these to 0,0.7,0 i forgot which

worldly condor
#

not sure if its because i was rotatiing it manually

lavish mango
#

its a simple fix but i cant check rn 🥀

worldly condor
worldly condor
#

@lavish mango anyway you are able to check now