Well... i watched alot of videos in youtube... "I MEAN ALOT" everything seem broken! ..(or im just stoopid)
Here's the script!
script.Parent.DialogChoiceSelected:connect(function(player,dialog) local gui = script.Parent.Box1 -- Change Shop To The Name Of The Gui. if dialog.Name=="Choice1" then -- Change The Choice1 To The Name Of The Dialog Choice. gui:Clone().Parent = player.PlayerGui end end)
I'm trying to make a Crate roll dialog shop.. but here's the problem: 1. GUI does not pop up - i tried checking if disabled,the transparency and if enabled...but it all check and set to 0
how do i fix this... if not change the script? please halp meh ASAP
Personally I would do this like such;
local button = --Your Text Button or Image Button that is pressed in order to clone the Gui button.MouseButton1Click:connect(function(player,dialog) if dialog.Name=="Choice1" then -- Change The Choice1 To The Name Of The Dialog Choice. local gui = script.Parent.Box1:Clone() gui.Parent = player.PlayerGui end end)
Let me know if this doesn't work, it's hard to help with such a specific situation.