Instance.new not working

Hey, recently I’ve been working on a overhead GUI, which shows what group rank you are in a team, so a division system like so

[Username]

[Division Rank]

[Team]

Recently I’ve created an instance. new because my other scripting friend told me to do so, because finding a child didn’t work exactly, but I’m still trying to make it work.

Code:

local function SudanPolice()
local b = script.Parent:WaitForChild(“SudanRankingSystem”)
local team = Instance.new(“TextLabel”)
team.Parent = b:WaitForChild(“Overhead”):WaitForChild(“Frame”)
end

SudanPolice()

Explorer:

image

If anybody could hint towards the issue, that would be amazing. :slight_smile:

local function SudanPolice()
	local team = Instance.new("TextLabel")
	team.Name = "TeamLabel"
	team.Parent = script:WaitForChild("Overhead"):WaitForChild("Frame")
end

task.wait(10)
SudanPolice()

Will try this, thanks for responding :slight_smile: