How do I make a equipable overhead gui?

Hello! I’m pretty new on scripting so I don’t really know how to make an overhead GUI, I’ve seen AlvinBlox made a video about it, but I wanted to make an equipment system like in Bedwars how do I do this?

I’m not really sure what you’re asking for but hope this helps:

– Assigns tag to player
function Tag(player, name)
if player ~= nil and player.Character and player.Character:FindFirstChild(“Head”) and not player.Character.Head:FindFirstChild(“GUI”) then
local humanoid = player.Character:WaitForChild(“Humanoid”)
humanoid.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None

    local Clone = script.GUI:Clone()
    Clone.Container.Tag.Text = name
    Clone.Container.PlayerName.Text = player.Name
    Clone.Parent = player.Character.Head
    Clone.Adornee = player.Character.Head    
            
    if TeamColor == true then
        Clone.Container.Tag.TextColor3 = player.TeamColor.Color
    end
else
    warn("Failed to give " .. player.Name .. "'s tag") -- Sometimes errors.
end

end

– Give Tag
game.Players.PlayerAdded:connect(function(Player)
Player.CharacterAdded:Connect(function(Character)
wait(1)

    local NewTag
    
    -- Checks if player is in any of the teams
    -- Creates new name if above is true
    for TeamName,GroupId in pairs(Teams) do
        if Player:IsInGroup(GroupId) then
            NewTag = TeamName .. " - " .. Player:GetRoleInGroup(GroupId)
        end
    end
    
    -- If not in any groups give foreigner tag
    if NewTag == nil then
        NewTag = ForeignerTag
    end
    
    Tag(Player, NewTag)
end)

end)

1 Like

Oh sorry I meant this:

image

But that also helps, thanks