Advertisement
DaOMEGAa32

oof hammer banish

Oct 2nd, 2019
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.98 KB | None | 0 0
  1. ----dont leak please
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. Tool0 = Instance.new("Tool")
  20. Part1 = Instance.new("Part")
  21. SpecialMesh2 = Instance.new("SpecialMesh")
  22. Decal3 = Instance.new("Decal")
  23. Decal4 = Instance.new("Decal")
  24. Fire5 = Instance.new("Fire")
  25. ParticleEmitter6 = Instance.new("ParticleEmitter")
  26. Animation7 = Instance.new("Animation")
  27. LocalScript8 = Instance.new("LocalScript")
  28. Sound9 = Instance.new("Sound")
  29. DistortionSoundEffect10 = Instance.new("DistortionSoundEffect")
  30. Camera11 = Instance.new("Camera")
  31. Tool0.Name = "00f hammer"
  32. Tool0.Parent = mas
  33. Tool0.TextureId = "http://www.roblox.com/asset/?id=10684453"
  34. Tool0.Grip = CFrame.new(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  35. Tool0.GripPos = Vector3.new(0, -1, 0)
  36. Part1.Name = "Handle"
  37. Part1.Parent = Tool0
  38. 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)
  39. Part1.Orientation = Vector3.new(42.6100006, -88, 2.97000003)
  40. Part1.Position = Vector3.new(20.3991413, 2.26852894, -22.8657913)
  41. Part1.Rotation = Vector3.new(87.8199997, -47.3499985, 90.0100021)
  42. Part1.Color = Color3.new(0.388235, 0.372549, 0.384314)
  43. Part1.Size = Vector3.new(1, 5.20000029, 1)
  44. Part1.BottomSurface = Enum.SurfaceType.Smooth
  45. Part1.BrickColor = BrickColor.new("Dark stone grey")
  46. Part1.TopSurface = Enum.SurfaceType.Smooth
  47. Part1.brickColor = BrickColor.new("Dark stone grey")
  48. Part1.FormFactor = Enum.FormFactor.Plate
  49. Part1.formFactor = Enum.FormFactor.Plate
  50. SpecialMesh2.Parent = Part1
  51. SpecialMesh2.MeshId = "http://www.roblox.com/asset/?id=10604848"
  52. SpecialMesh2.Scale = Vector3.new(0.5, 0.5, 0.5)
  53. SpecialMesh2.TextureId = "http://www.roblox.com/asset/?id=1541697269"
  54. SpecialMesh2.MeshType = Enum.MeshType.FileMesh
  55. Decal3.Parent = Part1
  56. Decal3.Texture = "http://www.roblox.com/asset/?id=1541697269"
  57. Decal3.Face = Enum.NormalId.Top
  58. Decal4.Parent = Part1
  59. Decal4.Texture = "http://www.roblox.com/asset/?id=2505377919"
  60. Decal4.Face = Enum.NormalId.Top
  61. Fire5.Parent = Part1
  62. Fire5.Color = Color3.new(1, 1, 0)
  63. ParticleEmitter6.Parent = Part1
  64. ParticleEmitter6.Speed = NumberRange.new(100, 100)
  65. ParticleEmitter6.Texture = "http://www.roblox.com/asset/?id=1541697269"
  66. ParticleEmitter6.Acceleration = Vector3.new(0, -10, 0)
  67. ParticleEmitter6.Lifetime = NumberRange.new(1, 2)
  68. ParticleEmitter6.Rate = 99
  69. ParticleEmitter6.RotSpeed = NumberRange.new(360, 360)
  70. ParticleEmitter6.SpreadAngle = Vector2.new(360, 360)
  71. ParticleEmitter6.VelocitySpread = 360
  72. Animation7.Parent = Tool0
  73. Animation7.AnimationId = "http://www.roblox.com/twohandswordwithswingout-item?id=32659706"
  74. LocalScript8.Name = "main"
  75. LocalScript8.Parent = Tool0
  76. table.insert(cors,sandbox(LocalScript8,function()
  77. --Impletion [awful coding i know]
  78. wait()
  79. explode=false
  80. soundlock=false
  81. lock=false
  82. script.Parent.Activated:connect(function(click)
  83. if lock==false then
  84. lock=true
  85. local char=script.Parent.Parent
  86. local anim=char.Humanoid:LoadAnimation(script.Parent.Animation)
  87. anim:Play()
  88. wait(1.4)
  89. lock=false
  90. end
  91. end)
  92.  
  93.  
  94.  
  95. script.Parent.Handle.Touched:connect(function(hit)
  96. local gethum=hit.Parent:GetChildren()
  97. for i=1,#gethum do
  98. if gethum[i].ClassName=="Humanoid" and gethum[i] ~= nil and hit.Parent.Name ~= game.Players.LocalPlayer.Name and lock==true then
  99. local hum=gethum[i]
  100. hum.Sit=true
  101. if soundlock==false then
  102. soundlock=true
  103. script.Parent.Smash:Play()
  104. end
  105. local character=hit.Parent
  106. local b=character:GetChildren()
  107. for i=1,#b do
  108. if b[i]:IsA("Part") and b[i] ~= nil then
  109. b[i].CanCollide=false
  110. b[i].Anchored=false
  111. end
  112. end
  113. local torso=hit.Parent:findFirstChild("Torso")
  114. character.Torso.Velocity=game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 1200
  115. character.Torso.Velocity=character.Torso.Velocity + Vector3.new(0,300,0)
  116. wait(1.8)
  117. if explode==false then
  118. explode=true
  119. local expl=Instance.new("Explosion", workspace)
  120. expl.BlastPressure=9000000
  121. expl.BlastRadius=100
  122. expl.Position=torso.Position
  123. character:BreakJoints()
  124. local p=game.Players:GetPlayerFromCharacter(character)
  125. character:Destroy()
  126. if p ~= nil then
  127. p:Destroy()
  128. end
  129. end
  130. end
  131. end
  132. wait(1)
  133. soundlock=false
  134. explode=false
  135. end)
  136.  
  137. script.Parent.Equipped:connect(function(equip)
  138. game.Players.LocalPlayer.Character.Humanoid.MaxHealth=math.huge
  139. game.Players.LocalPlayer.Character.Humanoid.Health=math.huge
  140. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed=25
  141. end)
  142. end))
  143. Sound9.Name = "Smash"
  144. Sound9.Parent = Tool0
  145. Sound9.Pitch = 0.69999998807907
  146. Sound9.PlaybackSpeed = 0.69999998807907
  147. Sound9.SoundId = "rbxassetid://1413058167"
  148. Sound9.Volume = 10
  149. DistortionSoundEffect10.Parent = Sound9
  150. DistortionSoundEffect10.Level = 1
  151. Camera11.Name = "ThumbnailCamera"
  152. Camera11.Parent = Tool0
  153. 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)
  154. 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)
  155. Camera11.Focus = CFrame.new(1.62694371, 1.95007682, 9.82705212, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  156. Camera11.focus = CFrame.new(1.62694371, 1.95007682, 9.82705212, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  157. for i,v in pairs(mas:GetChildren()) do
  158. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  159. pcall(function() v:MakeJoints() end)
  160. end
  161. mas:Destroy()
  162. for i,v in pairs(cors) do
  163. spawn(function()
  164. pcall(v)
  165. end)
  166. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement