Universal Script πŸ“Œ
2.2k Views
257 Executions

useful auto fire click detector

Universal Script πŸ“Œ
neutral
neutral100 followers
1 year ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

When Toggled it will check if the part your mouse is on has a click detector and if so than it constantly fires that click detector. if you have hold to toggle on than it will only constantly fire that click detector if you have left click held down

View Raw
local LocalPlayer = game:GetService("Players").LocalPlayer
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local Mouse = LocalPlayer:GetMouse()
local Toggle = false
local Hold = false
local Library = loadstring(game:HttpGet(("https://raw.githubusercontent.com/theneutral0ne/wally-modified/refs/heads/main/wally-modified.lua")))()
local Window = Library:CreateWindow('Credit: Neutral')
Window:Section("Click Detector")
Window:Toggle("Auto Fire Detector",{},function(value)
Toggle = value
end)
Window:Toggle("Hold to Toggle?",{},function(value)
Hold = value
end)

RunService.RenderStepped:Connect(function()
    if Toggle then
        if  Mouse.Target and Mouse.Target.Parent:FindFirstChildWhichIsA("ClickDetector") then
            if Hold and not UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) then return end
            fireclickdetector(Mouse.Target.Parent:FindFirstChildWhichIsA("ClickDetector"))
        end
    end
end)


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Script hub
21.9k
4.3k
Bumped 31 minutes ago
Key System
Paid
High QualityΒ Offering
Universal Script πŸ“Œ
1.0k
2.2k
Bumped 42 minutes ago
Universal Script πŸ“Œ
1.6k
5.9k
Bumped 48 minutes ago
Script hub
164.6k
563.6k
Bumped 4 hours ago
Key System

Script hub

Hall of Fame #6

Verified script badgeAcro Hub OP SCRIPT

Script hub
3.0k
3.8k
Bumped 5 hours ago
Script hub
289
1.4k
15 hours ago
Key System
Universal Script πŸ“Œ
187
104
Approved 7 hours ago