|
| 26 Dec 2015 09:05 PM |
Does anyone know how to make a Gui button on click that makes an animation play? And when it is clicked a 2nd time it stops? Thanks for any help you give.
I got 99 problems but OTing isnt one |
|
|
| Report Abuse |
|
|
| 26 Dec 2015 10:03 PM |
Something like-
check = true
gui.MouseButton1Down:connect(function() if check then playanim = Humanoid:LoadAnimation(anim) playanim:Play() check = false elseif not check then playanim:Stop() end
or something like that. |
|
|
| Report Abuse |
|