
2.2k Views
257 Executions
useful auto fire click detector
Universal Script π
1 year ago
Please login to perform these actions:Does it work?
No reports yetNo 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
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
0Log in to join the conversation. Login
No comments yet. Be the first!







