L_1_.ChildAdded:connect(function(a)if a:IsA("\087\101\108\100")then local Q=a.Part1.Parent local d=game.Players:GetPlayerFromCharacter(Q)if not L_8_.isGroupOnly or L_8_.isGroupOnly and d:GetRankInGroup(L_8_.GroupID)>=L_8_.GroupRank then L_7_.Value=d;(((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 a=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"))a.CFrame=(L_1_.Parent:WaitForChild("\069\110\103\105\110\101")).CFrame a.D=500 a.P=3000 a.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)local Q=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"))Q.D=1250 Q.P=10000 Q.MaxForce=Vector3.new(math.huge,math.huge,math.huge)Q.Position=(L_1_.Parent:WaitForChild("\069\110\103\105\110\101")).Position if d then local a=(script:WaitForChild("\072\101\108\105\095\067\111\110\116\114\111\108")):clone()a.Parent=d.PlayerGui;(a:WaitForChild("\069\110\103\105\110\101\080\097\114\116")).Value=L_1_.Parent:WaitForChild("\069\110\103\105\110\101")a.Disabled=false end end end end)L_1_.ChildRemoved:connect(function(a)if a: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)
--// Connections
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)
