How do you make a auto clicker gamepass?

How would you go about making an auto clicker gamepass? I watched many videos and searched it up on Google but can’t seem to find a solution.

If you know how to make an auto clicker gamepass please let me know.

2 Likes

What the auto clicker will do?

1 Like

So I’m making a simulator and the items have a 2 seconds click cooldown (so you can’t spam click, there is a 2 second wait time). I want to make a gamepass that lets you bypass that and spam click.

And you will still have the cooldown?

Edit: Could you turn it on and off?

1 Like

If you own the gamepass then you won’t have the cooldown.

Edit: Yea you can turn it off and on (atleast thats what I want the gamepass to do).

1 Like

An example of what I want is the auto clicker in Shindo Life where if you say !autoclick on in chat then the auto clicker turns on and if you say !autoclick off then it turns it off.

1 Like

Script:

local Players = game:GetService("Players")

local isOff = true

Players.PlayerAdded:Connect(function(Player)
      Player.Chatted:Connect(function(Message)
        local lowerMessage = string.lower(Message)

        if lowerMessage == "!autoclick" and isOff then
            isOff = false

            autoClickerRemote:FireClient(Player, true) -- if you want me to show you how the auto clicker local script will work tell me
        elseif lowerMessage == "!autoclick" and not isOff then
            isOff = true

            autoClickerRemote:FireClient(Player, false) -- turn it off
        end
    end)
end)
4 Likes

Where do I put the script and is it a local or normal script?

Normal and ServerScriptService

Do I need to add remoteevents and stuff?

1 Like

Yes, create a remote event in the ReplicatedStorage and then create a new variable for the remote event in the script

local remoteEvent = -- path

do you know how to make the auto clicker or i will show you how it works

1 Like

I dont know how to make an auto clicker.

ok so just create the remote event

1 Like

Ok I made it and what do I name it?

whatever you want

toggleAutoClicker

Ok I did that and now what do I do?

1 Like

do you have an id for the gamepass

edit: send it

Yes I do have the ID for the gamepass

ok im entering to roblox studio i will work on that real quick

just can you tell me the name of the remote event or you changed it to toggleAutoClicker

1 Like