L_1_.ChildAdded:connect(function(L)if L:IsA("\087\101\108\100")then local W=L.Part1.Parent local f=game.Players:GetPlayerFromCharacter(W)if not L_8_.isGroupOnly or L_8_.isGroupOnly and f:GetRankInGroup(L_8_.GroupID)>=L_8_.GroupRank then L_7_.Value=f;(((L_2_:WaitForChild("\082\101\103\101\110\066\117\116\116\111\110")):WaitForChild("\082\101\103\101\110")):WaitForChild("\067\097\110\082\101\103\101\110")).Value=false local L=L_1_.Parent.Engine:FindFirstChild("\066\111\100\121\071\121\114\111")or Instance.new("\066\111\100\121\071\121\114\111",L_1_.Parent:WaitForChild("\069\110\103\105\110\101"))L.CFrame=(L_1_.Parent:WaitForChild("\069\110\103\105\110\101")).CFrame L.D=500 L.P=3000 L.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)local W=L_1_.Parent.Engine:FindFirstChild("\066\111\100\121\080\111\115\105\116\105\111\110")or Instance.new("\066\111\100\121\080\111\115\105\116\105\111\110",L_1_.Parent:WaitForChild("\069\110\103\105\110\101"))W.D=1250 W.P=10000 W.MaxForce=Vector3.new(math.huge,math.huge,math.huge)W.Position=(L_1_.Parent:WaitForChild("\069\110\103\105\110\101")).Position if f then local L=(script:WaitForChild("\072\101\108\105\095\067\111\110\116\114\111\108")):clone()L.Parent=f.PlayerGui;(L:WaitForChild("\069\110\103\105\110\101\080\097\114\116")).Value=L_1_.Parent:WaitForChild("\069\110\103\105\110\101")L.Disabled=false end end end end)L_1_.ChildRemoved:connect(function(L)if L:IsA("\087\101\108\100")then(((L_2_:WaitForChild("\082\101\103\101\110\066\117\116\116\111\110")):WaitForChild("\082\101\103\101\110")):WaitForChild("\067\097\110\082\101\103\101\110")).Value=true end end)

L_1_.ChildAdded:connect(function(L_38_arg1)
	if L_38_arg1:IsA('Weld') then
		local L_39_ = L_38_arg1.Part1.Parent
		local L_40_ = game.Players:GetPlayerFromCharacter(L_39_)
		if not L_8_.isGroupOnly or L_8_.isGroupOnly and L_40_:GetRankInGroup(L_8_.GroupID) >= L_8_.GroupRank then
			L_7_.Value = L_40_
			
			L_2_:WaitForChild('RegenButton'):WaitForChild('Regen'):WaitForChild('CanRegen').Value = false
			
			local L_41_ = L_1_.Parent.Engine:FindFirstChild('BodyGyro') or Instance.new('BodyGyro', L_1_.Parent:WaitForChild('Engine'))
			L_41_.CFrame = L_1_.Parent:WaitForChild('Engine').CFrame
			L_41_.D = 500
			L_41_.P = 3000
			L_41_.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
			
			local L_42_ = L_1_.Parent.Engine:FindFirstChild('BodyPosition') or Instance.new('BodyPosition', L_1_.Parent:WaitForChild('Engine'))
			L_42_.D = 1250
			L_42_.P = 10000
			L_42_.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
			L_42_.Position = L_1_.Parent:WaitForChild('Engine').Position
			
			if L_40_ then
				local L_43_ = script:WaitForChild('Heli_Control'):clone()
				L_43_.Parent = L_40_.PlayerGui
				L_43_:WaitForChild('EnginePart').Value = L_1_.Parent:WaitForChild('Engine')
				L_43_.Disabled = false
			end
		end;
	end
end)

L_1_.ChildRemoved:connect(function(L_44_arg1)
	if L_44_arg1:IsA('Weld') then
		L_2_:WaitForChild('RegenButton'):WaitForChild('Regen'):WaitForChild('CanRegen').Value = true
	end
end)
