Falling animation plays when tweening character on platform

I’ve recently made an elevator in my game, but people with high ping were falling through it, when it was moving, so I used region3 and weld constraints to get players on the lift and weld their HumanoidRootPart to the lift’s, tweening, primary part. While this worked and people stopped falling through, falling animation would now play when the lift was in motion (video bellow). I tried making the bottom thicker, but that didn’t help either.

The code I use to attatch players to the lift:

local plist = {}
		local r3 = Region3.new(Lift.Position-Vector3.new(7,0,7),Lift.Position+Vector3.new(7,8,7))
		for i, p in pairs(workspace:FindPartsInRegion3(r3,script.Parent,math.huge)) do
			local pl = game.Players:GetPlayerFromCharacter(p.Parent)
			if (pl ~= nil) then
				table.insert(plist,pl)
			end
		end
		for i, p in pairs(plist) do
			p.Character.Parent = Lift
			local plr = p.Character:FindFirstChild("HumanoidRootPart")
			--plr.Anchored=true
			plr.Parent.Humanoid.WalkSpeed=0
			plr.Parent.Humanoid.JumpPower=0
			local Wld = Instance.new("WeldConstraint", Lift)
			Wld.Part0 = Lift
			Wld.Part1 = plr
			local Skript = game.ServerStorage.Deatatch3:Clone() -- Script that destroys the weld when lift arrives
			Skript.Parent = Wld
			Skript.Disabled = false
		end

If anyone could help me, I would be very grateful.

1 Like

You could try disabling the falling animation itself for the duration of the lift time, then just re-enable it afterwards maybe.

1 Like

The solution was so simple all along - I just had to temporarly disable Animator script. Thank you very much for giving me perspective.

1 Like