SHARE
TWEET

Untitled

a guest Feb 19th, 2019 81 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. me = game.Players.LocalPlayer
  2.  
  3. char = me.Character
  4.  
  5. selected = false
  6.  
  7. attacking = false
  8.  
  9. hurt = false
  10.  
  11. grabbed = nil
  12.  
  13. mode = "drop"
  14.  
  15. bloodcolors = {"Really red", "Bright red"}
  16.  
  17.  
  18.  
  19. function prop(part, parent, collide, tran, ref, x, y, z, color, anchor, form)
  20.  
  21. part.Parent = parent
  22.  
  23. part.formFactor = form
  24.  
  25. part.CanCollide = collide
  26.  
  27. part.Transparency = tran
  28.  
  29. part.Reflectance = ref
  30.  
  31. part.Size = Vector3.new(x,y,z)
  32.  
  33. part.BrickColor = BrickColor.new(color)
  34.  
  35. part.TopSurface = 0
  36.  
  37. part.BottomSurface = 0
  38.  
  39. part.Anchored = anchor
  40.  
  41. part.Locked = true
  42.  
  43. part:BreakJoints()
  44.  
  45. end
  46.  
  47.  
  48. function weld(w, p, p1, a, b, c, x, y, z)
  49.  
  50. w.Parent = p
  51.  
  52. w.Part0 = p
  53.  
  54. w.Part1 = p1
  55.  
  56. w.C1 = CFrame.fromEulerAnglesXYZ(a,b,c) * CFrame.new(x,y,z)
  57.  
  58. end
  59.  
  60.  
  61. function mesh(mesh, parent, x, y, z, type)
  62.  
  63. mesh.Parent = parent
  64.  
  65. mesh.Scale = Vector3.new(x, y, z)
  66.  
  67. mesh.MeshType = type
  68.  
  69. end
  70.  
  71.  
  72. function remgui()
  73.  
  74. for _,v in pairs(me.PlayerGui:GetChildren()) do
  75.  
  76. if v.Name == "Modeshow" then
  77.  
  78. v:remove()
  79.  
  80. end
  81.  
  82. end
  83.  
  84. end
  85.  
  86.  
  87. function inform(text,delay)
  88.  
  89. remgui()
  90.  
  91. local sc = Instance.new("ScreenGui")
  92.  
  93. sc.Parent = me.PlayerGui
  94.  
  95. sc.Name = "Modeshow"
  96.  
  97. local bak = Instance.new("Frame",sc)
  98.  
  99. bak.BackgroundColor3 = Color3.new(1,1,1)
  100.  
  101. bak.Size = UDim2.new(0.94,0,0.1,0)
  102.  
  103. bak.Position = UDim2.new(0.03,0,0.037,0)
  104.  
  105. bak.BorderSizePixel = 0
  106.  
  107. local gi = Instance.new("TextLabel",sc)
  108.  
  109. gi.Size = UDim2.new(0.92,0,0.09,0)
  110.  
  111. gi.BackgroundColor3 = Color3.new(0,0,0)
  112.  
  113. gi.Position = UDim2.new(0.04,0,0.042,0)
  114.  
  115. gi.TextColor3 = Color3.new(1,1,1)
  116.  
  117. gi.FontSize = "Size12"
  118.  
  119. gi.Text = text
  120.  
  121. coroutine.resume(coroutine.create(function()
  122.  
  123. wait(delay)
  124.  
  125. sc:remove()
  126.  
  127. end))
  128.  
  129. end
  130.  
  131.  
  132. if char:findFirstChild("Bricks",true) then
  133.  
  134. char:findFirstChild("Bricks",true):remove()
  135.  
  136. end
  137.  
  138.  
  139. bricks = Instance.new("Model",me.Character)
  140.  
  141. bricks.Name = "Bricks"
  142.  
  143.  
  144. --Parts-------------------------Parts-------------------------Parts-------------------------Parts----------------------
  145.  
  146.  
  147. rarm = char:findFirstChild("Right Arm")
  148.  
  149. larm = char:findFirstChild("Left Arm")
  150.  
  151. lleg = char:findFirstChild("Left Leg")
  152.  
  153. torso = char:findFirstChild("Torso")
  154.  
  155. hum = char:findFirstChild("Humanoid")
  156.  
  157.  
  158. righthold = Instance.new("Part")
  159.  
  160. prop(righthold, bricks, false, 1, 0, 0.1, 0.1, 0.1, "White", false, "Custom")
  161.  
  162. w11 = Instance.new("Weld")
  163.  
  164. weld(w11, rarm, righthold, 0, 0, 0, 0, 1, 0)
  165.  
  166.  
  167. lefthold = Instance.new("Part")
  168.  
  169. prop(lefthold, bricks, false, 1, 0, 0.1, 0.1, 0.1, "White", false, "Custom")
  170.  
  171. w12 = Instance.new("Weld")
  172.  
  173. weld(w12, larm, lefthold, 0, 0, 0, 0, 1, 0)
  174.  
  175.  
  176. hold = Instance.new("Part")
  177.  
  178. prop(hold, bricks, false, 0, 0, 0.2, 0.4, 0.7, "Really red", false, "Custom")
  179.  
  180. oh = Instance.new("Weld")
  181.  
  182. weld(oh, lleg, hold, -math.pi/1.4, 0, math.rad(35), 0.55, -0.9, 0.3)
  183.  
  184.  
  185. knife = Instance.new("Part")
  186.  
  187. prop(knife, bricks, false, 0, 0, 0.35, 1.1, 0.5, "Really black", false, "Custom")
  188.  
  189. orr = Instance.new("Weld")
  190.  
  191. weld(orr, hold, knife, 0, 0, 0, 0, 0.7, 0)
  192.  
  193. ar = Instance.new("Weld")
  194.  
  195. weld(ar, lefthold, nil, math.pi/2, 0, math.pi, 0, 0, 0)
  196.  
  197.  
  198.  
  199. blade = Instance.new("Part")
  200.  
  201. prop(blade, bricks, false, 0, 0, 0.1, 1.5, 0.4, "Medium grey", false, "Custom")
  202.  
  203. Instance.new("BlockMesh",blade).Scale = Vector3.new(0.3,1,1)
  204.  
  205. w2 = Instance.new("Weld")
  206.  
  207. weld(w2, knife, blade, 0, 0, 0, 0, -1.2, 0)
  208.  
  209.  
  210. blade2 = Instance.new("Part")
  211.  
  212. prop(blade2, bricks, false, 0, 0, 0.1, 0.5, 0.4, "Medium grey", false, "Custom")
  213.  
  214. local mew = Instance.new("SpecialMesh",blade2)
  215.  
  216. mew.MeshType = "Wedge"
  217.  
  218. mew.Scale = Vector3.new(0.3,1,1)
  219.  
  220. w3 = Instance.new("Weld")
  221.  
  222. weld(w3, blade, blade2, 0, 0, 0, 0, -1, 0)
  223.  
  224.  
  225.  
  226.  
  227.  
  228. rb = Instance.new("Part")
  229.  
  230. prop(rb, bricks, false, 1, 0, 0.1, 0.1, 0.1, "White", false, "Custom")
  231.  
  232. w13 = Instance.new("Weld")
  233.  
  234. weld(w13, torso, rb, 0, 0, 0, -1.5, -0.5, 0)
  235.  
  236.  
  237. lb = Instance.new("Part")
  238.  
  239. prop(lb, bricks, false, 1, 0, 0.1, 0.1, 0.1, "White", false, "Custom")
  240.  
  241. w14 = Instance.new("Weld")
  242.  
  243. weld(w14, torso, lb, 0, 0, 0, 1.5, -0.5, 0)
  244.  
  245.  
  246. rw = Instance.new("Weld")
  247.  
  248. weld(rw, rb, nil, 0, 0, 0, 0, 0.5, 0)
  249.  
  250.  
  251. lw = Instance.new("Weld")
  252.  
  253. weld(lw, lb, nil, 0, 0, 0, 0, 0.5, 0)
  254.  
  255.  
  256. grabweld = nil
  257.  
  258. platlol = nil
  259.  
  260. lolhum = nil
  261.  
  262.  
  263. function touch(h)
  264.  
  265. if hurt then
  266.  
  267. if grabbed == nil then
  268.  
  269. local hu = h.Parent:findFirstChild("Humanoid")
  270.  
  271. local head = h.Parent:findFirstChild("Head")
  272.  
  273. local torz = h.Parent:findFirstChild("Torso")
  274.  
  275. if hu ~= nil and head ~= nil and torz ~= nil and h.Parent.Name ~= name then
  276.  
  277. if hu.Health > 0 then
  278.  
  279. grabbed = torz
  280.  
  281. hu.PlatformStand = true
  282.  
  283. local w = Instance.new("Weld")
  284.  
  285. weld(w,righthold,grabbed,math.pi/2,0.2,0,0.7,-0.9,-0.6)
  286.  
  287. grabweld = w
  288.  
  289. lolhum = hu
  290.  
  291. local lolxd = true
  292.  
  293. platlol = lolxd
  294.  
  295. hu.Changed:connect(function(prop)
  296.  
  297. if prop == "PlatformStand" and platlol then
  298.  
  299. hu.PlatformStand = true
  300.  
  301. end
  302.  
  303. end)
  304.  
  305. end
  306.  
  307. end
  308.  
  309. end
  310.  
  311. end
  312.  
  313. end
  314.  
  315.  
  316. righthold.Touched:connect(touch)
  317.  
  318. lefthold.Touched:connect(touch)
  319.  
  320.  
  321. function bleed(part,po)
  322.  
  323. local lol1 = math.random(5,30)/100
  324.  
  325. local lol2 = math.random(5,30)/100
  326.  
  327. local lol3 =math.random(5,30)/100
  328.  
  329. local lol4 = math.random(1,#bloodcolors)
  330.  
  331. local p = Instance.new("Part")
  332.  
  333. prop(p,part.Parent,false,0,0,lol1,lol2,lol3,bloodcolors[lol4],false,"Custom")
  334.  
  335. p.CFrame = part.CFrame * CFrame.new(math.random(-5,5)/10,po,math.random(-5,5)/10)
  336.  
  337. p.Velocity = Vector3.new(math.random(-190,190)/10,math.random(-190,190)/10,math.random(-190,190)/10)
  338.  
  339. p.RotVelocity = Vector3.new(math.random(-400,400)/10,math.random(-400,400)/10,math.random(-400,400)/10)
  340.  
  341. coroutine.resume(coroutine.create(function()
  342.  
  343. wait(3)
  344.  
  345. p:remove()
  346.  
  347. end))
  348.  
  349. end
  350.  
  351.  
  352. h = Instance.new("HopperBin",me.Backpack)
  353.  
  354. h.Name = "Grab"
  355.  
  356.  
  357. bin = h
  358.  
  359.  
  360. local function select(mouse)
  361.  
  362. orr.Part1 = nil
  363.  
  364. ar.Part1 = knife
  365.  
  366. mouse.Button1Down:connect(function()
  367.  
  368. if attacking == false then
  369.  
  370. attacking = true
  371.  
  372. lw.Part1 = larm
  373.  
  374. rw.Part1 = rarm
  375.  
  376. hurt = true
  377.  
  378. for i=1, 8 do
  379.  
  380. rw.C0 = rw.C0 * CFrame.new(-0.03,0,-0.08) * CFrame.fromEulerAnglesXYZ(0.18,0.04,0)
  381.  
  382. lw.C0 = lw.C0 * CFrame.new(0.06,0,-0.06) * CFrame.fromEulerAnglesXYZ(0.15,-0.11,-0.05)
  383.  
  384. wait(0.1)
  385.  
  386. end
  387.  
  388. wait(1)
  389.  
  390. hurt = false
  391.  
  392. if grabbed == nil then
  393.  
  394. for i=1, 4 do
  395.  
  396. rw.C0 = rw.C0 * CFrame.new(0.06,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.36,-0.08,0)
  397.  
  398. lw.C0 = lw.C0 * CFrame.new(-0.12,0,0.12) * CFrame.fromEulerAnglesXYZ(-0.3,0.22,0.05)
  399.  
  400. wait(0.1)
  401.  
  402. end
  403.  
  404. lw.C0 = CFrame.new(0,0,0)
  405.  
  406. rw.C0 = CFrame.new(0,0,0)
  407.  
  408. lw.Part1 = nil
  409.  
  410. rw.Part1 = nil
  411.  
  412. attacking = false
  413.  
  414. end
  415.  
  416. elseif hurt == false and grabbed ~= nil and mode == "drop" then
  417.  
  418. grabweld:remove()
  419.  
  420. grabweld = nil
  421.  
  422. platlol = false
  423.  
  424. grabbed = nil
  425.  
  426. lolhum.PlatformStand = false
  427.  
  428. lolhum = nil
  429.  
  430. for i=1, 4 do
  431.  
  432. rw.C0 = rw.C0 * CFrame.new(0.06,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.36,-0.08,0)
  433.  
  434. lw.C0 = lw.C0 * CFrame.new(-0.12,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.3,0.2,0)
  435.  
  436. wait(0.1)
  437.  
  438. end
  439.  
  440. lw.C0 = CFrame.new(0,0,0)
  441.  
  442. rw.C0 = CFrame.new(0,0,0)
  443.  
  444. lw.Part1 = nil
  445.  
  446. rw.Part1 = nil
  447.  
  448. attacking = false
  449.  
  450. platlol = nil
  451.  
  452. elseif hurt == false and grabbed ~= nil and grabweld ~= nil and mode == "throw" then
  453.  
  454. grabweld:remove()
  455.  
  456. grabweld = nil
  457.  
  458. local bf = Instance.new("BodyForce",grabbed)
  459.  
  460. bf.force = torso.CFrame.lookVector * 8500
  461.  
  462. bf.force = bf.force + Vector3.new(0,7400,0)
  463.  
  464. coroutine.resume(coroutine.create(function()
  465.  
  466. wait(0.12)
  467.  
  468. bf:remove()
  469.  
  470. end))
  471.  
  472. for i=1, 6 do
  473.  
  474. rw.C0 = rw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0.35,0,0)
  475.  
  476. lw.C0 = lw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(-0.18,0,0)
  477.  
  478. wait(0.1)
  479.  
  480. end
  481.  
  482. for i=1, 4 do
  483.  
  484. rw.C0 = rw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(-0.47,0,0)
  485.  
  486. lw.C0 = lw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0.2,0,0)
  487.  
  488. wait(0.1)
  489.  
  490. end
  491.  
  492. wait(0.2)
  493.  
  494. platlol = false
  495.  
  496. grabbed = nil
  497.  
  498. lolhum.PlatformStand = false
  499.  
  500. lolhum = nil
  501.  
  502. for i=1, 4 do
  503.  
  504. rw.C0 = rw.C0 * CFrame.new(0.06,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.36,-0.08,0)
  505.  
  506. lw.C0 = lw.C0 * CFrame.new(-0.12,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.3,0.2,0)
  507.  
  508. wait(0.1)
  509.  
  510. end
  511.  
  512. lw.C0 = CFrame.new(0,0,0)
  513.  
  514. rw.C0 = CFrame.new(0,0,0)
  515.  
  516. lw.Part1 = nil
  517.  
  518. rw.Part1 = nil
  519.  
  520. attacking = false
  521.  
  522. platlol = nil
  523.  
  524. elseif hurt == false and grabbed ~= nil and lolhum ~= nil and grabweld ~= nil and mode == "kill" then
  525.  
  526. for i=1, 5 do
  527.  
  528. lw.C0 = lw.C0 * CFrame.new(0.02,0.12,0.1) * CFrame.fromEulerAnglesXYZ(-0.05,0,-0.03)
  529.  
  530. wait(0.1)
  531.  
  532. end
  533.  
  534. local ne = grabbed:findFirstChild("Neck")
  535.  
  536. coroutine.resume(coroutine.create(function()
  537.  
  538. local duh = grabbed
  539.  
  540. local duh2 = grabbed.Parent.Head
  541.  
  542. local lolas = lolhum
  543.  
  544. duh.RotVelocity = Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  545.  
  546. for i=1, 60 do
  547.  
  548. wait(0.1)
  549.  
  550. local hm = math.random(1,9)
  551.  
  552. pcall(function()
  553.  
  554. if hm == 1 then
  555.  
  556. duh2.Sound.Pitch = math.random(90,110)/100
  557.  
  558. duh2.Sound:play()
  559.  
  560. end
  561.  
  562. end)
  563.  
  564. if hm > 0 and hm < 3 then
  565.  
  566. bleed(duh,1)
  567.  
  568. bleed(duh2,-0.5)
  569.  
  570. end
  571.  
  572. end
  573.  
  574. lolas.Health = 0
  575.  
  576. for i=1, 85 do
  577.  
  578. wait(0.1)
  579.  
  580. local hm = math.random(1,9)
  581.  
  582. pcall(function()
  583.  
  584. if hm == 1 then
  585.  
  586. duh2.Sound.Pitch = math.random(90,110)/100
  587.  
  588. duh2.Sound:play()
  589.  
  590. end
  591.  
  592. end)
  593.  
  594. if hm > 0 and hm < 3 then
  595.  
  596. bleed(duh,1)
  597.  
  598. bleed(duh2,-0.5)
  599.  
  600. end
  601.  
  602. end
  603.  
  604. end))
  605.  
  606. for i=1, 3 do
  607.  
  608. lw.C0 = lw.C0 * CFrame.new(0.02,0.12,0.1) * CFrame.fromEulerAnglesXYZ(-0.05,0,-0.03)
  609.  
  610. if ne ~= nil then
  611.  
  612. grabbed.Neck.C0 = grabbed.Neck.C0 * CFrame.fromEulerAnglesXYZ(-0.35,0,0)
  613.  
  614. end
  615.  
  616. wait(0.1)
  617.  
  618. end
  619.  
  620. grabweld:remove()
  621.  
  622. grabweld = nil
  623.  
  624. for i=1, 4 do
  625.  
  626. lw.C0 = lw.C0 * CFrame.new(-0.04,-0.24,-0.2) * CFrame.fromEulerAnglesXYZ(0.1,0,0.06)
  627.  
  628. wait(0.1)
  629.  
  630. end
  631.  
  632. for i=1, 4 do
  633.  
  634. rw.C0 = rw.C0 * CFrame.new(0.06,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.36,-0.08,0)
  635.  
  636. lw.C0 = lw.C0 * CFrame.new(-0.12,0,0.12) * CFrame.fromEulerAnglesXYZ(-0.3,0.22,0.05)
  637.  
  638. wait(0.1)
  639.  
  640. end
  641.  
  642. lw.C0 = CFrame.new(0,0,0)
  643.  
  644. rw.C0 = CFrame.new(0,0,0)
  645.  
  646. lw.Part1 = nil
  647.  
  648. rw.Part1 = nil
  649.  
  650. platlol = false
  651.  
  652. grabbed = nil
  653.  
  654. lolhum = nil
  655.  
  656. attacking = false
  657.  
  658. platlol = nil
  659.  
  660. end
  661.  
  662. end)
  663.  
  664. mouse.KeyDown:connect(function(kai)
  665.  
  666. key = kai:lower()
  667.  
  668. if key == "q" then
  669.  
  670. mode = "drop"
  671.  
  672. inform("Mode: Drop",2)
  673.  
  674. elseif key == "e" then
  675.  
  676. mode = "throw"
  677.  
  678. inform("Mode: Throw",2)
  679.  
  680. elseif key == "f" then
  681.  
  682. mode = "kill"
  683.  
  684. inform("Mode: Kill",2)
  685.  
  686. end
  687.  
  688. end)
  689.  
  690. end
  691.  
  692.  
  693. function desel()
  694.  
  695. repeat wait(0.1) until attacking == false
  696.  
  697. orr.Part1 = knife
  698.  
  699. ar.Part1 = nil
  700.  
  701. end
  702.  
  703.  
  704. bin.Selected:connect(select)
  705.  
  706. bin.Deselected:connect(desel)
  707.  
  708.  
  709. char.Humanoid.Died:connect(function()
  710.  
  711. pcall(function()
  712.  
  713. grabweld:remove()
  714.  
  715. grabweld = nil
  716.  
  717. grabbed = nil
  718.  
  719. platlol = false
  720.  
  721. platlol = nil
  722.  
  723. end)
  724.  
  725. end)
  726.  
  727.  
  728. inform("Grab script loaded succesfully.",2)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top