I am making an in-game tutorial and I have most of it dont, but I am having trouble with one thing…
The tutorial tells the player to click the “edit” button and the GUI stays there without a continue button until the player clicks the right button and until the player clicks the right button all the other buttons are disabled.
However, whenever I try it doesn’t work and I can’t find any help of YouTube or anywhere else.
I tried using a MouseButton1Click:Connect() function inside of the same script for the specific tutorial line and connected it to the edit button, but it won’t work
Can someone please help me or direct me to something that can… I have tried everything I could think of
A very useful feature with events is you can wait until they are fired.
EditButton.MouseButton1Click:Wait()
This line of code will wait until the edit button has a mouse button click, from there you can do as you wish.
edit.MouseButton1Click:Wait() continue4.Visible = true tutorial:TweenPosition(UDim2.new(0.013,0,0.254,0), "Out", "Linear", 1, true) edit.Enabled = true --this is my script that won't work