I Need Help With a Player Grabbing Script

For the past year I have been working on a Transfur game its been a fun project to work on, heres the link TF Test - Roblox.

I ran into a bit of a roadblock though I need help with my grabbing script it worked fine on R15 but not R6 I even edited to work on my R6 rigs I tried everything I knew about scripting and I wasn’t even able to fix it.

   local pad = script.Parent
   local tfs = game.ServerStorage.Transfur
   local characterName = "Party-Cat"
   local character = tfs:WaitForChild(characterName)

   local debounce = true
   pad.Touched:Connect(function(obj)
   local plr = game.Players:GetPlayerFromCharacter(obj.Parent)
   if plr and debounce == true then
   debounce = false


     
	 local charClone = character:Clone()
	 local grabberpos = pad.Parent.Parent:WaitForChild("grabcollide").CFrame
	 local health = plr.Character.Humanoid.Health
	if plr.TeamColor ~= BrickColor.new("Really black") then

		for i = 1, 99 do
			grabberpos = pad.Parent.Parent:WaitForChild("grabcollide").CFrame
			wait()
			plr.Character.Humanoid:TakeDamage(1)
			plr.Character.HumanoidRootPart.CFrame = grabberpos
		end
	

	charClone.Name = plr.Name
	plr.Character = charClone

	local rootPart = charClone:FindFirstChild("HumanoidRootPart") or charClone:FindFirstChild("Torso")
	local plrRoot = obj.Parent:FindFirstChild("HumanoidRootPart") or obj.Parent:FindFirstChild("Torso")

	if rootPart and plrRoot then
		rootPart.CFrame = plrRoot.CFrame
	end

	charClone.Parent = workspace



	debounce = true
end
end
end)

I haven’t been able to find any posts that has the solution so can somebody please give me a way I could fix it.

Sincerely, Havok_TC

weld the player to the other player

teleport the player on front of the player then anchor them and play animations

I already tried that thats why I have the grabberpos value.

did you anchor both of them???

Im getting off the devforums in a bit I will look at the replies later.

Btw im trying to make the grabber be able to move and anchoring wont make animations work thats why I make it repeat teleport 99 times.

I’m scrapping this project mainly because, I don’t know how to fix my old buggy code.