Got a tween script with rotation, it doesnt play. The script prints CHECK but the tween wont play, can you not use CFrames in tweens?
–The Script
local TweenService = game:GetService("TweenService")
local PROXPROMPT = script.Parent
local door = script.Parent.Parent
local targetCFrame = door.CFrame * CFrame.Angles(0, math.rad(100), 0)
local tweenOpen = TweenService:Create(door, TweenInfo.new(1.5, Enum.EasingStyle.Cubic), {
CFrame = targetCFrame
})
PROXPROMPT.Triggered:Connect(function(plr)
print("CHECK")
tweenOpen:Play()
end)
simple script, didn’t think this would happen.