Script working fines in studio but not working in an actual game

have a problem that is whenever i test these script in roblox studio they’re working perfectly fine absolutely nothing wrong i think, but whenever i tried it in game it’s seem to not working i tried many ways like commit a script or draft or publish and it still not working and tried asking before but they said
my code have nothing wrong. I’ll give you some examples of what happen
Here’s the studio
https://gyazo.com/b9b6038600fb11d0ee88f8a3de35f617
Here’s in the actual game
https://gyazo.com/6666ea77c7284c04fac768f787d1f859

So, that’s what happened pls help me solve this problem.

Btw,my script might be a little long… (Sorry in advance)

:sunglasses: :sunglasses: :sunglasses:
the part that’snot working is the combo 6 with CanAir == false and puxch6 event

This is Server script.


game.ReplicatedStorage.Folder.Punxh6.OnServerEvent:Connect(function(Player)
	local Character = Player.Character or Player.CharacterAdded:Wait()
	local Humanoid = Character:WaitForChild("Humanoid")
	local HumRoot = Character.HumanoidRootPart
	local CS = game:GetService("CollectionService")
	local Fstun = Character:FindFirstChild("Stun")
	local Frag = Character.Effects:FindFirstChild("Ragdoll")
	local Effect = script.Parent.Eff14:WaitForChild("Attachment"):Clone()
	local Effect2 = script.Parent.blockEf:WaitForChild("Attachment"):Clone()
	local I = Instance.new("Animation")
	I.AnimationId = "rbxassetid://9302669155"
	local Effec2t = script.Parent.blockEf:WaitForChild("Attachment"):Clone()
	local Hitbox = Instance.new("Part")
	Hitbox.Size = Vector3.new(3.174, 3.11, 3.634)
	Hitbox.CFrame = HumRoot.CFrame + HumRoot.CFrame.LookVector * 1.678  
	Hitbox.CanCollide = false
	Hitbox.CanTouch = true
	Hitbox.Anchored = false
	Hitbox.Archivable = true
	Hitbox.Locked = false
	Hitbox.CastShadow = false
	Hitbox.Transparency = 1
	Hitbox.Massless = true
	local Weld = Instance.new("WeldConstraint")
	local Fblock = Character:FindFirstChild("IsBlocking")
	local Weld2 = Instance.new("Weld")
	local TS = game:GetService("TweenService")
	local Plr = Player.Combo
	local Jha = game.StarterPlayer.StarterCharacterScripts.Humanoid.Humanoid.WalkSpeed
	local Jha2 = game.StarterPlayer.StarterCharacterScripts.Humanoid.Humanoid.JumpPower
	---------------------------------------------------------------------------------------------------
	local HitEffect = script.Parent:WaitForChild("HitEffect").Hiteffect:Clone()

	local Plcobo = Player.Combo.Value

	if Frag == nil and not Character:FindFirstChild("Stun") and not Character:FindFirstChild("GuardBreak") and not Character:FindFirstChild("BlockHits") then

		local op = OverlapParams.new()
		op.FilterDescendantsInstances = {Character}
		op.FilterType = Enum.RaycastFilterType.Blacklist
		local parts = workspace:GetPartsInPart(Hitbox,op)
		Hitbox.Parent = game.Workspace.BoxFolder
		Weld.Part0 = Hitbox
		Weld.Part1 = HumRoot
		Weld.Parent = HumRoot
		game.Debris:AddItem(Weld,0.2)
		game.Debris:AddItem(Hitbox,0.2)

		local debounce = false

		for _,hit in pairs(parts) do
			if hit.Parent and hit.Parent ~= Character and not Character:FindFirstChild("GuardBreak") and hit.Parent:FindFirstChildWhichIsA("Humanoid") and debounce == false then
				local hum = hit.Parent:FindFirstChildWhichIsA("Humanoid")
				local FF1 = hit.Parent:FindFirstChild("BlockHits")
				local Immune = hit.Parent:FindFirstChild("Immune")
				local Model = hit.Parent:IsA("Model")
				local StunHandler = require(script.Parent.StunHandlerV2)
				------------------------------------------------------------------------------
				local Rag2 = Instance.new("BoolValue")
				Rag2.Name = "Ragdoll"
				local Stu2 = Instance.new("BoolValue")
				Stu2.Name = "Stun"
				local Bovy = Instance.new("BodyVelocity")
				Bovy.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
				Bovy.Velocity = Character:FindFirstChild("HumanoidRootPart").CFrame.LookVector * 32
				local B = Instance.new("BodyVelocity")
				B.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
				B.Velocity = Character:FindFirstChild("HumanoidRootPart").CFrame.LookVector * 4
				local B1 = Instance.new("BodyVelocity")
				B1.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
				--B1.Velocity = Character:FindFirstChild("HumanoidRootPart").CFrame.LookVector * 49 + Character:FindFirstChild("HumanoidRootPart").CFrame.UpVector * 15
				B1.Velocity = Character:FindFirstChild("HumanoidRootPart").CFrame.LookVector * 65 + Character:FindFirstChild("HumanoidRootPart").CFrame.UpVector * 18
				-------------------------------------------------------------------------------

				if hum and FF1 and hum.Health > 0 and not Character:FindFirstChild("GuardBreak") and not Immune and Model then



					debounce = true
					for i,v in pairs(hit.Parent.PrimaryPart:GetChildren()) do
						if v:IsA("BodyVelocity") or v:IsA("BodyGyro") then
							game.Debris:AddItem(v,0)
						end
					end

					local BG = Instance.new("BodyGyro")
					BG.Parent = hit.Parent.PrimaryPart
					BG.MaxTorque = Vector3.new(0,4e4,0)
					BG.P = BG.P * 10
					BG.CFrame = CFrame.new(hit.Parent.PrimaryPart.Position,Character.PrimaryPart.Position)

					local animationsFolder = script.Block:GetChildren()
					local randomAnimation = animationsFolder[math.random(1, #animationsFolder)]
					hum:LoadAnimation(randomAnimation):Play();


					game.Debris:AddItem(BG,0.5)


					--CS:AddTag(hit.Parent,"Stun")
					--Hum:TakeDamage(15)
					game.Debris:AddItem(Hitbox,0.05)
					--StunHandler.Stun(Hum,0.4)
					for i,v in pairs(hit.Parent.HumanoidRootPart:GetChildren()) do

						if v.Name == "UIPart" then
							TS:Create(v.NameTagGui.Frame1,TweenInfo.new(0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.Out),{Size = v.NameTagGui.Frame1.Size + UDim2.new(0, 0,0.5, 0)}):Play()
							if v.Value <= 0 then
								for _,v in pairs(hit.Parent:GetChildren()) do

									if v.Name == "BlockHits" then

										game.Debris:AddItem(v,0)

									end

								end
								game.Debris:AddItem(v,0)
								StunHandler.Stun(hum,1.4)
								Stu2.Parent = hit.Parent
								game.Debris:AddItem(Stu2,1.4)
								local GB1 = Instance.new("BoolValue",hit.Parent)
								GB1.Name = "GuardBreak"
								game.Debris:AddItem(GB1,1)
								for _,v in pairs(hit.Parent.HumanoidRootPart:GetChildren()) do

									if v.Name == "UIWeld" or v.Name == "UIPart" then

										game.Debris:AddItem(v,0)

									end

								end


							end
						end

					end


				end

				if hum and not FF1 and hum.Health > 0 and not Character:FindFirstChild("GuardBreak") and not Immune and Model then
					debounce = true
					hum:TakeDamage(25)

					for i,v in pairs(hit.Parent.PrimaryPart:GetChildren()) do
						if v:IsA("BodyVelocity") or v:IsA("BodyGyro") then
							game.Debris:AddItem(v,0)
						end
					end

					local DL = Instance.new("Animation")
					DL.AnimationId = "rbxassetid://9628593258"
					hum:LoadAnimation(DL):Play();

					
					--2.163, 1, 2
					local Wave = script.Parent.Wave:Clone()
					Wave.Size = Vector3.new(0,0,0)
					Wave.CFrame = HumRoot.CFrame + HumRoot.CFrame.LookVector * -1
					Wave.CanCollide = false
					Wave.CanTouch = false            --5.08, 0.36, 5.08
					Wave.Anchored = true
					Wave.Archivable = true
					Wave.Locked = false
					Wave.CastShadow = false
					Wave.Transparency = 0
					Wave.Massless = true
					game.Debris:AddItem(Wave,4)
					
					
					
				    
					local VC123 = Instance.new("Part")
					VC123.Size = Vector3.new(2.163, 1, 2)
					VC123.CFrame = HumRoot.CFrame + HumRoot.CFrame.UpVector * -2.7
					VC123.CanCollide = false
					VC123.CanTouch = false            --5.08, 0.36, 5.08
					VC123.Anchored = true
					VC123.Archivable = true
					VC123.Locked = false
					VC123.CastShadow = false
					VC123.Transparency = 1
					VC123.Massless = true
					game.Debris:AddItem(VC123,3.9)
					
					VC123.Parent = game.Workspace
					
					task.delay(0.01,function()
						local T2 = TS:Create(Wave,TweenInfo.new(0.45,Enum.EasingStyle.Sine,Enum.EasingDirection.Out),{CFrame = Character.HumanoidRootPart.CFrame + Character.HumanoidRootPart.CFrame.LookVector * -3,Size = Vector3.new(8.08, 8.08, 0.36)})
						local T1 = TS:Create(VC123,TweenInfo.new(0.6,Enum.EasingStyle.Linear,Enum.EasingDirection.Out),{CFrame = Character.HumanoidRootPart.CFrame + Character.HumanoidRootPart.CFrame.LookVector * 26})
						
						delay(0.46,function()
							TS:Create(Wave,TweenInfo.new(0.24,Enum.EasingStyle.Sine,Enum.EasingDirection.Out),{Transparency = 1,Size = Vector3.new(10.1, 10.1, 0)}):Play()
						end)
						
						
						while wait() do
							wait()
							--Wave.Orientation = Vector3.new(Wave.Orientation.X,Character.HumanoidRootPart.Orientation.Y,Wave.Orientation.Z) + Vector3.new(-90,90,-90)
							Wave.Parent = game.Workspace.FX
							VC123.Orientation = Vector3.new(VC123.Orientation.X,Character.HumanoidRootPart.Orientation.Y,VC123.Orientation.Z)
							--wait(0.02)
							T1:Play()
							T2:Play()
							local c = require(game.ServerScriptService.ModuleScript)

							wait(0.07)
							c.new(VC123,1.2,2,3,4)
							wait(0.07)
							c.new(VC123,1.6,3,3,4)
							wait(0.07)
							c.new(VC123,2.2,4,3,4)
							wait(0.07)
							c.new(VC123,2.5,4.5,3,4)
							wait(0.07)
							--c.new(script.Parent,4.65,7,3,4)
							--wait(0.1)
							--c.new(script.Parent,5.65,13,3,4)

							break
						end
						
						
					end)
					
					task.delay(0.01,function()
						
						local VC1223 = script.Parent.EffectWind1234:Clone()
						VC1223.Size = Vector3.new(2, 2, 2)
						VC1223.CFrame = HumRoot.CFrame + HumRoot.CFrame.UpVector * -2.7
						VC1223.CanCollide = false
						VC1223.CanTouch = false            --5.08, 0.36, 5.08
						VC1223.Anchored = true
						VC1223.Archivable = true
						VC1223.Locked = false
						VC1223.CastShadow = false
						VC1223.Transparency = 1
						VC1223.Massless = true
						game.Debris:AddItem(VC1223,3.9)

						VC1223.Parent = game.Workspace
						
						
						local T12 = TS:Create(VC1223,TweenInfo.new(0.6,Enum.EasingStyle.Linear,Enum.EasingDirection.Out),{CFrame = Character.HumanoidRootPart.CFrame + Character.HumanoidRootPart.CFrame.LookVector * 26})

						local params = RaycastParams.new()
						params.FilterType = Enum.RaycastFilterType.Blacklist
						params.IgnoreWater = true
						local ray = workspace:Raycast(VC1223.Position,Vector3.new(0,-4,0),params)

						if ray then
							
							VC1223.sm2.Color =ColorSequence.new{ColorSequenceKeypoint.new(0,ray.Instance.Color),ColorSequenceKeypoint.new(1,ray.Instance.Color)}
							
						end

							
						
						
						VC1223.sm2.Enabled = true
						VC1223.rocks.Enabled = true
						T12:Play()
						wait(0.2)
						VC1223.sm2.Enabled = false
						VC1223.rocks.Enabled = false
						


					end)
					
					
					
					
					
					B.Parent = Character.PrimaryPart
					B1.Parent = hit.Parent.PrimaryPart

					game.Debris:AddItem(B1,0.1)
					game.Debris:AddItem(B,0.2345)

					local BG = Instance.new("BodyGyro")
					BG.Parent = hit.Parent.PrimaryPart
					BG.MaxTorque = Vector3.new(0,4e4,0)
					BG.P = BG.P * 10
					BG.CFrame = CFrame.new(hit.Parent.PrimaryPart.Position,Character.PrimaryPart.Position)
					Player.Combo.Value = Player.Combo.Value + 1
					HitEffect.Parent = hit.Parent.PrimaryPart
					game.Debris:AddItem(HitEffect,0.96)

					for i,b in pairs(HitEffect:GetChildren()) do

						if b.Name == "Ring" and b:IsA("ParticleEmitter") then

							b:Emit(1)

						end

						if b.Name == "Lines" and b:IsA("ParticleEmitter") then

							b:Emit(5)

						end

						if b.Name == "HitEffect" and b:IsA("ParticleEmitter") then

							b:Emit(1)

						end

					end

					game.Debris:AddItem(BG,0.5)
					Stu2.Parent = hit.Parent
					--Rag2.Parent = hit.Parent.Effects
					for _,L in pairs(hit.Parent:GetChildren()) do

						if L.Name == "Stun" and L:IsA("BoolValue") then

							game.Debris:AddItem(L,1.3)

						end

					end
					--game.Debris:AddItem(Rag2,1)

					game.Debris:AddItem(Hitbox,0.05) --
					StunHandler.Stun(hum,1.3)


				end
			end
		end	
	end
end)



This is Local script.


local NOJUMP = true
local rs = game:GetService("ReplicatedStorage")
local uis = game:GetService("UserInputService")
local remote = rs.Folder.Punxh1
local remote2 = rs.Folder.Punxh5
local remote4 = rs.Folder.Punxh5Air
local remote7 = rs.Folder.PunchAir2
local remote8 = rs.Folder.Cameraevents
local remote9 = rs.Folder.Cameraevents2

local CS = game:GetService("CollectionService")
local Player = game.Players.LocalPlayer
local c = Player.Character or Player.CharacterAdded:Wait()
local hrp = c:WaitForChild("HumanoidRootPart")
local combo = 1
local hum = c:WaitForChild("Humanoid")
local lasthit = 0
local cd = false
local debounce = false

c.Humanoid.Died:Connect(function()
	script.Disabled = true
end)
local Jha = game.StarterPlayer.StarterCharacterScripts.Humanoid.Humanoid.WalkSpeed
local Jha2 = game.StarterPlayer.StarterCharacterScripts.Humanoid.Humanoid.JumpPower
local canAir = false

local State = nil
local E = false
local e = false
local UIS = game:GetService("UserInputService")

local Deboounce = false

local Anim = Instance.new("Animation")
Anim.AnimationId = "rbxassetid://9363233471"



local D1234 = c:FindFirstChild("Stun")
local GB = true
local Anima = hum:LoadAnimation(Anim)

local debounce1 = false

local lfy = false




if not debounce and not c:FindFirstChild("Stun") and not lfy and cd == false and c.Effects:FindFirstChild("Ragdoll") == nil and Player.Character:FindFirstChild("Immune") == nil and not c:FindFirstChild("GuardBreak") and GB == true then
	
	
	
	

	local KK1 = true
	
	UIS.InputBegan:Connect(function(Input,IsTyping)
		if not IsTyping and not debounce then
			
			
			
			if Input.KeyCode == Enum.KeyCode.F and not debounce and not c:FindFirstChild("Stun") and not c:FindFirstChild("GuardBreak") and KK1 == true then
				
				
				--vvDD1:FireServer(Player)
				--vvDD:FireServer(Player)
				
				
				game.ReplicatedStorage.Folder.block:FireServer(Player)
				

				if c:FindFirstChild("GuardBreak") or c:FindFirstChild("Stun") then
					
					
					KK1 = false
					debounce = true

					for _,v in pairs(c:GetChildren()) do

						if v.Name == "BlockHits" then

							game.Debris:AddItem(v,0)

						end

					end

					for _,v in pairs(c.HumanoidRootPart:GetChildren()) do

						if v.Name == "UIWeld" or v.Name == "UIPart" then

							game.Debris:AddItem(v,0)

						end

					end

					--UIWeld

					wait(0.3)
					KK1 = true
					debounce = false
					
				end

			end
		end
	end)  --and not c:FindFirstChild("Stun") and not c:FindFirstChild("GuardBreak") ,GB == true and Player.Character:FindFirstChild("Immune") == nil and not c:FindFirstChild("GuardBreak")

	UIS.InputEnded:Connect(function(Input,IsTyping)
		if not IsTyping and not debounce then


			if Input.KeyCode == Enum.KeyCode.F and not c:FindFirstChild("Stun") and not c:FindFirstChild("GuardBreak") and KK1 == true and not debounce then

				KK1 = false
				debounce = true
				
				for _,v in pairs(c:GetChildren()) do
					
					if v.Name == "BlockHits" then
						
						game.Debris:AddItem(v,0)
						
					end
					
				end
				
				for _,v in pairs(c.HumanoidRootPart:GetChildren()) do

					if v.Name == "UIWeld" or v.Name == "UIPart" then

						game.Debris:AddItem(v,0)

					end

				end
				
				--UIWeld

				wait(0.3)
				KK1 = true
				debounce = false
				
			end
		end
	end)

end


hum.FreeFalling:Connect(function(isJumping)
	if isJumping then
		NOJUMP = false
	else
		NOJUMP = true
	end
end)

local CanAir = false


if not debounce and not c:FindFirstChild("Stun") and not lfy and cd == false and c:FindFirstChild("BlockHits") == nil and c.Effects:FindFirstChild("Ragdoll") == nil and not c:FindFirstChild("GuardBreak") and Player.Character:FindFirstChild("Immune") == nil then

	--game.ReplicatedStorage.Folder.DoublrKick:FireServer(Player)


	UIS.InputBegan:Connect(function(Input,Istty)
		if not Istty then
			
			if Input.KeyCode == Enum.KeyCode.E and NOJUMP == true and not debounce and not c:FindFirstChild("Stun") and not lfy and cd == false and c:FindFirstChild("BlockHits") == nil and c.Effects:FindFirstChild("Ragdoll") == nil and Player.Character:FindFirstChild("Immune") == nil then
				if combo > 1 and not debounce and c:FindFirstChild("BlockHits") == nil and NOJUMP == true and CanAir == false then
					combo = 6
					CanAir = true
					debounce = true
					wait(0.15)
					game.ReplicatedStorage.Folder.Air2:FireServer(Player)
					wait(0.05)
					debounce = false
					combo = 6
					combo = 6
					combo = 6
					combo = 6
					task.delay(0.56,function()
						
						CanAir = false
						
						
					end)
					
					
				end
			end
			
			
			if Input.UserInputType == Enum.UserInputType.MouseButton2 and not debounce and not c:FindFirstChild("Stun") and not lfy and cd == false and c:FindFirstChild("BlockHits") == nil and c.Effects:FindFirstChild("Ragdoll") == nil and Player.Character:FindFirstChild("Immune") == nil then
				if combo > 1 and not debounce and c:FindFirstChild("BlockHits") == nil then
					
					local KicksAnim = Instance.new("Animation")
					KicksAnim.AnimationId = "rbxassetid://9629309286"
					
					local DDDDDDD = true
					local DDD1 = hum:LoadAnimation(KicksAnim)
					DDD1:Play();
					debounce = true
					local CountBarrage = 0 
					hum.WalkSpeed = 3
					hum.JumpPower = 0  --:Play();
					repeat
						CountBarrage = CountBarrage + 1
						wait(0.095)
						game.ReplicatedStorage.Folder.DoublrKick:FireServer(Player)
						wait()
						if c:FindFirstChild("Stun") then
							DDD1:Stop();
							
							if c:FindFirstChild("Stun") then
								DDDDDDD = false
								DDD1:Stop();
								task.delay(1.3,function()
									
									debounce = false
									
								end)
								for i,v in pairs(c:GetChildren()) do
									if v.Name == "Stun" and v:IsA("BoolValue") then
										game.Debris:AddItem(v,0.6)
										DDDDDDD = false
									end
								end

							end


						end
						--combo = 5
					until CountBarrage >= 7 or DDDDDDD == false or debounce == false or c:FindFirstChild("Stun") or c:FindFirstChild("BlockHits") or c.Effects:FindFirstChild("Ragdoll") or c:FindFirstChild("GuardBreak")
					
					
					
					
					task.delay(0.1,function()
						DDDDDDD = true
					end)
					
					if CountBarrage >= 7 and c:FindFirstChild("Stun") == nil and not c:FindFirstChild("GuardBreak") then
						local DD2D = game.ReplicatedStorage.Folder:WaitForChild("DoublrKick2")
						wait(0.14)
						DD2D:FireServer(Player)
						remote8:FireServer(Player)
						CountBarrage = 0 
						--combo = combo + 1
						combo = 6
						hum.WalkSpeed = Jha
						hum.JumpPower = Jha2
						wait(1.756)
						debounce = false
						combo = 1
					end
					if CountBarrage >= 7 and c:FindFirstChild("Stun") then
						DDD1:Stop();
						CountBarrage = 0 
						--combo = combo + 1
						combo = 6
						hum.WalkSpeed = Jha
						hum.JumpPower = Jha2
						wait(1.756)
						debounce = false
						combo = 1
					end
					
					
					--remote:FireServer(Player)
					

				end
			end
			
			
			
			if Input.UserInputType == Enum.UserInputType.MouseButton1 and not debounce and not c:FindFirstChild("Stun") and not lfy and cd == false and c:FindFirstChild("BlockHits") == nil and c.Effects:FindFirstChild("Ragdoll") == nil and Player.Character:FindFirstChild("Immune") == nil and not c:FindFirstChild("GuardBreak") then
				
				if tick() - lasthit > 1 then
					combo = 1
				end
				lasthit = tick()
				
				
				
				
				if combo == 6 and not debounce and NOJUMP == true and CanAir == false then
					debounce = true
					hum:LoadAnimation(script:WaitForChild("A6")):Play()
					--remote2:FireServer(Player)
					game.ReplicatedStorage.Folder.Punxh6:FireServer(Player)
					remote8:FireServer(Player)
					combo = 1
					wait(1.756)
					debounce = false	
					--hum.JumpPower = Jha2
				elseif combo == 5 and not debounce and NOJUMP == true and CanAir == false then
					debounce = true
					hum:LoadAnimation(script:WaitForChild("A5")):Play()
					remote:FireServer(Player)
					combo = combo + 1
					wait(0.28)
					debounce = false
					--hum.JumpPower = Jha2
				elseif combo == 4 and not debounce and NOJUMP == true and CanAir == false then
					debounce = true
					hum:LoadAnimation(script:WaitForChild("A4")):Play()
					remote:FireServer(Player)
					combo = combo + 1
					wait(0.28)
					debounce = false
					--hum.JumpPower = Jha2
				elseif combo == 3 and not debounce and NOJUMP == true and CanAir == false then
					debounce = true
					hum:LoadAnimation(script:WaitForChild("A3")):Play()
					remote:FireServer(Player)
					combo = combo + 1
					wait(0.28)
					debounce = false
					--hum.JumpPower = Jha2
				elseif combo == 2 and not debounce and NOJUMP == true and CanAir == false then
					debounce = true
					hum:LoadAnimation(script:WaitForChild("A2")):Play()
					remote:FireServer(Player)
					combo = combo + 1
					wait(0.28)
					debounce = false
					--hum.JumpPower = Jha2
				elseif combo == 1 and not debounce and NOJUMP == true and CanAir == false then
					debounce = true
					hum:LoadAnimation(script:WaitForChild("A1")):Play()
					remote:FireServer(Player)
					combo = combo + 1
					wait(0.28)
					debounce = false
					--hum.JumpPower = Jha2
				elseif combo == 6 and not debounce and NOJUMP == false and CanAir == true then
					debounce = true
					wait(0.2)
					hum:LoadAnimation(script:WaitForChild("A6")):Play()
					game.ReplicatedStorage.Folder.Air1:FireServer(Player)
					remote8:FireServer(Player)
					CanAir = false
					combo = 1
					wait(1.756)
					debounce = false	
				elseif combo == 5 and not debounce and NOJUMP == false and CanAir == true then
					debounce = true
					wait(0.2)
					hum:LoadAnimation(script:WaitForChild("A5")):Play()
					game.ReplicatedStorage.Folder.Air1:FireServer(Player)
					remote8:FireServer(Player)
					CanAir = false
					combo = 1
					wait(1.756)
					debounce = false
				elseif combo == 4 and not debounce and NOJUMP == false and CanAir == true then
					debounce = true
					hum:LoadAnimation(script:WaitForChild("A4")):Play()
					game.ReplicatedStorage.Folder.Air1:FireServer(Player)
					remote8:FireServer(Player)
					CanAir = false
					combo = 1
					wait(1.756)
					debounce = false
				elseif combo == 3 and not debounce and NOJUMP == false and CanAir == true then
					debounce = true
					wait(0.2)
					hum:LoadAnimation(script:WaitForChild("A3")):Play()
					game.ReplicatedStorage.Folder.Air1:FireServer(Player)
					remote8:FireServer(Player)
					CanAir = false
					combo = 1
					wait(1.756)
					debounce = false
				elseif combo == 2 and not debounce and NOJUMP == false and CanAir == true then
					debounce = true
					wait(0.2)
					hum:LoadAnimation(script:WaitForChild("A2")):Play()
					game.ReplicatedStorage.Folder.Air1:FireServer(Player)
					remote8:FireServer(Player)
					CanAir = false
					combo = 1
					wait(1.756)
					debounce = false
				elseif combo == 1 and not debounce and NOJUMP == false and CanAir == true then
					debounce = true
					wait(0.2)
					hum:LoadAnimation(script:WaitForChild("A1")):Play()
					game.ReplicatedStorage.Folder.Air1:FireServer(Player)
					remote8:FireServer(Player)
					CanAir = false
					combo = 1
					wait(1.756)
					debounce = false
					
				
				end
				
			end
			
		end
	end)

end