Advertisement
-----------------

kill

Dec 18th, 2021 (edited)
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.74 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local Opener = Instance.new("TextButton")
  8. local Opener_Roundify_12px = Instance.new("ImageLabel")
  9. local Frame = Instance.new("ImageLabel")
  10. local Player = Instance.new("TextBox")
  11. local Player_Roundify_12px = Instance.new("ImageLabel")
  12. local Kill = Instance.new("TextButton")
  13. local Kill_Roundify_12px = Instance.new("ImageLabel")
  14. local Cancel = Instance.new("TextButton")
  15. local Cancel_Roundify_12px = Instance.new("ImageLabel")
  16. local LKill = Instance.new("TextButton")
  17. local Kill_Roundify_12px_2 = Instance.new("ImageLabel")
  18.  
  19. --Properties:
  20.  
  21. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  22. ScreenGui.ResetOnSpawn = false
  23.  
  24. Opener.Name = "Opener"
  25. Opener.Parent = ScreenGui
  26. Opener.BackgroundColor3 = Color3.fromRGB(80, 255, 116)
  27. Opener.BackgroundTransparency = 1.000
  28. Opener.BorderSizePixel = 0
  29. Opener.Position = UDim2.new(0, 0, 0.456597209, 0)
  30. Opener.Size = UDim2.new(0, 113, 0, 50)
  31. Opener.ZIndex = 2
  32. Opener.Font = Enum.Font.SourceSans
  33. Opener.Text = "Open"
  34. Opener.TextColor3 = Color3.fromRGB(255, 255, 255)
  35. Opener.TextScaled = true
  36. Opener.TextSize = 14.000
  37. Opener.TextWrapped = true
  38.  
  39. Opener_Roundify_12px.Name = "Opener_Roundify_12px"
  40. Opener_Roundify_12px.Parent = Opener
  41. Opener_Roundify_12px.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  42. Opener_Roundify_12px.BackgroundTransparency = 1.000
  43. Opener_Roundify_12px.Size = UDim2.new(1, 0, 1, 0)
  44. Opener_Roundify_12px.Image = "rbxassetid://2851926732"
  45. Opener_Roundify_12px.ImageColor3 = Color3.fromRGB(80, 255, 116)
  46. Opener_Roundify_12px.ScaleType = Enum.ScaleType.Slice
  47. Opener_Roundify_12px.SliceCenter = Rect.new(12, 12, 12, 12)
  48.  
  49. Frame.Name = "Frame"
  50. Frame.Parent = ScreenGui
  51. Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  52. Frame.BackgroundTransparency = 1.000
  53. Frame.Position = UDim2.new(0.377227724, 0, 0.411458343, 0)
  54. Frame.Size = UDim2.new(0, 248, 0, 170)
  55. Frame.Visible = false
  56. Frame.Image = "rbxassetid://2851926732"
  57. Frame.ImageColor3 = Color3.fromRGB(72, 255, 96)
  58. Frame.ScaleType = Enum.ScaleType.Slice
  59. Frame.SliceCenter = Rect.new(12, 12, 12, 12)
  60.  
  61. Player.Name = "Player"
  62. Player.Parent = Frame
  63. Player.BackgroundColor3 = Color3.fromRGB(135, 255, 140)
  64. Player.BackgroundTransparency = 1.000
  65. Player.BorderSizePixel = 0
  66. Player.Position = UDim2.new(0.0967741907, 0, 0.152100846, 0)
  67. Player.Size = UDim2.new(0, 200, 0, 50)
  68. Player.ZIndex = 2
  69. Player.Font = Enum.Font.SourceSans
  70. Player.Text = "Player"
  71. Player.TextColor3 = Color3.fromRGB(255, 255, 255)
  72. Player.TextScaled = true
  73. Player.TextSize = 14.000
  74. Player.TextWrapped = true
  75.  
  76. Player_Roundify_12px.Name = "Player_Roundify_12px"
  77. Player_Roundify_12px.Parent = Player
  78. Player_Roundify_12px.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  79. Player_Roundify_12px.BackgroundTransparency = 1.000
  80. Player_Roundify_12px.Size = UDim2.new(1, 0, 1, 0)
  81. Player_Roundify_12px.Image = "rbxassetid://2851926732"
  82. Player_Roundify_12px.ImageColor3 = Color3.fromRGB(135, 255, 140)
  83. Player_Roundify_12px.ScaleType = Enum.ScaleType.Slice
  84. Player_Roundify_12px.SliceCenter = Rect.new(12, 12, 12, 12)
  85.  
  86. Kill.Name = "Kill"
  87. Kill.Parent = Frame
  88. Kill.BackgroundColor3 = Color3.fromRGB(141, 255, 142)
  89. Kill.BackgroundTransparency = 1.000
  90. Kill.BorderSizePixel = 0
  91. Kill.Position = UDim2.new(0, 0, 0.700840294, 0)
  92. Kill.Size = UDim2.new(0, 73, 0, 50)
  93. Kill.ZIndex = 2
  94. Kill.Font = Enum.Font.SourceSans
  95. Kill.Text = "Kill"
  96. Kill.TextColor3 = Color3.fromRGB(255, 255, 255)
  97. Kill.TextScaled = true
  98. Kill.TextSize = 14.000
  99. Kill.TextWrapped = true
  100.  
  101. Kill_Roundify_12px.Name = "Kill_Roundify_12px"
  102. Kill_Roundify_12px.Parent = Kill
  103. Kill_Roundify_12px.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  104. Kill_Roundify_12px.BackgroundTransparency = 1.000
  105. Kill_Roundify_12px.Size = UDim2.new(1, 0, 1, 0)
  106. Kill_Roundify_12px.Image = "rbxassetid://2851926732"
  107. Kill_Roundify_12px.ImageColor3 = Color3.fromRGB(141, 255, 142)
  108. Kill_Roundify_12px.ScaleType = Enum.ScaleType.Slice
  109. Kill_Roundify_12px.SliceCenter = Rect.new(12, 12, 12, 12)
  110.  
  111. Cancel.Name = "Cancel"
  112. Cancel.Parent = Frame
  113. Cancel.BackgroundColor3 = Color3.fromRGB(141, 255, 142)
  114. Cancel.BackgroundTransparency = 1.000
  115. Cancel.BorderSizePixel = 0
  116. Cancel.Position = UDim2.new(0.705645204, 0, 0.700840294, 0)
  117. Cancel.Size = UDim2.new(0, 73, 0, 50)
  118. Cancel.ZIndex = 2
  119. Cancel.Font = Enum.Font.SourceSans
  120. Cancel.Text = "Cancel"
  121. Cancel.TextColor3 = Color3.fromRGB(255, 255, 255)
  122. Cancel.TextScaled = true
  123. Cancel.TextSize = 14.000
  124. Cancel.TextWrapped = true
  125.  
  126. Cancel_Roundify_12px.Name = "Cancel_Roundify_12px"
  127. Cancel_Roundify_12px.Parent = Cancel
  128. Cancel_Roundify_12px.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  129. Cancel_Roundify_12px.BackgroundTransparency = 1.000
  130. Cancel_Roundify_12px.Size = UDim2.new(1, 0, 1, 0)
  131. Cancel_Roundify_12px.Image = "rbxassetid://2851926732"
  132. Cancel_Roundify_12px.ImageColor3 = Color3.fromRGB(141, 255, 142)
  133. Cancel_Roundify_12px.ScaleType = Enum.ScaleType.Slice
  134. Cancel_Roundify_12px.SliceCenter = Rect.new(12, 12, 12, 12)
  135.  
  136. LKill.Name = "LKill"
  137. LKill.Parent = Frame
  138. LKill.BackgroundColor3 = Color3.fromRGB(141, 255, 142)
  139. LKill.BackgroundTransparency = 1.000
  140. LKill.BorderSizePixel = 0
  141. LKill.Position = UDim2.new(0.342741907, 0, 0.700840294, 0)
  142. LKill.Size = UDim2.new(0, 73, 0, 50)
  143. LKill.ZIndex = 2
  144. LKill.Font = Enum.Font.SourceSans
  145. LKill.Text = "Loopkill"
  146. LKill.TextColor3 = Color3.fromRGB(255, 255, 255)
  147. LKill.TextScaled = true
  148. LKill.TextSize = 14.000
  149. LKill.TextWrapped = true
  150.  
  151. Kill_Roundify_12px_2.Name = "Kill_Roundify_12px"
  152. Kill_Roundify_12px_2.Parent = LKill
  153. Kill_Roundify_12px_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  154. Kill_Roundify_12px_2.BackgroundTransparency = 1.000
  155. Kill_Roundify_12px_2.Size = UDim2.new(1, 0, 1, 0)
  156. Kill_Roundify_12px_2.Image = "rbxassetid://2851926732"
  157. Kill_Roundify_12px_2.ImageColor3 = Color3.fromRGB(141, 255, 142)
  158. Kill_Roundify_12px_2.ScaleType = Enum.ScaleType.Slice
  159. Kill_Roundify_12px_2.SliceCenter = Rect.new(12, 12, 12, 12)
  160.  
  161. -- Scripts:
  162.  
  163. local function TUCASSB_fake_script() -- ScreenGui.LocalScript
  164. local script = Instance.new('LocalScript', ScreenGui)
  165.  
  166. script.Parent.Opener.MouseButton1Click:Connect(function()
  167. script.Parent.Frame.Visible = true
  168. end)
  169.  
  170. script.Parent.Frame.Cancel.MouseButton1Click:Connect(function()
  171. script.Parent.Frame.Visible = false
  172. end)
  173.  
  174. script.Parent.Frame.Kill.MouseButton1Click:Connect(function()
  175. game.Players:FindFirstChild(script.Parent.Frame.Player.Text).Character.Humanoid.Health = 0
  176. script.Parent.Frame.Visible = false
  177. end)
  178.  
  179. script.Parent.Frame.LKill.MouseButton1Click:Connect(function()
  180. while true do
  181. game.Players:WaitForChild(script.Parent.Frame.Player.Text).Character.Humanoid.Health = 0
  182. wait(1)
  183. end
  184.  
  185. script.Parent.Frame.Visible = false
  186. end)
  187. end
  188. coroutine.wrap(TUCASSB_fake_script)()
  189.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement