Why doesn't this work like it use to before?

	BoltBackAnim = function(char, speed, objs)
		
		local newWeld = Utilize.Weld(char:WaitForChild('Left Arm'),Tool:WaitForChild('Grip'))
		newWeld.Parent = char:WaitForChild('Left Arm')
		newWeld.Name = 'NewWeld'
		char:WaitForChild('Right Arm'):WaitForChild('Grip').Part0 = nil
							
		TweenJoint(objs[3],  nil , CFrame.new(-1.52445853, 0.388179123, -1.12311268, 0.973574817, -2.72326495e-09, -0.228368327, 0.228368327, 1.16097638e-08, 0.973574817, 0, -1, 1.19248806e-08), function(X) return math.sin(math.rad(X)) end, 0.2)
		wait(0.2)
		objs[5]:WaitForChild("BoltBack"):Play()
		TweenJoint(objs[1],  nil , CFrame.new(-0.0144310016, -0.0199942607, 0, -4.37113883e-08, -1, 0, 1, -4.37113883e-08, 0, 0, 0, 0.99999994), function(X) return math.sin(math.rad(X)) end, 0.2)
		TweenJoint(objs[3],  nil , CFrame.new(-1.37251711, 0.388179123, -0.827557564, 0.973574817, -2.72326495e-09, -0.228368327, 0.228368327, 1.16097638e-08, 0.973574817, 0, -1, 1.19248806e-08), function(X) return math.sin(math.rad(X)) end, 0.2)
		wait(0.2)	
		TweenJoint(objs[1],  nil , CFrame.new(-0.0144310016, -0.0199942607, 0.37348932, -4.37113883e-08, -1, 0, 1, -4.37113883e-08, 0, 0, 0, 0.99999994), function(X) return math.sin(math.rad(X)) end, 0.2)
		TweenJoint(objs[3],  nil , CFrame.new(-1.28267622, 0.0287755914, -0.838171721, 0.973574817, -2.72326495e-09, -0.228368327, 0.228368327, 1.16097638e-08, 0.973574817, 0, -1, 1.19248806e-08), function(X) return math.sin(math.rad(X)) end, 0.2)
		wait(0.2)
	end;

What works differently now? Can you show a picture of the difference? Are there any warnings in the output window related to this code / ‘Utilize.Weld’ / ‘TweenJoint’?

Note that this code would hang for non-R6 characters. If you recently changed your game to allow non-R6 characters, that may be a reason why.

3 Likes

Well basically the gun use to bolt back normally now it goes wonko after a roblox update not to long ago

the gun changes orientation and position for some reason from what it use to be https://gyazo.com/96cd02e8c9194d2fd4b473870a171c5c

I found out how to fix it the issue was the type of weld I was using for some reason motor6d defaults differently now since the new update so i switched the weld to WeldConstraint instead and works perfectly now