Categories > Exploiting > Complaints >

Using "mouse1click" on a TextButton.

New Reply

Posts: 5

Threads: 3

Joined: Sep, 2024

Reputation: 0

Posted

Hi guys!

I just can't figure out how to use "mouse1click" on a text button, I hope someone will help!

  • 0

  • Comment

Posts: 3

Threads: 1

Joined: Sep, 2024

Reputation: 0

Replied

A textbutton's mouse click function is actually "MouseButton1Click". You can try that.

  • 1

  • Comment

RealNickk

nick / reversed-coffee

patron

Posts: 31

Threads: 3

Joined: Mar, 2023

Reputation: 10

Replied

https://create.roblox.com/docs/reference/engine/classes/GuiButton#MouseButton1Down

https://create.roblox.com/docs/reference/engine/classes/GuiButton#MouseButton1Click

https://create.roblox.com/docs/reference/engine/classes/GuiButton#MouseButton1Up

 

If you are trying to fire the signal, you can use getconnections along with the Fire method or use firesignal, depending on what your exploit supports. If you are trying to listen on the signal you can use the Connect method on the signal.

Comments

hi_grind 0 Reputation

Commented

Alright, thanks alot, I figured it out I could use fire signal and getconnections, if you want the script, here it is :


local Button = game:GetService("Players").LocalPlayer.PlayerGui.Match.WaveInfo.AutoSkip.OnAndOff

local firesignal = function(signal, arg2)
    if getconnections(signal) then
        firesignal(signal, arg2)
    end
end

firesignal(Button.Activated, game:GetService('Players').LocalPlayer)

 

  • 0

  • 1

  • Comment

Used to be involved with game hacking, now I'm involved in cybersecurity. https://reversed.coffee/blog

Login to unlock the reply editor

Add your reply

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )