HansCSia320

Khols Admin House Server Abuse Script

May 23rd, 2019
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 7.91 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
Add Comment
Please, Sign In to add comment