#Need help with fixing up dialogue and updating it

1 messages · Page 1 of 1 (latest)

glacial jungle
#

So I'm trying to make a dialogue system, however, I'm not sure how exactly I'd go about it. I basically want to do multiple different dialogue in one textlabel part so I don't have to continuously use different textlabels for each one, and I'm using RemoteEvents

I've already done that, but the problem lies in the script. I tried to use a function, but I'm stumped, because I want the dialogue to be different when X happens.

Example:

Player touches brick A, dialogue: Hello!
Player touches brick B, dialogue: Goodbye!

Is there any way I can figure out what part/script fired the Remote Event? If so, how?

I'm not sure what to tag, so..