From venuslockscript, 8 Months ago, written in Lua.
Embed
  1. local UserInputService = game:GetService("UserInputService")
  2. local mouse = game:GetService("Players").LocalPlayer:GetMouse()
  3.  
  4. local function began(i, is)
  5. if i.UserInputType == Enum.UserInputType.MouseButton1 then
  6. if mouse.Target and mouse.Target.Parent.Name ~= "Boss" then
  7.     local w = mouse.Target.Parent:FindFirstChild("Humanoid")
  8.     if w then
  9.         repeat
  10.             wait()
  11.         until w.Health ~= w.MaxHealth
  12.         w.Health = 0
  13.     end
  14. end
  15. end
  16. end
  17.  
  18. UserInputService.InputBegan:Connect(began)