My event is MouseButton1Click
(on a textbutton.) It isn't waiting for this button to be pressed.
I first used wait([BUTTON].MouseButton1Click)
when that wasn't working I used the event itself.
[BUTTON].MouseButton1Click:Connect(function(plr) --Code Here end)
Can anyone help me with this bug?
Regards, Vivilian9
You can always do this on an event:
[EVENT]:Wait()--This will wait until the event happens.
Example:
[BUTTON].MouseButton1Click:Wait()--This will wait until the event happens, and then print "Hello" print("Hello")