Overhead GUI not cloning on player

game.Players.PlayerAdded:Connect(function(player)
	player.CharacterAdded:Connect(function(character)
		
		local groupID = "14171791"
		local guiClone = script.Overhead.Rank:Clone()
		local guiUserClone = script.Overhead.User:Clone()
		local Textlabel1 = guiClone.Frame.TextLabel
		local GroupRank = player:GetRoleInGroup(groupID)
		local TextLabel2 = guiUserClone.Frame.TextLabel
		
		guiClone.Parent = character.Head
		guiUserClone.Parent = character.Head
		Textlabel1.Text = GroupRank
		TextLabel2.Text = player.Name
	end)
end)

I want the players Group Rank to appear, also their username.
image
Doesn’t seem to be cloning on player, also the code may be wrong. So please help.

image
Not sure why.
I am not getting the print.

Where is this Script located?

Make sure its Inside ServerScriptService or StarterCharacterScripts

Are there any errors in the output tab?

image
It is.


Seems to be one

image
And I got it fixed, thank you!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.