Vunqz

wgsagasega

Nov 15th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.22 KB | None | 0 0
  1. -- Khols Admin House Gui Made by Vunqz⚡#2898
  2. if game.PlaceId == 112420803 then
  3. print("Currently Playing Khols Admin")
  4. print("Waiting for player to confirm...")
  5. else
  6. return
  7. end
  8. undecided = true
  9. continue = false
  10. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer('Welcome thanks for using AdminPanel',"All")
  11. wait(3)
  12. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer('[ AdminPanel ] - is made by Vunqz⚡#2898',"All")
  13. wait(2)
  14. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer('Loading...',"All")
  15. wait(0.5)
  16. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer('Done! Enjoy!',"All")
  17. wait(1)
  18. local KohlsAdminGui = Instance.new("ScreenGui")
  19. local Frame = Instance.new("Frame")
  20. local KAHTitle = Instance.new("TextLabel")
  21. local Nama = Instance.new("TextBox")
  22. local Ban = Instance.new("TextButton")
  23. local Kick = Instance.new("TextButton")
  24. local Unlock = Instance.new("TextButton")
  25. local Admin = Instance.new("TextButton")
  26. local Data = Instance.new("TextBox")
  27. local Tutup = Instance.new("TextButton")
  28.  
  29. -- Properties
  30.  
  31. KohlsAdminGui.Name = "KohlsAdminGui"
  32. KohlsAdminGui.Parent = game.CoreGui
  33.  
  34. Frame.Parent = KohlsAdminGui
  35. Frame.Active = true
  36. Frame.BackgroundColor3 = Color3.new(0.333333, 1, 0)
  37. Frame.BackgroundTransparency = 0.20000000298023
  38. Frame.Position = UDim2.new(0.162679419, 0, 0.222444892, 0)
  39. Frame.Size = UDim2.new(0, 422, 0, 300)
  40. Frame.Draggable = true
  41.  
  42. KAHTitle.Name = "KAHTitle"
  43. KAHTitle.Parent = Frame
  44. KAHTitle.BackgroundColor3 = Color3.new(1, 1, 1)
  45. KAHTitle.BackgroundTransparency = 1
  46. KAHTitle.Size = UDim2.new(0, 422, 0, 36)
  47. KAHTitle.Font = Enum.Font.SourceSansBold
  48. KAHTitle.Text = "KOHLS ADMIN GUI"
  49. KAHTitle.TextColor3 = Color3.new(0, 0, 0)
  50. KAHTitle.TextSize = 25
  51.  
  52. Nama.Name = "Nama"
  53. Nama.Parent = Frame
  54. Nama.BackgroundColor3 = Color3.new(0, 0, 0)
  55. Nama.BorderColor3 = Color3.new(0.333333, 1, 1)
  56. Nama.BorderSizePixel = 2
  57. Nama.Position = UDim2.new(0.120853081, 0, 0.156956524, 0)
  58. Nama.Size = UDim2.new(0, 319, 0, 50)
  59. Nama.Font = Enum.Font.SourceSansBold
  60. Nama.Text = "Nama Player"
  61. Nama.TextColor3 = Color3.new(1, 1, 1)
  62. Nama.TextSize = 25
  63.  
  64. Ban.Name = "Ban"
  65. Ban.Parent = Frame
  66. Ban.BackgroundColor3 = Color3.new(0, 0, 0)
  67. Ban.BorderColor3 = Color3.new(0.333333, 1, 1)
  68. Ban.BorderSizePixel = 2
  69. Ban.Position = UDim2.new(0.01421801, 0, 0.352753609, 0)
  70. Ban.Size = UDim2.new(0, 200, 0, 50)
  71. Ban.Font = Enum.Font.SourceSansBold
  72. Ban.Text = "Banned !"
  73. Ban.TextColor3 = Color3.new(1, 1, 1)
  74. Ban.TextSize = 25
  75.  
  76. Kick.Name = "Kick"
  77. Kick.Parent = Frame
  78. Kick.BackgroundColor3 = Color3.new(0, 0, 0)
  79. Kick.BorderColor3 = Color3.new(0.333333, 1, 1)
  80. Kick.BorderSizePixel = 2
  81. Kick.Position = UDim2.new(0.51184833, 0, 0.352753609, 0)
  82. Kick.Size = UDim2.new(0, 200, 0, 50)
  83. Kick.Font = Enum.Font.SourceSansBold
  84. Kick.Text = "Kick !"
  85. Kick.TextColor3 = Color3.new(1, 1, 1)
  86. Kick.TextSize = 25
  87.  
  88. Unlock.Name = "Unlock"
  89. Unlock.Parent = Frame
  90. Unlock.BackgroundColor3 = Color3.new(0, 0, 0)
  91. Unlock.BorderColor3 = Color3.new(0.333333, 1, 1)
  92. Unlock.BorderSizePixel = 2
  93. Unlock.Position = UDim2.new(0.48815167, 0, 0.569999993, 0)
  94. Unlock.Size = UDim2.new(0, 199, 0, 50)
  95. Unlock.Font = Enum.Font.SourceSansBold
  96. Unlock.Text = "Buka Workspace"
  97. Unlock.TextColor3 = Color3.new(1, 1, 1)
  98. Unlock.TextSize = 25
  99.  
  100. Admin.Name = "Admin"
  101. Admin.Parent = Frame
  102. Admin.BackgroundColor3 = Color3.new(0, 0, 0)
  103. Admin.BorderColor3 = Color3.new(0.333333, 1, 1)
  104. Admin.BorderSizePixel = 2
  105. Admin.Position = UDim2.new(0.48815167, 0, 0.779999971, 0)
  106. Admin.Size = UDim2.new(0, 198, 0, 50)
  107. Admin.Font = Enum.Font.SourceSansBold
  108. Admin.Text = "GET ADMIN !"
  109. Admin.TextColor3 = Color3.new(1, 1, 1)
  110. Admin.TextSize = 25
  111.  
  112. Data.Name = "Data"
  113. Data.Parent = Frame
  114. Data.BackgroundColor3 = Color3.new(0, 0, 0)
  115. Data.BorderColor3 = Color3.new(0.333333, 1, 1)
  116. Data.BorderSizePixel = 2
  117. Data.Position = UDim2.new(0.0450236946, 0, 0.569999993, 0)
  118. Data.Size = UDim2.new(0, 156, 0, 103)
  119. Data.Font = Enum.Font.SourceSansBold
  120. Data.Text = "Data"
  121. Data.TextColor3 = Color3.new(1, 1, 1)
  122. Data.TextSize = 15
  123.  
  124. Tutup.Name = "Tutup"
  125. Tutup.Parent = Frame
  126. Tutup.BackgroundColor3 = Color3.new(0, 0, 0)
  127. Tutup.BorderColor3 = Color3.new(0.333333, 1, 1)
  128. Tutup.BorderSizePixel = 2
  129. Tutup.Position = UDim2.new(0.876777232, 0, 0, 0)
  130. Tutup.Size = UDim2.new(0, 52, 0, 36)
  131. Tutup.Font = Enum.Font.SourceSansBold
  132. Tutup.Text = "X"
  133. Tutup.TextColor3 = Color3.new(1, 1, 1)
  134. Tutup.TextSize = 25
  135.  
  136. -- ANWARUN SECURITY CODE
  137.  
  138. Tutup.MouseButton1Down:connect(function()
  139. Frame.Visible = false
  140. end)
  141.  
  142. Unlock.MouseButton1Down:connect(function()
  143. for i,v in pairs(game.Workspace:GetDescendants()) do
  144. if v:IsA("Part") then
  145. v.Locked = false
  146. print("Unlocked" .. v.Name)
  147. Data.Text = "Unlocked" .. v.Name
  148. end end
  149. end)
  150.  
  151. Admin.MouseButton1Down:connect(function()
  152. now = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  153.  
  154. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  155. =
  156. game.Workspace.Terrain.GameFolder.Admin.Pads['Touch to get admin'].Head.CFrame
  157.  
  158. wait(0.2)
  159.  
  160. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = now
  161. end)
  162.  
  163. function GetPlayer(plrname)
  164. for _,player in pairs(game.Players:GetPlayers()) do
  165. if plrname:lower() == player.Name:sub(1,plrname:len()):lower() then
  166. return player
  167. end
  168. end
  169. return nil
  170. end
  171.  
  172. local Banned = {}
  173.  
  174. Ban.MouseButton1Down:connect(function()
  175. local target = GetPlayer(Nama.Text)
  176. if target then
  177. table.insert(Banned,target.Name)
  178. wait(0.5)
  179. game.Players.LocalPlayer.Backpack.Delete.delete:FireServer(target)
  180. Data.Text = "Banned ! Player Name :" .. Nama.Text
  181. print('Banned ! Player Name : ',Nama.Text)
  182. end
  183. end)
  184.  
  185. Kick.MouseButton1Down:connect(function()
  186. local target = GetPlayer(Nama.Text)
  187. if target then
  188. game.Players.LocalPlayer.Backpack.Delete.delete:FireServer(target)
  189. Data.Text = "Kicked ! Player Name :" .. Nama.Text
  190. print("Kicked ! Player Name: ", Nama.Text)
  191. end
  192. end)
  193.  
  194. game.Players.PlayerAdded:connect(function(plr)
  195. for i = 1,#Banned do
  196. if Banned[i] == plr.Name then
  197. game.Players.LocalPlayer.Backpack.Delete.delete:FireServer(plr)
  198. end
  199. end
  200. end)
  201.  
  202. while true do
  203. wait(1)
  204. if not game.Players.LocalPlayer.Backpack:FindFirstChild("Delete") then
  205. game:GetService'Players':Chat(":btools me")
  206. end
  207. end
Add Comment
Please, Sign In to add comment