when the tool is activated and click 2 times, I want it to print the stuff I want it to but it won't work
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
local starterPack = game:GetService("StarterPack")
local tool = starterPack:WaitForChild("Tool")
if tool then
tool.Activated:Connect(function(activated)
if mouse.MouseButton1Click == 2 then
print("clicked 2 times")
end
end)
end

5 comments
It's a small adjustment, but i believe this will work efficiently.
@KDarren12 it gave me the error 08:56:55.375 - MouseButton1Click is not a valid member of PlayerMouse
OH, you can't get a MouseButton1Click from Player's mouse.
Let me edit it real quick
All you needed to change was "MouseButton1Click" to "Button1Down"