So I was making a GUI named "Helper Bot". It's supposed to tell the player what to do. It would change the gui if you touch a certain brick, but then I made it so that once you get through the maze that i made, you have to talk to someone. Then I had trouble with this, and trust me, I'm new to scripting: ~~~~~~~~~~~~~~~~~
local dialog = game.Workspace.LostGuy.Head.Dialog local choice = dialog.DialogChoice.DialogChoice.DialogChoice local player = game.Players.LocalPlayer
function textChange() script.Parent.Text = "Good! Now do that lava jump over there." script.Parent.Parent.Face.Image = "rbxassetid://172803392" wait(5) script.Parent.Parent.Face.Image = "rbxassetid://166086793" end
dialog.DialogChoiceSelected(player,choice,textChange) --Problem, i think. ~~~~~~~~~~~~~~~~~