debris=game:GetService("\068\101\098\114\105\115")r=game:service("\082\117\110\083\101\114\118\105\099\101")local b=15 local y=15 sword=script.Parent.Handle Tool=script.Parent local V=Instance.new("\083\111\117\110\100")V.SoundId="\114\098\120\097\115\115\101\116\058\047\047\115\111\117\110\100\115\092\115\119\111\114\100\115\108\097\115\104\046\119\097\118"V.Parent=sword V.Volume=1 local S=Instance.new("\083\111\117\110\100")S.SoundId="\114\098\120\097\115\115\101\116\058\047\047\115\111\117\110\100\115\092\117\110\115\104\101\097\116\104\046\119\097\118"S.Parent=sword S.Volume=1 local X=Instance.new("\083\111\117\110\100")X.SoundId="\104\116\116\112\058\047\047\119\119\119\046\114\111\098\108\111\120\046\099\111\109\047\097\115\115\101\116\047\063\105\100\061\049\054\052\051\051\050\056\057"X.Parent=sword X.Volume=1 function isTurbo(b)return b:FindFirstChild("\082\105\100\100\108\105\110\103\083\107\117\108\108")~=nil end function blow(y)local V=y.Parent:findFirstChild("\072\117\109\097\110\111\105\100")local S=Tool.Parent local X=game.Players:playerFromCharacter(S)local U=S:findFirstChild("\072\117\109\097\110\111\105\100")if V~=nil and(V~=U and U~=nil)then local y=S:FindFirstChild("\082\105\103\104\116 \065\114\109")if y~=nil then local U=y:FindFirstChild("\082\105\103\104\116\071\114\105\112")if U~=nil and(U.Part0==sword or U.Part1==sword)then if V.Health>b and V.Health>0 then tagHumanoid(V,X)V:TakeDamage(b)else DarkKill(V.Parent,V,X,S)end end end end end function DarkKill(b,y,V,S)if b:FindFirstChild("\070\111\114\099\101\070\105\101\108\100")~=nil then return end X:Play()local U=b:GetChildren()local G={}tagHumanoid(y,V)y.Health=0 for b=1,#U,1 do if U[b].className=="\080\097\114\116"then G[b]=U[b].BrickColor U[b].BrickColor=BrickColor.new(26)U[b].CanCollide=true U[b].Anchored=true end if U[b].Name=="\072\101\097\100"then local y=U[b]:FindFirstChild("\077\101\115\104")if y~=nil then y:Remove()end;(script.SkullMesh:Clone()).Parent=U[b]U[b].Anchored=false end end wait(.25)local L=1 if isTurbo(S)==true then L=3 end for b=1,#U,1 do if U[b].className=="\080\097\114\116"and U[b].Name~="\072\101\097\100"then for y=0,L,1 do local V=Instance.new("\080\097\114\116")V.formFactor=2 V.Size=Vector3.new(1,.4,1)V.BrickColor=BrickColor.new(26)V.Material=Enum.Material.Concrete V.TopSurface=0 V.BottomSurface=0 V.CFrame=U[b].CFrame+Vector3.new(0,y,0)U[b]:Remove()V.Parent=game.Workspace debris:AddItem(V,60)end end end end function tagHumanoid(b,y)local V=Instance.new("\079\098\106\101\099\116\086\097\108\117\101")V.Value=y V.Name="\099\114\101\097\116\111\114"V.Parent=b debris:AddItem(V,1)end function attack()b=y V:play()local S=Instance.new("\083\116\114\105\110\103\086\097\108\117\101")S.Name="\116\111\111\108\097\110\105\109"S.Value="\083\108\097\115\104"S.Parent=Tool end function swordUp()Tool.GripForward=Vector3.new(-1,0,0)Tool.GripRight=Vector3.new(0,1,0)Tool.GripUp=Vector3.new(0,0,1)end function swordOut()Tool.GripForward=Vector3.new(0,0,1)Tool.GripRight=Vector3.new(0,-1,0)Tool.GripUp=Vector3.new(-1,0,0)end Tool.Enabled=true function onActivated()if not Tool.Enabled then return end Tool.Enabled=false local b=Tool.Parent local V=b.Humanoid if V==nil then print("\072\117\109\097\110\111\105\100 \110\111\116 \102\111\117\110\100")return end if isTurbo(b)==true then y=20 else y=15 end attack()wait(1)Tool.Enabled=true end function onEquipped()S:play()end script.Parent.Activated:connect(onActivated)script.Parent.Equipped:connect(onEquipped)connection=sword.Touched:connect(blow)
-------- OMG HAX
debris = game:GetService("Debris")
r = game:service("RunService")

local damage = 15

local slash_damage = 15

sword = script.Parent.Handle
Tool = script.Parent

local SlashSound = Instance.new("Sound")
SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
SlashSound.Parent = sword
SlashSound.Volume = 1

local UnsheathSound = Instance.new("Sound")
UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
UnsheathSound.Parent = sword
UnsheathSound.Volume = 1

local DustSound = Instance.new("Sound")
DustSound.SoundId = "http://www.roblox.com/asset/?id=16433289"
DustSound.Parent = sword
DustSound.Volume = 1

function isTurbo(character)
	return character:FindFirstChild("RiddlingSkull") ~= nil
end

function blow(hit)
	local humanoid = hit.Parent:findFirstChild("Humanoid")
	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 ~= nil and humanoid ~= hum and hum ~= nil then
		-- final check, make sure sword is in-hand

		local right_arm = vCharacter:FindFirstChild("Right Arm")
		if right_arm ~= nil then
			local joint = right_arm:FindFirstChild("RightGrip")
			if joint ~= nil and (joint.Part0 == sword or joint.Part1 == sword) then
				if humanoid.Health > damage and humanoid.Health > 0 then
					tagHumanoid(humanoid, vPlayer)
					humanoid:TakeDamage(damage)
				else
					DarkKill(humanoid.Parent, humanoid, vPlayer, vCharacter)
				end
			end
		end
	end
end

function DarkKill(character, humanoid, attacker, vChar)
	if character:FindFirstChild("ForceField") ~= nil then
		return
	end

	DustSound:Play()

	local childs = character:GetChildren()

	local colors = {}

	tagHumanoid(humanoid, attacker)
	humanoid.Health = 0

	for i = 1, #childs do
		if childs[i].className == "Part" then
			colors[i] = childs[i].BrickColor
			childs[i].BrickColor = BrickColor.new(26)
			childs[i].CanCollide = true
			childs[i].Anchored = true
		end
		if childs[i].Name == "Head" then
			local m = childs[i]:FindFirstChild("Mesh")
			if m ~= nil then
				m:Remove()
			end
			script.SkullMesh:Clone().Parent = childs[i]
			childs[i].Anchored = false
		end
	end

	wait(0.25)
	local limit = 1
	if isTurbo(vChar) == true then
		limit = 3
	end

	for i = 1, #childs do
		if childs[i].className == "Part" and childs[i].Name ~= "Head" then
			for n = 0, limit do
				local p = Instance.new("Part")
				p.formFactor = 2
				p.Size = Vector3.new(1, 0.4, 1)
				p.BrickColor = BrickColor.new(26)
				p.Material = Enum.Material.Concrete
				p.TopSurface = 0
				p.BottomSurface = 0
				p.CFrame = childs[i].CFrame + Vector3.new(0, n, 0)
				childs[i]:Remove()
				p.Parent = game.Workspace
				debris:AddItem(p, 60)
			end
		end
	end
end

function tagHumanoid(humanoid, player)
	local creator_tag = Instance.new("ObjectValue")
	creator_tag.Value = player
	creator_tag.Name = "creator"
	creator_tag.Parent = humanoid
	debris:AddItem(creator_tag, 1)
end

function attack()
	damage = slash_damage
	SlashSound:play()
	local anim = Instance.new("StringValue")
	anim.Name = "toolanim"
	anim.Value = "Slash"
	anim.Parent = Tool
end

function swordUp()
	Tool.GripForward = Vector3.new(-1, 0, 0)
	Tool.GripRight = Vector3.new(0, 1, 0)
	Tool.GripUp = Vector3.new(0, 0, 1)
end

function swordOut()
	Tool.GripForward = Vector3.new(0, 0, 1)
	Tool.GripRight = Vector3.new(0, -1, 0)
	Tool.GripUp = Vector3.new(-1, 0, 0)
end

Tool.Enabled = true

function onActivated()
	if not Tool.Enabled then
		return
	end

	Tool.Enabled = false

	local character = Tool.Parent
	local humanoid = character.Humanoid
	if humanoid == nil then
		print("Humanoid not found")
		return
	end

	if isTurbo(character) == true then
		slash_damage = 20
	else
		slash_damage = 15
	end

	attack()

	wait(1)

	Tool.Enabled = true
end

function onEquipped()
	UnsheathSound:play()
end

script.Parent.Activated:connect(onActivated)
script.Parent.Equipped:connect(onEquipped)

connection = sword.Touched:connect(blow)
