Tween Not Working

  1. What do you want to achieve? I have this coin like object that im trying to get to rotate itself in a circle like a full 360.

  2. What is the issue? Tween is not playing at all

  3. What solutions have you tried so far? I tried looking at other Tween related topics but nothing that i found worked

They’re two objects welded using WeldConstraints to this part so i dont know if that would affect it. The part itself is Anchored and the welded parts are not anchored.

Code:

local Part2 = script.Parent
local TweenService = game:GetService("TweenService")

local goal = {}
goal.Orientation = Part2.Orientatiom + Vector3.new(180,0,0) 

local TI = TweenInfo.new(5,Enum.EasingStyle.Linear,Enum.EasingDirection.In,1,false,0)

local Tween = TweenService:Create(Part2,TI,goal)

while true do
	Tween:Play()
	Tween.Completed:Wait()
end

In line 5, you said Orientatiom instead of Orientation

I tested the code with the correct spelling and it worked.

Change Orientatiom to Orientation and your code should work :+1:

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.