Here is the source code to my Local script in my Tool named "Test"
local Players = game:GetService("Players")
local Player = Players.LocalPlayer
local mouse = Player:GetMouse()
local replicate = game.workspace.yello
local toolz = script.Parent
script.Parent.Equipped:connect(function(mouse)
mouse.Button1Down:connect(function()
if mouse.Target then
print("The Mouse is pointing to the" .. mouse.Target.Name)
if mouse.Target.Name == "Hello" then
replicate:Clone()
replicate.Position = game.Hello.Position
toolz:Destroy()
end
else
print("The Mouse is pointing at nothing")
end
end)
end)
I sort of want this type of inventory system.

1 comment
This is not a script writing service. We help with errors, not make the script.