Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to add image on our head?

Asked by 6 years ago

So. I have some problem with this. Is it possible to add an image at top of our player head? If possible pls give me know how to do it.

0
Like how nametags are? CPF2 406 — 6y
0
uhh User#23365 30 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago
Edited 6 years ago

LelioMods i suspect that u want a decal on top of a players head, so just make a rig and put a BillboardGui inside the of the head, and put a ImageLabel inside the billboard, u can customize the decal to any image u want. Then, put the billboard inside of ReplicatedStorage, and insert a script into server script server and type this:

game.Players.PlayerAdded:Connect(function(plr)
    plr.CharacterAdded:Connect(function()
        local player = game.Players.LocalPlayer.Character
        local billboard = game.ReplicatedStorage.BillboardGui:Clone()
        billboard.Parent = player.Head
    end)
end)

also, set the "AlwaysOnTop" property in BillboardGui to true, make the billboard size the same as the ImageLabel size too, and make the billboards SizeOffset to "0,1", also u can make change the maxdistance.

Ad

Answer this question