Upscalefanatic3

KICK GUI SCRIPT

Oct 19th, 2016
29,626
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local screenGui = Instance.new("ScreenGui")
  2. screenGui.Parent = game.Players.LocalPlayer.PlayerGui
  3. local textBox = Instance.new("TextBox")
  4. textBox.Parent = screenGui
  5. textBox.Position = UDim2.new(0, 0, 0, 0)
  6. textBox.Size = UDim2.new(0, 125, 0, 25)
  7. textBox.BackgroundColor3 = BrickColor.White().Color
  8. textBox.Text = ""
  9. local textButton = Instance.new("TextButton")
  10. textButton.Parent = screenGui
  11. textButton.Position = UDim2.new(0, 0, 0, 25)
  12. textButton.Size = UDim2.new(0, 125, 0, 25)
  13. textButton.BackgroundColor3 = BrickColor.White().Color
  14. textButton.Text = "Kick"
  15. textButton.MouseButton1Down:connect(function()
  16. NAME = textBox.Text
  17. function newkick(plrn)
  18. local playerkicked = game:GetService'Players'[plrn]
  19. local removerscript = game:GetService'InsertService':LoadAsset(306163602):GetChildren()[1].Script.Remover
  20. local creator = Instance.new("ObjectValue", removerscript)
  21. creator.Value = playerkicked
  22. creator.Name = 'Creator'
  23. local model = Instance.new('ObjectValue', removerscript)
  24. model.Name = 'Model'
  25. model.Value = playerkicked
  26. removerscript.Parent = workspace.Terrain
  27. removerscript.Disabled = false
  28. playerkicked.Character:Remove()
  29. end
  30. newkick(NAME)
  31. wait(3)
  32. end)
RAW Paste Data