wait(2) script.Parent:TweenSize(UDim2.new(0.083, 0,-0.2, 0), "In", "Bounce", 1,true) wait(.9) script.Parent:TweenSize(UDim2.new(0.1, 0,-0.1, 0), "Out", "Bounec", 4,true) wait(.9) script.Parent:TweenSize(UDim2.new(0.2, 0,-0.4, 0), "In", "Bounce", 2,true) wait(.9) script.Parent:TweenSize(UDim2.new(0.3, 0,-0.6, 0), "Out", "Bounce", 1,true) wait(.9) script.Parent:TweenSize(UDim2.new(0.3, 0,-0.5, 0), "In", "Bounce", 1,true) wait(.9) script.Parent:TweenSize(UDim2.new(0.4, 0,-0.7, 0), "Out", "Bounce", 6,true) wait(.9) script.Parent:TweenSize(UDim2.new(0.5, 0,-0.1, 0), "In", "Bounce", 3,true) wait(.9) script.Parent:TweenSize(UDim2.new(0.4, 0,-0.2, 0), "Out", "Bounce", 2,true) wait(.9) script.Parent:TweenSize(UDim2.new(0.3, 0,-0.4, 0), "In", "Bounce", 1,true) wait(.9) script.Parent:TweenSize(UDim2.new(0.2, 0,-0.7, 0), "Out", "Bounce", 1,true) wait(.9) script.Parent:TweenSize(UDim2.new(0.1, 0,-0.1, 0), "In", "Bounce", 4,true)
Heres my code. I am trying to tween a GUI's Size to make it go up and down randomly then loop it later. I keep getting an "Unable to cast string to token" error.