if UnequipLoop then UnequipLoop:Disconnect()UnequipLoop=nil end if Humanoid then Humanoid.Health=Humanoid.Health+15 end Character:SetPrimaryPartCFrame(CFrame.new(TargetLocation)*(Center.CFrame-Center.CFrame.p))for y=1,#AffectedParts,1 do for C,e in pairs(AffectedParts[y])do if C~="\080\097\114\116"then AffectedParts[y].Part[C]=e end end end if ForceField then ForceField:Destroy()end if HeldTool then Humanoid:EquipTool(HeldTool)end if Services.Players:GetPlayerFromCharacter(Character)and(Services.Players:GetPlayerFromCharacter(Character)):FindFirstChild("\080\108\097\121\101\114\071\117\105")then FixCam.Parent=(Services.Players:GetPlayerFromCharacter(Character)):FindFirstChild("\080\108\097\121\101\114\071\117\105")FixCam.Disabled=false end
--[[local EnableBackpack = script:WaitForChild("EnableBackpack")
if Services.Players:GetPlayerFromCharacter(Character) and Services.Players:GetPlayerFromCharacter(Character):FindFirstChild("PlayerGui") then
	EnableBackpack.Parent = Services.Players:GetPlayerFromCharacter(Character):FindFirstChild("PlayerGui")
	EnableBackpack.Disabled = false
	Services.Debris:AddItem(EnableBackpack,1)
end]]

if UnequipLoop then
	UnequipLoop:Disconnect()
	UnequipLoop = nil
end

if Humanoid then
	Humanoid.Health = Humanoid.Health + 15
end

Character:SetPrimaryPartCFrame(CFrame.new(TargetLocation) * (Center.CFrame - Center.CFrame.p))

for i = 1, #AffectedParts do
	for property, value in pairs(AffectedParts[i]) do
		if property ~= "Part" then
			AffectedParts[i].Part[property] = value
		end
	end
end

if ForceField then
	ForceField:Destroy()
end

if HeldTool then
	Humanoid:EquipTool(HeldTool)
end

if
	Services.Players:GetPlayerFromCharacter(Character)
	and Services.Players:GetPlayerFromCharacter(Character):FindFirstChild("PlayerGui")
then
	FixCam.Parent = Services.Players:GetPlayerFromCharacter(Character):FindFirstChild("PlayerGui")
	FixCam.Disabled = false
end
