Please be specific. 30 characters
Provide the code that’s supposed to make the GUI disappear. If you’re wondering how to do it, it might also help if you could send where the GUI is located in and describe the logic that goes on before the GUI gets removed. People can’t help you just from a photo that doesn’t explain the context of this.
you could use a Boolean to check if it has stopped talking then Destroy()
it locally or server sided
or you could use a wait()
depending on how long the text interaction animation thing is and then Destroy()
it.
You can just make the frame visibile property to false, or the gui’s Enabled property to false.
i Tried it Crashes Everything…
Tween it down and tween it up whenever you want it to get back
You’re not making sense here. In the title, you’re saying you want it to be able to disappear after “Craig” is done talking, but in the topic, you’re saying you want it to disappear and become visible whenever you want.
By “whenever you want,” I’m going to guess that you want to be able to control this through a script.
A way to do this would be tweening the dialogue “frame” out after the character is done talking, by tweening the object, for example DialogueFrame:TweenPosition(UDim2.new(0.5,0,1.5,0),"Out","Sine",0.5)
, which would work perfectly if you have set AnchorPoint to 0.5,0.5.
You can also have other ways of doing this, such as TweenSize (to make the dialogue box become smaller to the point where you can’t see it, it’s a cool transition in my opinion) or just simply setting the Visible property of the object to true or false.
If you want to tween it back up using TweenPosition, you can do DialogueFrame:TweenPosition(UDim2.new(0.5,0,0.5,0),"Out","Sine",0.5
(if you want it in the middle).
For more information, look at this:
Hope this helped!
Ayphenylin.
Thank You It Worked.