local T=script:WaitForChild("\083\111\117\110\100")local E=script:WaitForChild("\083\111\117\110\100\049")local i=script:WaitForChild("\119\105\110\100")UIS.InputBegan:Connect(function(T)if T.UserInputType==Enum.UserInputType.MouseButton1 and(Debounce==1 and(Tool.Equip.Value==true and Tool.Active.Value=="\078\111\110\101"))then Debounce=2 local T=plr.Character.Humanoid:LoadAnimation(script.A1)T:Play()for T=1,math.huge,1 do if Debounce==2 then plr.Character.HumanoidRootPart.Anchored=true else break end wait()end T:Stop()end end)UIS.InputEnded:Connect(function(C)if C.UserInputType==Enum.UserInputType.MouseButton1 and(Debounce==2 and(Tool.Equip.Value==true and Tool.Active.Value=="\078\111\110\101"))then Debounce=3 local C=Mouse.Hit local W=plr.Character.Humanoid:LoadAnimation(script.A2)W:Play()wait(0)script.RemoteEvent:FireServer()T:Play()E:Play()wait(3)i:Play()wait(3)i:Stop()wait()plr.Character.HumanoidRootPart.Anchored=false wait(.5)Tool.Active.Value="\078\111\110\101"wait(3)T:Stop()Debounce=1 end end)

local Sound = script:WaitForChild("Sound")
local Sound1 = script:WaitForChild("Sound1")
local Sound2 = script:WaitForChild("wind")

UIS.InputBegan:Connect(function(Input)
	if Input.UserInputType == Enum.UserInputType.MouseButton1 and Debounce == 1 and Tool.Equip.Value == true and Tool.Active.Value == "None" then
		Debounce = 2

		local Track1 = plr.Character.Humanoid:LoadAnimation(script.A1)
		Track1:Play()
		for i = 1,math.huge do
			if Debounce == 2 then


				
				plr.Character.HumanoidRootPart.Anchored = true

			
			else
				
				break
				end
			wait()
			
		end
		Track1:Stop()
	end
end)

UIS.InputEnded:Connect(function(Input)
	if Input.UserInputType == Enum.UserInputType.MouseButton1 and Debounce == 2 and Tool.Equip.Value == true and Tool.Active.Value == "None" then
		Debounce = 3
		local mousepos = Mouse.Hit
		local Track2 = plr.Character.Humanoid:LoadAnimation(script.A2)
		Track2:Play()
		
		
		wait(0)
		script.RemoteEvent:FireServer()
		Sound:Play()
		Sound1:Play()
		wait(3)
		Sound2:Play()
		wait(3)
		Sound2:Stop()
		
		wait()
		plr.Character.HumanoidRootPart.Anchored = false
		wait(.5)
		Tool.Active.Value = "None"
		wait(3)
		Sound:Stop()
		Debounce = 1
	end
end)
