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

How do you work with BillBoard?

Asked by 8 years ago
local player = game.Players.LocalPlayer
local plr = player:WaitForDataReady()
see = game.Workspace.See
local text = player.Name.." have died in 2015 as a result from old age."

game.Players.PlayerAdded:connect(function(player)
repeat wait() until plr
    see.BillboardGui.Name.Text = text
end)

So I have a grave built and I have a (Textbutton), and whenever a player joins the game I want them to see their name instead of the others and I am using a localscript, idk where to put this local script too. (game.Workspace.see.BillboardGui.Button) part=see billboardgui=BillboardGui Textbutton=Button

I would like help please.

1 answer

Log in to vote
0
Answered by 8 years ago

Try this.

local player = game.Players.LocalPlayer
see = game.Workspace.See
local text = (player.Name .." has died in 2015 as a result from old age.")

repeat wait() until player.DataReady
see.BillboardGui.Name.Text = text

0
Where does this script go? into player's gui? starterpack? where? in the buttontext? BuilderCosmic 43 — 8y
0
Put it wherever you had the other one; it should work in the Player's gui, StarterPack, or StarterPlayerScripts. invalidinvoke 134 — 8y
Ad

Answer this question