Categories > Exploiting > Complaints >
Using "mouse1click" on a TextButton.
Posted
Hi guys!
I just can't figure out how to use "mouse1click" on a text button, I hope someone will help!
Cancel
Post
Replied
A textbutton's mouse click function is actually "MouseButton1Click". You can try that.
Cancel
Post
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.
Cancel
Post
Used to be involved with game hacking, now I'm involved in cybersecurity. https://reversed.coffee/blog
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
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