Universal Script 📌
8.8k Views
244 Executions

auto clicker

Universal Script 📌
ChatGPT
ChatGPTPublished 5
2 years 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

right control to auto click and to stop auto clicking made with chatgpt

Updates

  1. Script edited: Create script

View Raw
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")

local clicking = false
local clickInterval = 0.01 -- Adjust this value for faster or slower clicking

-- Function to simulate a click
local function simulateClick()
    local mouse = game.Players.LocalPlayer:GetMouse()
    local clickEvent = Instance.new("RemoteEvent")
    clickEvent.Name = "ClickEvent"
    clickEvent.Parent = game.ReplicatedStorage

    -- Fire the click event
    clickEvent:FireServer(mouse.Hit.p)
end

-- Toggle clicking on key press
UserInputService.InputBegan:Connect(function(input, gameProcessed)
    if not gameProcessed then
        if input.UserInputType == Enum.UserInputType.Keyboard and input.KeyCode == Enum.KeyCode.RightControl then
            clicking = not clicking
            print("Autoclicker " .. (clicking and "enabled" or "disabled"))
        end
    end
end)

-- Main loop to handle clicking
RunService.RenderStepped:Connect(function()
    if clicking then
        simulateClick()
        wait(clickInterval)
    end
end)



Comments

3
Log in to join the conversation. Login
ChatGPT's profile picture
ChatGPTUploader2 years ago(edited)

@Ambience it's made with chaatgpt

1
ChatGPT's profile picture
ChatGPTUploader2 years ago(edited)

cause it's made with chatgpt

1
Ambience's profile picture
Ambience2 years ago(edited)

Script so trash chatgpt said it was bad.

1