daily pastebin goal
86%
SHARE
TWEET

Theamazingnater's Kill Gui!

Theamazingnater Feb 13th, 2018 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- by Theamazingnater
  2. -- KBrown, if you are here, please don't leak this. Thanks!
  3. -- How to use: Put the player's name/dummy's name onto the textbox, then press the button. the magic will happen.
  4. plr = game.Players.LocalPlayer
  5. char = plr.Character
  6.  
  7. -- Objects
  8. local gui = Instance.new("ScreenGui",plr.PlayerGui)
  9. gui.Name = "Killyourpeoplexd"
  10. local text = Instance.new("TextBox",gui)
  11. text.BackgroundColor3 = Color3.new(0,0,0)
  12. text.TextScaled = true
  13. text.Text = "Name here."
  14. text.Position = UDim2.new(0.265, 0,0.751, 0)
  15. text.Size = UDim2.new(0.401, 0,0.249, 0)
  16. text.TextColor3 = Color3.new(1,1,1)
  17. text.Font = Enum.Font.SciFi
  18. local butt = Instance.new("TextButton",gui)
  19. butt.Text = "Kill"
  20. butt.TextScaled = true
  21. butt.TextColor3 = Color3.new(1,1,1)
  22. butt.BackgroundColor3 = Color3.new(0,0,0)
  23. butt.Position = UDim2.new(0.114, 0,0.755, 0)
  24. butt.Size = UDim2.new(0.132, 0,0.251, 0)
  25. butt.Font = Enum.Font.Bodoni
  26. -- Properties
  27. butt.MouseButton1Click:connect(function()
  28.     workspace:WaitForChild(text.Text).Torso.Anchored = true
  29.         local nani = Instance.new("Sound",workspace:WaitForChild(text.Text).Torso)
  30.         nani.SoundId = "rbxassetid://985132972"
  31.         nani.Volume = 4
  32.         nani:Play()
  33.         wait(4)
  34.         nani:Stop()
  35.         nani:Destroy()
  36.         local explosion = Instance.new("Explosion",workspace:WaitForChild(text.Text).Torso)
  37.         explosion.BlastRadius = 0
  38.         explosion.BlastPressure = 0
  39.         explosion.Position = workspace:WaitForChild(text.Text).Torso.Position
  40.         workspace:WaitForChild(text.Text):FindFirstChildOfClass("Humanoid").Health = 0
  41.         workspace:WaitForChild(text.Text).Torso.Anchored = false
  42. end)
RAW Paste Data
Top