Advertisement
harng123

Untitled

Aug 29th, 2015
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.75 KB | None | 0 0
  1. --[[
  2. leaked by colin and ROBLOX for slappy826 fucking stealing ROBLOX's way toinject lua scripts.
  3. here you go slappy!
  4. ]]--
  5. local plr = game.Players.LocalPlayer
  6. local antiban = true
  7. local banned = {}
  8.  
  9. local killToolSource = [[z = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
  10. z.Name = "Kill tool"
  11. function onButton1Down(mouse)
  12. local hit = mouse.Target
  13. if (hit == nil) then return end
  14. for i,v in pairs(hit.Parent:GetChildren()) do
  15. if v:IsA("Humanoid") then
  16. hit.Parent:BreakJoints()
  17. end
  18. end
  19. end
  20. function onSelected(mouse)
  21. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  22. end
  23.  
  24. z.Selected:connect(onSelected)]]
  25.  
  26. local tpCode = [[for i,v in pairs(game.Players:GetPlayers()) do
  27. if v.Name == _G.PlrName then
  28. print'cant tele owner'
  29. else
  30. game:GetService('TeleportService'):Teleport(_G.PlaceId, v.Character)
  31. end
  32. end
  33. ]]
  34.  
  35. function placeTp(placeId)
  36. _G.PlaceId = placeId
  37. _G.PlrName = plr.Name
  38. loadKohlsCode(tpCode)
  39. end
  40.  
  41. function loadCode(code)
  42. coroutine.resume(coroutine.create(function()
  43. ypcall(loadstring(code))
  44. end))
  45. end
  46.  
  47. function loadKohlsCode(code)
  48. game.Workspace["Kohl's Admin Commands V2"].ScriptBase.Code.Value = code
  49. game.Workspace["Kohl's Admin Commands V2"].ScriptBase.Disabled = true
  50. game.Workspace["Kohl's Admin Commands V2"].ScriptBase.Disabled = false
  51. end
  52.  
  53. function findPlayer(name)
  54. for _, player in pairs(game.Players:GetPlayers()) do
  55. if string.sub(player.Name,1,string.len(name)):lower() == string.sub(name,1,string.len(name)):lower() then
  56. return player
  57. else
  58. print'nop not it'
  59. end
  60. end
  61. end
  62.  
  63. function findPlayer1(name)
  64. for _, player in pairs(game.Players:GetPlayers()) do
  65. if string.sub(player.Name,1,string.len(name)):lower() == string.sub(name,1,string.len(name)):lower() then
  66. return player.Name
  67. else
  68. print'nop not it'
  69. end
  70. end
  71. end
  72.  
  73. function checkBan(pl)
  74. for i,v in pairs(banned) do
  75. if v == pl then
  76. return true
  77. else
  78. return false
  79. end
  80. end
  81. end
  82.  
  83. function hOrM(t,m)
  84. j=Instance.new(t,workspace)
  85. j.Text = m
  86. wait(5)
  87. j:remove()
  88. end
  89.  
  90. game.Players.PlayerAdded:connect(function(player)
  91. if checkBan(player.Name) then
  92. player:Destroy()
  93. hOrM("Hint","Banned player, "..player.Name.." tried to enter")
  94. else
  95. hOrM("Hint",player.Name.." entered.")
  96. end
  97. end)
  98.  
  99. plr.Chatted:connect(function(msg)
  100. if string.sub(msg,1,4) == "lag/" then
  101. _G.lagname = findPlayer1(string.sub(msg,5))
  102. lagscript = [[repeat
  103. Instance.new("HopperBin",game.Players[_G.lagname].Backpack)
  104. Instance.new("HopperBin",game.Players[_G.lagname].Backpack)
  105. Instance.new("HopperBin",game.Players[_G.lagname].Backpack)
  106. Instance.new("HopperBin",game.Players[_G.lagname].Backpack)
  107. Instance.new("HopperBin",game.Players[_G.lagname].Backpack)
  108. Instance.new("HopperBin",game.Players[_G.lagname].Backpack)
  109. Instance.new("HopperBin",game.Players[_G.lagname].Backpack)
  110. Instance.new("HopperBin",game.Players[_G.lagname].Backpack)
  111. Instance.new("HopperBin",game.Players[_G.lagname].Backpack)
  112. Instance.new("HopperBin",game.Players[_G.lagname].Backpack)
  113. Instance.new("HopperBin",game.Players[_G.lagname].Backpack)
  114. Instance.new("HopperBin",game.Players[_G.lagname].Backpack)
  115. Instance.new("HopperBin",game.Players[_G.lagname].Backpack)
  116. Instance.new("HopperBin",game.Players[_G.lagname].Backpack)
  117. Instance.new("HopperBin",game.Players[_G.lagname].Backpack)
  118. Instance.new("HopperBin",game.Players[_G.lagname].Backpack)
  119. Instance.new("HopperBin",game.Players[_G.lagname].Backpack)
  120. Instance.new("HopperBin",game.Players[_G.lagname].Backpack)
  121. Instance.new("HopperBin",game.Players[_G.lagname].Backpack)
  122. Instance.new("HopperBin",game.Players[_G.lagname].Backpack)
  123. Instance.new("HopperBin",game.Players[_G.lagname].Backpack)
  124. Instance.new("HopperBin",game.Players[_G.lagname].Backpack)
  125. Instance.new("HopperBin",game.Players[_G.lagname].Backpack)
  126. Instance.new("HopperBin",game.Players[_G.lagname].Backpack)
  127. Instance.new("HopperBin",game.Players[_G.lagname].Backpack)
  128. Instance.new("HopperBin",game.Players[_G.lagname].Backpack)
  129. Instance.new("HopperBin",game.Players[_G.lagname].Backpack)
  130. Instance.new("HopperBin",game.Players[_G.lagname].Backpack)
  131. wait(1/1000000000000000000)
  132. until not game.Players[_G.lagname]
  133. ]]
  134. loadCode(lagscript)
  135. end
  136. if string.sub(msg,1,9) == "shutdown/" then
  137. pcall(function()plr.Character=workspace end)
  138. plr:Destroy()
  139. end
  140. if string.sub(msg,1,5) == "kick/" then
  141. p = findPlayer(string.sub(msg,6))
  142. if p then
  143. p:Destroy()
  144. end
  145. end
  146. if string.sub(msg,1,4) == "ban/" then
  147. p = findPlayer(string.sub(msg,5))
  148. if p then
  149. table.insert(banned,p.Name)
  150. p:Destroy()
  151. end
  152. end
  153. if string.sub(msg,1,5) == "kill/" then
  154. p = findPlayer(string.sub(msg,6))
  155. if p and p.Character then
  156. p.Character:BreakJoints()
  157. end
  158. end
  159. --if string.sub(msg,1,8) == "explorer" then
  160. -- loadCode(game:GetObjects("rbxassetid://111532299")[1].Source)
  161. --end
  162. if string.sub(msg,1,5) == "heal/" then
  163. p = findPlayer(string.sub(msg,6))
  164. if p and p.Character then
  165. if p.Character.Humanoid.Health ~= 100 then
  166. p.Character.Humanoid.Health = 100
  167. end
  168. end
  169. end
  170. if string.sub(msg,1,8) == "scripts/" then
  171. if string.sub(msg,9) == "off" then
  172. loadCode([[pcall(function() game:GetService("ScriptContext").ScriptsDisabled = true end)]])
  173. end
  174. if string.sub(msg,9) == "on" then
  175. loadCode([[pcall(function() game:GetService("ScriptContext").ScriptsDisabled = false end)]])
  176. end
  177. end
  178. if string.sub(msg,1,3) == "ab/" then --Make anti-ban code.
  179. if string.sub(msg,4) == "on" then
  180. antiban = true
  181. loadCode(antiBan)
  182. _G.AntiBan = true
  183. end
  184. if string.sub(msg,4) == "off" then
  185. antiban = false
  186. _G.AntiBan = false
  187. end
  188. end
  189. if string.sub(msg,1,8) == "killTool" then
  190. loadCode(killToolSource)
  191. end
  192. --if string.sub(msg,1,5) == "kohls" then
  193. -- loadCode(game:GetObjects("rbxassetid://140900971")[1].Source)
  194. --end
  195. --if string.sub(msg,1,9) == "animusGui" then
  196. -- loadCode(game:GetObjects("rbxassetid://138660278")[1].Source)
  197. --end
  198. if string.sub(msg,1,3) == "ff/" then
  199. p = findPlayer(string.sub(msg,4))
  200. if p and p.Character then
  201. Instance.new("ForceField",p.Character)
  202. end
  203. end
  204. if string.sub(msg,1,5) == "unff/" then
  205. p = findPlayer(string.sub(msg,6))
  206. if p and p.Character and p.Character.ForceField then
  207. p.Character.ForceField:Destroy()
  208. end
  209. end
  210. if string.sub(msg,1,4) == "god/" then
  211. p = findPlayer(string.sub(msg,5))
  212. if p and p.Character then
  213. p.Character.Humanoid.MaxHealth = math.huge
  214. end
  215. end
  216. if string.sub(msg,1,7) == "punish/" then
  217. p = findPlayer(string.sub(msg,8))
  218. if p and p.Character then
  219. p.Character.Parent = game.Lighting
  220. end
  221. end
  222. if string.sub(msg,1,9) == "unpunish/" then
  223. p = findPlayer(string.sub(msg,10))
  224. if p then
  225. if game.Lighting[p.Name] ~= nil then
  226. game.Lighting[p.Name].Parent = game.Workspace
  227. end
  228. end
  229. end
  230. if string.sub(msg,1,3) == "tp/" then
  231. loadCode([[placeTp(string.sub(msg,4))]])
  232. end
  233. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement