local u=game:GetService("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101")local k={}function k.addToReplicatedStorage()local k=u:FindFirstChild(script.Name)if k then return false end local F=Instance.new("\079\098\106\101\099\116\086\097\108\117\101")F.Name=script.Name F.Value=script.Parent F.Parent=u return F end function k.getObject()local k=u:FindFirstChild(script.Name)if k then return k end return false end return k


local replicatedStorage = game:GetService("ReplicatedStorage")
local TopbarPlusReference = {}

function TopbarPlusReference.addToReplicatedStorage()
    local existingItem = replicatedStorage:FindFirstChild(script.Name)
    if existingItem then
        return false
    end
    local objectValue = Instance.new("ObjectValue")
    objectValue.Name = script.Name
    objectValue.Value = script.Parent
    objectValue.Parent = replicatedStorage
    return objectValue
end

function TopbarPlusReference.getObject()
    local objectValue = replicatedStorage:FindFirstChild(script.Name)
    if objectValue then
        return objectValue
    end
    return false
end

return TopbarPlusReference
