Vultorz
|
  |
| Joined: 02 Mar 2015 |
| Total Posts: 2985 |
|
|
| 09 Aug 2017 05:52 PM |
the blocks dont appear and idk why
local a = script.Parent.Parent.Frame.a local b = script.Parent.Parent.Frame.b local c = script.Parent.Parent.Frame.c local d = script.Parent.Parent.Frame.d local e = script.Parent.Parent.Frame.e local f = script.Parent.Parent.Frame.f wait(3)
a.Size = UDim2.new(0,1,0,1) a.BorderSizePixel = 2 a:TweenSize(UDim2.new(0,30,0,30),'Out','Quad',1) wait(1) b.Size = UDim2.new(0,1,0,1) b.BorderSizePixel = 2 b:TweenSize(UDim2.new(0,30,0,30),'Out','Quad',1) wait(1) c.Size = UDim2.new(0,1,0,1) c.BorderSizePixel = 2 c:TweenSize(UDim2.new(0,30,0,30),'Out','Quad',1) wait(1) d.Size = UDim2.new(0,1,0,1) d.BorderSizePixel = 2 d:TweenSize(UDim2.new(0,30,0,30),'Out','Quad',1) wait(1) e.Size = UDim2.new(0,1,0,1) e.BorderSizePixel = 2 e:TweenSize(UDim2.new(0,30,0,30),'Out','Quad',1) wait(1) f.Size = UDim2.new(0,1,0,1) f.BorderSizePixel = 2 f:TweenSize(UDim2.new(0,30,0,30),'Out','Quad',1)
-- my studio test is broken and the dev console in-game clears the error |
|
|
| Report Abuse |
|
|
|
| 09 Aug 2017 05:53 PM |
"the dev console in-game clears the error"
what does this mean |
|
|
| Report Abuse |
|
|
Vultorz
|
  |
| Joined: 02 Mar 2015 |
| Total Posts: 2985 |
|
|
| 09 Aug 2017 05:55 PM |
whenever in game, there's an error that shows for less than a second then dissapears
that's not the problem rn
it's a local script, inside of a textbutton(dont ask why) |
|
|
| Report Abuse |
|
|
Vultorz
|
  |
| Joined: 02 Mar 2015 |
| Total Posts: 2985 |
|
|
| 09 Aug 2017 06:24 PM |
| ik it's only been 30 minutes but i've been trying to fix this for an hour |
|
|
| Report Abuse |
|
|
|
| 09 Aug 2017 06:29 PM |
| are the frames visible, are the frames in the actual gui viewport? also just loop this. |
|
|
| Report Abuse |
|
|
Vultorz
|
  |
| Joined: 02 Mar 2015 |
| Total Posts: 2985 |
|
|
| 09 Aug 2017 06:30 PM |
^ Can't loop, I only want it to happen once.
and yes to both of those questions :/ |
|
|
| Report Abuse |
|
|
|
| 09 Aug 2017 06:33 PM |
i mean something like
wait(3)
for i = 1,5 do local f = script.Parent.Parent.Frame:GetChildren()[i] f.Size = UDim2.new(0,1,0,1) f.BorderSizePixel = 2 f:TweenSize(UDim2.new(0,30,0,30),'Out','Quad',1) wait(1) end |
|
|
| Report Abuse |
|
|
Vultorz
|
  |
| Joined: 02 Mar 2015 |
| Total Posts: 2985 |
|
|
| 09 Aug 2017 06:34 PM |
| ^ i could've but i'm lazy and ctrl + v is easier to me |
|
|
| Report Abuse |
|
|
|
| 09 Aug 2017 06:35 PM |
nvm your going to f, should be for i = 1,6 but i think u get the point. can you tell where the script is stopping? i.e. if size, borderpixel, tween is applying?
|
|
|
| Report Abuse |
|
|
Vultorz
|
  |
| Joined: 02 Mar 2015 |
| Total Posts: 2985 |
|
|
| 09 Aug 2017 06:37 PM |
| It doesn't even increase it's size to one pixel, pretty much nothing happens. |
|
|
| Report Abuse |
|
|
|
| 09 Aug 2017 06:41 PM |
| wait(3) for i = 1,6 do local f = ########################################### print(f:GetFullName()) f.Size = UDim2.new(0,1,0,1) print'size' f.BorderSizePixel = 2 print'pixel' f:TweenSize(UDim2.new(0,30,0,30),'Out','Quad',1) print'tween' wait(1) end |
|
|
| Report Abuse |
|
|
|
| 09 Aug 2017 06:42 PM |
| -_- i literally previewed that and nothing got censored, try paste EuwSXKTf bin |
|
|
| Report Abuse |
|
|
Vultorz
|
  |
| Joined: 02 Mar 2015 |
| Total Posts: 2985 |
|
|
| 09 Aug 2017 06:44 PM |
not sure why but when i added prints it worked
thanks lmao |
|
|
| Report Abuse |
|
|
|
| 09 Aug 2017 06:46 PM |
| i guess try commenting out the prints so players' output isn't spammed |
|
|
| Report Abuse |
|
|