Jump to content
  • 0

Ui click prompt menu


Luffy_Op
 Share

Question

so i am recently working on a lua script for plants vs zombies but I'm getting a issue on sun hack because we have to find the number in dword then refine the number then edit the number so i want to make a prompt menu for sun value then when we click on GG button the 2 prompt menu should open so  anyone can help me 🙏🏼

Link to comment
Share on other sites

Recommended Posts

  • 0
2 hours ago, MonkeySAN said:

ahh..i dont use Google drive and it need my email to request access to which i will not give it to just anybody.

https://www.mediafire.com/file/mbylqzdfkjktnfa/screen-20230831-071735~2.mp4/file

now see and tell me how to do this i tried every method but getting error in other codes

 

Link to comment
Share on other sites

  • 0
1 hour ago, MonkeySAN said:

maybe you can present the script that you had done before, so that a fix can be implemented

so if anyone knows that how to make like this gg button click 

Link to comment
Share on other sites

  • 0

[ @Luffy_Op ]
---
Do you mean this? :

function menus()
	inputs = gg.multiChoice({"Show Fields", "Show Methods", "❌EXIT❌"}, nil, "Knx")
	if inputs == nil then
		knxs = 0
	else
		if inputs[1] then
			show_fields()
		elseif inputs[2] then
			show_methods()
		else
			os.exit()
		end
	end
end

function show_fields()
	print("menu_1")
end

function show_methods()
	print("menu_2")
end

while true do
    if gg.isVisible(true) then
		knxs = 1
		gg.setVisible(false)
    end
    gg.clearResults()
    if knxs == 1 then
		menus()
    end
end

---

Link to comment
Share on other sites

  • 0
1 minute ago, Xaviesz said:

[ @Luffy_Op ]
---
Do you mean this? :

function menus()
	inputs = gg.multiChoice({"Show Fields", "Show Methods", "EXIT"}, nil, "Knx")
	if inputs == nil then
		knxs = 0
	else
		if inputs[1] then
			show_fields()
		elseif inputs[2] then
			show_methods()
		else
			os.exit()
		end
	end
end

function show_fields()
	print("menu_1")
end

function show_methods()
	print("menu_2")
end

while true do
    if gg.isVisible(true) then
		knxs = 1
		gg.setVisible(false)
    end
    gg.clearResults()
    if knxs == 1 then
		menus()
    end
end

---

No see the mediafire link in above this

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.