Hello everyone! I am working a little with TweenServices. It occurred a error while it happening. Here's a little video to see if it can help.
Here's my code:
`local TweenService = game:GetService("TweenService") local part = script.Parent
local Info = TweenInfo.new(
1, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out, 1, false, 1
)
local partGoals = {
Size = Vector3.new(512, 20, 512) BrickColor = BrickColor.new("Black")
}
local TweenCreate = TweenService:Create(part, Info, partGoals)
TweenCreate:Play()`
Please help me with this. That would be really helpful!
Did you put comma in goals ? You have this:
local partGoals = { Size = Vector3.new(512, 20, 512) -- no , BrickColor = BrickColor.new("Black") }
You see, there is no comma
Shouldn't it be:
local partGoals = { Size = Vector3.new(512, 20, 512), -- with coma BrickColor = BrickColor.new("Black") }
I might be wrong tho, that could be a thing too
I tried it and it does work.