How can you make sure that after you collect the badge, the gui will open?

please help i want make this.
thank you in advance

If it is a serverscript giving the badge, then you can use a remote event to FireClient(plr)

no,im make badge give from proximity promt. And i want collect badge and gui open.

Oh wait, sorry, you will have to do everything in a localscript in the GUI object.

prompt.Triggered:Connect(function()--change to the path to your prompt
--give your badge
frame.Visible=true --change to the path to your frame

ok im test it

(limit) 123123123123

its not work(((


Can I see the script you ran, and (if any) what errors did the output give you?