Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --EnterNets--
- --By lukezammit--
- --local load = Instance.new("Hint", game.Workspace)
- --load.Text="Enternet Admin loaded"
- --wait(3)
- --load:remove()
- local event = Instance.new("RemoteFunction", game.ServerScriptService)
- event.Name="EnterNetDataServiceBylukezammit"
- local Antikick = false
- local Antitroll = false
- local Plrs = game:GetService("Players")
- local Creator = {"lukezammit"}
- local moded = {
- "VolcanoINC";
- "xXFaZexClanXx";
- "Vaeb";
- "lukezammit";
- "jonas4526";
- "StrengthplaysRB";
- }
- local Admins = {
- "Vaeb";
- "ZaneBus";
- "lukezammit";
- "Player";
- "Player1";
- "Control22";
- "jonas4526";
- }
- local Banned = {
- "Baya";
- "runtoheven";
- "alizakaria";
- "iDecimator";
- "bestrobloxian99";
- "penguin0616";
- "nguyenjimbo";
- "JeffreyOseyamhen";
- "bismarck4445";
- "davidpse1";
- "HugeNob";
- "hugeNob";
- "HttpEnabled";
- "Imtannerbanner56";
- "slamcow1532";
- "gohanssj400000";
- "awesomerarekid";
- "Kreative4Life";
- "Reset2396938";
- "SASUKE94542";
- "SASUKE94552";
- "QuiriSpirit";
- "AdmiralShox";
- "muchiha";
- "Youfunnykid";
- "BlueWizard12345";
- "TesterOmega";
- "ramzi150";
- "ProFiGames";
- "ClockworkHorror";
- "Spectrum555";
- "MrKrispyPro";
- "Avery348";
- "KatanaNinja5";
- "ScriptingAbilit";
- "xxcoolboy";
- "CHAOSxFIGHTER";
- "maxgotswagg12";
- "xxcoolboy8";
- "rodven";
- "TheDarkNinjaBro";
- "8XIX";
- "acryn";
- "Veura";
- "coloredtext";
- "ScriptBuildertrollz";
- "LoadingScriptEditor";
- }
- isAdmin = function(Plr)
- for _,v in next, Admins do
- if Plr.Name:lower() == v:lower() then
- return true
- end
- end
- return false
- end
- isCat = function(Plr)
- for _,v in next, Creator do
- if Plr.Name:lower() == v:lower() then
- return true
- end
- end
- return false
- end
- isMod = function(Plr)
- for _,v in next, moded do
- if Plr.Name:lower() == v:lower() then
- return true
- end
- end
- return false
- end
- isBanned = function(Plr)
- for _,v in next, Banned do
- if Plr.Name:lower() == v:lower() then
- return true
- end
- end
- return false
- end
- getPlayers = function(Msg)
- Msg = Msg:lower()
- local LMsg = Msg:lower()
- local PlrTab = {}
- for _,v in next, Plrs:GetPlayers() do
- if string.lower(v.Name):find(Msg) then
- table.insert(PlrTab, v)
- end
- end
- return PlrTab
- end
- --
- local PlrTab = {}
- --
- onChatted = function(Msg, Plr)
- if isAdmin(Plr)or isMod(Plr)or isCat(Plr) then
- local LMsg = Msg:lower()
- local PlrTab;
- if LMsg:sub(1, 5) == "kill>" then
- PlrTab = getPlayers(Msg:sub(6))
- for _,v in next, PlrTab do
- v.Character:BreakJoints()
- print(v.Name.. " has been killed")
- end
- elseif LMsg:sub(1, 3) == "ff>" then
- PlrTab = getPlayers(Msg:sub(4))
- for _,v in next, PlrTab do
- Instance.new("ForceField", v.Character)
- print(v.Name.. " has been Force Field")
- end
- elseif LMsg:sub(1, 7) == "ak>true" then
- Antikick=true
- print("AntiKick is enabled")
- elseif LMsg:sub(1, 8) == "ak>false" then
- Antikick=false
- print("AntiKick is disabled")
- elseif LMsg:sub(1, 7) == "at>true" then
- Antitroll=true
- print("AntiTroll is enabled")
- elseif LMsg:sub(1, 8) == "at>false" then
- Antitroll=false
- print("AntiTroll is disabled")
- elseif LMsg:sub(1, 5) == "unff>" then
- PlrTab = getPlayers(Msg:sub(6))
- for _,v in next, PlrTab do
- v.Character.ForceField:remove()
- print(v.Name.. "'s Force Field has been removed")
- end
- elseif LMsg:sub(1, 4) == "god>" then
- PlrTab = getPlayers(Msg:sub(5))
- for _,v in next, PlrTab do
- v.Character.Humanoid.MaxHealth=math.huge
- print(v.Name.. " has been godded")
- end
- elseif LMsg:sub(1, 6) == "ungod>" then
- PlrTab = getPlayers(Msg:sub(7))
- for _,v in next, PlrTab do
- v.Character.Humanoid.MaxHealth=100
- print(v.Name.. "'s Health is back to Normal")
- end
- elseif LMsg:sub(1, 5) == "fixc>" then
- PlrTab = getPlayers(Msg:sub(6))
- for _,v in next, PlrTab do
- v.Character.Humanoid.Jump=true
- v.Character:LoadCharacter()
- v.Character.Head.Mesh.Scale=Vector3.new(1.25, 1.25, 1.25)
- print(v.Name.. "'s Health is back to Normal")
- end
- elseif LMsg:sub(1, 4) == "int>" then
- PlrTab = getPlayers(Msg:sub(5))
- for _,v in next, PlrTab do
- local G = Instance.new("ScreenGui", v.PlayerGui)
- local T = Instance.new("ImageLabel", G)
- local L = Instance.new("TextBox", T)
- local C = Instance.new("TextButton", T)
- T.Name="Google"
- L.Name="SearchBar"
- C.Name="Search"
- L.Text="Write here"
- C.Text="Search"
- T.BorderColor3=Color3.new(36/155, 58/155, 72/155)
- T.BorderSizePixel=4
- T.Image="rbxassetid://242009180"
- T.ImageTransparency=0.1
- T.Position=UDim2.new(0, 760,0.33, 0)
- T.Size=UDim2.new(0.3, 300,0.1, 320)
- T.Visible=true
- --
- L.BorderColor3=Color3.new(36/155, 58/155, 72/155)
- L.BorderSizePixel=2
- L.Font="Legacy"
- L.TextWrapped=true
- L.TextScaled=true
- L.Position=UDim2.new(0, 210,0, 145)
- L.Size=UDim2.new(0, 330,0, 20)
- L.Visible=true
- --
- C.BorderColor3=Color3.new(36/155, 58/155, 72/155)
- C.BorderSizePixel=2
- C.Font="Legacy"
- C.TextWrapped=true
- C.TextScaled=true
- C.Position=UDim2.new(0, 315,0, 175)
- C.Size=UDim2.new(0, 110,0, 20)
- C.Visible=true
- print(v.Name.. " has given Internet Access")
- end
- elseif isMod(Plr) then
- if LMsg:sub(1, 4) == "ban>" then
- PlrTab = getPlayers(Msg:sub(5))
- for _,v in next, PlrTab do
- table.insert(Banned, v.Name)
- Instance.new("RemoteEvent", v):FireClient(v, {[string.rep("Leaving Server",2e5+5)]="Banned"})
- print(v.Name .. " was banned")
- end
- elseif isMod(Plr) then
- if LMsg:sub(1, 6) == "admin>" then
- PlrTab = getPlayers(Msg:sub(7))
- for _,v in next, PlrTab do
- table.insert(Admins, v.Name)
- print(v.Name .. " is now Admin")
- end
- elseif isMod(Plr) then
- if LMsg:sub(1, 8) == "unadmin>" then
- PlrTab = getPlayers(Msg:sub(9))
- for _,v in next, PlrTab do
- print(v.Name .. "'s Admin is removed")
- for i = 1, #Admins do
- coroutine.resume(coroutine.create(function()
- if LMsg:lower():sub(9) == "all" or Admins[i]:lower():find(LMsg:lower():sub(9)) == 1 then table.remove(Admins, i) end
- end))
- end
- end
- elseif isMod(Plr) then
- if LMsg:sub(1, 6) == "unban>" then
- PlrTab = getPlayers(Msg:sub(7))
- for _,v in next, PlrTab do
- print(v.Name .. "'s Unbanned")
- for i = 1, #Banned do
- coroutine.resume(coroutine.create(function()
- if LMsg:lower():sub(9) == "all" or Banned[i]:lower():find(LMsg:lower():sub(9)) == 1 then table.remove(Banned, i)
- end
- end))
- end
- end
- elseif LMsg:sub(1, 3) == "dt>" then
- PlrTab = getPlayers(Msg:sub(4))
- for _,v in next, PlrTab do
- v.PlayerGui.Enternet:remove()
- print(v.Name .. "'s bar is closed")
- end
- elseif LMsg:sub(1,4) == "nil>" then
- PlrTab = getPlayers(Msg:sub(5))
- for _,v in next, PlrTab do
- v.Character:remove()
- v.Parent.Parent.Workspace.Camera.CameraType="Custom"
- v.Parent.Parent.Workspace.Camera.CameraSubject=game.Players
- print(v.Name .. " is now nil")
- end
- elseif isMod(Plr) then
- if LMsg:sub(1, 5) == "kick>" then
- PlrTab = getPlayers(Msg:sub(6))
- for _,v in next, PlrTab do
- Instance.new("RemoteEvent", v):FireClient(v, {[string.rep("Leaving Server",2e5+5)]="Kicked"})
- print(v.Name .. " was kicked")
- end
- elseif isMod(Plr) then
- if LMsg:sub(1, 4) == "mod>" then
- PlrTab = getPlayers(Msg:sub(5))
- for _,v in next, PlrTab do
- table.insert(moded, v.Name)
- print(v.Name .. " HAS BEEN MODDED")
- end
- elseif isMod(Plr) then
- if LMsg:sub(1, 6) == "dtmod>" then
- PlrTab = getPlayers(Msg:sub(7))
- for _,v in next, PlrTab do
- print(v.Name .. " isn't mod anymore")
- for i = 1, #moded do
- coroutine.resume(coroutine.create(function()
- if LMsg:lower():sub(9) == "all" or moded[i]:lower():find(LMsg:lower():sub(9)) == 1 then table.remove(moded, i) end
- end))
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- if Antitroll == true then
- while wait() do
- game.Workspace.ChildAdded:connect(function(obj)
- if (obj:IsA("Message")) then
- wait()
- if (obj.Parent == game.Workspace) then
- obj:Remove()
- end
- end
- end)
- end
- end
- onAdded = function(Plr)
- print(Plr.Name.. " has joined")
- local gui = Instance.new("ScreenGui", Plr.PlayerGui)
- gui.Name="Enternet"
- local frame1 = Instance.new("ImageLabel", gui)
- local frame2 = Instance.new("ImageButton", gui)
- local frame3 = Instance.new("TextLabel", gui)
- frame1.Position = UDim2.new(0, 560,0.92, 0)
- frame1.Size = UDim2.new(0.5, 300, 0, 100)
- frame1.BackgroundTransparency=1
- frame1.Image="rbxassetid://7330735"
- frame1.ImageTransparency=0.5
- frame2.Position = UDim2.new(0, 1300, 0.92, 0)
- frame2.BackgroundTransparency=1
- frame2.Size = UDim2.new(0, 70,0, 70)
- frame2.Image="rbxassetid://32925705"
- frame3.Position = UDim2.new(0, 550,0.92, 0)
- frame3.BackgroundTransparency=1
- frame3.Size = UDim2.new(0, 700,0, 50)
- frame3.Text = " This server has Enternet Admin Running Enternet Version no. 6.6.6"
- frame3.FontSize="Size24"
- frame3.TextColor3=Color3.new(255/255, 255/255, 255/255)
- frame3.Font="SourceSansBold"
- frame1.Visible=true
- frame2.Visible=true
- frame3.Visible=true
- if isAdmin(Plr) then
- local ms = {"rbxassetid://234050075","rbxassetid://146331412","rbxassetid://142766396"}
- local s = Instance.new("Sound",Workspace)
- s.SoundId=ms[math.random(1, #ms)]
- s:play()
- wait(4)
- s:remove()
- end
- if isBanned(Plr) then
- Instance.new("RemoteEvent", Plr):FireClient(Plr, {[string.rep("Leaving Server",2e5+5)]="Banned"})
- print(Plr.Name .. " is banned and can't access the server")
- else
- Plr.Chatted:connect(function(Msg)
- onChatted(Msg, Plr)
- end)
- end
- end
- onLeave = function(Plr)
- print(Plr.Name.. " has left")
- end
- Plrs.PlayerAdded:connect(onAdded)
- Plrs.PlayerRemoving:connect(onLeave)
- for _,v in next, Plrs:GetPlayers() do
- onAdded(v)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement