Hello, I am currently stuck on this script. I want to make it so the brick rotates by -10 in the Y axis every time in TweenService, but it is currently not working and I cannot make it rotate -10 every time. I can only make it rotate -10 once and then it stops working.
local cframeAngles = CFrame.Angles(0,0,0) + Seat.Position
local ta = game:GetService("TweenService")
local yValue = 0
local info = TweenInfo.new(
1,
Enum.EasingStyle.Linear,
Enum.EasingDirection.In,
0,
false,
0
)
local yValue = 0
local goals = {
cframeAngles = Seat.Position + Vector3.new(0,-10,0)
}
local realtween = ta:Create(script.Parent,info,goals)