Why is this happening?

local StayInAir = function(character, seconds)
	local HumanoidRootPart = character.HumanoidRootPart
	local StayInAirScript = game.ServerStorage.Katana.StayInAir.StayInAirScript:Clone()
	local Time = game.ServerStorage.Katana.StayInAir.Time:Clone()
	if HumanoidRootPart:FindFirstChild("StayInAirScript")then
		HumanoidRootPart.StayInAirScript:Destroy()
	end
	if HumanoidRootPart:FindFirstChild("Time")then
		HumanoidRootPart.Time:Destroy()
	end
	Time.Parent = HumanoidRootPart
	Time.Value = seconds
	StayInAirScript.Parent = HumanoidRootPart
end