Categories > Exploiting > Scripts >

How to destroy an gui with a click of a text button?

Posts: 17

Threads: 10

Joined: Sep, 2022

Reputation: 0

Posted

^

|

|

|

|

|        READ TITLE (Content must be 20-8000 characters long)

 

|

|

|

|

|

  • 0

Posts: 1598

Threads: 166

Joined: Apr, 2021

Reputation: 13

Replied

Very simple.

ButtonName.MouseButton1Click:Connect(function()
    GUIFrameName:Destroy()
end)

  • 0

Added

@87922 That's not right. Read my reply above.

  • 0

Random quote here...

aeon

Owner of Voyager

vip

Posts: 264

Threads: 25

Joined: Sep, 2022

Reputation: 12

Replied

@VoidableMethod he was actually pretty close ngl just put . instead of :

  • 0

Posts: 1598

Threads: 166

Joined: Apr, 2021

Reputation: 13

Replied

@87922 Don't know much about names, but I'd call it a class function.

  • 0

Added

@aeon I think you meant : instead of .

  • 0

Random quote here...

aeon

Owner of Voyager

vip

Posts: 264

Threads: 25

Joined: Sep, 2022

Reputation: 12

Replied

@VoidableMethod im 99% sure i said it right, (i think) he put a . and not a : 

  • 0

Users viewing this thread:

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