Part not tweening

Hi, the wheel isn’t doing the assigned tween. it has to do with this line:

	local tween = ts:Create(Wheel, ti, propertyToTween)

Here is my code:

local handle = script.Parent:WaitForChild("Handle")
local ts = game:GetService("TweenService")
local ti = TweenInfo.new(2, Enum.EasingStyle.Cubic, Enum.EasingDirection.Out) 
local propertyToTween = {Orientation = Vector3.new(180, 0, 0)}


script.Parent.Click.OnServerEvent:Connect(function(plr,target)
	local Map = game.Workspace:FindFirstChild("Map")
	local LaserRoom1 = Map:FindFirstChild("LaserRoom1")
	local Wheel = Map:FindFirstChild("Wheel")
	local Stage = Wheel:FindFirstChild("Stage")
	local Player = game.Players:GetPlayers()
	local tween = ts:Create(Wheel, ti, propertyToTween)

	
	if plr:FindFirstChild("InRange") then
		for i, v in pairs(LaserRoom1.Lazers:GetChildren()) do
			if v:IsA("BasePart") and v.Name == "Lazer" then
				v:Destroy()
				tween:Play()
				
			end
		end
	end
end)

Are you getting any errors? I don’t see any problems with the tween itself, but I’m slightly concerned with the generous use of :FindFirstChild() without any checks. Are your variables returning nil? Are you sure the code even makes it to tween:Play()?

Yes

Nevermind (30 charrrssssssssssssssss)

argggg 30 charsssssssssssssssssss

Yeah sorry, I just realized this is in a workspace. Is this a part or a model? I haven’t seen any type of part, meshpart, etc. that doesn’t have the orientation property.

This is a model 30 chars (i hate this requirement)

Oh, well models don’t have the orientation property so you can’t tween a model. Instead, I suggest you watch this video. Although it doesn’t use Tweenservice, I think it is a good alternative.

(Yes I hate that 30 char requirement as well)

Oh. That kinda stinks 30 charsss