Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

My overhead GUI doesnt show up on my head and i did what i needed , why doesnt it work?

So im working on a game with team create , but i need that GUI to show up our ranks into the game , but this script just wont work , i did the bilboard gu , i did the text and how it was going to look , i put it into the ReplicatedStorage but still doesnt work , somebody help?


local billboardgui = game:GetService("ServerStorage"):Waitforchild("BillboardGui")

game.Players.PlayerAdded:Connect(function(player)

player.CharacterAdded:Connect(function(character)

      if player.Name ==  "MrJPgSwag" then
       local clonedgui = billboardgui:Clone()
       clonedgui.TextLabel.Text = "OWNER"
       clonedgui.TextLabel.TextColor3 = Color3.fromRGB(165,7,163)
       clonedgui.Parent = game.Workspace:WaitForChild(player.Name).Head
          end

      end)

1 answer

You did game:GetService("ServerStorage") not ReplicatedStorage. Read the script please. Also Waitforchild has to be WaitForChild

3 comments

0

The "end" has to be lined up with "if player.Name"

0

And the player.Character has to be lined up with end)

0

Still doesnt work

This discussion is preserved as it was. New answers, comments, and votes are closed.