Bouncy Door When Opens

I have my script done for my door and it uses proximity prompts, it all works yet when the door opens it seems to first bounce and then closes so it looks bad, how would I fix that? Video below, including script.

https://gyazo.com/b2ebe16e95fd559cf7180e231e0e298d

local Door = script.Parent
local DoorEnd = script.Parent.Parent.DoorEnd
local TweenService = game:GetService("TweenService")
local prompt = script.Parent.ProximityPrompt

local Open = {CFrame = DoorEnd.CFrame}


local info = TweenInfo.new(
	1,
	Enum.EasingStyle.Back,
	Enum.EasingDirection.Out,
	0,
	true,
	0
)

local NewTween = TweenService:Create(Door, info, Open)

prompt.Triggered:Connect(function()
	NewTween:Play()
end)

That’s because it’s using the Back tween effect for reversing it.

local Door = script.Parent
local DoorEnd = script.Parent.Parent.DoorEnd
local TweenService = game:GetService("TweenService")
local prompt = script.Parent.ProximityPrompt

local Open = {CFrame = DoorEnd.CFrame}


local info = TweenInfo.new(
	1,
	Enum.EasingStyle.Quint,
	Enum.EasingDirection.Out,
	0,
	true,
	0
)

local NewTween = TweenService:Create(Door, info, Open)

prompt.Triggered:Connect(function()
	NewTween:Play()
end)

Oh, thank you! I am not the best at tweening.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.