I have a script made, I just can't figure out how to use it. Like should it be put in the tool, or the object? Should it be a Local Script or just a Script? Below is the script, so if anyone can help me it would be much appreciated!
workspace.Part.Touched:Connect(function(plr)
local Shovel = game.Players.LocalPlayer.Backpack.Shovel
if Shovel then
print("Touched By Shovel")
end;
end);
