I'm not using any script for this im just using the default roblox dialogue system so I probably have to change it but I can not find any tutorial for it and I really need help doing it
If it helps heres my game: https://www.roblox.com/games/8530716812/Talking-Brick

4 comments
Could you tell me it more in depth like how i get the variable for lastChoice
and do i put it on Starterkit or the brick itself
lastChoice is just the DialogChoice that you want it to end with and trigger the swap, for example game.Workspace.TalkingBrick.Dialog.DialogChoice. Basically, it's the point in the dialog tree that you decide, where it makes it give you another dialog next time.
And since it needs to be in a LocalScript, put it in StarterPlayerScripts or StarterGui or something like that. You could connect it to a RemoteEvent if you want it to change the dialog for everyone in the server.