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

How do I make a billboard stay above the head when they respawn?

Asked by 8 years ago

I have my code billboard gui > textbutton etc and healthbar script but how do i make it where its above the head and stays there even when they respawn

2 answers

Log in to vote
0
Answered by 8 years ago

You can use the CharacterAdded event to achieve this effect in a script in Workspace.

game.Players.PlayerAdded:connect(function(player) --Defining the player
    player.CharacterAdded:connect(function(character) --Defining the character, triggers when the character respawns
        billboardgui.Parent = character.Head --Make sure to define what billboardgui is first!
    end)
end)

Of course, this is just an example script, feel free to change the code to meet your needs.

0
thanks ^_^ Clakker200 5 — 8y
Ad
Log in to vote
0
Answered by 8 years ago
game.workspace.part = 0.5

Answer this question