#My tween is not playing.
1 messages · Page 1 of 1 (latest)
local bedroomDoor = game.Workspace.BedroomDoor
local mainDoor = bedroomDoor.MainDoor
local bedroomHinge = bedroomDoor.Hinge
local bedroomPrompt = bedroomDoor.OpenDoorPrompt
local bedroomTweenInfo = TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut, 0, false, 0)
local bedroomTweenCreate = ts:Create(
mainDoor,
bedroomTweenInfo,
{CFrame = mainDoor.CFrame * CFrame.Angles(0, math.rad(90), 0)}
)
bedroomPrompt.Triggered:Connect(function()
bedroomTweenCreate:Play()
end) ```
ok
** You are now Level 5! **
oops
it wasnt the code lol