Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ----dont leak please
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Tool0 = Instance.new("Tool")
- Part1 = Instance.new("Part")
- SpecialMesh2 = Instance.new("SpecialMesh")
- Decal3 = Instance.new("Decal")
- Decal4 = Instance.new("Decal")
- Fire5 = Instance.new("Fire")
- ParticleEmitter6 = Instance.new("ParticleEmitter")
- Animation7 = Instance.new("Animation")
- LocalScript8 = Instance.new("LocalScript")
- Sound9 = Instance.new("Sound")
- DistortionSoundEffect10 = Instance.new("DistortionSoundEffect")
- Camera11 = Instance.new("Camera")
- Tool0.Name = "00f hammer"
- Tool0.Parent = mas
- 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(20.3991413, 2.26852894, -22.8657913, -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(20.3991413, 2.26852894, -22.8657913)
- 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, 5.20000029, 1)
- 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=1541697269"
- SpecialMesh2.MeshType = Enum.MeshType.FileMesh
- Decal3.Parent = Part1
- Decal3.Texture = "http://www.roblox.com/asset/?id=1541697269"
- Decal3.Face = Enum.NormalId.Top
- Decal4.Parent = Part1
- Decal4.Texture = "http://www.roblox.com/asset/?id=2505377919"
- Decal4.Face = Enum.NormalId.Top
- Fire5.Parent = Part1
- Fire5.Color = Color3.new(1, 1, 0)
- ParticleEmitter6.Parent = Part1
- ParticleEmitter6.Speed = NumberRange.new(100, 100)
- ParticleEmitter6.Texture = "http://www.roblox.com/asset/?id=1541697269"
- ParticleEmitter6.Acceleration = Vector3.new(0, -10, 0)
- ParticleEmitter6.Lifetime = NumberRange.new(1, 2)
- ParticleEmitter6.Rate = 99
- ParticleEmitter6.RotSpeed = NumberRange.new(360, 360)
- ParticleEmitter6.SpreadAngle = Vector2.new(360, 360)
- ParticleEmitter6.VelocitySpread = 360
- Animation7.Parent = Tool0
- Animation7.AnimationId = "http://www.roblox.com/twohandswordwithswingout-item?id=32659706"
- LocalScript8.Name = "main"
- LocalScript8.Parent = Tool0
- table.insert(cors,sandbox(LocalScript8,function()
- --Impletion [awful coding i know]
- wait()
- explode=false
- soundlock=false
- lock=false
- script.Parent.Activated:connect(function(click)
- if lock==false then
- lock=true
- local char=script.Parent.Parent
- local anim=char.Humanoid:LoadAnimation(script.Parent.Animation)
- anim:Play()
- wait(1.4)
- lock=false
- end
- end)
- script.Parent.Handle.Touched:connect(function(hit)
- local gethum=hit.Parent:GetChildren()
- for i=1,#gethum do
- if gethum[i].ClassName=="Humanoid" and gethum[i] ~= nil and hit.Parent.Name ~= game.Players.LocalPlayer.Name and lock==true then
- local hum=gethum[i]
- hum.Sit=true
- if soundlock==false then
- soundlock=true
- script.Parent.Smash:Play()
- end
- local character=hit.Parent
- local b=character:GetChildren()
- for i=1,#b do
- if b[i]:IsA("Part") and b[i] ~= nil then
- b[i].CanCollide=false
- b[i].Anchored=false
- end
- end
- local torso=hit.Parent:findFirstChild("Torso")
- character.Torso.Velocity=game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 1200
- character.Torso.Velocity=character.Torso.Velocity + Vector3.new(0,300,0)
- wait(1.8)
- if explode==false then
- explode=true
- local expl=Instance.new("Explosion", workspace)
- expl.BlastPressure=9000000
- expl.BlastRadius=100
- expl.Position=torso.Position
- character:BreakJoints()
- local p=game.Players:GetPlayerFromCharacter(character)
- character:Destroy()
- if p ~= nil then
- p:Destroy()
- end
- end
- end
- end
- wait(1)
- soundlock=false
- explode=false
- end)
- script.Parent.Equipped:connect(function(equip)
- game.Players.LocalPlayer.Character.Humanoid.MaxHealth=math.huge
- game.Players.LocalPlayer.Character.Humanoid.Health=math.huge
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed=25
- end)
- end))
- Sound9.Name = "Smash"
- Sound9.Parent = Tool0
- Sound9.Pitch = 0.69999998807907
- Sound9.PlaybackSpeed = 0.69999998807907
- Sound9.SoundId = "rbxassetid://1413058167"
- Sound9.Volume = 10
- DistortionSoundEffect10.Parent = Sound9
- DistortionSoundEffect10.Level = 1
- Camera11.Name = "ThumbnailCamera"
- Camera11.Parent = Tool0
- Camera11.CFrame = CFrame.new(1.93812001, 1.93207335, 7.85149097, -0.987820983, 0.00140062091, 0.155588225, 1.16415308e-10, 0.999959528, -0.00900173653, -0.155594513, -0.00889210403, -0.987781048)
- Camera11.CoordinateFrame = CFrame.new(1.93812001, 1.93207335, 7.85149097, -0.987820983, 0.00140062091, 0.155588225, 1.16415308e-10, 0.999959528, -0.00900173653, -0.155594513, -0.00889210403, -0.987781048)
- Camera11.Focus = CFrame.new(1.62694371, 1.95007682, 9.82705212, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Camera11.focus = CFrame.new(1.62694371, 1.95007682, 9.82705212, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.Backpack
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement