mooodi1234

Guillotine Execution

Jun 7th, 2017
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.38 KB | None | 0 0
  1. Killer = game.Players.LocalPlayer
  2. Victim = game.Players["CozyPill0wez"]
  3.  
  4.  
  5.  
  6. wait(0.5)
  7. game.Workspace.Guillo:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector* 30)
  8.  
  9. wait(2)
  10.  
  11. function onTouched(hit)
  12. p = hit.Parent:findFirstChild("Humanoid")
  13. ra = hit.Parent:findFirstChild("Right Arm")
  14. rl = hit.Parent:findFirstChild("Right Leg")
  15. la = hit.Parent:findFirstChild("Left Arm")
  16. lr = hit.Parent:findFirstChild("Left Leg")
  17. t = hit.Parent:findFirstChild("Torso")
  18. if p ~= nil then
  19. p.Health = 0
  20. ra.CanCollide = false
  21. ra.Anchored = true
  22. rl.CanCollide = false
  23. rl.Anchored = true
  24. la.CanCollide = false
  25. la.Anchored = true
  26. lr.CanCollide = false
  27. lr.Anchored = true
  28. t.CanCollide = false
  29. t.Anchored = true
  30. local bp = Instance.new("BodyPosition")
  31. bp.Parent = hit.Parent.Head
  32. bp.position = game.Workspace.Guillo.sModel.pos.Position
  33. wait(.2)
  34. hit.Parent.Head.Size = Vector3.new(1,1,1)
  35. bp:Remove()
  36. end
  37. end
  38.  
  39. game.Workspace.Guillo.sModel.Blade.Touched:connect(onTouched)
  40.  
  41.  
  42. function onClicked()
  43. if game.Workspace.Guillo.sModel.Rdy.Value == true then
  44. game.Workspace.Guillo.Safety:Destroy()
  45. game.Workspace.Guillo.sModel.Blade.bv.velocity = Vector3.new(0,-50,0)
  46. game.Workspace.Guillo.sModel.lvr2.Transparency = 1
  47. game.Workspace.Guillo.sModel.lvr1.Transparency = 0
  48. game.Workspace.Guillo.sModel.lvr2.CanCollide = false
  49. game.Workspace.Guillo.sModel.lvr1.CanCollide = true
  50. wait(0.3)
  51. game.Workspace.Guillo.sModel.Blade.bv.velocity = Vector3.new(0,0,0)
  52. game.Workspace.Guillo.sModel.Rdy.Value = false
  53. wait(5)
  54. game.Workspace.Guillo:Destroy()
  55. elseif game.Workspace.Guillo.sModel.Rdy.Value == false then
  56. game.Workspace.Guillo.sModel.Blade.bv.velocity = Vector3.new(0,1,0)
  57. game.Workspace.Guillo.sModel.lvr2.Transparency = 0
  58. game.Workspace.Guillo.sModel.lvr1.Transparency = 1
  59. game.Workspace.Guillo.sModel.lvr2.CanCollide = true
  60. game.Workspace.Guillo.sModel.lvr1.CanCollide = false
  61. game.Workspace.Guillo.sModel.Rdy.Value = true
  62. end
  63. end
  64.  
  65. game.Workspace.Guillo.sModel.lvr1.ClickDetector.MouseClick:connect(onClicked)
  66. game.Workspace.Guillo.sModel.lvr2.ClickDetector.MouseClick:connect(onClicked)
  67.  
  68. Killer.Character.HumanoidRootPart.CFrame = game.Workspace.Guillo.PartTPer.CFrame
  69. game.Workspace.Guillo.PartTPer:Destroy()
  70. wait(1)
  71. Victim.Character.HumanoidRootPart.CFrame = game.Workspace.Guillo.Seat.CFrame
  72. game.Workspace.Guillo.PartTP2:Destroy()
Add Comment
Please, Sign In to add comment