Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- owner.Character.Humanoid.MaxHealth = math.huge
- owner.Character.Humanoid.Health = math.huge
- local div = 1
- local Tool0 = Instance.new("Tool")
- local Part1 = Instance.new("SpawnLocation")
- local Part2 = Instance.new("SpawnLocation")
- local Part3 = Instance.new("SpawnLocation")
- local SpecialMesh1 = Instance.new("SpecialMesh")
- local SpecialMesh2 = Instance.new("SpecialMesh")
- local SpecialMesh3 = Instance.new("SpecialMesh")
- Tool0.Name = "CHam"
- Tool0.ToolTip = 'Cham Means CoolScripters Hammer.'
- Tool0.Parent = owner.Backpack
- Tool0.Grip = CFrame.new(0, 0, 0, -0.076, 0, -0.997, 0, 1, 0, 0.997, 0, -0.076)
- Part1.Enabled = false
- Part1.Name = "Handle"
- Part1.Parent = Tool0
- Part1.Size = Vector3.new(1.985, 3.503, 0.57)/div
- Part1.Massless = true
- Part2.Enabled = false
- Part2.Name = "Blade"
- Part2.Color = Color3.fromRGB(255,0,0)
- Part2.Material = "Neon"
- Part2.Parent = Part1
- Part2.Massless = true
- Part2.Size = Vector3.new(2.078, 5.316, 0.412)/div
- Part2.CanCollide = false
- Part3.Enabled = false
- Part3.Name = "Inner Blade"
- Part3.Parent = Part1
- Part3.Color = Color3.fromRGB(255,0,0)
- Part3.Material = "ForceField"
- Part3.Size = Vector3.new(1.933, 5.316, 0.267)/div
- Part3.Massless = true
- Part3.CanCollide = false
- SpecialMesh1.Parent = Part1
- SpecialMesh1.MeshId = "rbxassetid://10604848"
- SpecialMesh1.Scale = Vector3.new(1, 1, 1)/div
- SpecialMesh1.TextureId = "rbxassetid://10605252"
- SpecialMesh1.MeshType = Enum.MeshType.FileMesh
- SpecialMesh2.Parent = Part2
- SpecialMesh2.MeshId = "rbxassetid://0"
- SpecialMesh2.Scale = Vector3.new(.099,.099,.099)/div
- SpecialMesh2.TextureId = "rbxassetid://0"
- SpecialMesh2.MeshType = Enum.MeshType.FileMesh
- SpecialMesh3.Parent = Part3
- SpecialMesh3.MeshId = "rbxassetid://0"
- SpecialMesh3.Scale = Vector3.new(.092,.099,.064)/div
- SpecialMesh3.TextureId = "rbxassetid://0"
- SpecialMesh3.MeshType = Enum.MeshType.FileMesh
- local Blade6D = Instance.new("Motor6D" , Part1)
- Blade6D.Part0 = Part1
- Blade6D.Part1 = Part2
- Blade6D.C0 = CFrame.new(-0.006/div, 3.658/div, -0.012/div)
- local InnerBlade6D = Instance.new("Motor6D" , Part1)
- InnerBlade6D.Part0 = Part1
- InnerBlade6D.Part1 = Part3
- InnerBlade6D.C0 = CFrame.new(-0.006/div, 3.658/div, -0.012/div)
- local pl1 = Instance.new("PointLight" , Part2)
- pl1.Color = Color3.fromRGB(0)
- pl1.Brightness = 13.45
- pl1.Range = 7.4
- pl1.Shadows = false
- local pl2 = Instance.new("PointLight" , Part2)
- pl2.Color = Color3.fromRGB(0)
- pl2.Brightness = .7
- pl2.Range = 10
- pl2.Shadows = true
- local stab = Instance.new("Sound" , owner.Character.Head)
- stab.SoundId = 'rbxassetid://256382824'
- stab.Volume = 2
- local whoosh = Instance.new("Sound" , owner.Character.Head)
- whoosh.SoundId = 'rbxassetid://546410481'
- whoosh.Volume = 1.25
- local theme = Instance.new("Sound" , owner.Character.Head)
- theme.SoundId = 'rbxassetid://1539245059'
- theme.Volume = 1.25
- theme.Looped = true
- theme.Pitch = 1.1
- local fatality = Instance.new("Sound" , owner.Character.Head)
- fatality.SoundId = 'rbxassetid://0'
- fatality.Volume = 3
- local gorefx = Instance.new("Sound" , owner.Character.Head)
- gorefx.SoundId = 'rbxassetid://0'
- gorefx.Volume = 1.25
- local at0 = Instance.new("Attachment" , Part2)
- at0.Position = Vector3.new(0,2.5,0)
- local at1 = Instance.new("Attachment" , Part2)
- at1.Position = Vector3.new(0,-2.5,0)
- local trl2 = Instance.new("Trail" , Part2)
- trl2.Attachment0 = at0
- trl2.Attachment1 = at1
- trl2.Lifetime = 0
- trl2.Brightness = 0
- trl2.WidthScale = NumberSequence.new(1,0)
- trl2.Enabled = false
- local move = 1
- local anim = Instance.new("Animation")
- anim.AnimationId = "rbxassetid://218504594"
- local slash1 = owner.Character.Humanoid:LoadAnimation(anim)
- local anim = Instance.new("Animation")
- anim.AnimationId = "rbxassetid://218508052"
- local slash2 = owner.Character.Humanoid:LoadAnimation(anim)
- local anim = Instance.new("Animation")
- anim.AnimationId = "rbxassetid://94160581"
- local equip = owner.Character.Humanoid:LoadAnimation(anim)
- local anim = Instance.new("Animation")
- anim.AnimationId = "rbxassetid://96065457"
- local equip2 = owner.Character.Humanoid:LoadAnimation(anim)
- Tool0.Equipped:Connect(function()
- theme:Resume()
- equip:Play()
- equip:AdjustSpeed(2.25)
- task.wait(.25)
- equip2:Play()
- end)
- local swinging = false
- local swinging2 = false
- Tool0.Unequipped:Connect(function()
- theme:Pause()
- equip2:Stop()
- end)
- local db = false
- local cd = 1.5
- Tool0.Activated:Connect(function()
- if move == 1 then
- move = 2
- swinging = true
- whoosh:Play()
- Tool0.Enabled = false
- trl2.Enabled = true
- slash1:Play()
- slash1:AdjustSpeed(2.5)
- coroutine.wrap(function()
- task.wait(cd)
- Tool0.Enabled = true
- end)()
- task.wait(.75)
- swinging = false
- trl2.Enabled = false
- elseif move == 2 then
- move = 1
- swinging2 = true
- whoosh:Play()
- Tool0.Enabled = false
- trl2.Enabled = true
- slash2:Play()
- slash2:AdjustSpeed(3.25)
- coroutine.wrap(function()
- task.wait(cd)
- Tool0.Enabled = true
- end)()
- task.wait(.75)
- swinging2 = false
- trl2.Enabled = false
- end
- end)
- local smooth=function(P)
- local SM=Enum.SurfaceType.SmoothNoOutlines
- P.TopSurface=SM
- P.BottomSurface=SM
- P.RightSurface=SM
- P.LeftSurface=SM
- P.FrontSurface=SM
- P.BackSurface=SM
- end
- local function blood(guy, amount)
- local M=math.random
- local R=math.rad
- local rates={0.01,0.015,0.01,0.1}
- local function BloodPool(Part,Size)
- local Pool=Instance.new("SpawnLocation",workspace)
- Pool.Enabled = false
- Pool.TopSurface=0
- Pool.CanCollide=false
- Pool.BrickColor=BrickColor.new("Dark red")
- local SphereMesh=Instance.new("SpecialMesh",Pool)
- SphereMesh.MeshType = ("Sphere")
- Pool.Anchored=true
- Pool.Name="BloodPoolPart"
- smooth(Pool)
- Pool.FormFactor=Enum.FormFactor.Custom
- Pool.Size=Size
- Pool.Transparency = 0.3
- Pool.Reflectance = 0
- Pool.Material = ("Glass")
- local c = Part.CFrame*CFrame.new(M(-3.01,3.01),-2.9,M(-3.01,3.01))
- coroutine.resume(coroutine.create(function()
- local rate=rates[M(1,#rates)]
- game:GetService("Debris"):AddItem(Pool,10)
- for i=1,M(25,70) do
- wait()
- Pool.CFrame=c
- Pool.Size=Pool.Size+Vector3.new(rate,0,rate)
- end
- wait(5)
- Pool:Destroy()
- end))
- end
- local function BloodDrops(Size,Area)
- local Blood=Instance.new("SpawnLocation",workspace)
- Blood.Enabled = false
- local DripMesh=Instance.new("SpecialMesh",Blood)
- DripMesh.MeshType = ("Sphere")
- Blood.BrickColor=BrickColor.new("Crimson")
- Blood.TopSurface=0
- Blood.CanCollide=false
- Blood.Anchored=false
- Blood.FormFactor=Enum.FormFactor.Custom
- Blood.Size=Size
- Blood.CFrame=Area*CFrame.new(M(-1.00,1.00),M(-1.00,1.00),M(-1.00,1.00))
- Blood.Transparency = 0.2
- Blood.Reflectance = 0.2
- return Blood
- end
- for i=1, amount do
- local Size=Vector3.new(M(-0.25,0.25),.2,M(-.25,.25))
- local Blood=BloodDrops(Size,guy.CFrame)
- local Size2=Vector3.new(M(-.25,.25),.2,M(-.25,.25))
- BloodPool(guy,Size2)
- end
- end
- local function bloodeffects(guy)
- local i = 0
- coroutine.wrap(function()
- pcall(function()
- repeat task.wait(.05)
- i = i + 1
- if guy ~= nil then
- local t = .85
- local cf = guy.CFrame
- local g = Vector3.new(0, -workspace.Gravity/1.5, 0);
- local x0 = cf * Vector3.new(0,1,0)
- local v0 = (CFrame.new(cf.X + math.random(-8,8),0,cf.Z + math.random(-8,8)).p - x0 - 0.5*g*t*t)/t;
- local Blood=Instance.new("SpawnLocation",workspace) game:GetService("Debris"):AddItem(Blood, 8)
- Blood.Enabled = false
- local DripMesh=Instance.new("SpecialMesh",Blood)
- DripMesh.MeshType = ("Sphere")
- Blood.BrickColor=BrickColor.new("Maroon")
- Blood.TopSurface=0
- smooth(Blood)
- Blood.CanCollide=false
- Blood.Anchored=true
- Blood.Material = "Glass"
- local rand = math.random(1,5)/10
- Blood.FormFactor=Enum.FormFactor.Custom
- Blood.Size = Vector3.new(rand,.2,rand)
- Blood.CFrame = cf
- Blood.Reflectance = 0.1
- local at0 = Instance.new("Attachment" , Blood)
- at0.Position = Vector3.new(0,.25,0)
- local at1 = Instance.new("Attachment" , Blood)
- at1.Position = Vector3.new(0,-.25,0)
- local trl2 = Instance.new("Trail" , Blood)
- trl2.Attachment0 = at0
- trl2.Attachment1 = at1
- trl2.Color = ColorSequence.new(BrickColor.new("Crimson").Color, BrickColor.new("Crimson").Color)
- trl2.Lifetime = .5
- trl2.WidthScale = NumberSequence.new(1,0)
- local nt = 0;
- coroutine.wrap(function()
- while (nt < t) do
- pcall(function()
- game:GetService("RunService").Stepped:Wait()
- Blood.CFrame = CFrame.new(0.5*g*nt*nt + v0*nt + x0);
- nt = nt + game:GetService("RunService").Heartbeat:Wait();
- end)
- end
- Blood.CFrame = CFrame.new(Blood.CFrame.X,0,Blood.CFrame.Z)
- end)()
- end
- until i == 75
- end)
- end)()
- end
- Part2.Touched:Connect(function(hit)
- if hit:FindFirstAncestorOfClass("Model") and hit:FindFirstAncestorOfClass("Model") ~= owner.Character and hit:FindFirstAncestorOfClass("Model"):FindFirstChildOfClass("Humanoid") and (swinging == true or swinging2 == true) and db == false and hit:FindFirstAncestorOfClass("Model"):FindFirstChildOfClass("Humanoid").Health ~= 500 then
- db = true
- stab:Play()
- local tors = hit:FindFirstAncestorOfClass("Model"):FindFirstChild("Torso") or hit:FindFirstAncestorOfClass("Model"):FindFirstChild("HumanoidRootPart")
- local chance = math.random(1, 2)
- if chance == 1 then
- blood(tors, math.random(1,5))
- end
- hit:FindFirstAncestorOfClass("Model"):FindFirstChildOfClass("Humanoid").Health = hit:FindFirstAncestorOfClass("Model"):FindFirstChildOfClass("Humanoid").Health - math.random(100, 110)
- local rand = math.random(1, 12)
- if rand == 1 then
- fatality:Play()
- gorefx:Play()
- hit:FindFirstAncestorOfClass("Model"):FindFirstChildOfClass("Humanoid").BreakJointsOnDeath = false
- hit:FindFirstAncestorOfClass("Model").Head:BreakJoints()
- hit:FindFirstAncestorOfClass("Model").Head.CanCollide = true
- hit:FindFirstAncestorOfClass("Model").Head.Massless = true
- hit:FindFirstAncestorOfClass("Model").Head.Velocity = Vector3.new(0,60,5)
- local at0 = Instance.new("Attachment" , hit:FindFirstAncestorOfClass("Model").Head)
- at0.Position = Vector3.new(0,.5,0)
- local at1 = Instance.new("Attachment" , hit:FindFirstAncestorOfClass("Model").Head)
- at1.Position = Vector3.new(0,-.5,0)
- local trl2 = Instance.new("Trail" , hit:FindFirstAncestorOfClass("Model").Head)
- trl2.Attachment0 = at0
- trl2.Attachment1 = at1
- trl2.Color = ColorSequence.new(BrickColor.new("Crimson").Color, BrickColor.new("Crimson").Color)
- trl2.Lifetime = .5
- trl2.WidthScale = NumberSequence.new(1,0)
- local Blood=Instance.new("SpawnLocation",hit:FindFirstAncestorOfClass("Model"))
- Blood.Enabled = false
- local DripMesh=Instance.new("SpecialMesh",Blood)
- DripMesh.MeshType = ("Sphere")
- Blood.BrickColor=BrickColor.new("Maroon")
- Blood.TopSurface=0
- smooth(Blood)
- Blood.CanCollide=false
- Blood.Material = "Glass"
- local rand = .25
- Blood.FormFactor=Enum.FormFactor.Custom
- Blood.Size = Vector3.new(rand,.3,rand)
- Blood.Reflectance = 0.1
- local w = Instance.new("Weld" , Blood)
- w.Part0 = Blood
- w.Part1 = tors
- w.C1 = CFrame.new(0,1,0)
- bloodeffects(tors)
- blood(tors, math.random(1,5))
- end
- if hit:FindFirstAncestorOfClass("Model"):FindFirstChildOfClass("Humanoid").Health <= 3 then
- hit:FindFirstAncestorOfClass("Model"):FindFirstChildOfClass("Humanoid").BreakJointsOnDeath = false
- hit:FindFirstAncestorOfClass("Model").Head:BreakJoints()
- hit:FindFirstAncestorOfClass("Model").Head.CanCollide = true
- hit:FindFirstAncestorOfClass("Model").Head.Massless = true
- hit:FindFirstAncestorOfClass("Model").Head.Velocity = Vector3.new(0,60,5)
- local at0 = Instance.new("Attachment" , hit:FindFirstAncestorOfClass("Model").Head)
- at0.Position = Vector3.new(0,.5,0)
- local at1 = Instance.new("Attachment" , hit:FindFirstAncestorOfClass("Model").Head)
- at1.Position = Vector3.new(0,-.5,0)
- local trl2 = Instance.new("Trail" , hit:FindFirstAncestorOfClass("Model").Head)
- trl2.Attachment0 = at0
- trl2.Attachment1 = at1
- trl2.Color = ColorSequence.new(BrickColor.new("Crimson").Color, BrickColor.new("Crimson").Color)
- trl2.Lifetime = .5
- trl2.WidthScale = NumberSequence.new(1,0)
- gorefx:Play()
- local Blood=Instance.new("SpawnLocation",hit:FindFirstAncestorOfClass("Model"))
- Blood.Enabled = false
- local DripMesh=Instance.new("SpecialMesh",Blood)
- DripMesh.MeshType = ("Sphere")
- Blood.BrickColor=BrickColor.new("Maroon")
- Blood.TopSurface=0
- smooth(Blood)
- Blood.CanCollide=false
- Blood.Material = "Glass"
- local rand = .25
- Blood.FormFactor=Enum.FormFactor.Custom
- Blood.Size = Vector3.new(rand,.3,rand)
- Blood.Reflectance = 0.1
- local w = Instance.new("Weld" , Blood)
- w.Part0 = Blood
- w.Part1 = tors
- w.C1 = CFrame.new(0,1,0)
- bloodeffects(tors)
- blood(tors, math.random(1,5))
- end
- task.wait(.125)
- db = false
- end
- end)
Add Comment
Please, Sign In to add comment