#shop gui not popping up after dialogue
1 messages · Page 1 of 1 (latest)
i apologize for not showing it, this is the working dialogue script
and this is the non working messy script
please let me know if you need the script copy and pasted as a message
if im doing anything wrong when asking for help i apologize im new
i have no idea i just followed a tutorial and the assistant told me there was error in the script and i asked it to fix it for me, this is the gui for the dialogue '
and for the shop.
Thats outside.
yeah thats the issue
if theres any tutorial videos u guys have to send me id appreciate it, i tried to search but couldnt get anywhere
** You are now Level 1! **
The isseus youre using is you using
the gui and shopGui, even there is i assume, nowhere to define it.
can you tell me how to fix it? since im new to coding and studio in general i would follow a tutorial in this case
you simple need do the same things like this one, but also shopGui i assume
i dont understand, im sorry you dont have to waste ur time on me its okay
In this function
gui and shopGui is ALWAYS nil, since you didn't define it
So it will NEVER trigger them.
So you have to define the variable gui and shopGui.
Like this one u did.
So you need do:
local playerGui = plr:WaitForChild("PlayerGui")
local gui = playerGui:FindFirstChild("shop")
local shopGui = ??? where is it located?
okay so i should replace this function with the code you sent me?
no
also the shopGui is located in the StarterGui
you need to specify where in startergui shopgui is
wait
were in the same game
lemme help
thank u
err
what line is this
idk, there is no line count
syno
ill send you the line count
in every script
you're supposed to mention everything that ur using
u cant js type shop gui open
if you dont do local shopgui = location of gui it wont recognise wht ur talking abt
whats the name script
nevermind
he did...
he did?
then idk 😭
this whole script is WAY over complicated
In line 23, change "Shop" to "shop" @earnest saffron
bro
all you need to do is make the transparency of the shop after the dialogue visible
its already like that
i did that and now its like this
i didnt talk to the npc yet
Idk, well, honestly
This Tutorial is so dumb.
Idk why the tutorial tell you to clone from StarterGui to PlayerGUI
Who doing that?
i just followed whatever cuz im new and have no idea how to script
** You are now Level 2! **
better to use a different one
assistant did that on its on im pretty sure
assistant told me that the script had error and i told it what error and it autofixed it for me
id like to know how to make it simpler
also bin we need to add leaderstats or some currency type otherwise the shop is kinda useless
fix the shop first tho
i know
ill try
May i ask, where is the script located in?
this many functions are just sort of uneccessary and can cause confusion for new scripters. it works but its not really needed
sorry for the late reply i was looking at something
also if we cant figure something out, i can always just delete the dialogue
i want to implement it just because it would give more character to the shopkeeper
yeah since i dont know how to code myself ( i want to learn ) i asked the assistant to fix me this script that i got from a tutorial
and the assistant for some reason made it this long
149 lines