Advertisement
Guest User

[LEAK] enternet

a guest
Aug 1st, 2015
300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.18 KB | None | 0 0
  1. --EnterNets--
  2. --By lukezammit--
  3.  
  4. --local load = Instance.new("Hint", game.Workspace)
  5. --load.Text="Enternet Admin loaded"
  6. --wait(3)
  7. --load:remove()
  8. local event = Instance.new("RemoteFunction", game.ServerScriptService)
  9. event.Name="EnterNetDataServiceBylukezammit"
  10. local Antikick = false
  11. local Antitroll = false
  12. local Plrs = game:GetService("Players")
  13. local Creator = {"lukezammit"}
  14. local moded = {
  15. "VolcanoINC";
  16. "xXFaZexClanXx";
  17. "Vaeb";
  18. "lukezammit";
  19. "jonas4526";
  20. "StrengthplaysRB";
  21. }
  22. local Admins = {
  23. "Vaeb";
  24. "ZaneBus";
  25. "lukezammit";
  26. "Player";
  27. "Player1";
  28. "Control22";
  29. "jonas4526";
  30. }
  31. local Banned = {
  32. "Baya";
  33. "runtoheven";
  34. "alizakaria";
  35. "iDecimator";
  36. "bestrobloxian99";
  37. "penguin0616";
  38. "nguyenjimbo";
  39. "JeffreyOseyamhen";
  40. "bismarck4445";
  41. "davidpse1";
  42. "HugeNob";
  43. "hugeNob";
  44. "HttpEnabled";
  45. "Imtannerbanner56";
  46. "slamcow1532";
  47. "gohanssj400000";
  48. "awesomerarekid";
  49. "Kreative4Life";
  50. "Reset2396938";
  51. "SASUKE94542";
  52. "SASUKE94552";
  53. "QuiriSpirit";
  54. "AdmiralShox";
  55. "muchiha";
  56. "Youfunnykid";
  57. "BlueWizard12345";
  58. "TesterOmega";
  59. "ramzi150";
  60. "ProFiGames";
  61. "ClockworkHorror";
  62. "Spectrum555";
  63. "MrKrispyPro";
  64. "Avery348";
  65. "KatanaNinja5";
  66. "ScriptingAbilit";
  67. "xxcoolboy";
  68. "CHAOSxFIGHTER";
  69. "maxgotswagg12";
  70. "xxcoolboy8";
  71. "rodven";
  72. "TheDarkNinjaBro";
  73. "8XIX";
  74. "acryn";
  75. "Veura";
  76. "coloredtext";
  77. "ScriptBuildertrollz";
  78. "LoadingScriptEditor";
  79. }
  80.  
  81.  
  82. isAdmin = function(Plr)
  83. for _,v in next, Admins do
  84. if Plr.Name:lower() == v:lower() then
  85. return true
  86. end
  87. end
  88. return false
  89. end
  90.  
  91.  
  92. isCat = function(Plr)
  93. for _,v in next, Creator do
  94. if Plr.Name:lower() == v:lower() then
  95. return true
  96. end
  97. end
  98. return false
  99. end
  100.  
  101. isMod = function(Plr)
  102. for _,v in next, moded do
  103. if Plr.Name:lower() == v:lower() then
  104. return true
  105. end
  106. end
  107. return false
  108. end
  109.  
  110. isBanned = function(Plr)
  111. for _,v in next, Banned do
  112. if Plr.Name:lower() == v:lower() then
  113. return true
  114. end
  115. end
  116. return false
  117. end
  118.  
  119. getPlayers = function(Msg)
  120. Msg = Msg:lower()
  121. local LMsg = Msg:lower()
  122. local PlrTab = {}
  123. for _,v in next, Plrs:GetPlayers() do
  124. if string.lower(v.Name):find(Msg) then
  125. table.insert(PlrTab, v)
  126. end
  127. end
  128. return PlrTab
  129. end
  130. --
  131. local PlrTab = {}
  132. --
  133. onChatted = function(Msg, Plr)
  134. if isAdmin(Plr)or isMod(Plr)or isCat(Plr) then
  135. local LMsg = Msg:lower()
  136. local PlrTab;
  137. if LMsg:sub(1, 5) == "kill>" then
  138. PlrTab = getPlayers(Msg:sub(6))
  139. for _,v in next, PlrTab do
  140. v.Character:BreakJoints()
  141. print(v.Name.. " has been killed")
  142. end
  143. elseif LMsg:sub(1, 3) == "ff>" then
  144. PlrTab = getPlayers(Msg:sub(4))
  145. for _,v in next, PlrTab do
  146. Instance.new("ForceField", v.Character)
  147. print(v.Name.. " has been Force Field")
  148. end
  149. elseif LMsg:sub(1, 7) == "ak>true" then
  150. Antikick=true
  151. print("AntiKick is enabled")
  152. elseif LMsg:sub(1, 8) == "ak>false" then
  153. Antikick=false
  154. print("AntiKick is disabled")
  155. elseif LMsg:sub(1, 7) == "at>true" then
  156. Antitroll=true
  157. print("AntiTroll is enabled")
  158. elseif LMsg:sub(1, 8) == "at>false" then
  159. Antitroll=false
  160. print("AntiTroll is disabled")
  161. elseif LMsg:sub(1, 5) == "unff>" then
  162. PlrTab = getPlayers(Msg:sub(6))
  163. for _,v in next, PlrTab do
  164. v.Character.ForceField:remove()
  165. print(v.Name.. "'s Force Field has been removed")
  166. end
  167. elseif LMsg:sub(1, 4) == "god>" then
  168. PlrTab = getPlayers(Msg:sub(5))
  169. for _,v in next, PlrTab do
  170. v.Character.Humanoid.MaxHealth=math.huge
  171. print(v.Name.. " has been godded")
  172. end
  173. elseif LMsg:sub(1, 6) == "ungod>" then
  174. PlrTab = getPlayers(Msg:sub(7))
  175. for _,v in next, PlrTab do
  176. v.Character.Humanoid.MaxHealth=100
  177. print(v.Name.. "'s Health is back to Normal")
  178. end
  179. elseif LMsg:sub(1, 5) == "fixc>" then
  180. PlrTab = getPlayers(Msg:sub(6))
  181. for _,v in next, PlrTab do
  182. v.Character.Humanoid.Jump=true
  183. v.Character:LoadCharacter()
  184. v.Character.Head.Mesh.Scale=Vector3.new(1.25, 1.25, 1.25)
  185. print(v.Name.. "'s Health is back to Normal")
  186. end
  187. elseif LMsg:sub(1, 4) == "int>" then
  188. PlrTab = getPlayers(Msg:sub(5))
  189. for _,v in next, PlrTab do
  190. local G = Instance.new("ScreenGui", v.PlayerGui)
  191. local T = Instance.new("ImageLabel", G)
  192. local L = Instance.new("TextBox", T)
  193. local C = Instance.new("TextButton", T)
  194. T.Name="Google"
  195. L.Name="SearchBar"
  196. C.Name="Search"
  197. L.Text="Write here"
  198. C.Text="Search"
  199. T.BorderColor3=Color3.new(36/155, 58/155, 72/155)
  200. T.BorderSizePixel=4
  201. T.Image="rbxassetid://242009180"
  202. T.ImageTransparency=0.1
  203. T.Position=UDim2.new(0, 760,0.33, 0)
  204. T.Size=UDim2.new(0.3, 300,0.1, 320)
  205. T.Visible=true
  206. --
  207. L.BorderColor3=Color3.new(36/155, 58/155, 72/155)
  208. L.BorderSizePixel=2
  209. L.Font="Legacy"
  210. L.TextWrapped=true
  211. L.TextScaled=true
  212. L.Position=UDim2.new(0, 210,0, 145)
  213. L.Size=UDim2.new(0, 330,0, 20)
  214. L.Visible=true
  215. --
  216. C.BorderColor3=Color3.new(36/155, 58/155, 72/155)
  217. C.BorderSizePixel=2
  218. C.Font="Legacy"
  219. C.TextWrapped=true
  220. C.TextScaled=true
  221. C.Position=UDim2.new(0, 315,0, 175)
  222. C.Size=UDim2.new(0, 110,0, 20)
  223. C.Visible=true
  224. print(v.Name.. " has given Internet Access")
  225. end
  226. elseif isMod(Plr) then
  227. if LMsg:sub(1, 4) == "ban>" then
  228. PlrTab = getPlayers(Msg:sub(5))
  229. for _,v in next, PlrTab do
  230. table.insert(Banned, v.Name)
  231. Instance.new("RemoteEvent", v):FireClient(v, {[string.rep("Leaving Server",2e5+5)]="Banned"})
  232. print(v.Name .. " was banned")
  233. end
  234.  
  235. elseif isMod(Plr) then
  236. if LMsg:sub(1, 6) == "admin>" then
  237. PlrTab = getPlayers(Msg:sub(7))
  238. for _,v in next, PlrTab do
  239. table.insert(Admins, v.Name)
  240. print(v.Name .. " is now Admin")
  241. end
  242.  
  243. elseif isMod(Plr) then
  244. if LMsg:sub(1, 8) == "unadmin>" then
  245. PlrTab = getPlayers(Msg:sub(9))
  246. for _,v in next, PlrTab do
  247. print(v.Name .. "'s Admin is removed")
  248. for i = 1, #Admins do
  249. coroutine.resume(coroutine.create(function()
  250. if LMsg:lower():sub(9) == "all" or Admins[i]:lower():find(LMsg:lower():sub(9)) == 1 then table.remove(Admins, i) end
  251.  
  252. end))
  253. end
  254. end
  255. elseif isMod(Plr) then
  256. if LMsg:sub(1, 6) == "unban>" then
  257. PlrTab = getPlayers(Msg:sub(7))
  258. for _,v in next, PlrTab do
  259. print(v.Name .. "'s Unbanned")
  260. for i = 1, #Banned do
  261. coroutine.resume(coroutine.create(function()
  262. if LMsg:lower():sub(9) == "all" or Banned[i]:lower():find(LMsg:lower():sub(9)) == 1 then table.remove(Banned, i)
  263. end
  264. end))
  265. end
  266. end
  267. elseif LMsg:sub(1, 3) == "dt>" then
  268. PlrTab = getPlayers(Msg:sub(4))
  269. for _,v in next, PlrTab do
  270. v.PlayerGui.Enternet:remove()
  271. print(v.Name .. "'s bar is closed")
  272. end
  273. elseif LMsg:sub(1,4) == "nil>" then
  274. PlrTab = getPlayers(Msg:sub(5))
  275. for _,v in next, PlrTab do
  276. v.Character:remove()
  277. v.Parent.Parent.Workspace.Camera.CameraType="Custom"
  278. v.Parent.Parent.Workspace.Camera.CameraSubject=game.Players
  279. print(v.Name .. " is now nil")
  280. end
  281. elseif isMod(Plr) then
  282. if LMsg:sub(1, 5) == "kick>" then
  283. PlrTab = getPlayers(Msg:sub(6))
  284. for _,v in next, PlrTab do
  285. Instance.new("RemoteEvent", v):FireClient(v, {[string.rep("Leaving Server",2e5+5)]="Kicked"})
  286. print(v.Name .. " was kicked")
  287. end
  288.  
  289. elseif isMod(Plr) then
  290. if LMsg:sub(1, 4) == "mod>" then
  291. PlrTab = getPlayers(Msg:sub(5))
  292. for _,v in next, PlrTab do
  293. table.insert(moded, v.Name)
  294. print(v.Name .. " HAS BEEN MODDED")
  295. end
  296. elseif isMod(Plr) then
  297. if LMsg:sub(1, 6) == "dtmod>" then
  298. PlrTab = getPlayers(Msg:sub(7))
  299. for _,v in next, PlrTab do
  300. print(v.Name .. " isn't mod anymore")
  301. for i = 1, #moded do
  302. coroutine.resume(coroutine.create(function()
  303. if LMsg:lower():sub(9) == "all" or moded[i]:lower():find(LMsg:lower():sub(9)) == 1 then table.remove(moded, i) end
  304.  
  305. end))
  306. end
  307. end
  308. end
  309. end
  310. end
  311. end
  312. end
  313. end
  314. end
  315. end
  316. end
  317. end
  318.  
  319. if Antitroll == true then
  320. while wait() do
  321. game.Workspace.ChildAdded:connect(function(obj)
  322. if (obj:IsA("Message")) then
  323. wait()
  324. if (obj.Parent == game.Workspace) then
  325. obj:Remove()
  326. end
  327. end
  328. end)
  329. end
  330. end
  331.  
  332. onAdded = function(Plr)
  333. print(Plr.Name.. " has joined")
  334. local gui = Instance.new("ScreenGui", Plr.PlayerGui)
  335. gui.Name="Enternet"
  336. local frame1 = Instance.new("ImageLabel", gui)
  337. local frame2 = Instance.new("ImageButton", gui)
  338. local frame3 = Instance.new("TextLabel", gui)
  339. frame1.Position = UDim2.new(0, 560,0.92, 0)
  340. frame1.Size = UDim2.new(0.5, 300, 0, 100)
  341. frame1.BackgroundTransparency=1
  342. frame1.Image="rbxassetid://7330735"
  343. frame1.ImageTransparency=0.5
  344.  
  345. frame2.Position = UDim2.new(0, 1300, 0.92, 0)
  346. frame2.BackgroundTransparency=1
  347. frame2.Size = UDim2.new(0, 70,0, 70)
  348. frame2.Image="rbxassetid://32925705"
  349.  
  350. frame3.Position = UDim2.new(0, 550,0.92, 0)
  351. frame3.BackgroundTransparency=1
  352. frame3.Size = UDim2.new(0, 700,0, 50)
  353. frame3.Text = " This server has Enternet Admin Running Enternet Version no. 6.6.6"
  354. frame3.FontSize="Size24"
  355. frame3.TextColor3=Color3.new(255/255, 255/255, 255/255)
  356. frame3.Font="SourceSansBold"
  357.  
  358. frame1.Visible=true
  359. frame2.Visible=true
  360. frame3.Visible=true
  361. if isAdmin(Plr) then
  362. local ms = {"rbxassetid://234050075","rbxassetid://146331412","rbxassetid://142766396"}
  363. local s = Instance.new("Sound",Workspace)
  364. s.SoundId=ms[math.random(1, #ms)]
  365. s:play()
  366. wait(4)
  367. s:remove()
  368. end
  369. if isBanned(Plr) then
  370. Instance.new("RemoteEvent", Plr):FireClient(Plr, {[string.rep("Leaving Server",2e5+5)]="Banned"})
  371. print(Plr.Name .. " is banned and can't access the server")
  372. else
  373. Plr.Chatted:connect(function(Msg)
  374. onChatted(Msg, Plr)
  375. end)
  376. end
  377. end
  378.  
  379.  
  380. onLeave = function(Plr)
  381. print(Plr.Name.. " has left")
  382.  
  383. end
  384.  
  385.  
  386. Plrs.PlayerAdded:connect(onAdded)
  387.  
  388. Plrs.PlayerRemoving:connect(onLeave)
  389.  
  390.  
  391. for _,v in next, Plrs:GetPlayers() do
  392. onAdded(v)
  393. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement