local a=true local R=script.Parent function onKeyDown(y)y:lower()if y=="\118"then if a==false then return end R.Melee:play()a=false local y=R.Parent["\082\105\103\104\116 \065\114\109"].RightGrip script.melee.Value=true for a=1,6,1 do y.C1=y.C1*CFrame.fromEulerAnglesXYZ(-0.55,0,0)wait()end wait(.25)for a=1,6,1 do y.C1=y.C1*CFrame.fromEulerAnglesXYZ(.55,0,0)wait()end script.melee.Value=false wait(.5)a=true end end function onSelect(a)a.KeyDown:connect(onKeyDown)end function blow(a)local R=a.Parent:findFirstChild("\072\117\109\097\110\111\105\100")if not R then return end local y=Tool.Parent local k=game.Players:playerFromCharacter(y)local z=y:findFirstChild("\072\117\109\097\110\111\105\100")if R~=z and(z~=nil and(game.Players:playerFromCharacter(R.Parent)and(game.Players:playerFromCharacter(R.Parent)).TeamColor~=cc))then tagHumanoid(R,k)R:TakeDamage(35)wait(1)untagHumanoid(R)end end R.Equipped:connect(onSelect)
--[[

Dax,

See the MeleeScript.

]]

local canmelee = true
local tool = script.Parent

function onKeyDown(key)
	key:lower()
	if key == "v" then
		if canmelee == false then
			return
		end

		tool.Melee:play()

		canmelee = false

		local rgrip = tool.Parent["Right Arm"].RightGrip

		script.melee.Value = true

		for i = 1, 6 do
			rgrip.C1 = rgrip.C1 * CFrame.fromEulerAnglesXYZ(-0.55, 0, 0)
			wait()
		end

		wait(0.25)

		for i = 1, 6 do
			rgrip.C1 = rgrip.C1 * CFrame.fromEulerAnglesXYZ(0.55, 0, 0)
			wait()
		end

		script.melee.Value = false

		wait(0.5)

		canmelee = true
	end
end

function onSelect(mouse)
	mouse.KeyDown:connect(onKeyDown)
end

function blow(hit)
	local humanoid = hit.Parent:findFirstChild("Humanoid")
	if not humanoid then
		return
	end
	local vCharacter = Tool.Parent
	local vPlayer = game.Players:playerFromCharacter(vCharacter)
	local hum = vCharacter:findFirstChild("Humanoid") -- non-nil if tool held by a character
	if
		humanoid ~= hum
		and hum ~= nil
		and game.Players:playerFromCharacter(humanoid.Parent)
		and game.Players:playerFromCharacter(humanoid.Parent).TeamColor ~= cc
	then
		tagHumanoid(humanoid, vPlayer)
		humanoid:TakeDamage(35)
		wait(1)
		untagHumanoid(humanoid)
	end
end

tool.Equipped:connect(onSelect)
