#Inventory equip script only works when one person is in server

1 messages · Page 1 of 1 (latest)

indigo scaffold
#
    if Humanoid then
        if Event == "Equip" then
            if Humanoid.Parent:FindFirstChildOfClass("Tool") then
                local ExistedTool = Humanoid.Parent:FindFirstChildOfClass("Tool")
                if Tool == ExistedTool.Name then
                    Humanoid:UnequipTools()
                    game.ReplicatedStorage:WaitForChild('Remotes'):WaitForChild('Inv'):FireClient(Player, "Noo", Tool.Name)
                    return
                else
                    Humanoid:UnequipTools()
                    game.ReplicatedStorage:WaitForChild('Remotes'):WaitForChild('Inv'):FireClient(Player, "No", Tool.Name)
                end
            end
            if not (FFF ~= nil) then
                if Player.Backpack:FindFirstChild(Tool) then
                    print('wOW '..Tool)
                    local Tool = Player.Backpack:FindFirstChild(Tool)
                    Humanoid:EquipTool(Tool)
                    game.ReplicatedStorage:WaitForChild('Remotes'):WaitForChild('Inv'):FireClient(Player, "Ez", Tool.Name)
                end
            else

            end
        end
    end
end)```

This person is server side but it bugs out when multiple people are in the server, can anyone help me turn this into a client side script? tyty (its supposed to  be like an inventory equip script)
exotic bear
indigo scaffold
exotic bear
#

as i can see, you use a remote event

#

named Inv?

#

as i can understand, you use a GUI so to purchase one item and you fire a remote event

#

the Inv

indigo scaffold
autumn krakenBOT
#

studio** You are now Level 2! **studio

indigo scaffold
exotic bear
indigo scaffold
#

it lets you equip stuff but it bugs out when there are multiple ppl 😭

#

either replicated storage or starterpack

exotic bear
indigo scaffold
#

it depends on the tool

#

most tools are bought with robux there are like 7 tools in the game that arent obtained by robux. all vinyls are robux and in replicated

exotic bear
autumn krakenBOT
#

studio** You are now Level 1! **studio

indigo scaffold
exotic bear
#

alr

#

i cannot understand why is that

#

and i think jst roblox has a problem

indigo scaffold
exotic bear
indigo scaffold
#

well it works similar to the adopt me inventory

#

like you can just click on the item in the inventory and equip it

exotic bear
#

well if no error in the output and you have checked if there are the tools in the inventory (by the explorer) then i cannot explain that

#

sorry

#

good luck