Ufomodz101

some mine but not all my script

Apr 19th, 2020
421
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <cmds> :cmds roblox Admin <kick others> <ban others>  
  2. local plr = game.Players.LocalPlayer
  3. function welcomeOut(we)
  4.     we:TweenPosition(UDim2.new(0.5, -120,-2,0), "Out", "Bounce",2)
  5.     wait(2)
  6.     we.Visible = false
  7. end
  8. local wea = Instance.new("ScreenGui")
  9. wea.Parent = plr.PlayerGui
  10. local Welcome = Instance.new("TextLabel")
  11. Welcome.Parent = wea
  12. Welcome.BackgroundColor3 = Color3.new(0.0705882, 0.0705882, 0.0705882)
  13. Welcome.BorderColor3 = Color3.new(0, 0, 0)
  14. Welcome.BorderSizePixel = 2
  15. Welcome.TextColor3 = Color3.new(255, 255, 255)
  16. Welcome.Text = 'Welcome, Made by "gabkiu1", ENJOY!'
  17. Welcome.TextScaled = true
  18. Welcome.Size = UDim2.new(0, 250, 0, 45)
  19. Welcome.Position = UDim2.new(0.5, -125,0.5,-22)
  20.  
  21. wait(4)
  22.     welcomeOut(Welcome)
  23.  
  24. function newgui()
  25. local hasKicked = nil
  26. local plr = game.Players.LocalPlayer
  27. local ScreenGui = Instance.new("ScreenGui")
  28. local Frame = Instance.new("Frame")
  29. local cKick = Instance.new("TextButton")
  30. local victime = Instance.new("TextBox")
  31. local Kicked = Instance.new("TextLabel")
  32. local tReason = Instance.new("TextBox")
  33. local rGui = Instance.new("ScreenGui")
  34. ScreenGui.Parent = plr.PlayerGui
  35.  
  36.  
  37. Frame.Parent = ScreenGui
  38. Frame.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902)
  39. Frame.BorderColor3 = Color3.new(0.109804, 0.109804, 0.109804)
  40. Frame.BorderSizePixel = 2
  41. Frame.Position = UDim2.new(0.915912032, -100, 1, -65)
  42. Frame.Size = UDim2.new(0, 165, 0, 65)
  43.  
  44.  
  45. tReason.Name = "tReason"
  46. tReason.Parent = ScreenGui.Frame
  47. tReason.BackgroundColor3 = Color3.new(0.0705882, 0.0705882, 0.0705882)
  48. tReason.BorderColor3 = Color3.new(0, 0, 0)
  49. tReason.BorderSizePixel = 2
  50. tReason.Position = UDim2.new(0, 0, -0.338461548, 0)
  51. tReason.Size = UDim2.new(0, 165, 0, 20)
  52. tReason.Font = Enum.Font.Fantasy
  53. tReason.PlaceholderColor3 = Color3.new(0.698039, 0.698039, 0.698039)
  54. tReason.Text = "Reason(Optional)"
  55. tReason.TextColor3 = Color3.new(1, 1, 1)
  56. tReason.TextSize = 14
  57.  
  58. cKick.Name = "cKick"
  59. cKick.Parent = Frame
  60. cKick.BackgroundColor3 = Color3.new(0.109804, 0.109804, 0.109804)
  61. cKick.BorderColor3 = Color3.new(0.0705882, 0.0705882, 0.0705882)
  62. cKick.BorderSizePixel = 2
  63. cKick.Position = UDim2.new(0.109090912, 0, 0.55384618, 0)
  64. cKick.Size = UDim2.new(0, 60, 0, 17)
  65. cKick.Font = Enum.Font.Fantasy
  66. cKick.Text = "Kick"
  67. cKick.TextColor3 = Color3.new(1, 1, 1)
  68. cKick.TextSize = 14
  69. local cBan = cKick:Clone()
  70. cBan.Parent = Frame
  71. cBan.Text = "Ban"
  72. cBan.Position = UDim2.new(0.539090912, 0, 0.55384618, 0)
  73.  
  74.  
  75. victime.Name = "victime"
  76. victime.Parent = Frame
  77. victime.BackgroundColor3 = Color3.new(0.917647, 0.917647, 0.917647)
  78. victime.BorderColor3 = Color3.new(0.0705882, 0.0705882, 0.0705882)
  79. victime.BorderSizePixel = 2
  80. victime.Position = UDim2.new(0.0606060624, 0, 0.123076923, 0)
  81. victime.Size = UDim2.new(0, 148, 0, 16)
  82. victime.Font = Enum.Font.Fantasy
  83. victime.PlaceholderColor3 = Color3.new(1, 1, 1)
  84. victime.Text = "Player Name"
  85. victime.TextColor3 = Color3.new(0, 0, 0)
  86. victime.TextScaled = true
  87. victime.TextSize = 14
  88. victime.TextWrapped = true
  89.  
  90. Kicked.Name = "Kicked"
  91. Kicked.Parent = ScreenGui
  92. Kicked.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902)
  93. Kicked.BorderColor3 = Color3.new(0.109804, 0.109804, 0.109804)
  94. Kicked.BorderSizePixel = 2
  95. Kicked.Position = UDim2.new(0.5, -120, 0, 0)
  96. Kicked.Size = UDim2.new(0, 239, 0, 38)
  97. Kicked.Visible = false
  98. Kicked.Font = Enum.Font.Fantasy
  99. Kicked.Text = ""
  100. Kicked.TextColor3 = Color3.new(1, 1, 1)
  101. Kicked.TextScaled = true
  102. Kicked.TextSize = 14
  103. Kicked.TextWrapped = true
  104.  
  105. function plrReason(victim,reason)
  106.     local victimReason = Instance.new("TextLabel")
  107.     rGui.Parent = victim.PlayerGui
  108.     victimReason.Name = "victimReason"
  109.     victimReason.Parent = rGui
  110.     victimReason.BorderSizePixel = 2
  111.     victimReason.BackgroundColor3 = Color3.new(0.109804, 0.109804, 0.109804)
  112.     victimReason.BorderColor3 = Color3.new(0.0705882, 0.0705882, 0.0705882)
  113.     victimReason.Size = UDim2.new(1,0,1,0)
  114.     victimReason.Font = Enum.Font.Fantasy
  115.     victimReason.Text = reason
  116.     victimReason.TextColor3 = Color3.new(1, 1, 1)
  117.     victimReason.TextScaled = true
  118. end
  119.  
  120. function Kick(PLAYER)
  121. if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') and PLAYER.Character:FindFirstChild('Torso') then
  122. PLAYER.Character.HumanoidRootPart.Position = Vector3.new(math.random(999000, 1001000), 10000, 0)
  123. local Plat = Instance.new('SkateboardPlatform', PLAYER.Character) Plat.Position = PLAYER.Character.HumanoidRootPart.Position
  124. Plat.Name = 'IYkick'
  125. Plat.Size = Vector3.new(100, 1, 100)
  126. local PART = Instance.new('Part', PLAYER.Character)
  127. PART.Position = Plat.Position - Vector3.new(0, 3, 0)
  128. PART.Size = Vector3.new(100, 1, 100)
  129. PART.Anchored = true
  130.  
  131. PART.Transparency = 1
  132. Plat.Transparency = 1
  133.  
  134. repeat wait(1)
  135.     if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then
  136.         Plat.Position = PLAYER.Character.HumanoidRootPart.Position
  137.     end
  138.     Kick(PLAYER)
  139.     until not game.Players:findFirstChild(PLAYER)
  140.     end
  141. end
  142.  
  143. function EKick(plrName)
  144.     if game.Players:FindFirstChild(plrName) then
  145.         if tReason.Text ~= "Reason(Optional)" then
  146.             plrReason(game.Players:FindFirstChild(plrName),tReason.Text)
  147.         end
  148.         wait()
  149.         Kick(game.Players:FindFirstChild(plrName))
  150.         wait(2.25)
  151.        
  152.         if game.Players:FindFirstChild(plrName) then
  153.             Kicked.Text = "Something hanpped, ... error..."
  154.             Kicked.Visible = true
  155.             wait(6)
  156.             Kicked.Visible = false
  157.         else
  158.             Kicked.Text = "Kicked " .. plrName .. " Successful, Made By gabkiu1"
  159.             Kicked.Visible = true
  160.             wait(6)
  161.             Kicked.Visible = false
  162.         end
  163.     end
  164. end
  165.  
  166. function RKick(plrName)
  167.     local plrexist = game.Players:FindFirstChild(plrName)
  168.         if not plrexist then
  169.             return false
  170.         end
  171.     if game.Players:FindFirstChild(plrName) then
  172.         if tReason.Text ~= "Reason(Optional)" then
  173.             plrReason(game.Players:FindFirstChild(plrName),tReason.Text)
  174.         end
  175.         wait()
  176.         Kick(game.Players:FindFirstChild(plrName))
  177.         wait(2.25)
  178.         if not game.Players:FindFirstChild(plrName) then
  179.        
  180.             wait(1)
  181.             Kicked.Text = "Kicked " .. plrName .. " Successful, Made By gabkiu1"
  182.             Kicked.Visible = true
  183.             wait(6)
  184.             Kicked.Visible = false
  185.         else
  186.             Kicked.Text = "Something hanpped... error..."
  187.             Kicked.Visible = true
  188.             wait(6)
  189.         end
  190.     end
  191. end
  192. function eBan(plrName)
  193.     if game.Players:FindFirstChild(plrName) then
  194.         if tReason.Text ~= "Reason(Optional)" then
  195.             plrReason(game.Players:FindFirstChild(plrName),tReason.Text)
  196.         end
  197.         wait()
  198.         Kick(game.Players:FindFirstChild(plrName))
  199.         wait(2.25)
  200.         if game.Players:FindFirstChild(plrName) then
  201.             Kicked.Text = "Something hanpped, ... error..."
  202.             Kicked.Visible = true
  203.             wait(6)
  204.             Kicked.Visible = false
  205.         end
  206.         if not game.Players:FindFirstChild(plrName) then
  207.             wait(1)
  208.             Kicked.Text = "Banned " .. plrName .. " Successful, Made By gabkiu1"
  209.             Kicked.Visible = true
  210.             wait(6)
  211.             Kicked.Visible = false
  212.         while true do
  213.             Kick(game.Players:WaitForChild(plrName))
  214.             wait(1)
  215.         end
  216.         end
  217.     end
  218. end
  219. function rBan(plrName)
  220.         if not game.Players:FindFirstChild(plrName) then
  221.             return false
  222.         end
  223.         if game.Players:FindFirstChild(plrName) then
  224.         Kick(game.Players:FindFirstChild(plrName))
  225.         wait(2.3)
  226.         if game.Players:FindFirstChild(plrName) then
  227.             Kicked.Text = "Something hanpped, ... error..."
  228.             Kicked.Visible = true
  229.             wait(6)
  230.             Kicked.Visible = false
  231.         end
  232.         if not game.Players:FindFirstChild(plrName) then
  233.             if tReason.Text ~= "Reason(Optional)" then
  234.                 plrReason(game.Players:FindFirstChild(plrName),tReason.Text)
  235.             end
  236.             Kicked.Text = "Banned " .. plrName .. " Successful, Made By gabkiu1"
  237.             Kicked.Visible = true
  238.             wait(6)
  239.             Kicked.Visible = false
  240.             while true do
  241.                 Kick(game.Players:WaitForChild(plrName))
  242.                 wait(2)
  243.             end
  244.         end
  245.     end
  246. end
  247.  
  248. cBan.MouseButton1Click:connect(function()
  249.     if not rBan(victime.Text) then
  250.         local letters = string.len(victime.Text)
  251.         for i,v in pairs(game.Players:GetChildren()) do
  252.             local ple = string.lower(string.sub(v.Name,1,letters))
  253.             if ple == string.lower(victime.Text) then
  254.                 eBan(v.Name)
  255.             end
  256.         end
  257.     end
  258. end)
  259.  
  260. cKick.MouseButton1Click:connect(function()
  261.    
  262.     if string.lower(victime.Text) == "all" then
  263.         for i,v in pairs(game.Players:GetChildren()) do
  264.             if v.Name ~= game.Players.LocalPlayer.Name then
  265.                 Kick(v)
  266.             end
  267.         end
  268. elseif string.lower(victime.Text) == "others" then
  269.         for i,v in pairs(game.Players:GetChildren()) do
  270.             if v.Name ~= game.Players.LocalPlayer.Name then
  271.                 Kick(v)
  272.             end
  273.         end
  274.     else
  275.    
  276.     if not RKick(victime.Text) then
  277.         local letters = string.len(victime.Text)
  278.         for i,v in pairs(game.Players:GetChildren()) do
  279.             local ple = string.lower(string.sub(v.Name,1,letters))
  280.             if ple == string.lower(victime.Text) then
  281.                 EKick(v.Name)
  282.             end
  283.             end
  284.         end
  285.     end
  286. end)
  287. end
  288. newgui()
  289. game.Players.LocalPlayer.CharacterAdded:connect(function()
  290.     newgui()
  291. end)
  292. RAW Paste Data
  293.     -- Made by gabkiu1 C: --
  294.  
  295. local plr = game.Players.LocalPlayer
  296. function welcomeOut(we)
  297.     we:TweenPosition(UDim2.new(0.5, -120,-2,0), "Out", "Bounce",2)
  298.     wait(2)
  299.     we.Visible = false
  300. end
  301. local wea = Instance.new("ScreenGui")
  302. wea.Parent = plr.PlayerGui
  303. local Welcome = Instance.new("TextLabel")
  304. Welcome.Parent = wea
  305. Welcome.BackgroundColor3 = Color3.new(0.0705882, 0.0705882, 0.0705882)
  306. Welcome.BorderColor3 = Color3.new(0, 0, 0)
  307. Welcome.BorderSizePixel = 2
  308. Welcome.TextColor3 = Color3.new(255, 255, 255)
  309. Welcome.Text = 'Welcome, Made by "gabkiu1", ENJOY!'
  310. Welcome.TextScaled = true
  311. Welcome.Size = UDim2.new(0, 250, 0, 45)
  312. Welcome.Position = UDim2.new(0.5, -125,0.5,-22)
  313.  
  314. wait(4)
  315.     welcomeOut(Welcome)
  316.  
  317. function newgui()
  318. local hasKicked = nil
  319. local plr = game.Players.LocalPlayer
  320. local ScreenGui = Instance.new("ScreenGui")
  321. local Frame = Instance.new("Frame")
  322. local cKick = Instance.new("TextButton")
  323. local victime = Instance.new("TextBox")
  324. local Kicked = Instance.new("TextLabel")
  325. local tReason = Instance.new("TextBox")
  326. local rGui = Instance.new("ScreenGui")
  327. ScreenGui.Parent = plr.PlayerGui
  328.  
  329.  
  330. Frame.Parent = ScreenGui
  331. Frame.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902)
  332. Frame.BorderColor3 = Color3.new(0.109804, 0.109804, 0.109804)
  333. Frame.BorderSizePixel = 2
  334. Frame.Position = UDim2.new(0.915912032, -100, 1, -65)
  335. Frame.Size = UDim2.new(0, 165, 0, 65)
  336.  
  337.  
  338. tReason.Name = "tReason"
  339. tReason.Parent = ScreenGui.Frame
  340. tReason.BackgroundColor3 = Color3.new(0.0705882, 0.0705882, 0.0705882)
  341. tReason.BorderColor3 = Color3.new(0, 0, 0)
  342. tReason.BorderSizePixel = 2
  343. tReason.Position = UDim2.new(0, 0, -0.338461548, 0)
  344. tReason.Size = UDim2.new(0, 165, 0, 20)
  345. tReason.Font = Enum.Font.Fantasy
  346. tReason.PlaceholderColor3 = Color3.new(0.698039, 0.698039, 0.698039)
  347. tReason.Text = "Reason(Optional)"
  348. tReason.TextColor3 = Color3.new(1, 1, 1)
  349. tReason.TextSize = 14
  350.  
  351. cKick.Name = "cKick"
  352. cKick.Parent = Frame
  353. cKick.BackgroundColor3 = Color3.new(0.109804, 0.109804, 0.109804)
  354. cKick.BorderColor3 = Color3.new(0.0705882, 0.0705882, 0.0705882)
  355. cKick.BorderSizePixel = 2
  356. cKick.Position = UDim2.new(0.109090912, 0, 0.55384618, 0)
  357. cKick.Size = UDim2.new(0, 60, 0, 17)
  358. cKick.Font = Enum.Font.Fantasy
  359. cKick.Text = "Kick"
  360. cKick.TextColor3 = Color3.new(1, 1, 1)
  361. cKick.TextSize = 14
  362. local cBan = cKick:Clone()
  363. cBan.Parent = Frame
  364. cBan.Text = "Ban"
  365. cBan.Position = UDim2.new(0.539090912, 0, 0.55384618, 0)
  366.  
  367.  
  368. victime.Name = "victime"
  369. victime.Parent = Frame
  370. victime.BackgroundColor3 = Color3.new(0.917647, 0.917647, 0.917647)
  371. victime.BorderColor3 = Color3.new(0.0705882, 0.0705882, 0.0705882)
  372. victime.BorderSizePixel = 2
  373. victime.Position = UDim2.new(0.0606060624, 0, 0.123076923, 0)
  374. victime.Size = UDim2.new(0, 148, 0, 16)
  375. victime.Font = Enum.Font.Fantasy
  376. victime.PlaceholderColor3 = Color3.new(1, 1, 1)
  377. victime.Text = "Player Name"
  378. victime.TextColor3 = Color3.new(0, 0, 0)
  379. victime.TextScaled = true
  380. victime.TextSize = 14
  381. victime.TextWrapped = true
  382.  
  383. Kicked.Name = "Kicked"
  384. Kicked.Parent = ScreenGui
  385. Kicked.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902)
  386. Kicked.BorderColor3 = Color3.new(0.109804, 0.109804, 0.109804)
  387. Kicked.BorderSizePixel = 2
  388. Kicked.Position = UDim2.new(0.5, -120, 0, 0)
  389. Kicked.Size = UDim2.new(0, 239, 0, 38)
  390. Kicked.Visible = false
  391. Kicked.Font = Enum.Font.Fantasy
  392. Kicked.Text = ""
  393. Kicked.TextColor3 = Color3.new(1, 1, 1)
  394. Kicked.TextScaled = true
  395. Kicked.TextSize = 14
  396. Kicked.TextWrapped = true
  397.  
  398. function plrReason(victim,reason)
  399.     local victimReason = Instance.new("TextLabel")
  400.     rGui.Parent = victim.PlayerGui
  401.     victimReason.Name = "victimReason"
  402.     victimReason.Parent = rGui
  403.     victimReason.BorderSizePixel = 2
  404.     victimReason.BackgroundColor3 = Color3.new(0.109804, 0.109804, 0.109804)
  405.     victimReason.BorderColor3 = Color3.new(0.0705882, 0.0705882, 0.0705882)
  406.     victimReason.Size = UDim2.new(1,0,1,0)
  407.     victimReason.Font = Enum.Font.Fantasy
  408.     victimReason.Text = reason
  409.     victimReason.TextColor3 = Color3.new(1, 1, 1)
  410.     victimReason.TextScaled = true
  411. end
  412.  
  413. function Kick(PLAYER)
  414. if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') and PLAYER.Character:FindFirstChild('Torso') then
  415. PLAYER.Character.HumanoidRootPart.Position = Vector3.new(math.random(999000, 1001000), 10000, 0)
  416. local Plat = Instance.new('SkateboardPlatform', PLAYER.Character) Plat.Position = PLAYER.Character.HumanoidRootPart.Position
  417. Plat.Name = 'IYkick'
  418. Plat.Size = Vector3.new(100, 1, 100)
  419. local PART = Instance.new('Part', PLAYER.Character)
  420. PART.Position = Plat.Position - Vector3.new(0, 3, 0)
  421. PART.Size = Vector3.new(100, 1, 100)
  422. PART.Anchored = true
  423.  
  424. PART.Transparency = 1
  425. Plat.Transparency = 1
  426.  
  427. repeat wait(1)
  428.     if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then
  429.         Plat.Position = PLAYER.Character.HumanoidRootPart.Position
  430.     end
  431.     Kick(PLAYER)
  432.     until not game.Players:findFirstChild(PLAYER)
  433.     end
  434. end
  435.  
  436. function EKick(plrName)
  437.     if game.Players:FindFirstChild(plrName) then
  438.         if tReason.Text ~= "Reason(Optional)" then
  439.             plrReason(game.Players:FindFirstChild(plrName),tReason.Text)
  440.         end
  441.         wait()
  442.         Kick(game.Players:FindFirstChild(plrName))
  443.         wait(2.25)
  444.        
  445.         if game.Players:FindFirstChild(plrName) then
  446.             Kicked.Text = "Something hanpped, ... error..."
  447.             Kicked.Visible = true
  448.             wait(6)
  449.             Kicked.Visible = false
  450.         else
  451.             Kicked.Text = "Kicked " .. plrName .. " Successful, Made By gabkiu1"
  452.             Kicked.Visible = true
  453.             wait(6)
  454.             Kicked.Visible = false
  455.         end
  456.     end
  457. end
  458.  
  459. function RKick(plrName)
  460.     local plrexist = game.Players:FindFirstChild(plrName)
  461.         if not plrexist then
  462.             return false
  463.         end
  464.     if game.Players:FindFirstChild(plrName) then
  465.         if tReason.Text ~= "Reason(Optional)" then
  466.             plrReason(game.Players:FindFirstChild(plrName),tReason.Text)
  467.         end
  468.         wait()
  469.         Kick(game.Players:FindFirstChild(plrName))
  470.         wait(2.25)
  471.         if not game.Players:FindFirstChild(plrName) then
  472.        
  473.             wait(1)
  474.             Kicked.Text = "Kicked " .. plrName .. " Successful, Made By gabkiu1"
  475.             Kicked.Visible = true
  476.             wait(6)
  477.             Kicked.Visible = false
  478.         else
  479.             Kicked.Text = "Something hanpped... error..."
  480.             Kicked.Visible = true
  481.             wait(6)
  482.         end
  483.     end
  484. end
  485. function eBan(plrName)
  486.     if game.Players:FindFirstChild(plrName) then
  487.         if tReason.Text ~= "Reason(Optional)" then
  488.             plrReason(game.Players:FindFirstChild(plrName),tReason.Text)
  489.         end
  490.         wait()
  491.         Kick(game.Players:FindFirstChild(plrName))
  492.         wait(2.25)
  493.         if game.Players:FindFirstChild(plrName) then
  494.             Kicked.Text = "Something hanpped, ... error..."
  495.             Kicked.Visible = true
  496.             wait(6)
  497.             Kicked.Visible = false
  498.         end
  499.         if not game.Players:FindFirstChild(plrName) then
  500.             wait(1)
  501.             Kicked.Text = "Banned " .. plrName .. " Successful, Made By gabkiu1"
  502.             Kicked.Visible = true
  503.             wait(6)
  504.             Kicked.Visible = false
  505.         while true do
  506.             Kick(game.Players:WaitForChild(plrName))
  507.             wait(1)
  508.         end
  509.         end
  510.     end
  511. end
  512. function rBan(plrName)
  513.         if not game.Players:FindFirstChild(plrName) then
  514.             return false
  515.         end
  516.         if game.Players:FindFirstChild(plrName) then
  517.         Kick(game.Players:FindFirstChild(plrName))
  518.         wait(2.3)
  519.         if game.Players:FindFirstChild(plrName) then
  520.             Kicked.Text = "Something hanpped, ... error..."
  521.             Kicked.Visible = true
  522.             wait(6)
  523.             Kicked.Visible = false
  524.         end
  525.         if not game.Players:FindFirstChild(plrName) then
  526.             if tReason.Text ~= "Reason(Optional)" then
  527.                 plrReason(game.Players:FindFirstChild(plrName),tReason.Text)
  528.             end
  529.             Kicked.Text = "Banned " .. plrName .. " Successful, Made By gabkiu1"
  530.             Kicked.Visible = true
  531.             wait(6)
  532.             Kicked.Visible = false
  533.             while true do
  534.                 Kick(game.Players:WaitForChild(plrName))
  535.                 wait(2)
  536.             end
  537.         end
  538.     end
  539. end
  540.  
  541. cBan.MouseButton1Click:connect(function()
  542.     if not rBan(victime.Text) then
  543.         local letters = string.len(victime.Text)
  544.         for i,v in pairs(game.Players:GetChildren()) do
  545.             local ple = string.lower(string.sub(v.Name,1,letters))
  546.             if ple == string.lower(victime.Text) then
  547.                 eBan(v.Name)
  548.             end
  549.         end
  550.     end
  551. end)
  552.  
  553. cKick.MouseButton1Click:connect(function()
  554.    
  555.     if string.lower(victime.Text) == "all" then
  556.         for i,v in pairs(game.Players:GetChildren()) do
  557.             if v.Name ~= game.Players.LocalPlayer.Name then
  558.                 Kick(v)
  559.             end
  560.         end
  561. elseif string.lower(victime.Text) == "others" then
  562.         for i,v in pairs(game.Players:GetChildren()) do
  563.             if v.Name ~= game.Players.LocalPlayer.Name then
  564.                 Kick(v)
  565.             end
  566.         end
  567.     else
  568.    
  569.     if not RKick(victime.Text) then
  570.         local letters = string.len(victime.Text)
  571.         for i,v in pairs(game.Players:GetChildren()) do
  572.             local ple = string.lower(string.sub(v.Name,1,letters))
  573.             if ple == string.lower(victime.Text) then
  574.                 EKick(v.Name)
  575.             end
  576.             end
  577.         end
  578.     end
  579. end)
  580. end
  581. newgui()
  582. game.Players.LocalPlayer.CharacterAdded:connect(function()
  583.     newgui()
  584. end)
  585. We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×