Answered by
5 years ago Edited 5 years ago
Look at your error. See the number 6? That means that there is an error on line 6 or near it. We can see above line 6, there is no comma after the easing style. There needs to be a comma after every value in the tween info, excepting the last one.
Also, Tween:Play will error as well. It should be written as Tween:Play(). Notice the parentheses.
Below is code corrected for all errors:
01 | local Part = script.Parent |
02 | local Tweenservice = game:GetService( 'TweenService' ) |
04 | local TweeningInfo = TweenInfo.new( |
06 | Enum.EasingStyle.Bounce, |
07 | Enum.EasingDirection.Out, |
13 | local PartProperties = { |
14 | Size = Vector 3. new( 50 , 50 , 50 ), |
15 | Color = Color 3. fromRGB( 120 , 50 , 65 ) |
18 | local Tween = Tweenservice:Create(Part,TweeningInfo,PartProperties) |