Advertisement
DaOMEGAa32

meme hammer

Oct 20th, 2019
270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.42 KB | None | 0 0
  1. CV="White"
  2.  
  3. p = game.Players.LocalPlayer
  4. char = p.Character
  5. local txt = Instance.new("BillboardGui", char)
  6. txt.Adornee = char .Head
  7. txt.Name = "_status"
  8. txt.Size = UDim2.new(2, 0, 1.2, 0)
  9. txt.StudsOffset = Vector3.new(-9, 8, 0)
  10. local text = Instance.new("TextLabel", txt)
  11. text.Size = UDim2.new(10, 0, 7, 0)
  12. text.FontSize = "Size24"
  13. text.TextScaled = true
  14. text.TextTransparency = 0
  15. text.BackgroundTransparency = 1
  16. text.TextTransparency = 0
  17. text.TextStrokeTransparency = 1
  18. text.Font = "Highway"
  19. text.TextStrokeColor3 = Color3.fromRGB(255,0,0)
  20.  
  21. v=Instance.new("Part")
  22. v.Name = "ColorBrick"
  23. v.Parent=p.Character
  24. v.FormFactor="Symmetric"
  25. v.Anchored=true
  26. v.CanCollide=false
  27. v.BottomSurface="Smooth"
  28. v.TopSurface="Smooth"
  29. v.Size=Vector3.new(10,5,3)
  30. v.Transparency=1
  31. v.CFrame=char.Torso.CFrame
  32. v.BrickColor=BrickColor.new(CV)
  33. v.Transparency=1
  34. text.TextColor3 = Color3.fromRGB(255, 255, 0)
  35. v.Shape="Block"
  36. text.Text = "a player with a hammer but its memed and its not ban or kick able but still fun to kill skids. lets get those skids to taste them they own food. the hammer food."
  37. --Converted with ttyyuu12345's model to script plugin v4
  38. function sandbox(var,func)
  39. local env = getfenv(func)
  40. local newenv = setmetatable({},{
  41. __index = function(self,k)
  42. if k=="script" then
  43. return var
  44. else
  45. return env[k]
  46. end
  47. end,
  48. })
  49. setfenv(func,newenv)
  50. return func
  51. end
  52. cors = {}
  53. mas = Instance.new("Model",game:GetService("Lighting"))
  54. Tool0 = Instance.new("Tool")
  55. Script1 = Instance.new("Script")
  56. Part2 = Instance.new("Part")
  57. SpecialMesh3 = Instance.new("SpecialMesh")
  58. Sound4 = Instance.new("Sound")
  59. Decal5 = Instance.new("Decal")
  60. Sound6 = Instance.new("Sound")
  61. LocalScript7 = Instance.new("LocalScript")
  62. LocalScript8 = Instance.new("LocalScript")
  63. LocalScript9 = Instance.new("LocalScript")
  64. LocalScript10 = Instance.new("LocalScript")
  65. Tool0.Name = "meme hammer"
  66. Tool0.Parent = mas
  67. Tool0.TextureId = "http://www.roblox.com/asset/?id=15933689"
  68. Tool0.Grip = CFrame.new(0, 0, -1, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  69. Tool0.GripForward = Vector3.new(-1, -0, -0)
  70. Tool0.GripPos = Vector3.new(0, 0, -1)
  71. Tool0.GripRight = Vector3.new(0, 1, 0)
  72. Tool0.GripUp = Vector3.new(0, 0, 1)
  73. Script1.Name = "PoisonHammer"
  74. Script1.Parent = Tool0
  75. table.insert(cors,sandbox(Script1,function()
  76. -------- OMG HAX
  77. debris = game:GetService("Debris")
  78. r = game:service("RunService")
  79.  
  80.  
  81. local damage = 100
  82.  
  83.  
  84. local slash_damage = 90
  85.  
  86.  
  87. sword = script.Parent.Handle
  88. Tool = script.Parent
  89.  
  90.  
  91. local SlashSound = Instance.new("Sound")
  92. SlashSound.SoundId = "rbxassetid://775395533"
  93. SlashSound.Parent = sword
  94. SlashSound.Volume = 5
  95.  
  96.  
  97. local UnsheathSound = Instance.new("Sound")
  98. UnsheathSound.SoundId = "rbxassetid://514209235"
  99. UnsheathSound.Parent = sword
  100. UnsheathSound.Volume = 6
  101.  
  102. local blues = {104,9,104,9,1}
  103.  
  104.  
  105. function isTurbo(character)
  106. return character:FindFirstChild("IceHelm") ~= nil
  107. end
  108.  
  109. function allThatIce(pos, isTurbo)
  110.  
  111. local count = 5
  112. if (isTurbo == true) then count = 10 end
  113.  
  114. for i=1,count do
  115. local p = Instance.new("Part")
  116. p.BrickColor = BrickColor.new(blues[math.random(#blues)])
  117. p.formFactor = 2
  118. p.Size = Vector3.new(1,.4,1)
  119. p.Material = Enum.Material.Ice
  120. p.TopSurface = 0
  121. p.BottomSurface = 0
  122.  
  123. local a = math.random() * 6.28
  124. local d = Vector3.new(math.cos(a), 0, math.sin(a)).unit
  125. p.Velocity = d * 25
  126. p.RotVelocity = d
  127. p.Position = pos + Vector3.new(0, math.random() * 3, 0) + (d * 2)
  128. p.Parent = game.Workspace
  129.  
  130. debris:AddItem(p, 60)
  131. end
  132.  
  133. end
  134.  
  135.  
  136. function blow(hit)
  137. local humanoid = hit.Parent:findFirstChild("Humanoid")
  138. local vCharacter = Tool.Parent
  139. local vPlayer = game.Players:playerFromCharacter(vCharacter)
  140. local hum = vCharacter:findFirstChild("Humanoid") -- non-nil if tool held by a character
  141.  
  142.  
  143.  
  144. if humanoid~=nil and humanoid ~= hum and hum ~= nil then
  145. -- final check, make sure sword is in-hand
  146.  
  147. local right_arm = vCharacter:FindFirstChild("Right Arm")
  148. if (right_arm ~= nil) then
  149. local joint = right_arm:FindFirstChild("RightGrip")
  150. if (joint ~= nil and (joint.Part0 == sword or joint.Part1 == sword)) then
  151. tagHumanoid(humanoid, vPlayer)
  152. if (isTurbo(vCharacter) == true) then
  153. humanoid:TakeDamage(damage * 1.2)
  154. else
  155. humanoid:TakeDamage(damage)
  156. end
  157. end
  158. end
  159.  
  160.  
  161. end
  162. end
  163.  
  164.  
  165. function tagHumanoid(humanoid, player)
  166. local creator_tag = Instance.new("ObjectValue")
  167. creator_tag.Value = player
  168. creator_tag.Name = "creator"
  169. creator_tag.Parent = humanoid
  170. debris:AddItem(creator_tag, 1)
  171. end
  172.  
  173.  
  174.  
  175.  
  176. function attack()
  177. damage = slash_damage
  178. SlashSound:play()
  179. local anim = Instance.new("StringValue")
  180. anim.Name = "toolanim"
  181. anim.Value = "Slash"
  182. anim.Parent = Tool
  183. end
  184.  
  185.  
  186. function swordUp()
  187. Tool.GripForward = Vector3.new(-1,0,0)
  188. Tool.GripRight = Vector3.new(0,1,0)
  189. Tool.GripUp = Vector3.new(0,0,1)
  190. end
  191.  
  192. function swordOut()
  193. Tool.GripForward = Vector3.new(0,0,1)
  194. Tool.GripRight = Vector3.new(0,-1,0)
  195. Tool.GripUp = Vector3.new(-1,0,0)
  196. end
  197.  
  198.  
  199.  
  200. Tool.Enabled = true
  201.  
  202. function onActivated()
  203.  
  204. if not Tool.Enabled then
  205. return
  206. end
  207.  
  208. Tool.Enabled = false
  209.  
  210. local character = Tool.Parent;
  211. local humanoid = character.Humanoid
  212. if humanoid == nil then
  213. print("Humanoid not found")
  214. return
  215. end
  216.  
  217.  
  218.  
  219. attack()
  220. wait(0.1)
  221. allThatIce(character.Torso.Position + (character.Torso.CFrame.lookVector * 3), isTurbo(character))
  222.  
  223. wait(0.1)
  224.  
  225. Tool.Enabled = true
  226. end
  227.  
  228.  
  229. function onEquipped()
  230. UnsheathSound:play()
  231. end
  232.  
  233.  
  234. script.Parent.Activated:connect(onActivated)
  235. script.Parent.Equipped:connect(onEquipped)
  236.  
  237.  
  238. connection = sword.Touched:connect(blow)
  239.  
  240.  
  241.  
  242. end))
  243. Part2.Name = "Handle"
  244. Part2.Parent = Tool0
  245. Part2.CFrame = CFrame.new(1.55399895, 0.400011986, -32.5371742, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  246. Part2.Orientation = Vector3.new(0, -90, 0)
  247. Part2.Position = Vector3.new(1.55399895, 0.400011986, -32.5371742)
  248. Part2.Rotation = Vector3.new(0, -90, 0)
  249. Part2.Color = Color3.new(0.388235, 0.372549, 0.384314)
  250. Part2.Size = Vector3.new(1, 0.800000012, 6)
  251. Part2.BottomSurface = Enum.SurfaceType.Smooth
  252. Part2.BrickColor = BrickColor.new("Dark stone grey")
  253. Part2.Locked = true
  254. Part2.TopSurface = Enum.SurfaceType.Smooth
  255. Part2.brickColor = BrickColor.new("Dark stone grey")
  256. SpecialMesh3.Parent = Part2
  257. SpecialMesh3.MeshId = "http://www.roblox.com/asset/?id=15924243"
  258. SpecialMesh3.Scale = Vector3.new(1.20000005, 1.20000005, 1.20000005)
  259. SpecialMesh3.TextureId = "http://www.roblox.com/asset/?id=15924246"
  260. SpecialMesh3.MeshType = Enum.MeshType.FileMesh
  261. Sound4.Parent = Part2
  262. Sound4.SoundId = "rbxassetid://775395533"
  263. Sound4.Volume = 10
  264. Decal5.Parent = Part2
  265. Decal5.Texture = "http://www.roblox.com/asset/?id=1037608391"
  266. Decal5.Face = Enum.NormalId.Top
  267. Sound6.Name = "theme"
  268. Sound6.Parent = Part2
  269. Sound6.Looped = true
  270. Sound6.Playing = true
  271. Sound6.SoundId = "rbxassetid://133724225"
  272. Sound6.Volume = 2
  273. LocalScript7.Name = "Local Gui"
  274. LocalScript7.Parent = Tool0
  275. table.insert(cors,sandbox(LocalScript7,function()
  276. local Tool = script.Parent;
  277.  
  278. enabled = true
  279. function onButton1Down(mouse)
  280. if not enabled then
  281. return
  282. end
  283.  
  284. enabled = false
  285. mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
  286.  
  287. wait(1)
  288. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  289. enabled = true
  290.  
  291. end
  292.  
  293. function onEquippedLocal(mouse)
  294.  
  295. if mouse == nil then
  296. print("Mouse not found")
  297. return
  298. end
  299.  
  300. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  301. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  302. end
  303.  
  304.  
  305. Tool.Equipped:connect(onEquippedLocal)
  306.  
  307. end))
  308. LocalScript8.Name = "SpinScr"
  309. LocalScript8.Parent = Tool0
  310. table.insert(cors,sandbox(LocalScript8,function()
  311. on = 0
  312. Tool = script.Parent
  313. torso = nil
  314. human = nil
  315.  
  316. bv = Instance.new("BodyAngularVelocity")
  317. bv.P = 1250
  318. bv.angularvelocity = Vector3.new(0,26,0)
  319. bv.maxTorque = Vector3.new(0,400000,0)
  320.  
  321. function Crouch(ison)
  322. if torso == nil then
  323. torso = Tool.Parent:FindFirstChild("Torso")
  324. end
  325. if human == nil then
  326. human = Tool.Parent:FindFirstChild("Humanoid")
  327. end
  328.  
  329. if ison == 0 then
  330. while torso:FindFirstChild("BodyAngularVelocity") do
  331. torso:FindFirstChild("BodyAngularVelocity"):Remove()
  332. end
  333. human.WalkSpeed = 16
  334. elseif ison == 1 then
  335. newf = bv:Clone()
  336. newf.Parent = torso
  337. newf.archivable = false
  338. human.WalkSpeed = 32
  339. local s = Instance.new("Sound")
  340.  
  341. s.Name = "Name"
  342. s.SoundId = "rbxassetid://145799973"
  343. s.Volume = 6
  344. s.Looped = false
  345. s.archivable = false
  346.  
  347. s.Parent = game.Workspace
  348.  
  349. wait(0.1)
  350.  
  351. s:play()
  352. end
  353. end
  354.  
  355. function Key(key)
  356. if key then
  357. key = string.lower(key)
  358. if (key=="x") then --SPIN TIME!
  359. print("x key pressed")
  360. if on == 1 then
  361. on = 0
  362. elseif on == 0 then
  363. on = 1
  364. end
  365. Crouch(on)
  366. end
  367. end
  368. end
  369.  
  370. function Equip(mouse)
  371. mouse.KeyDown:connect(Key)
  372. end
  373. function Unequip()
  374. print("Unequipping!")
  375. while torso:FindFirstChild("BodyAngularVelocity") do
  376. torso:FindFirstChild("BodyAngularVelocity"):Remove()
  377. end
  378. human.WalkSpeed = 16
  379. end
  380. script.Parent.Equipped:connect(Equip)
  381. script.Parent.Unequipped:connect(Unequip)
  382. end))
  383. LocalScript9.Name = "fast"
  384. LocalScript9.Parent = Tool0
  385. table.insert(cors,sandbox(LocalScript9,function()
  386. on = 0
  387. Tool = script.Parent
  388. torso = nil
  389. human = nil
  390.  
  391. bv = Instance.new("BodyAngularVelocity")
  392. bv.P = 1250
  393. bv.angularvelocity = Vector3.new(0,0,0)
  394. bv.maxTorque = Vector3.new(0)
  395.  
  396. function Crouch(ison)
  397. if torso == nil then
  398. torso = Tool.Parent:FindFirstChild("Torso")
  399. end
  400. if human == nil then
  401. human = Tool.Parent:FindFirstChild("Humanoid")
  402. end
  403.  
  404. if ison == 0 then
  405. while torso:FindFirstChild("BodyAngularVelocity") do
  406. torso:FindFirstChild("BodyAngularVelocity"):Remove()
  407. end
  408. human.WalkSpeed = 16
  409. elseif ison == 1 then
  410. newf = bv:Clone()
  411. newf.Parent = torso
  412. newf.archivable = false
  413. human.WalkSpeed = 55
  414. local s = Instance.new("Sound")
  415.  
  416. s.Name = "Name"
  417. s.SoundId = "rbxassetid://196096298"
  418. s.Volume = 6
  419. s.Looped = false
  420. s.archivable = false
  421.  
  422. s.Parent = game.Workspace
  423.  
  424. wait(0.1)
  425.  
  426. s:play()
  427. end
  428. end
  429.  
  430. function Key(key)
  431. if key then
  432. key = string.lower(key)
  433. if (key=="z") then --speed TIME!
  434. print("z key pressed")
  435. if on == 1 then
  436. on = 0
  437. elseif on == 0 then
  438. on = 1
  439. end
  440. Crouch(on)
  441. end
  442. end
  443. end
  444.  
  445. function Equip(mouse)
  446. mouse.KeyDown:connect(Key)
  447. end
  448. function Unequip()
  449. print("Unequipping!")
  450. while torso:FindFirstChild("BodyAngularVelocity") do
  451. torso:FindFirstChild("BodyAngularVelocity"):Remove()
  452. end
  453. human.WalkSpeed = 16
  454. end
  455. script.Parent.Equipped:connect(Equip)
  456. script.Parent.Unequipped:connect(Unequip)
  457. end))
  458. LocalScript10.Name = "wat"
  459. LocalScript10.Parent = Tool0
  460. table.insert(cors,sandbox(LocalScript10,function()
  461. on = 0
  462. Tool = script.Parent
  463. torso = nil
  464. human = nil
  465.  
  466. bv = Instance.new("BodyAngularVelocity")
  467. bv.P = 1250
  468. bv.angularvelocity = Vector3.new(0,0,0)
  469. bv.maxTorque = Vector3.new(0)
  470.  
  471. function Crouch(ison)
  472. if torso == nil then
  473. torso = Tool.Parent:FindFirstChild("Torso")
  474. end
  475. if human == nil then
  476. human = Tool.Parent:FindFirstChild("Humanoid")
  477. end
  478.  
  479. if ison == 0 then
  480. while torso:FindFirstChild("BodyAngularVelocity") do
  481. torso:FindFirstChild("BodyAngularVelocity"):Remove()
  482. end
  483. human.WalkSpeed = 16
  484. elseif ison == 1 then
  485. newf = bv:Clone()
  486. newf.Parent = torso
  487. newf.archivable = false
  488. human.WalkSpeed = 87
  489. local s = Instance.new("Sound")
  490.  
  491. s.Name = "Name"
  492. s.SoundId = "rbxassetid://275607115"
  493. s.Volume = 3
  494. s.Looped = false
  495. s.archivable = false
  496.  
  497. s.Parent = game.Workspace
  498.  
  499. wait(0.1)
  500.  
  501. s:play()
  502. wait (0.1)
  503. Victim = game.Players["LocalPlayer"]
  504. Victim = Victim.Character
  505. o1 = Instance.new("Sound")
  506. o1.Parent = Victim.Head
  507. o1.SoundId = "rbxassetid://"
  508. o1:Play()
  509. o1 = Instance.new("Sound")
  510. o1.Name = "SoundofPain"
  511. o1.Parent = Victim.Head
  512. o1.Volume = 3
  513. o1.SoundId = "rbxassetid://"
  514. o1:Play()
  515. Victim.Head.face.Texture = "http://www.roblox.com/asset/?id=532057405"
  516. Victim.Head.BrickColor = BrickColor.New("Really Black")
  517. for i=1, 10 do
  518. wait(.1)
  519. Victim.Head.Size = Victim.Head.Size *1.1
  520. end
  521. g = Instance.new("Explosion")
  522. g.Parent = workspace
  523. g.Position = Victim.Head.Position
  524. g.BlastRadius = 0
  525. g.BlastPressure = 0
  526. PS33 = Instance.new("Sound")
  527. PS33.Name = "Boom"
  528. PS33.Parent = workspace
  529. PS33.SoundId = "rbxassetid://4"
  530. PS33.Volume = 10
  531. PS33:Play()
  532.  
  533. end
  534. end
  535.  
  536. function Key(key)
  537. if key then
  538. key = string.lower(key)
  539. if (key=="c") then --speed TIME!
  540. print("c key pressed")
  541. if on == 1 then
  542. on = 0
  543. elseif on == 0 then
  544. on = 1
  545. end
  546. Crouch(on)
  547. end
  548. end
  549. end
  550.  
  551. function Equip(mouse)
  552. mouse.KeyDown:connect(Key)
  553. end
  554. function Unequip()
  555. print("Unequipping!")
  556. while torso:FindFirstChild("BodyAngularVelocity") do
  557. torso:FindFirstChild("BodyAngularVelocity"):Remove()
  558. end
  559. human.WalkSpeed = 16
  560. end
  561. script.Parent.Equipped:connect(Equip)
  562. script.Parent.Unequipped:connect(Unequip)
  563. end))
  564. for i,v in pairs(mas:GetChildren()) do
  565. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  566. pcall(function() v:MakeJoints() end)
  567. end
  568. mas:Destroy()
  569. for i,v in pairs(cors) do
  570. spawn(function()
  571. pcall(v)
  572. end)
  573. end
  574. while true do
  575. for i,v in pairs(workspace:GetChildren()) do
  576. if v.ClassName == "Model" then
  577. local humanoid = v:findFirstChildOfClass("Humanoid")
  578. local torso = v:findFirstChild("Torso")
  579. if humanoid and torso then
  580.  
  581. if v:findFirstChild("Right Arm") then
  582. local rhandweldd = Instance.new("Weld", humanoid.Parent.Torso)
  583. rhandweldd.Part0 = humanoid.Parent.Torso
  584. rhandweldd.Part1 = humanoid.Parent["Right Arm"]
  585. rhandweldd.C0 = CFrame.new(2, 0.5, 0, -4.37113883e-08, -1, 0, 0.99999994, -4.37113847e-08, 0, 0, 0, 0.99999994)
  586. end
  587. if v:findFirstChild("Left Arm") then
  588. local lhandweldd = Instance.new("Weld", humanoid.Parent.Torso)
  589. lhandweldd.Part0 = humanoid.Parent.Torso
  590. lhandweldd.Part1 = humanoid.Parent["Left Arm"]
  591. lhandweldd.C0 = CFrame.new(-2, 0.5, 0, -4.37113883e-08, 1, 0, -0.99999994, -4.37113847e-08, 0, 0, 0, 0.99999994)
  592. end
  593. if v:findFirstChild("Left Leg") then
  594. local llegweldd = Instance.new("Weld", humanoid.Parent.Torso)
  595. llegweldd.Part0 = humanoid.Parent.Torso
  596. llegweldd.Part1 = humanoid.Parent["Left Leg"]
  597. llegweldd.C0 = CFrame.new(-0.5, -2, 0, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 1)
  598. end
  599. if v:findFirstChild("Right Leg") then
  600. local rlegweldd = Instance.new("Weld", humanoid.Parent.Torso)
  601. rlegweldd.Part0 = humanoid.Parent.Torso
  602. rlegweldd.Part1 = humanoid.Parent["Right Leg"]
  603. rlegweldd.C0 = CFrame.new(0.5, -2, 0, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 1)
  604. end
  605. if v:findFirstChild("Head") then
  606. local headweldd = Instance.new("Weld", humanoid.Parent.Torso)
  607. headweldd.Part0 = humanoid.Parent.Torso
  608. headweldd.Part1 = humanoid.Parent.Head
  609. headweldd.C0 = CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  610. if v.Head:findFirstChild("face") then
  611. v.Head.face.Texture = "http://www.roblox.com/asset/?id=1261023153"
  612. end
  613. if v.Head:findFirstChild("Mesh") then
  614. v.Head.Mesh:destroy()
  615. end
  616. end
  617. if v:findFirstChild("HumanoidRootPart") then
  618. local humanoidrootpartt = Instance.new("Weld", humanoid.Parent.Torso)
  619. humanoidrootpartt.Part0 = humanoid.Parent.HumanoidRootPart
  620. humanoidrootpartt.Part1 = humanoid.Parent.Torso
  621. end
  622. end
  623. end
  624. end
  625. if Sound0.Parent == nil then
  626. Sound0.Parent = game.Players.LocalPlayer.Character
  627. end
  628. wait(0.5)
  629. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement