Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local cube = Instance.new("Part", workspace)
- cube.Anchored = true
- cube.Position = Vector3.new(0, 5, 0)
- cube.Material = "Glass"
- cube.Size = Vector3.new(5, 5, 5)
- cube.Transparency = 0.6
- cube.BrickColor = BrickColor.new("Dark blue")
- local tweens = game:GetService("TweenService")
- goal1 = {}
- goal1.Size = Vector3.new(1, 1, 1)
- goal1.Color = Color3.new(0.666667, 0, 0)
- goal2 = {}
- goal2.Size = Vector3.new(2, 2, 2)
- goal2.Color = Color3.new(1, 0.333333, 0)
- goal3 = {}
- goal3.Size = Vector3.new(3, 3, 3)
- goal3.Color = Color3.new(1, 1, 0)
- goal4 = {}
- goal4.Size = Vector3.new(2, 2, 2)
- goal4.Color = Color3.new(0, 0.666667, 0)
- goal5 = {}
- goal5.Size = Vector3.new(1, 1, 1)
- goal5.Color = Color3.new(0, 1, 1)
- goal6 = {}
- goal6.Size = Vector3.new(2, 2, 2)
- goal6.Color = Color3.new(0, 0, 1)
- goal6.Transparency = 0
- goal7 = {}
- goal7.Size = Vector3.new(3, 3, 3)
- goal7.Color = Color3.new(0.666667, 0, 1)
- local tweenInfo = TweenInfo.new(0.1)
- local tween1 = tweens:Create(cube, tweenInfo, goal1)
- local tween2 = tweens:Create(cube, tweenInfo, goal2)
- local tween3 = tweens:Create(cube, tweenInfo, goal3)
- local tween4 = tweens:Create(cube, tweenInfo, goal4)
- local tween5 = tweens:Create(cube, tweenInfo, goal5)
- local tween6 = tweens:Create(cube, tweenInfo, goal6)
- local tween7 = tweens:Create(cube, tweenInfo, goal7)
- while wait() do
- tween1:Play()
- wait(0.1)
- tween2:Play()
- wait(0.1)
- tween3:Play()
- wait(0.1)
- tween4:Play()
- wait(0.1)
- tween5:Play()
- wait(0.1)
- tween6:Play()
- wait(0.1)
- tween7:Play()
- wait(0.1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement