Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plr = owner
- local char = plr.Character
- local torso = char:FindFirstChild("Torso") or char:FindFirstChild("HumanoidRootPart")
- Tool0 = Instance.new("Tool")
- Part1 = Instance.new("Part")
- SpecialMesh2 = Instance.new("SpecialMesh")
- Tool0.Name = "BanHammar"
- Tool0.Parent = plr.Backpack
- Tool0.TextureId = "http://www.roblox.com/asset/?id=10684453"
- Tool0.Grip = CFrame.new(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Tool0.GripPos = Vector3.new(0, -1, 0)
- Part1.Name = "Handle"
- Part1.Parent = Tool0
- Part1.CFrame = CFrame.new(-22.43046, 2.26852894, -68.1637268, -9.28728914e-05, -0.677499533, -0.735523343, 0.0380967073, 0.734986424, -0.677010179, 0.999273837, -0.0280841347, 0.0257421304)
- Part1.Orientation = Vector3.new(42.6100006, -88, 2.97000003)
- Part1.Position = Vector3.new(-22.43046, 2.26852894, -68.1637268)
- Part1.Rotation = Vector3.new(87.8199997, -47.3499985, 90.0100021)
- Part1.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part1.Size = Vector3.new(1.7, 5.2, 2.9)
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.BrickColor = BrickColor.new("Dark stone grey")
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.brickColor = BrickColor.new("Dark stone grey")
- Part1.FormFactor = Enum.FormFactor.Plate
- Part1.formFactor = Enum.FormFactor.Plate
- SpecialMesh2.Parent = Part1
- SpecialMesh2.MeshId = "http://www.roblox.com/asset/?id=10604848"
- SpecialMesh2.Scale = Vector3.new(0.5, 0.5, 0.5)
- SpecialMesh2.TextureId = "http://www.roblox.com/asset/?id=10605252"
- SpecialMesh2.MeshType = Enum.MeshType.FileMesh
- local handle = Tool0.Handle
- local slap = Instance.new("Sound")
- slap.Parent = Part1
- slap.SoundId = "rbxassetid://155363126"
- slap.Volume = .5
- local equipped = false
- local using = false
- handle.Touched:Connect(function(obj)
- if using then else return end
- local targchar,targtorso,targhum
- pcall(function()
- targchar = obj.Parent
- end)
- pcall(function()
- targtorso = targchar:FindFirstChild("Torso") or targchar:FindFirstChild("HumanoidRootPart") or targchar:FindFirstChild("Head")
- end)
- pcall(function()
- targhum = targchar:FindFirstChildOfClass("Humanoid")
- end)
- if targchar and not obj:IsDescendantOf(char) and targtorso and targhum and not targhum:FindFirstChild("Got hit with KrY's Hammer") then
- local tempval = Instance.new("IntValue")
- tempval.Parent = targhum
- tempval.Name = "Got hit with KrY's Hammer"
- local fire = Instance.new("Fire")
- fire.Parent = targtorso
- local att1,att2 = Instance.new("Attachment"),Instance.new("Attachment")
- att1.Position = Vector3.new(0,-targtorso.Size.Y/2,0)
- att2.Position = Vector3.new(0,targtorso.Size.Y/2,0)
- att1.Parent = targtorso
- att2.Parent = targtorso
- local trail = Instance.new("Trail")
- trail.Attachment0 = att1
- trail.Attachment1 = att2
- trail.Parent = targtorso
- local force = Instance.new("BodyVelocity")
- force.Parent = targtorso
- force.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- force.Velocity = torso.CFrame.lookVector*300+Vector3.new(0,100,0)
- local or_force = Instance.new("BodyAngularVelocity")
- or_force.Parent = targtorso
- or_force.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
- or_force.P = math.huge
- or_force.AngularVelocity = Vector3.new(math.random(-360,360),math.random(-360,360),math.random(-360,360)) --torso.CFrame.lookVector*1000+Vector3.new(0,100,0)
- game:GetService("Debris"):AddItem(force,0.5)
- --game:GetService("Debris"):AddItem(tempval,2)
- game:GetService("Debris"):AddItem(or_force,0.5)
- slap:Play()
- wait(1)
- local ss = {4953187368,4953187704}
- local exp_gore = Instance.new("Sound")
- exp_gore.SoundId = "rbxassetid://" .. ss[math.random(1,#ss)]
- exp_gore.Volume = 10
- exp_gore.Parent = targtorso
- exp_gore:Play()
- local pe = Instance.new("ParticleEmitter")
- pe.Speed = NumberRange.new(100, 100)
- pe.Color = ColorSequence.new({
- ColorSequenceKeypoint.new(0,Color3.new(1, 0, 0)),
- ColorSequenceKeypoint.new(0.5,Color3.new(1, 0.33333, 0)),
- ColorSequenceKeypoint.new(1,Color3.new(1, 1, 1)),
- })
- pe.LightEmission = 0.80000001192093
- pe.Texture = "rbxassetid://162359401"
- pe.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0,0),
- NumberSequenceKeypoint.new(0.0264,10),
- NumberSequenceKeypoint.new(0.775,10),
- NumberSequenceKeypoint.new(0.949,4),
- NumberSequenceKeypoint.new(1,4),
- })
- --pe.Drag = 0.60000002384186
- pe.Lifetime = NumberRange.new(1, 2)
- pe.Rate = 150
- pe.SpreadAngle = Vector2.new(90, 90)
- pe.VelocitySpread = 90
- pe.Parent = targtorso
- spawn(function()
- pe.Enabled = true
- wait(0.5)
- pe.Enabled = false
- game:GetService("Debris"):AddItem(pe,3)
- end)
- local ex = Instance.new("Explosion")
- ex.Position = targtorso.Position
- ex.BlastPressure = 100000
- ex.BlastRadius = 100
- ex.DestroyJointRadiusPercent = 1
- ex.Visible = true
- ex.Position = targtorso.Position
- ex.Parent = targtorso
- wait(2)
- targchar:BreakJoints()
- end
- end)
- Tool0.Equipped:Connect(function()
- pcall(function()
- char = Tool0.Parent
- end)
- pcall(function()
- plr = game:GetService("Players"):GetPlayerFromCharacter(char)
- end)
- pcall(function()
- torso = char:FindFirstChild("Torso") or char:FindFirstChild("HumanoidRootPart")
- end)
- if plr and char and torso then else Tool0.Parent = workspace; return; end
- equipped = true
- end)
- Tool0.Unequipped:Connect(function()
- equipped = false
- end)
- Tool0.Activated:Connect(function()
- using = true
- game:GetService("TweenService"):Create(Tool0,TweenInfo.new(0.1),{Grip = CFrame.new(0, -0.87482065, -0.177019119, 1, 0, 0, 0, -4.37113883e-08, -1, 0, 1, -4.37113883e-08)}):Play()
- wait(0.3)
- game:GetService("TweenService"):Create(Tool0,TweenInfo.new(0.2),{Grip = CFrame.new(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)}):Play()
- using = false
- end)
Add Comment
Please, Sign In to add comment