There's any way to use RoStrap ConfirmationDialog on a plugin?

There's any way to use RoStrap ConfirmationDialog on a plugin?


liaalbi LuaAlbi
role: scripter / team: village


  1. What do you want to achieve? Keep it simple and clear!

I want to use RoStrap ConfirmationDialog on a plugin im currently making.

  1. What is the issue? Include screenshots / videos if possible!

I currently cant link RoStrap on a plugin with ConfirmationDialog. I need to use ConfirmationDialog with most of the things I currently doing on my plugin.

  1. What solutions have you tried so far? Did you look for solutions on the Developer Hub?

I’ve tried loading the Module, but I dont achieve to get it work fine.
Obviously, I searched for solutions.
but… nothing found.

edit: it also does not appear on their docs
image

Any assistance you can provide would be greatly appreciated.

Also, if you aren't marked as the answer you're also appreciated.

:upside_down_face: thanks!

Are you able to get these lines working?

local PseudoInstance = Resources:LoadLibrary("PseudoInstance")
--and
local Dialog = PseudoInstance.new("ChoiceDialog")

Also try to add code and errors that you have found through your development.

I’m not searching for a ChoiceDialog, that’s what you are using. I’m searching for a ConfirmationDialog

image

I seem to have not found the confirmation dialogue on the website. I tried editing the link to the choiceDialogue docs. https://rostrap.github.io/Libraries/RoStrapUI/ConfirmationDialog
It gives an error.

Maybe you could make your own version of the dialogues?

Well, ConfirmationDialog on RoStrap still no haves description, and its not on the docs. Maybe it’s still beta or idk.

ok! sounds good. ill start now i think

One more question, how do I do to load the module I made? This prompts to me when I create the instance.

22:48:33.583 ReplicatedStorage.Resources.Libraries.PseudoInstance:518: [Debug] {} Invalid ClassName: LuaDialog - Server - Debug:122

To load a module script for usage, use require(ModuleScript)

Sorry, I meant to load with RoStrap!