--//Controller//--

for i, KillPart in pairs(KillParts) do
	if KillPart:IsA("BasePart") then
		KillPart.Touched:Connect(function(Hit)
			if Hit.Parent:IsA("Model") then
				local Humanoid = Hit.Parent:FindFirstChild("Humanoid")

				if Humanoid then
					Humanoid.Health = 0
				end
			end
		end)
	end
end
