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

Im making a billboard gui name tag but when you play it doesnt load. Help?

Asked by 6 years ago
local RpBox = game:GetService("StarterGui"):WaitForChild("RPname"):WaitForChild("FrameRP"):WaitForChild("Textbox")
local RpName = RpBox.Text
local billboardgui = game:GetService("ServerStorage"):WaitForChild("BillboardGui")
game.Players.PlayerAdded:Connect(function(player)
game.Workspace:WaitForChild(player.Name)
local clonedgui = billboardgui:Clone()
clonedgui.Parent = game.Workspace[player.Name].Head
clonedgui.TextLabel.Text = RpName
end)

so you type the your name in a seprate gui then you should get a billboard gui with your name you just typed but why doesnt it work

0
Where is the script located? Uzuntu 6 — 6y
0
serverscriptservice and it a normal script EpicAshtonTheBoy 33 — 6y

1 answer

Log in to vote
0
Answered by
I_0KI 40
6 years ago

It's only changing the name once, at the beginning. You need to make a "Confirm" button or something that has a function that will change the name.

0
how EpicAshtonTheBoy 33 — 6y
Ad

Answer this question