Advertisement
Migas3456

Guillotine GUI

Oct 3rd, 2017
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.77 KB | None | 0 0
  1. -- This Only Works With A Lvl 7 Exploit, Sorry
  2.  
  3. local VanGui = Instance.new("ScreenGui")
  4. local Opener = Instance.new("Frame")
  5. local Open = Instance.new("TextButton")
  6. local DaGui = Instance.new("Frame")
  7. local Frame = Instance.new("Frame")
  8. local Close = Instance.new("TextButton")
  9. local Username = Instance.new("TextBox")
  10. local VanDaPlayer = Instance.new("TextButton")
  11. local TextLabel = Instance.new("TextLabel")
  12.  
  13. -- Properties
  14.  
  15. VanGui.Name = "VanGui"
  16. if game.PlaceId == "843495510,843468296" then
  17. VanGui.Parent = game.Players.LocalPlayer.PlayerGui
  18. VanGui.ResetOnSpawn = false
  19. else
  20. VanGui.Parent = game.CoreGui
  21. end
  22.  
  23. Opener.Name = "Opener"
  24. Opener.Parent = VanGui
  25. Opener.BackgroundColor3 = Color3.new(0, 0, 0)
  26. Opener.BackgroundTransparency = 0.5
  27. Opener.Position = UDim2.new(0, 19, 0, 564)
  28. Opener.Size = UDim2.new(0, 224, 0, 40)
  29.  
  30. Open.Name = "Open"
  31. Open.Parent = Opener
  32. Open.BackgroundColor3 = Color3.new(0, 0, 0)
  33. Open.BackgroundTransparency = 0.5
  34. Open.Size = UDim2.new(0, 224, 0, 40)
  35. Open.Font = Enum.Font.SciFi
  36. Open.FontSize = Enum.FontSize.Size42
  37. Open.Text = "Open"
  38. Open.TextColor3 = Color3.new(0, 1, 1)
  39. Open.TextSize = 42
  40.  
  41. DaGui.Name = "DaGui"
  42. DaGui.Parent = VanGui
  43. DaGui.BackgroundColor3 = Color3.new(0, 0, 0)
  44. DaGui.BackgroundTransparency = 0.5
  45. DaGui.Draggable = true
  46. DaGui.Position = UDim2.new(0, 0, 0, 311)
  47. DaGui.Size = UDim2.new(0, 343, 0, 197)
  48. DaGui.Visible = false
  49.  
  50. Frame.Parent = DaGui
  51. Frame.BackgroundColor3 = Color3.new(1, 0, 0.0156863)
  52. Frame.Position = UDim2.new(0, 313, 0, 0)
  53. Frame.Size = UDim2.new(0, 30, 0, 26)
  54.  
  55. Close.Name = "Close"
  56. Close.Parent = Frame
  57. Close.BackgroundColor3 = Color3.new(1, 0, 0.0156863)
  58. Close.Size = UDim2.new(0, 30, 0, 26)
  59. Close.Font = Enum.Font.SciFi
  60. Close.FontSize = Enum.FontSize.Size14
  61. Close.Text = "X"
  62. Close.TextColor3 = Color3.new(1, 1, 1)
  63. Close.TextSize = 14
  64. Close.TextStrokeTransparency = 5
  65.  
  66. Username.Name = "Username"
  67. Username.Parent = DaGui
  68. Username.BackgroundColor3 = Color3.new(0, 0, 0)
  69. Username.BackgroundTransparency = 0.5
  70. Username.Position = UDim2.new(0, 72, 0, 76)
  71. Username.Size = UDim2.new(0, 200, 0.0999999866, 24)
  72. Username.Font = Enum.Font.SciFi
  73. Username.FontSize = Enum.FontSize.Size18
  74. Username.Text = "Username"
  75. Username.TextColor3 = Color3.new(0, 1, 1)
  76. Username.TextSize = 18
  77.  
  78. VanDaPlayer.Name = "VanDaPlayer"
  79. VanDaPlayer.Parent = DaGui
  80. VanDaPlayer.BackgroundColor3 = Color3.new(0, 0, 0)
  81. VanDaPlayer.BackgroundTransparency = 0.5
  82. VanDaPlayer.Position = UDim2.new(0.0199999996, 90, 0.00999999978, 138)
  83. VanDaPlayer.Size = UDim2.new(0, 150, 0, 26)
  84. VanDaPlayer.Font = Enum.Font.SciFi
  85. VanDaPlayer.FontSize = Enum.FontSize.Size14
  86. VanDaPlayer.Text = "Guillotine"
  87. VanDaPlayer.TextColor3 = Color3.new(0, 1, 1)
  88. VanDaPlayer.TextSize = 14
  89.  
  90. TextLabel.Parent = DaGui
  91. TextLabel.BackgroundColor3 = Color3.new(0, 0, 0)
  92. TextLabel.BackgroundTransparency = 0.5
  93. TextLabel.Position = UDim2.new(0, 48, 0, 22)
  94. TextLabel.Size = UDim2.new(0, 246, 0, 19)
  95. TextLabel.Font = Enum.Font.SciFi
  96. TextLabel.FontSize = Enum.FontSize.Size18
  97. TextLabel.Text = "Guillotine GUI"
  98. TextLabel.TextColor3 = Color3.new(0, 1, 1)
  99. TextLabel.TextSize = 17
  100.  
  101. Open.MouseButton1Down:connect(function()
  102. DaGui.Visible = true
  103. Opener.Visible = false
  104. end)
  105.  
  106. Close.MouseButton1Down:connect(function()
  107. DaGui.Visible = false
  108. Opener.Visible = true
  109. end)
  110.  
  111. VanDaPlayer.MouseButton1Down:connect(function()
  112. Killer = game.Players.LocalPlayer
  113. Victim = game.Players[Username.Text]
  114.  
  115.  
  116.  
  117. game:GetObjects("rbxassetid://503217496")[1].Parent=game.Workspace
  118. wait(0.5)
  119. game.Workspace.Guillo:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector* 30)
  120.  
  121. wait(2)
  122.  
  123. function onTouched(hit)
  124. p = hit.Parent:findFirstChild("Humanoid")
  125. ra = hit.Parent:findFirstChild("Right Arm")
  126. rl = hit.Parent:findFirstChild("Right Leg")
  127. la = hit.Parent:findFirstChild("Left Arm")
  128. lr = hit.Parent:findFirstChild("Left Leg")
  129. t = hit.Parent:findFirstChild("Torso")
  130. if p ~= nil then
  131. p.Health = 0
  132. ra.CanCollide = false
  133. ra.Anchored = true
  134. rl.CanCollide = false
  135. rl.Anchored = true
  136. la.CanCollide = false
  137. la.Anchored = true
  138. lr.CanCollide = false
  139. lr.Anchored = true
  140. t.CanCollide = false
  141. t.Anchored = true
  142. local bp = Instance.new("BodyPosition")
  143. bp.Parent = hit.Parent.Head
  144. bp.position = game.Workspace.Guillo.sModel.pos.Position
  145. wait(.2)
  146. hit.Parent.Head.Size = Vector3.new(1,1,1)
  147. bp:Remove()
  148. end
  149. end
  150.  
  151. game.Workspace.Guillo.sModel.Blade.Touched:connect(onTouched)
  152.  
  153.  
  154. function onClicked()
  155. if game.Workspace.Guillo.sModel.Rdy.Value == true then
  156. game.Workspace.Guillo.Safety:Destroy()
  157. game.Workspace.Guillo.sModel.Blade.bv.velocity = Vector3.new(0,-50,0)
  158. game.Workspace.Guillo.sModel.lvr2.Transparency = 1
  159. game.Workspace.Guillo.sModel.lvr1.Transparency = 0
  160. game.Workspace.Guillo.sModel.lvr2.CanCollide = false
  161. game.Workspace.Guillo.sModel.lvr1.CanCollide = true
  162. wait(0.3)
  163. game.Workspace.Guillo.sModel.Blade.bv.velocity = Vector3.new(0,0,0)
  164. game.Workspace.Guillo.sModel.Rdy.Value = false
  165. wait(5)
  166. game.Workspace.Guillo:Destroy()
  167. elseif game.Workspace.Guillo.sModel.Rdy.Value == false then
  168. game.Workspace.Guillo.sModel.Blade.bv.velocity = Vector3.new(0,1,0)
  169. game.Workspace.Guillo.sModel.lvr2.Transparency = 0
  170. game.Workspace.Guillo.sModel.lvr1.Transparency = 1
  171. game.Workspace.Guillo.sModel.lvr2.CanCollide = true
  172. game.Workspace.Guillo.sModel.lvr1.CanCollide = false
  173. game.Workspace.Guillo.sModel.Rdy.Value = true
  174. end
  175. end
  176.  
  177. game.Workspace.Guillo.sModel.lvr1.ClickDetector.MouseClick:connect(onClicked)
  178. game.Workspace.Guillo.sModel.lvr2.ClickDetector.MouseClick:connect(onClicked)
  179.  
  180. Killer.Character.HumanoidRootPart.CFrame = game.Workspace.Guillo.PartTPer.CFrame
  181. game.Workspace.Guillo.PartTPer:Destroy()
  182. wait(1)
  183. Victim.Character.HumanoidRootPart.CFrame = game.Workspace.Guillo.Seat.CFrame
  184. game.Workspace.Guillo.PartTP2:Destroy()
  185. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement