Hi everyone!
I've got a probloem... how can i make BillboardGui Always on top?
I tried but it wasnt on top..
Script:
game.Workspace.ChildAdded:Connect(function(p) if p.ClassName == "Model" then wait(0.1) p.Head = Instance.new("BillboardGui", p.Head) end end)
First, you should change the ācā in connect
to an uppercase 'C'.
In line 4, you tried to assign something with the Head
, which is incorrect.
-- I will remake your code game.Workspace.ChildAdded:Connect(function(child) plr = game:GetService("Players"):GetPlayerFromCharacter(child) if plr then local billboardGUI = Instance.new("BillboardGui", plr.Character.Head) billboardGUI.AlwaysOnTop = true -- Neat property that always puts it on top end end)