Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --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"))
- Sound0 = Instance.new("Sound")
- LocalScript1 = Instance.new("LocalScript")
- Part2 = Instance.new("Part")
- SpecialMesh3 = Instance.new("SpecialMesh")
- Sparkles4 = Instance.new("Sparkles")
- Animation5 = Instance.new("Animation")
- Tool6 = Instance.new("Tool")
- Part7 = Instance.new("Part")
- SpecialMesh8 = Instance.new("SpecialMesh")
- Sparkles9 = Instance.new("Sparkles")
- Animation10 = Instance.new("Animation")
- LocalScript11 = Instance.new("LocalScript")
- Sound12 = Instance.new("Sound")
- Sound12.Name = "Smash"
- Sound12.Parent = Tool6
- Sound12.SoundId = "rbxassetid://147722910"
- Sound12.Volume = 1
- LocalScript11.Name = "main"
- LocalScript11.Parent = Tool6
- table.insert(cors,sandbox(LocalScript11,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))
- Part7.Name = "Handle"
- Part7.Parent = Tool6
- Part7.BrickColor = BrickColor.new("Dark stone grey")
- Part7.Rotation = Vector3.new(87.8199997, -47.3499985, 90.0099945)
- Part7.FormFactor = Enum.FormFactor.Plate
- Part7.Size = Vector3.new(1, 5.20000029, 1)
- Part7.CFrame = CFrame.new(77.2016907, 2.26853395, 6.69060802, -9.28728914e-05, -0.677499533, -0.735523343, 0.0380967073, 0.734986424, -0.677010179, 0.999273837, -0.0280841347, 0.0257421304)
- Part7.BottomSurface = Enum.SurfaceType.Smooth
- Part7.TopSurface = Enum.SurfaceType.Smooth
- Part7.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part7.Position = Vector3.new(77.2016907, 2.26853395, 6.69060802)
- Part7.Orientation = Vector3.new(42.6100006, -88, 2.97000003)
- Part7.Color = Color3.new(0.388235, 0.372549, 0.384314)
- SpecialMesh8.Parent = Part7
- SpecialMesh8.MeshId = "http://www.roblox.com/asset/?id=10604848"
- SpecialMesh8.Scale = Vector3.new(0.5, 0.5, 0.5)
- SpecialMesh8.TextureId = "http://www.roblox.com/asset/?id=10605252"
- SpecialMesh8.MeshType = Enum.MeshType.FileMesh
- SpecialMesh8.Scale = Vector3.new(0.5, 0.5, 0.5)
- Sparkles9.Parent = Part7
- Sparkles9.Color = Color3.new(0, 0, 0)
- Sparkles9.SparkleColor = Color3.new(0, 0, 0)
- Sparkles9.Color = Color3.new(0, 0, 0)
- Animation10.Parent = Tool6
- Animation10.AnimationId = "http://www.roblox.com/twohandswordwithswingout-item?id=32659706"
- Tool6.Name = "BanHammar"
- Tool6.Parent = mas
- Tool6.TextureId = "http://www.roblox.com/asset/?id=10684453"
- Tool6.GripPos = Vector3.new(0, -1, 0)
- Part7.Name = "Handle"
- Part7.Parent = Tool6
- Part7.BrickColor = BrickColor.new("Dark stone grey")
- Part7.Rotation = Vector3.new(87.8199997, -47.3499985, 90.0099945)
- Part7.FormFactor = Enum.FormFactor.Plate
- Part7.Size = Vector3.new(1, 5.20000029, 1)
- Part7.CFrame = CFrame.new(77.2016907, 2.26853395, 6.69060802, -9.28728914e-05, -0.677499533, -0.735523343, 0.0380967073, 0.734986424, -0.677010179, 0.999273837, -0.0280841347, 0.0257421304)
- Part7.BottomSurface = Enum.SurfaceType.Smooth
- Part7.TopSurface = Enum.SurfaceType.Smooth
- Part7.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part7.Position = Vector3.new(77.2016907, 2.26853395, 6.69060802)
- Part7.Orientation = Vector3.new(42.6100006, -88, 2.97000003)
- Part7.Color = Color3.new(0.388235, 0.372549, 0.384314)
- SpecialMesh8.Parent = Part7
- SpecialMesh8.MeshId = "http://www.roblox.com/asset/?id=10604848"
- SpecialMesh8.Scale = Vector3.new(0.5, 0.5, 0.5)
- SpecialMesh8.TextureId = "http://www.roblox.com/asset/?id=10605252"
- SpecialMesh8.MeshType = Enum.MeshType.FileMesh
- SpecialMesh8.Scale = Vector3.new(0.5, 0.5, 0.5)
- Sparkles9.Parent = Part7
- Sparkles9.Color = Color3.new(0, 0, 0)
- Sparkles9.SparkleColor = Color3.new(0, 0, 0)
- Sparkles9.Color = Color3.new(0, 0, 0)
- Animation10.Parent = Tool6
- Animation10.AnimationId = "http://www.roblox.com/twohandswordwithswingout-item?id=32659706"
- LocalScript11.Name = "main"
- LocalScript11.Parent = Tool6
- table.insert(cors,sandbox(LocalScript11,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))
- Sound12.Name = "Smash"
- Sound12.Parent = Tool6
- Sound12.SoundId = "rbxassetid://147722910"
- Sound12.Volume = 1
- Tool6:Clone().Parent = game:GetService("Players").LocalPlayer.StarterGear
- 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