sorry For the tittle! I always got that when asking question My title Is specific so why it comes with an error? my tittle is : My tween isnt working?
greetings, i am a beginner to roblox programming and im having an issue that my Tween isnt working.
i put this code under a model
--regular script--
local tweenservice = game:GetService("TweenService")
local car = game.Workspace.TestMap.CarPath.PickupTruck
local model = game.Workspace.TestMap.CarPath
local one = model.one
local two = model.two
local info = TweenInfo.new(2, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut, 0, false, 0)
local goal = {}
goal.Position = one.Position
local tween = tweenservice:Create(car, info, goal)
tween:Play()
can someone tell me why it didnt work?
