Advertisement
Guest User

Khols admin house

a guest
Mar 31st, 2020
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.99 KB | None | 0 0
  1. -- Objects
  2.  
  3. local Kohls = Instance.new("ScreenGui")
  4. local MFrame = Instance.new("Frame")
  5. local TFrame = Instance.new("Frame")
  6. local Tiddle = Instance.new("TextLabel")
  7. local Tutup = Instance.new("TextButton")
  8. local Tunda = Instance.new("TextButton")
  9. local Nama = Instance.new("TextBox")
  10. local Ban = Instance.new("TextButton")
  11. local Kick = Instance.new("TextButton")
  12. local Madwe = Instance.new("TextLabel")
  13. local Unlock = Instance.new("TextButton")
  14. local Admin = Instance.new("TextButton")
  15. local Noclip = Instance.new("TextButton")
  16. local Data = Instance.new("TextBox")
  17.  
  18. -- Properties
  19.  
  20. Kohls.Name = "Kohls"
  21. Kohls.Parent = game.CoreGui
  22.  
  23. MFrame.Name = "MFrame"
  24. MFrame.Parent = Kohls
  25. MFrame.Active = true
  26. MFrame.BackgroundColor3 = Color3.new(0, 0, 0)
  27. MFrame.BackgroundTransparency = 0.10000000149012
  28. MFrame.BorderColor3 = Color3.new(0.333333, 1, 0)
  29. MFrame.BorderSizePixel = 2
  30. MFrame.Position = UDim2.new(0.138755977, 0, 0.139393941, 0)
  31. MFrame.Size = UDim2.new(0, 497, 0, 289)
  32. MFrame.Draggable = true
  33.  
  34. TFrame.Name = "TFrame"
  35. TFrame.Parent = MFrame
  36. TFrame.BackgroundColor3 = Color3.new(0, 0, 0)
  37. TFrame.BorderColor3 = Color3.new(0, 1, 0)
  38. TFrame.BorderSizePixel = 2
  39. TFrame.Size = UDim2.new(0, 497, 0, 30)
  40.  
  41. Tiddle.Name = "Tiddle"
  42. Tiddle.Parent = TFrame
  43. Tiddle.BackgroundColor3 = Color3.new(1, 1, 1)
  44. Tiddle.BackgroundTransparency = 1
  45. Tiddle.Size = UDim2.new(0, 497, 0, 30)
  46. Tiddle.Font = Enum.Font.SciFi
  47. Tiddle.Text = "Kohls Admin House Gui"
  48. Tiddle.TextColor3 = Color3.new(0.333333, 1, 0)
  49. Tiddle.TextSize = 25
  50.  
  51. Tutup.Name = "Tutup"
  52. Tutup.Parent = TFrame
  53. Tutup.BackgroundColor3 = Color3.new(0, 0, 0)
  54. Tutup.BorderColor3 = Color3.new(0.333333, 1, 0)
  55. Tutup.BorderSizePixel = 2
  56. Tutup.Position = UDim2.new(0.93664664, 0, 0, 0)
  57. Tutup.Size = UDim2.new(0, 31, 0, 30)
  58. Tutup.Font = Enum.Font.SciFi
  59. Tutup.Text = "X"
  60. Tutup.TextColor3 = Color3.new(0, 1, 0)
  61. Tutup.TextSize = 25
  62. Tutup.MouseButton1Down:connect(function()
  63. Kohls:Destroy()
  64. end)
  65.  
  66.  
  67. Tunda.Name = "Tunda"
  68. Tunda.Parent = TFrame
  69. Tunda.BackgroundColor3 = Color3.new(0, 0, 0)
  70. Tunda.BorderColor3 = Color3.new(0.333333, 1, 0)
  71. Tunda.BorderSizePixel = 2
  72. Tunda.Position = UDim2.new(0.875305355, 0, 0, 0)
  73. Tunda.Size = UDim2.new(0, 31, 0, 30)
  74. Tunda.Font = Enum.Font.SciFi
  75. Tunda.Text = "-"
  76. Tunda.TextColor3 = Color3.new(0, 1, 0)
  77. Tunda.TextSize = 25
  78.  
  79. tunda = false
  80.  
  81. Tunda.MouseButton1Down:connect(function()
  82. if tunda == false then
  83. MFrame:TweenSize(UDim2.new(0, 497, 0, 27),"In","Sine",1,true)
  84. wait(1)
  85. Kick.Visible = false
  86. Ban.Visible = false
  87. Unlock.Visible = false
  88. Noclip.Visible = false
  89. Admin.Visible = false
  90. Nama.Visible = false
  91. Data.Visible = false
  92. Madwe.Visible = false
  93. tunda = true
  94. else
  95. MFrame:TweenSize(UDim2.new(0, 497, 0, 289),"In","Sine",1,true)
  96. wait(1)
  97. Kick.Visible = true
  98. Ban.Visible = true
  99. Unlock.Visible = true
  100. Noclip.Visible = true
  101. Admin.Visible = true
  102. Nama.Visible = true
  103. Data.Visible = true
  104. Madwe.Visible = true
  105. tunda = false
  106. end
  107. end)
  108.  
  109. Nama.Name = "Nama"
  110. Nama.Parent = MFrame
  111. Nama.BackgroundColor3 = Color3.new(0, 0, 0)
  112. Nama.BorderColor3 = Color3.new(0.333333, 1, 0)
  113. Nama.BorderSizePixel = 2
  114. Nama.Position = UDim2.new(0.0824949667, 0, 0.138408303, 0)
  115. Nama.Size = UDim2.new(0, 410, 0, 50)
  116. Nama.Font = Enum.Font.SciFi
  117. Nama.Text = "Nama Player / Player Name"
  118. Nama.TextColor3 = Color3.new(0, 1, 0)
  119. Nama.TextSize = 20
  120.  
  121. Ban.Name = "Ban"
  122. Ban.Parent = MFrame
  123. Ban.BackgroundColor3 = Color3.new(0, 0, 0)
  124. Ban.BorderColor3 = Color3.new(0.333333, 1, 0)
  125. Ban.BorderSizePixel = 2
  126. Ban.Position = UDim2.new(0.145241275, 0, 0.356401384, 0)
  127. Ban.Size = UDim2.new(0, 169, 0, 50)
  128. Ban.Font = Enum.Font.SciFi
  129. Ban.Text = "Banned"
  130. Ban.TextColor3 = Color3.new(0, 1, 0)
  131. Ban.TextSize = 25
  132.  
  133. Kick.Name = "Kick"
  134. Kick.Parent = MFrame
  135. Kick.BackgroundColor3 = Color3.new(0, 0, 0)
  136. Kick.BorderColor3 = Color3.new(0.333333, 1, 0)
  137. Kick.BorderSizePixel = 2
  138. Kick.Position = UDim2.new(0.540145934, 0, 0.356401384, 0)
  139. Kick.Size = UDim2.new(0, 169, 0, 50)
  140. Kick.Font = Enum.Font.SciFi
  141. Kick.Text = "Kick"
  142. Kick.TextColor3 = Color3.new(0, 1, 0)
  143. Kick.TextSize = 25
  144.  
  145. Madwe.Name = "Madwe"
  146. Madwe.Parent = MFrame
  147. Madwe.BackgroundColor3 = Color3.new(1, 1, 1)
  148. Madwe.BackgroundTransparency = 1
  149. Madwe.Position = UDim2.new(0, 0, 0.899653971, 0)
  150. Madwe.Size = UDim2.new(0, 165, 0, 29)
  151. Madwe.Font = Enum.Font.SciFi
  152. Madwe.Text = "Made By Anwarun"
  153. Madwe.TextColor3 = Color3.new(0.333333, 1, 0)
  154. Madwe.TextSize = 20
  155.  
  156. Unlock.Name = "Unlock"
  157. Unlock.Parent = MFrame
  158. Unlock.BackgroundColor3 = Color3.new(0, 0, 0)
  159. Unlock.BorderColor3 = Color3.new(0.333333, 1, 0)
  160. Unlock.BorderSizePixel = 2
  161. Unlock.Position = UDim2.new(0.513078451, 0, 0.58477509, 0)
  162. Unlock.Size = UDim2.new(0, 225, 0, 50)
  163. Unlock.Font = Enum.Font.SciFi
  164. Unlock.Text = "Unlock"
  165. Unlock.TextColor3 = Color3.new(0, 1, 0)
  166. Unlock.TextSize = 25
  167.  
  168. Admin.Name = "Admin"
  169. Admin.Parent = MFrame
  170. Admin.BackgroundColor3 = Color3.new(0, 0, 0)
  171. Admin.BorderColor3 = Color3.new(0.333333, 1, 0)
  172. Admin.BorderSizePixel = 2
  173. Admin.Position = UDim2.new(0.0321931541, 0, 0.58477509, 0)
  174. Admin.Size = UDim2.new(0, 225, 0, 50)
  175. Admin.Font = Enum.Font.SciFi
  176. Admin.Text = "Get Admin"
  177. Admin.TextColor3 = Color3.new(0, 1, 0)
  178. Admin.TextSize = 25
  179.  
  180. Noclip.Name = "Noclip"
  181. Noclip.Parent = MFrame
  182. Noclip.BackgroundColor3 = Color3.new(0, 0, 0)
  183. Noclip.BorderColor3 = Color3.new(0.333333, 1, 0)
  184. Noclip.BorderSizePixel = 2
  185. Noclip.Position = UDim2.new(0.619718313, 0, 0.795847774, 0)
  186. Noclip.Size = UDim2.new(0, 172, 0, 41)
  187. Noclip.Font = Enum.Font.SciFi
  188. Noclip.Text = "Noclip"
  189. Noclip.TextColor3 = Color3.new(0, 1, 0)
  190. Noclip.TextSize = 25
  191.  
  192. Data.Name = "Data"
  193. Data.Parent = MFrame
  194. Data.BackgroundColor3 = Color3.new(0, 0, 0)
  195. Data.BorderColor3 = Color3.new(0.333333, 1, 0)
  196. Data.BorderSizePixel = 2
  197. Data.Position = UDim2.new(0.372233391, 0, 0.795847774, 0)
  198. Data.Size = UDim2.new(0, 112, 0, 50)
  199. Data.Font = Enum.Font.SciFi
  200. Data.Text = "Data Unlocked"
  201. Data.TextColor3 = Color3.new(0.333333, 1, 0)
  202. Data.TextScaled = true
  203. Data.TextSize = 14
  204. Data.TextWrapped = true
  205.  
  206. -- Scripts
  207.  
  208. Admin.MouseButton1Down:connect(function()
  209. now = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  210.  
  211. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  212. =
  213. game.Workspace.Terrain.GameFolder.Admin.Pads['Touch to get admin'].Head.CFrame
  214.  
  215. wait(0.2)
  216.  
  217. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = now
  218. end)
  219.  
  220. noclip = false
  221. game:GetService('RunService').Stepped:connect(function()
  222. if noclip then
  223. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  224. Noclip.Text = "Noclip (Aktif)"
  225. end
  226. end)
  227. Noclip.MouseButton1Down:connect(function()
  228. noclip = not noclip
  229. Noclip.Text = "Noclip (Tidak Aktif)"
  230. end)
  231.  
  232. Unlock.MouseButton1Down:connect(function()
  233. for i,v in pairs(game.Workspace:GetDescendants()) do
  234. if v:IsA("Part") then
  235. v.Locked = false
  236. print("Unlocked" .. v.Name)
  237. Data.Text = "Unlocked" .. v.Name
  238. end end
  239. end)
  240.  
  241. function GetPlayer(plrname)
  242. for _,player in pairs(game.Players:GetPlayers()) do
  243. if plrname:lower() == player.Name:sub(1,plrname:len()):lower() then
  244. return player
  245. end
  246. end
  247. return nil
  248. end
  249.  
  250. local Banned = {}
  251.  
  252. Ban.MouseButton1Down:connect(function()
  253. local target = GetPlayer(Nama.Text)
  254. if target then
  255. table.insert(Banned,target.Name)
  256. wait(0.5)
  257. game.Players.LocalPlayer.Backpack.Delete.delete:FireServer(target)
  258. Nama.Text = "Banned ! Player Name :" .. Nama.Text
  259. print('Banned ! Player Name : ',Nama.Text)
  260. end
  261. end)
  262.  
  263. Kick.MouseButton1Down:connect(function()
  264. local target = GetPlayer(Nama.Text)
  265. if target then
  266. game.Players.LocalPlayer.Backpack.Delete.delete:FireServer(target)
  267. Nama.Text = "Kicked ! Player Name :" .. Nama.Text
  268. print("Kicked ! Player Name: ", Nama.Text)
  269. end
  270. end)
  271.  
  272. game.Players.PlayerAdded:connect(function(plr)
  273. for i = 1,#Banned do
  274. if Banned[i] == plr.Name then
  275. game.Players.LocalPlayer.Backpack.Delete.delete:FireServer(plr)
  276. end
  277. end
  278. end)
  279.  
  280. while true do
  281. wait(1)
  282. if not game.Players.LocalPlayer.Backpack:FindFirstChild("Delete") then
  283. game:GetService'Players':Chat(":btools me")
  284. end
  285. end
  286. RAW Paste Data
  287. -- Objects
  288.  
  289. local Kohls = Instance.new("ScreenGui")
  290. local MFrame = Instance.new("Frame")
  291. local TFrame = Instance.new("Frame")
  292. local Tiddle = Instance.new("TextLabel")
  293. local Tutup = Instance.new("TextButton")
  294. local Tunda = Instance.new("TextButton")
  295. local Nama = Instance.new("TextBox")
  296. local Ban = Instance.new("TextButton")
  297. local Kick = Instance.new("TextButton")
  298. local Madwe = Instance.new("TextLabel")
  299. local Unlock = Instance.new("TextButton")
  300. local Admin = Instance.new("TextButton")
  301. local Noclip = Instance.new("TextButton")
  302. local Data = Instance.new("TextBox")
  303.  
  304. -- Properties
  305.  
  306. Kohls.Name = "Kohls"
  307. Kohls.Parent = game.CoreGui
  308.  
  309. MFrame.Name = "MFrame"
  310. MFrame.Parent = Kohls
  311. MFrame.Active = true
  312. MFrame.BackgroundColor3 = Color3.new(0, 0, 0)
  313. MFrame.BackgroundTransparency = 0.10000000149012
  314. MFrame.BorderColor3 = Color3.new(0.333333, 1, 0)
  315. MFrame.BorderSizePixel = 2
  316. MFrame.Position = UDim2.new(0.138755977, 0, 0.139393941, 0)
  317. MFrame.Size = UDim2.new(0, 497, 0, 289)
  318. MFrame.Draggable = true
  319.  
  320. TFrame.Name = "TFrame"
  321. TFrame.Parent = MFrame
  322. TFrame.BackgroundColor3 = Color3.new(0, 0, 0)
  323. TFrame.BorderColor3 = Color3.new(0, 1, 0)
  324. TFrame.BorderSizePixel = 2
  325. TFrame.Size = UDim2.new(0, 497, 0, 30)
  326.  
  327. Tiddle.Name = "Tiddle"
  328. Tiddle.Parent = TFrame
  329. Tiddle.BackgroundColor3 = Color3.new(1, 1, 1)
  330. Tiddle.BackgroundTransparency = 1
  331. Tiddle.Size = UDim2.new(0, 497, 0, 30)
  332. Tiddle.Font = Enum.Font.SciFi
  333. Tiddle.Text = "Kohls Admin House Gui"
  334. Tiddle.TextColor3 = Color3.new(0.333333, 1, 0)
  335. Tiddle.TextSize = 25
  336.  
  337. Tutup.Name = "Tutup"
  338. Tutup.Parent = TFrame
  339. Tutup.BackgroundColor3 = Color3.new(0, 0, 0)
  340. Tutup.BorderColor3 = Color3.new(0.333333, 1, 0)
  341. Tutup.BorderSizePixel = 2
  342. Tutup.Position = UDim2.new(0.93664664, 0, 0, 0)
  343. Tutup.Size = UDim2.new(0, 31, 0, 30)
  344. Tutup.Font = Enum.Font.SciFi
  345. Tutup.Text = "X"
  346. Tutup.TextColor3 = Color3.new(0, 1, 0)
  347. Tutup.TextSize = 25
  348. Tutup.MouseButton1Down:connect(function()
  349. Kohls:Destroy()
  350. end)
  351.  
  352.  
  353. Tunda.Name = "Tunda"
  354. Tunda.Parent = TFrame
  355. Tunda.BackgroundColor3 = Color3.new(0, 0, 0)
  356. Tunda.BorderColor3 = Color3.new(0.333333, 1, 0)
  357. Tunda.BorderSizePixel = 2
  358. Tunda.Position = UDim2.new(0.875305355, 0, 0, 0)
  359. Tunda.Size = UDim2.new(0, 31, 0, 30)
  360. Tunda.Font = Enum.Font.SciFi
  361. Tunda.Text = "-"
  362. Tunda.TextColor3 = Color3.new(0, 1, 0)
  363. Tunda.TextSize = 25
  364.  
  365. tunda = false
  366.  
  367. Tunda.MouseButton1Down:connect(function()
  368. if tunda == false then
  369. MFrame:TweenSize(UDim2.new(0, 497, 0, 27),"In","Sine",1,true)
  370. wait(1)
  371. Kick.Visible = false
  372. Ban.Visible = false
  373. Unlock.Visible = false
  374. Noclip.Visible = false
  375. Admin.Visible = false
  376. Nama.Visible = false
  377. Data.Visible = false
  378. Madwe.Visible = false
  379. tunda = true
  380. else
  381. MFrame:TweenSize(UDim2.new(0, 497, 0, 289),"In","Sine",1,true)
  382. wait(1)
  383. Kick.Visible = true
  384. Ban.Visible = true
  385. Unlock.Visible = true
  386. Noclip.Visible = true
  387. Admin.Visible = true
  388. Nama.Visible = true
  389. Data.Visible = true
  390. Madwe.Visible = true
  391. tunda = false
  392. end
  393. end)
  394.  
  395. Nama.Name = "Nama"
  396. Nama.Parent = MFrame
  397. Nama.BackgroundColor3 = Color3.new(0, 0, 0)
  398. Nama.BorderColor3 = Color3.new(0.333333, 1, 0)
  399. Nama.BorderSizePixel = 2
  400. Nama.Position = UDim2.new(0.0824949667, 0, 0.138408303, 0)
  401. Nama.Size = UDim2.new(0, 410, 0, 50)
  402. Nama.Font = Enum.Font.SciFi
  403. Nama.Text = "Nama Player / Player Name"
  404. Nama.TextColor3 = Color3.new(0, 1, 0)
  405. Nama.TextSize = 20
  406.  
  407. Ban.Name = "Ban"
  408. Ban.Parent = MFrame
  409. Ban.BackgroundColor3 = Color3.new(0, 0, 0)
  410. Ban.BorderColor3 = Color3.new(0.333333, 1, 0)
  411. Ban.BorderSizePixel = 2
  412. Ban.Position = UDim2.new(0.145241275, 0, 0.356401384, 0)
  413. Ban.Size = UDim2.new(0, 169, 0, 50)
  414. Ban.Font = Enum.Font.SciFi
  415. Ban.Text = "Banned"
  416. Ban.TextColor3 = Color3.new(0, 1, 0)
  417. Ban.TextSize = 25
  418.  
  419. Kick.Name = "Kick"
  420. Kick.Parent = MFrame
  421. Kick.BackgroundColor3 = Color3.new(0, 0, 0)
  422. Kick.BorderColor3 = Color3.new(0.333333, 1, 0)
  423. Kick.BorderSizePixel = 2
  424. Kick.Position = UDim2.new(0.540145934, 0, 0.356401384, 0)
  425. Kick.Size = UDim2.new(0, 169, 0, 50)
  426. Kick.Font = Enum.Font.SciFi
  427. Kick.Text = "Kick"
  428. Kick.TextColor3 = Color3.new(0, 1, 0)
  429. Kick.TextSize = 25
  430.  
  431. Madwe.Name = "Madwe"
  432. Madwe.Parent = MFrame
  433. Madwe.BackgroundColor3 = Color3.new(1, 1, 1)
  434. Madwe.BackgroundTransparency = 1
  435. Madwe.Position = UDim2.new(0, 0, 0.899653971, 0)
  436. Madwe.Size = UDim2.new(0, 165, 0, 29)
  437. Madwe.Font = Enum.Font.SciFi
  438. Madwe.Text = "Made By Anwarun"
  439. Madwe.TextColor3 = Color3.new(0.333333, 1, 0)
  440. Madwe.TextSize = 20
  441.  
  442. Unlock.Name = "Unlock"
  443. Unlock.Parent = MFrame
  444. Unlock.BackgroundColor3 = Color3.new(0, 0, 0)
  445. Unlock.BorderColor3 = Color3.new(0.333333, 1, 0)
  446. Unlock.BorderSizePixel = 2
  447. Unlock.Position = UDim2.new(0.513078451, 0, 0.58477509, 0)
  448. Unlock.Size = UDim2.new(0, 225, 0, 50)
  449. Unlock.Font = Enum.Font.SciFi
  450. Unlock.Text = "Unlock"
  451. Unlock.TextColor3 = Color3.new(0, 1, 0)
  452. Unlock.TextSize = 25
  453.  
  454. Admin.Name = "Admin"
  455. Admin.Parent = MFrame
  456. Admin.BackgroundColor3 = Color3.new(0, 0, 0)
  457. Admin.BorderColor3 = Color3.new(0.333333, 1, 0)
  458. Admin.BorderSizePixel = 2
  459. Admin.Position = UDim2.new(0.0321931541, 0, 0.58477509, 0)
  460. Admin.Size = UDim2.new(0, 225, 0, 50)
  461. Admin.Font = Enum.Font.SciFi
  462. Admin.Text = "Get Admin"
  463. Admin.TextColor3 = Color3.new(0, 1, 0)
  464. Admin.TextSize = 25
  465.  
  466. Noclip.Name = "Noclip"
  467. Noclip.Parent = MFrame
  468. Noclip.BackgroundColor3 = Color3.new(0, 0, 0)
  469. Noclip.BorderColor3 = Color3.new(0.333333, 1, 0)
  470. Noclip.BorderSizePixel = 2
  471. Noclip.Position = UDim2.new(0.619718313, 0, 0.795847774, 0)
  472. Noclip.Size = UDim2.new(0, 172, 0, 41)
  473. Noclip.Font = Enum.Font.SciFi
  474. Noclip.Text = "Noclip"
  475. Noclip.TextColor3 = Color3.new(0, 1, 0)
  476. Noclip.TextSize = 25
  477.  
  478. Data.Name = "Data"
  479. Data.Parent = MFrame
  480. Data.BackgroundColor3 = Color3.new(0, 0, 0)
  481. Data.BorderColor3 = Color3.new(0.333333, 1, 0)
  482. Data.BorderSizePixel = 2
  483. Data.Position = UDim2.new(0.372233391, 0, 0.795847774, 0)
  484. Data.Size = UDim2.new(0, 112, 0, 50)
  485. Data.Font = Enum.Font.SciFi
  486. Data.Text = "Data Unlocked"
  487. Data.TextColor3 = Color3.new(0.333333, 1, 0)
  488. Data.TextScaled = true
  489. Data.TextSize = 14
  490. Data.TextWrapped = true
  491.  
  492. -- Scripts
  493.  
  494. Admin.MouseButton1Down:connect(function()
  495. now = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  496.  
  497. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  498. =
  499. game.Workspace.Terrain.GameFolder.Admin.Pads['Touch to get admin'].Head.CFrame
  500.  
  501. wait(0.2)
  502.  
  503. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = now
  504. end)
  505.  
  506. noclip = false
  507. game:GetService('RunService').Stepped:connect(function()
  508. if noclip then
  509. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  510. Noclip.Text = "Noclip (Aktif)"
  511. end
  512. end)
  513. Noclip.MouseButton1Down:connect(function()
  514. noclip = not noclip
  515. Noclip.Text = "Noclip (Tidak Aktif)"
  516. end)
  517.  
  518. Unlock.MouseButton1Down:connect(function()
  519. for i,v in pairs(game.Workspace:GetDescendants()) do
  520. if v:IsA("Part") then
  521. v.Locked = false
  522. print("Unlocked" .. v.Name)
  523. Data.Text = "Unlocked" .. v.Name
  524. end end
  525. end)
  526.  
  527. function GetPlayer(plrname)
  528. for _,player in pairs(game.Players:GetPlayers()) do
  529. if plrname:lower() == player.Name:sub(1,plrname:len()):lower() then
  530. return player
  531. end
  532. end
  533. return nil
  534. end
  535.  
  536. local Banned = {}
  537.  
  538. Ban.MouseButton1Down:connect(function()
  539. local target = GetPlayer(Nama.Text)
  540. if target then
  541. table.insert(Banned,target.Name)
  542. wait(0.5)
  543. game.Players.LocalPlayer.Backpack.Delete.delete:FireServer(target)
  544. Nama.Text = "Banned ! Player Name :" .. Nama.Text
  545. print('Banned ! Player Name : ',Nama.Text)
  546. end
  547. end)
  548.  
  549. Kick.MouseButton1Down:connect(function()
  550. local target = GetPlayer(Nama.Text)
  551. if target then
  552. game.Players.LocalPlayer.Backpack.Delete.delete:FireServer(target)
  553. Nama.Text = "Kicked ! Player Name :" .. Nama.Text
  554. print("Kicked ! Player Name: ", Nama.Text)
  555. end
  556. end)
  557.  
  558. game.Players.PlayerAdded:connect(function(plr)
  559. for i = 1,#Banned do
  560. if Banned[i] == plr.Name then
  561. game.Players.LocalPlayer.Backpack.Delete.delete:FireServer(plr)
  562. end
  563. end
  564. end)
  565.  
  566. while true do
  567. wait(1)
  568. if not game.Players.LocalPlayer.Backpack:FindFirstChild("Delete") then
  569. game:GetService'Players':Chat(":btools me")
  570. end
  571. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement