I am building a gate that needs to fall down once the loading screen is done. And since it needs to fall trough something I need to use CFrame however, it does not accept CFrame information. Is there any way I can change that? Btw. I would also like to be able to change the duration of the tween, how would I do that?
local Gate = game.Workspace.Castle.GATE
local TweenSevice = game:GetService("TweenService")
Gate.Position = CFrame.new(260.528, 121.642, 541.052)
Gate.Anchored = true
local goal = {}
goal.Position = CFrame.new(260.528, 108.642, 541.052)
local tweenInfo = TweenInfo.new(5)
local tween = TweenSevice:Create(Gate,tweenInfo,goal)

2 comments
But Vector3 does not allow parts to go through each other.
Thanks.