Open in the app to sign in, vote and reply

Help · Open

Sending an action notification with buttons

· · 0 votes · 0 comments

I am having trouble figuring out the format of sending a prompt of type "action" to a player with buttons.

I am at the options but I've looked through the code and through the documentation and cannot figure out what the key of the buttons and how they should look.

Here is my current code:

CommandAPI.prompt("action", task.caller, "This script uses HttpService, are you sure you want to load it?", {
					title = "Dangerous Script",
					duration = 20,
					color = Color3.fromRGB(255, 49, 49),
					dismissable = false,
					
				})

Section of the docs I used: https://hdadmin.com/server-api/#prompt-shared

Comments

No comments yet.