So I made an animating wall that opens when you trigger a proximity prompt. I went back to the wall, and it didn't open, not even ½ of a stud. The script is below, also the one that DOESN'T work.

-- Variables
local TweenService = game:GetService("TweenService")
local prox = script.Parent.ProximityPrompt
local opened = script.Parent.Parent.liftedDoor
local door = script.Parent.Parent.door
local openC = {CFrame = opened.CFrame}
local tween = TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out, 0, false, 0)
local openTween = TweenService:Create(door, tween, openC) -- Earlier, this was the error.

-- Functions
prox.Triggered:Connect(function()
	openTween:Play()
end)

1 comment

0

the variables are the things i want them to be.