Problem with tools

Hello. Im making a tool that spawns a bomb when you activate it, but for some reason the localscript gives 2 tools and when i activate it nothing happens, nothing prints. Any help is appreciated. Thank you.

localscript code:

local tool = Instance.new("Tool", game.Players.LocalPlayer.Backpack)
tool.Activated:Connect(function()
print("worked")
game.Workspace.bombsummon:Fireserver()
end)

Is bombsummon a RemoteEvent? If so it goes in the ReplicatedStorage and you would have to say:
game.ReplicatedStorage.bombsummon:FireServer() instead of game.Workspace.bombsummon:FireServer()

1 Like

I changed the parent to ReplicatedStorage, but it still doesnt work. It seems that the problem is that it does not detect when i activate the tool properly. Also it gives me 2 tools for some reason.

Do you mind showing me the server script?

1 Like

I’m pretty sure the tool needs a handle and other things, you can’t just instance.new one and magically create a working tool.

try searching tutorials on how to make a tool

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.