here is the code:
local tweenService = game:GetService(“TweenService”)
local goal = {}
goal.Orientation = Vector3.new(0,360,0)
local tweenInfo = TweenInfo.new(20, Enum.EasingStyle.Linear, Enum.EasingDirection.In, -1, true, 2)
local part = script.Parent
local tween = tweenService:Create(part,tweenService,goal)
tween:Play()
and here is the error is generating:
![]()
I have no idea whats wrong, help!