|
| 27 Nov 2013 01:32 PM |
I have this script as a child of a frame: script.Parent:TweenPosition(UDim2.new(0, 550, 0, 175)), "Out", "Linear", 1, true)
But when I press play the script does nothing no error output either.
However when I put the script into the command bar and change it to this it works: game.StarterGui.ScreenGui.Frame:TweenPosition(UDim2.new(0, 550, 0, 400), "Out", "Linear", 1, true)
So I tried replacing the first script with the second and it doesn't work. |
|
|
| Report Abuse |
|
|
|
| 27 Nov 2013 01:33 PM |
Oops typo the first script looks like this(Still doesn't work) script.Parent:TweenPosition(UDim2.new(0, 550, 0, 175), "Out", "Linear", 1, true) |
|
|
| Report Abuse |
|
|
Quorum
|
  |
| Joined: 25 Oct 2013 |
| Total Posts: 4680 |
|
|
| 27 Nov 2013 01:36 PM |
| You do realise that scripts don't run in the 'StarterGui' service, right? Meaning that, no matter how many times you pressed play, you wouldn't see any visible change from studio. |
|
|
| Report Abuse |
|
|
|
| 27 Nov 2013 01:40 PM |
| So I have to be ingame to see it? |
|
|
| Report Abuse |
|
|
Quorum
|
  |
| Joined: 25 Oct 2013 |
| Total Posts: 4680 |
|
|
| 27 Nov 2013 01:40 PM |
| Tools -> Test -> Play Solo |
|
|
| Report Abuse |
|
|
|
| 27 Nov 2013 01:42 PM |
| Yep tried it and it is now working thanks |
|
|
| Report Abuse |
|
|