sadlads
|
  |
| Joined: 31 Jul 2015 |
| Total Posts: 312 |
|
|
| 03 Jun 2017 12:30 PM |
I'm having a problem with a script, it works in Studio but not in-game.
Here's the script:
wait() local button=script.Parent local animframe=button.Parent.Parent.Animations local on=false function action() if on then animframe:TweenPosition(UDim2.new(0,-10,0,240),"In","Quad",.5,true) on=false else animframe:TweenPosition(UDim2.new(0,-170,0,200),"Out","Quad",.5,true) on=true end end button.MouseButton1Down:connect(action)
|
|
|
| Report Abuse |
|
sadlads
|
  |
| Joined: 31 Jul 2015 |
| Total Posts: 312 |
|
| |
| |