#Is this how u add keybinds to a frame
1 messages · Page 1 of 1 (latest)
Yea but why are you making input a frame
it has text inside of it
a textlabel
Ion think thats how itbworks brochacho...
oh
i want it to be assigned to the responsebox
or the textlabel
Can you explain further?
ok
so
i want the number 1 to be pressed
and when it's pressed
the option responebox
will trigger and the npc will change it's dialogue like a conversation
You get option buttons in dialogue.
if u press 1 u will reset
Inside the uis do if GPE then return end
Then check of the input is one and inside of that check reset your dialogue
Like
i didn't think dialogue would be this hard
the module script just complicates things further
my professional friend helped me
if GPE then return end
if input.KeyCode == Enum.KeyCode.One then
-- your reset function
end
reset function huh
this assigns it
right
Yea
ResetFunction()
Like it leads to your function if you have another button that also resets it
I mean in ui
im using a module script
can i use that
like
input.keycode == enum.keycode.one then
Oh end it and then start it
You can add another function to the module that resets it, like insert the functions of ending it and starting it but change it a bit
Oh wai
I gotta go soz
