local rep = game:GetService("ReplicatedStorage") local event = rep:WaitForChild("CentralEvent") local plr = game:GetService("Players").LocalPlayer local on = true while on and task.wait(0.01) do local char = plr.Character if not char then continue end local tool = char:FindFirstChildWhichIsA("Tool") if not tool then continue end pcall(function() event:FireServer("ToolClick", tool.Name, 3, false, os.clock()) end) end