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

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

Asked by 4 years ago
Edited 4 years ago

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

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

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

0
The "end" has to be lined up with "if player.Name" User#29913 36 — 4y
0
And the player.Character has to be lined up with end) User#29913 36 — 4y
0
Still doesnt work MrJPgSwag -5 — 4y
Ad

Answer this question