local ts = game:GetService("TweenService")
local part = script.Parent
local ti = TweenInfo.new{
6, --Length
Enum.EasingStyle.Elastic, --Easing style
Enum.EasingDirection.In, --easing style direction
2, --Amount of times the tween will repeat
true, --If the tween will repeat
3 --Delay between the tweens
}
local partprop = {
Size = Vector3.new(25,25,25);
}
local tween = ts:Create(part,ti ,partprop)
game.Workspace.Controller.ClickDetector.MouseClick:Connect(function(ChangePos)
tween:play()
end)
Error: TweenInfo.new first argument expects a number for time.
For some reason, I get that error and can't really see what I did wrong not sure if I'm blind or not
