Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Instructions: Triggerbot is now always enabled, no need to press any key.
- -- // Variables \\ --
- _G.triggerbot = true -- Always enabled
- local player = game:GetService("Players").LocalPlayer
- local mouse = player:GetMouse()
- local Clicked = false
- -- // Main Scripts \\ --
- game:GetService("RunService").RenderStepped:Connect(function()
- if (mouse.Target.Parent:FindFirstChildOfClass("Humanoid") or mouse.Target.Parent.Parent:FindFirstChildOfClass("Humanoid")) and _G.triggerbot and mouse.Target.Parent.Name ~= player.Name then
- local humanoid = mouse.Target.Parent:FindFirstChildOfClass("Humanoid") or mouse.Target.Parent.Parent:FindFirstChildOfClass("Humanoid")
- if humanoid.Health >= 1 then
- local name = mouse.Target.Parent.Name
- mouse1press()
- Clicked = false
- end
- elseif _G.triggerbot and not Clicked then
- mouse1release()
- elseif not _G.triggerbot and (mouse.Target.Parent:FindFirstChildOfClass("Humanoid") or mouse.Target.Parent.Parent:FindFirstChildOfClass("Humanoid")) then
- Clicked = true
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement