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)
#Inventory equip script only works when one person is in server
1 messages · Page 1 of 1 (latest)
hi, is the script local script or normal server-side script
server side it has to be serverside too iirc since others cant see the tool when equipped but it bugs out and doesnt let you equip tools properly when multiple ppl are in the server
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
where is the tool?
well you dont rlly purchase anything
** You are now Level 2! **
its an inventory system like
ah alr, but where is the tool in the game
it lets you equip stuff but it bugs out when there are multiple ppl 😭
either replicated storage or starterpack
yeah but as i can understand you have uploaded a tool in the replicated storage or somewhere else
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
when you say bought with robux you mean you bought them or a player must buy them
** You are now Level 1! **
the player bought them and they appear in the inventory but the game loads the inventory in the game that doesnt matter that much its just that when 2 people are in the game you cant equip any of the tools anymore
so the tools are in the inventory but when two players r in the game no one can equip them
alr
i cannot understand why is that
and i think jst roblox has a problem
me neither thats why im asking-
and you tried to make a script so to unequip and then equip