Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Tween help? [Script Included]

My Studio: StarterGui ScreenGui Frame Drop ImageLabel NUM1 NUM2 NUM3 NUM4 NUM5 NUM6 NUM7

The NUM1-7's are TextLabels, and supposed to go up and down with the Drop script:

sp = script.Parent
NUM1 = sp.NUM1
NUM2 = sp.NUM2
NUM3 = sp.NUM3
NUM4 = sp.NUM4
NUM5 = sp.NUM5
NUM6 = sp.NUM6
NUM7 = sp.NUM7
while true do
	NUM1:TweenSize(UDim2.new(0, 3,0,math.random(60,0)),"Out","Linear",0.1,false)
	NUM2:TweenSize(UDim2.new(0, 3,0,math.random(60,0)),"Out","Linear",0.1,false)
	NUM3:TweenSize(UDim2.new(0, 3,0,math.random(60,0)),"Out","Linear",0.1,false)
	NUM4:TweenSize(UDim2.new(0, 3,0,math.random(60,0)),"Out","Linear",0.1,false)
	NUM5:TweenSize(UDim2.new(0, 3,0,math.random(60,0)),"Out","Linear",0.1,false)
	NUM6:TweenSize(UDim2.new(0, 3,0,math.random(60,0)),"Out","Linear",0.1,false)
	NUM7:TweenSize(UDim2.new(0, 3,0,math.random(60,0)),"Out","Linear",0.1,false)
	wait(0.05)
end

But it doesn't, output:

16:02:57.901 - Players.Player1.PlayerGui.ScreenGui.Frame.Dropper:12: bad argument #2 to 'random' (interval is empty)

1 answer

✓ Accepted answer

LOL, IS THIS MY CLUB BARS? LOLOLOL

ok, I will help though

sp = script.Parent
NUM1 = sp.NUM1
NUM2 = sp.NUM2
NUM3 = sp.NUM3
NUM4 = sp.NUM4
NUM5 = sp.NUM5
NUM6 = sp.NUM6
NUM7 = sp.NUM7
while true do
	NUM1:TweenSize(UDim2.new(0, 3,0,math.random(-60,0)),"Out","Linear",0.1,false)
	NUM2:TweenSize(UDim2.new(0, 3,0,math.random(-60,0)),"Out","Linear",0.1,false)
	NUM3:TweenSize(UDim2.new(0, 3,0,math.random(-60,0)),"Out","Linear",0.1,false)
	NUM4:TweenSize(UDim2.new(0, 3,0,math.random(-60,0)),"Out","Linear",0.1,false)
	NUM5:TweenSize(UDim2.new(0, 3,0,math.random(-60,0)),"Out","Linear",0.1,false)
	NUM6:TweenSize(UDim2.new(0, 3,0,math.random(-60,0)),"Out","Linear",0.1,false)
	NUM7:TweenSize(UDim2.new(0, 3,0,math.random(-60,0)),"Out","Linear",0.1,false)
	wait(0.05)
end

Btw it has to be negative.

1 comment

0

kk just experimenting sry

This discussion is preserved as it was. New answers, comments, and votes are closed.