hi there im trying to add my script to a nother script but it doesnt seem to work here is the group rank script:
local billboardgui = game:GetService("ReplicatedStorage"):WaitForChild("OverheadGUI")
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(char)
if player.Name == "justhatsav" then
local clonedgui = billboardgui:Clone()
clonedgui.Parent = game.Workspace:WaitForChild(player.Name).Head
clonedgui.TextLabel.Text = "Scripter/Admin"
clonedgui.TextLabel.TextColor3 = Color3.fromRGB(31, 195, 231)
end
if player:IsInGroup(9423809) then
local clonedgui = billboardgui:Clone()
clonedgui.Parent = game.Workspace:WaitForChild(player.Name).Head
end clonedgui.TextLabel.Text = ""
clonedgui.TextLabel.TextColor3 = Color3.fromRGB(31, 195, 231)
end)
end)
here is the other scripts to make it stick to the player
local GUI = game.ReplicatedStorage:FindFirstChild("OverheadGUI")
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(char)
local GUInew = GUI:Clone()
GUInew.Tee.Text = player.Name
GUInew.MaxDistance = 30
if char.Humanoid.RigType == Enum.HumanoidRigType.R15 then
GUInew.Parent = char:FindFirstChild("LowerTorso")
elseif char.Humanoid.RigType == Enum.HumanoidRigType.R6 then
GUInew.Parent = char:FindFirstChild("Torso")
end
end)
end)
please help thanks ![]()

