I've been doing some tweening already with individual parts and stuff, but how would you use tweening to rotate a model (with its primary part I presume)?
Here's the format I've been using for my tweening so far.
local TweenService = game:GetService("TweenService") local part = script.Parent local openGoal = {} openGoal.Size = part.Size + Vector3.new(5,5,5) openGoal.Position = part.Position + Vector3.new(0, 0, 10) openGoal.Color = Color3.fromRGB(0,0,0) local tweenInfo = TweenInfo.new(4) local open = TweenService:Create(part, tweenInfo, openGoal) open:Play()
I'm pretty sure you can do this by setting the CFrame of the Model's PrimaryPart and then using CFrame.Angles for the rotation, I went ahead and made an uncopylocked game to show you how: https://www.roblox.com/games/3441522801/Tween-Test