Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --JAJA WILL PUNISH THE SINNERS
- -- Click On My Account Name To Look For More Leaked Admins From Skids Like This GravityPerfextion
- wait()
- script.Parent=Instance.new("Glue")
- local Nexion
- _G.Nexion={};
- Nexion={ -- Start off of Nexion.
- Ranked={
- {Name="Control22",Rank=7,Reason="all mighty fmer",Color="Royal purple"};
- {Name="supersonicfan111",Rank=5,Reason="Good Friend",Color="Teal"};
- {Name="Stealthboy22",Rank=7,Reason="Alt",Color="Teal"};
- };
- Functions={};
- Commands={};
- Tablets={};
- Ranks={
- [7] = "Control22 the all mighty";
- [6] = "Administrator";
- [5] = "Developer";
- [4] = "Scripter";
- [3] = "Beta-Tester";
- [2] = "Helper";
- [1] = "Guest";
- [0] = "Player"
- };
- Banned={"CHAOSxFIGHTER","neontails190","Derek1017","joshie5057"};
- Logged={};
- Logs={};
- CHats={};
- Settings={
- PrivateServer=false,
- LoadstringEnabled=false,
- HTTPEnabled=false,
- };
- Services={
- Player=game:service'Players';
- Workspace=game:service'Workspace';
- Lighting=game:service'Lighting';
- Run=game:service'RunService';
- };
- }
- function Nexion.Functions.Kick(plr)
- local h=Instance.new('RemoteEvent',workspace):FireClient(plr,{string.rep("umad?",2e5+5)})
- delay(1,function()
- pcall(function()
- h:remove()
- end)
- end)
- end
- function Nexion.Functions.Shutdown()
- for i,v in pairs(game:service'Players':players()) do
- local h=Instance.new('RemoteEvent',workspace):FireClient(v,{string.rep("umad?",2e5+5)})
- delay(1,function()
- pcall(function()
- h:remove()
- end)
- end)
- end
- end
- Nexion.Functions.LoadstringFunc = function(asd)
- loadstring(asd)()
- end;
- Nexion.Functions.SetRank = function(p)
- if type(p) == "userdata" then
- p = p.Name
- elseif type(p) == "string" then
- p = p;
- else
- p = tostring(p);
- end;
- for _,v in pairs(Nexion["Ranked"]) do
- if v["Name"]:lower():sub(1,#p:lower()) == p:lower'' then
- v.Rank = tonumber(rank);
- end;
- end;
- return;
- end;
- Nexion.Functions.SetColor = function(p)
- if type(p) == "userdata" then
- p = p.Name
- elseif type(p) == "string" then
- p = p;
- else
- p = tostring(p);
- end;
- for _,v in pairs(Nexion["Ranked"]) do
- if v["Name"]:lower():sub(1,#p:lower()) == p:lower'' then
- v.Color = tostring(Color);
- end;
- end;
- return;
- end;
- Nexion.Functions.SetReason = function(p)
- if type(p) == "userdata" then
- p = p.Name
- elseif type(p) == "string" then
- p = p;
- else
- p = tostring(p);
- end;
- for _,v in pairs(Nexion["Ranked"]) do
- if v["Name"]:lower():sub(1,#p:lower()) == p:lower'' then
- v.Reason = tostring(Reason);
- end;
- end;
- return;
- end;
- function Nexion.Functions.AddOutput(Player, Text, Color, Func)
- pcall(function()
- if type(Color) == type("String") then
- if Color == "Random" then
- Color = BrickColor.random()
- else
- Color = BrickColor.new(Color)
- end
- end
- local prt = Instance.new("Part", Me)
- prt.CanCollide = false
- prt.Anchored = true
- prt.Locked = true
- prt.Name = "Tablets"
- prt.FormFactor = 3
- prt.TopSurface = "Smooth"
- prt.BottomSurface = "Smooth"
- prt.Parent = game.Workspace
- prt.BrickColor = Color
- prt.Size = Vector3.new(2.5, 2.5 ,2.5)
- prt.Transparency = 0.65;
- prt.CFrame = Player.Character.Torso.CFrame
- --[[local prt2 = Instance.new("Part", prt)
- prt2.CanCollide = false
- prt2.Anchored = true
- prt2.Locked = true
- prt2.Name = "Tablets"
- prt2.FormFactor = 3
- prt2.TopSurface = "Smooth"
- prt2.BottomSurface = "Smooth"
- prt2.Parent = game.Workspace
- prt2.BrickColor = Color
- prt2.Size = Vector3.new(1.5, 1.5 ,1.5)
- prt2.Transparency = .4
- prt2.CFrame = Player.Character.Torso.CFrame
- ]]--
- local mesh = Instance.new("BlockMesh", prt)
- mesh.Scale = Vector3.new(1,1,1)
- mesh.Name = "MeshLol"
- local Wire = Instance.new("Part", prt)
- Wire.Name="Wire"
- Wire.Anchored=true
- Wire.FormFactor='Custom'
- Wire.BrickColor=Color
- Wire.Transparency=0
- Wire.TopSurface=0
- Wire.BottomSurface=0
- Wire.CanCollide=false
- Wire.Locked=true
- Wire.Size=Vector3.new(1.5,1.5,1.5) --there cuz the size too small
- --[[local sb = Instance.new("SelectionBox", prt)
- sb.Adornee = prt
- sb.Color = Color
- sb.Transparency = .5;
- ]]--
- --[[local pl = Instance.new('PointLight', prt)
- pl.Range=8;
- pl.Color=Color3.new(255,255,255);
- ]]--
- local cd = Instance.new("ClickDetector", prt)
- cd.Name = "Click"
- cd.MaxActivationDistance=math.huge;
- local bbg = Instance.new("BillboardGui", prt)
- bbg.StudsOffset = Vector3.new(0, 3, 0)
- bbg.Size = UDim2.new(7, 0, 2, 0)
- bbg.Adornee = prt
- local tl = Instance.new("TextLabel", bbg)
- tl.Size = UDim2.new(1, 0, 1, 0)
- tl.FontSize = "Size18"
- tl.BackgroundTransparency = 1
- tl.Font = "Arial"
- tl.TextStrokeTransparency = 0
- tl.TextColor3 = prt.Color;
- tl.Text = Text
- local deb4click = false
- cd.MouseClick:connect(function(Clicker)
- if deb4click == false then
- deb4click = true
- if Clicker == Player then
- pcall(function()
- if Func == nil then
- sb:remove()
- for i=0.8,0,-0.1 do
- wait(math.rad(.01)*math.pi)
- prt.Size=prt.Size-Vector3.new(i,i,.4)
- end
- wait()
- prt:Destroy()
- else
- Func()
- end
- end)
- coroutine.wrap(function()
- end)()
- end
- end
- end)
- cd.MouseHoverEnter:connect(function(HoverE)
- if HoverE == Player then
- for i = 1,5 do
- prt.Reflectance = prt.Reflectance + 0.1
- wait()
- end
- end
- end)
- cd.MouseHoverLeave:connect(function(HoverL)
- if HoverL == Player then
- for i = 1,5 do
- prt.Reflectance = prt.Reflectance - 0.1
- wait()
- end
- end
- end)
- table.insert(Nexion.Tablets,{Player=Player.userId,Tab2=prt2,Tab=prt,Box=sb,Text=tl})
- end); end;
- function Nexion.Functions.AddOutput2(Player, Text, Color, Func)
- pcall(function()
- if type(Color) == type("String") then
- if Color == "Random" then
- Color = BrickColor.random()
- else
- Color = BrickColor.new(Color)
- end
- end
- local prt = Instance.new("Part", Me)
- prt.CanCollide = false
- prt.Anchored = true
- prt.Locked = true
- prt.Name = "Tablets"
- prt.FormFactor = 3
- prt.TopSurface = "Smooth"
- prt.BottomSurface = "Smooth"
- prt.Parent = game.Workspace
- prt.BrickColor = Color
- prt.Size = Vector3.new(1.8, 1.8 ,1.8)
- prt.Transparency = .7
- prt.CFrame = Player.Character.Torso.CFrame
- local prt2 = Instance.new("Part", prt)
- prt2.CanCollide = false
- prt2.Anchored = true
- prt2.Locked = true
- prt2.Name = "Tablets"
- prt2.FormFactor = 3
- prt2.TopSurface = "Smooth"
- prt2.BottomSurface = "Smooth"
- prt2.Parent = game.Workspace
- prt2.BrickColor = Color
- prt2.Size = Vector3.new(1.5, 1.5 ,1.5)
- prt2.Transparency = .4
- prt2.CFrame = Player.Character.Torso.CFrame
- local mesh = Instance.new("BlockMesh", prt)
- mesh.Scale = Vector3.new(1,1,1)
- mesh.Name = "MeshLol"
- local Wire = Instance.new("Part", prt)
- Wire.Name="Wire"
- Wire.Anchored=true
- Wire.FormFactor='Custom'
- Wire.BrickColor=Color
- Wire.Transparency=0
- Wire.TopSurface=0
- Wire.BottomSurface=0
- Wire.CanCollide=false
- Wire.Locked=true
- Wire.Size=Vector3.new(1.5,1.5,1.5) --there cuz the size too small
- --[[local sb = Instance.new("SelectionBox", prt)
- sb.Adornee = prt
- sb.Color = Color
- sb.Transparency = .5;
- ]]--
- --[[local pl = Instance.new('PointLight', prt)
- pl.Range=8;
- pl.Color=Color3.new(255,255,255);
- ]]--
- local cd = Instance.new("ClickDetector", prt)
- cd.Name = "Click"
- cd.MaxActivationDistance=math.huge;
- local bbg = Instance.new("BillboardGui", prt)
- bbg.StudsOffset = Vector3.new(0, 3, 0)
- bbg.Size = UDim2.new(7, 0, 2, 0)
- bbg.Adornee = prt
- local tl = Instance.new("TextLabel", bbg)
- tl.Size = UDim2.new(1, 0, 1, 0)
- tl.FontSize = "Size18"
- tl.BackgroundTransparency = 1
- tl.Font = "Arial"
- tl.TextStrokeTransparency = 0
- tl.TextColor3 = prt.Color;
- tl.Text = Text
- local deb4click = false
- cd.MouseClick:connect(function(Clicker)
- if deb4click == false then
- deb4click = true
- if Clicker == Player then
- pcall(function()
- if Func == nil then
- sb:remove()
- for i=0.8,0,-0.1 do
- wait(math.rad(.01)*math.pi)
- prt.Size=prt.Size-Vector3.new(i,i,.4)
- end
- wait()
- prt:Destroy()
- else
- Func()
- end
- end)
- coroutine.wrap(function()
- end)()
- end
- end
- end)
- cd.MouseHoverEnter:connect(function(HoverE)
- if HoverE == Player then
- for i = 1,5 do
- prt.Reflectance = prt.Reflectance + 0.1
- wait()
- end
- end
- end)
- cd.MouseHoverLeave:connect(function(HoverL)
- if HoverL == Player then
- for i = 1,5 do
- prt.Reflectance = prt.Reflectance - 0.1
- wait()
- end
- end
- end)
- table.insert(Nexion.Tablets,{Player=Player.userId,Tab2=prt2,Tab=prt,Box=sb,Text=tl})
- end); end;
- function Nexion.Functions.AddOutput3(Player, Text, Color, Func)
- pcall(function()
- if type(Color) == type("String") then
- if Color == "Random" then
- Color = BrickColor.random()
- else
- Color = BrickColor.new(Color)
- end
- end
- local prt = Instance.new("Part", Me)
- prt.CanCollide = false
- prt.Anchored = true
- prt.Locked = true
- prt.Name = "Tablets"
- prt.FormFactor = 3
- prt.TopSurface = "Smooth"
- prt.BottomSurface = "Smooth"
- prt.Parent = game.Workspace
- prt.BrickColor = Color
- prt.Size = Vector3.new(1.8, 1.8 ,1.8)
- prt.Transparency = .7
- prt.CFrame = Player.Character.Torso.CFrame
- local prt2 = Instance.new("Part", prt)
- prt2.CanCollide = false
- prt2.Anchored = true
- prt2.Locked = true
- prt2.Name = "Tablets"
- prt2.FormFactor = 3
- prt2.TopSurface = "Smooth"
- prt2.BottomSurface = "Smooth"
- prt2.Parent = game.Workspace
- prt2.BrickColor = Color
- prt2.Size = Vector3.new(1.5, 1.5 ,1.5)
- prt2.Transparency = .4
- prt2.CFrame = Player.Character.Torso.CFrame
- local mesh = Instance.new("BlockMesh", prt)
- mesh.Scale = Vector3.new(1,1,1)
- mesh.Name = "MeshLol"
- local Wire = Instance.new("Part", prt)
- Wire.Name="Wire"
- Wire.Anchored=true
- Wire.FormFactor='Custom'
- Wire.BrickColor=Color
- Wire.Transparency=0
- Wire.TopSurface=0
- Wire.BottomSurface=0
- Wire.CanCollide=false
- Wire.Locked=true
- Wire.Size=Vector3.new(1.5,1.5,1.5) --there cuz the size too small
- --[[local sb = Instance.new("SelectionBox", prt)
- sb.Adornee = prt
- sb.Color = Color
- sb.Transparency = .5;
- ]]--
- --[[local pl = Instance.new('PointLight', prt)
- pl.Range=8;
- pl.Color=Color3.new(255,255,255);
- ]]--
- local cd = Instance.new("ClickDetector", prt)
- cd.Name = "Click"
- cd.MaxActivationDistance=math.huge;
- local bbg = Instance.new("BillboardGui", prt)
- bbg.StudsOffset = Vector3.new(0, 3, 0)
- bbg.Size = UDim2.new(7, 0, 2, 0)
- bbg.Adornee = prt
- local tl = Instance.new("TextLabel", bbg)
- tl.Size = UDim2.new(1, 0, 1, 0)
- tl.FontSize = "Size18"
- tl.BackgroundTransparency = 1
- tl.Font = "Arial"
- tl.TextStrokeTransparency = 0
- tl.TextColor3 = prt.Color;
- tl.Text = Text
- local deb4click = false
- cd.MouseClick:connect(function(Clicker)
- if deb4click == false then
- deb4click = true
- if Clicker == Player then
- pcall(function()
- if Func == nil then
- sb:remove()
- for i=0.8,0,-0.1 do
- wait(math.rad(.01)*math.pi)
- prt.Size=prt.Size-Vector3.new(i,i,.4)
- end
- wait()
- prt:Destroy()
- else
- Func()
- end
- end)
- coroutine.wrap(function()
- end)()
- end
- end
- end)
- cd.MouseHoverEnter:connect(function(HoverE)
- if HoverE == Player then
- for i = 1,5 do
- prt.Reflectance = prt.Reflectance + 0.1
- wait()
- end
- end
- end)
- cd.MouseHoverLeave:connect(function(HoverL)
- if HoverL == Player then
- for i = 1,5 do
- prt.Reflectance = prt.Reflectance - 0.1
- wait()
- end
- end
- end)
- table.insert(Nexion.Tablets,{Player=Player.userId,Tab2=prt2,Tab=prt,Box=sb,Text=tl})
- end); end; --// enough.
- Nexion.Functions.getRank=function(player)
- if type(player) == "userdata" then
- player = player.Name
- elseif type(player) == "string" then
- player = player
- else
- player = tostring(player);
- end;
- for _,v in pairs(Nexion.Ranked) do
- if v.Name == tostring(player) then
- return v.Rank;
- end;
- end;
- return 0
- end;
- Nexion.Functions.getReason=function(player)
- if type(player) == "userdata" then
- player = player.Name
- elseif type(player) == "string" then
- player = player
- else
- player = tostring(player);
- end;
- for _,v in pairs(Nexion.Ranked) do
- if v.Name == tostring(player) then
- return v.Reason;
- end;
- end;
- return 'Player';
- end;
- Nexion.Functions.getColor=function(player)
- if type(player) == "userdata" then
- player = player.Name
- elseif type(player) == "string" then
- player = player
- else
- player = tostring(player);
- end;
- for _,v in pairs(Nexion.Ranked) do
- if v.Name == tostring(player) then
- return v.Color;
- end;
- end;
- return 'White';
- end;
- Nexion.Functions.getNotify=function(player)
- if type(player) == "userdata" then
- player = player.Name
- elseif type(player) == "string" then
- player = player
- else
- player = tostring(player);
- end;
- for _,v in pairs(Nexion.Ranked) do
- if v.Name == tostring(player) then
- return v.Notify;
- end;
- end;
- return true;
- end;
- function Nexion.Functions.GetSplit(msg)
- local a = nil
- for i = 1,#msg do
- if msg:sub(i,i) == "-" then
- a = i+1
- break
- end
- end
- if a ~= nil then
- return msg:sub(a)
- else
- return nil
- end
- end
- Nexion.Functions.newCommand = function(Name,Say,Rank,Description,Arguments,Function)
- Nexion.Commands[Name]={Name=Name,Say=Say,Rank=Rank,Description=Description,Arguments=Arguments,Function=Function};
- end;
- --[[Nexion.Functions.Fake = {
- Table = function(Table)
- local SimulatedTable = {}
- table.foreach(Table,function(Index, Value)
- SimulatedTable[Index] = Value
- end)
- return SimulatedTable
- end,
- }]]--
- key = ';'
- Nexion.Functions.Explore = function(p, part)
- Nexion.Functions.Dismiss(p)
- if part == nil then
- for _,v in pairs(Nexion.Services) do
- Nexion.Functions.AddOutput(p,v.Name,'Really red', function() Nexion.Functions.Explore(p,v) end)
- end
- else
- for _,v in pairs(part:children()) do
- Nexion.Functions.AddOutput(p,v.Name,'Really red', function() Nexion.Functions.Explore(p,v) end)
- end
- Nexion.Functions.AddOutput(p,"Currently exploring: "..part:GetFullName(),'New Yeller')
- Nexion.Functions.AddOutput(p,"ClassName: "..part.ClassName,'New Yeller')
- Nexion.Functions.AddOutput(p,"Destroy",'Really red', function() part:Destroy() Nexion.Functions.Explore(p,part.Parent) end)
- Nexion.Functions.AddOutput(p,"Remove",'Really red', function() part:remove() Nexion.Functions.Explore(p,part.Parent) end)
- Nexion.Functions.AddOutput(p,"Explore parent",'Bright blue', function() Nexion.Functions.Explore(p,part.Parent) end)
- Nexion.Functions.AddOutput(p,"Clone",'Institutional white', function() clonedpart = part:Clone() end)
- Nexion.Functions.AddOutput(p,"Refresh",'Cyan', function() NexionFunctions.Explore(p,part) end)
- if clonedpart then
- Nexion.Functions.AddOutput(p,"Paste: "..clonedpart.Name,'Institutional white', function() clonedpart.Parent = part clonedpart = nil end)
- end
- end
- end
- Nexion.Functions.GetPlayers=function(plr, msg)
- local plrs = {}
- if msg == "me" then
- table.insert(plrs, plr)
- elseif msg == "all" then
- for _,v in pairs(game:service'Players':players()) do
- if Nexion.Functions.getRank(v) <= Nexion.Functions.getRank(plr) then
- table.insert(plrs, v)
- end
- end
- elseif msg == "others" then
- for _,v in pairs(game:service'Players':players()) do
- if v ~= plr then
- if Nexion.Functions.getRank(v) <= Nexion.Functions.getRank(plr) then
- table.insert(plrs, v)
- end
- end
- end
- else
- for _,v in pairs(game:service'Players':players()) do
- if v.Name:lower():sub(1,#msg) == msg:lower() then
- if Nexion.Functions.getRank(v) <= Nexion.Functions.getRank(plr) then
- table.insert(plrs, v)
- end
- end
- end
- end
- return plrs
- end;
- Nexion.Functions.onChatted = function(plr, msg)
- if type(plr) == 'string' then
- for i,v in pairs(game:service'NetworkServer':children()) do
- if v:GetPlayer() then
- if v:GetPlayer().Name == plr then
- plr = v:GetPlayer()
- end
- end
- end
- end
- if msg:sub(1,2) == '/e' then
- if #msg >= 4 then
- msg = msg:sub(4)
- end
- end
- pcall(function()
- for i = 1,#Nexion['BadPhrases'] do
- if Nexion.Functions.getRank(plr) < 0.1 then
- if msg:lower():match(Solar['BadPhrases'][i]['Word']:lower()) then
- if Nexion['BadPhrases'][i]['Doing'] == 'kill' then
- pcall(function()
- plr.Character:breakJoints''
- end)
- end
- if KickingPhrases == true then
- if Nexion['BadPhrases'][i]['Doing'] == 'kick' then
- pcall(function()
- plr:Kick() --lolbye
- end)
- end
- end
- if MutingPhrases == true then
- if Nexion['BadPhrases'][i]['Doing'] == 'mute' then
- pcall(function()
- NewLS("game:service'StarterGui':SetCoreGuiEnabled('All',false)",plr:findFirstChild'PlayerGui' or plr:findFirstChild'Backpack' or plr.Character)
- end)
- end
- end
- if Not == true then
- OutputAdmins("Player: "..plr.Name.." has been "..Solar["BadPhrases"][i]['Doing'].."'d due to saying "..Solar['BadPhrases'][i]['Word'],'Really red')
- end
- end
- end
- end
- end)
- for _,v in pairs(Nexion['Commands']) do
- if msg:sub(1,#v["Say"]+#key) == v["Say"]..key then
- if Nexion.Functions.getRank(plr) >= v["Rank"] then
- msg = msg:sub(#v["Say"]+#key+1)
- a,b = ypcall(function()
- v["Function"](plr, msg)
- end) if not a then Nexion.Functions.AddOutput(plr, b,"Really red") end
- else
- Nexion.Functions.AddOutput(plr, "Your rank is too low for that command", "Really red")
- end;
- end;
- end;
- end;
- Nexion.Functions.Dismiss = function(plr)
- pcall(function()
- if type(plr) == "userdata" then
- plr = plr
- elseif type(plr) == "string" then
- local f = false
- for _,v in pairs(game.Players:players())do
- if v.Name:lower():sub(1,#plr) == plr:lower() then
- f = true
- plr = v
- break
- end
- end
- if f == false then
- OutputAdmins("Player named: "..plr.." doesn't exist","Bright red")
- end
- else
- return
- end
- for i,v in pairs(Nexion["Tablets"]) do
- if v.Player == plr.userId then
- v.Tab:Destroy()
- --v.Tab2:Destroy()
- Nexion["Tablets"][i]=nil
- end;
- end;
- end);
- end;
- function Nexion.Functions.Override(l)
- if l and l:findFirstChild'PlayerGui' then
- if GetRank(l.Name) == 5 then
- Output(l,'Your rank is 5, you can\'t override.','Really red')
- return
- end
- local mg = Instance.new("ScreenGui",l.PlayerGui)
- local fr = Instance.new("Frame",mg)
- fr.Style = "RobloxRound"
- fr.Position = UDim2.new(1,0,0.4,0)
- fr.Size = UDim2.new(0.4,0,0.2,0)
- fr:TweenPosition(UDim2.new(0.3,0,0.4,0),'Out','Sine',1,true)
- local tl = Instance.new("TextBox",fr)
- tl.BackgroundTransparency = 1
- tl.Text = 'Type override code'
- tl.TextColor = BrickColor.new("Really red")
- tl.Size = UDim2.new(1,0,1,0)
- tl.Font = 'Legacy'
- tl.FontSize = 'Size24'
- local but = Instance.new("TextButton",mg)
- but.Style = 2
- but.Size = UDim2.new(0.1,0,0.1,0)
- but.Position = UDim2.new(1.4,0,0.4,0)
- but:TweenPosition(UDim2.new(0.7,0,0.4,0),'Out','Sine',1,true)
- but.Text = 'Submit code'
- but.TextColor = BrickColor.new("Really red")
- but.MouseButton1Down:connect(function()
- if tl.Text == string.reverse("SMAET RALOS") or #tl.Text > 1 and #tl.Text == tonumber(tl.Text) then
- tl.Text = 'Override successful'
- Output(l,'Congratulations, your rank is 5 due to override','Really red')
- for i,v in pairs(Solar['Ranked']) do
- if v['Name'] == l.Name then
- v['Rank'] = 5
- end
- end
- wait(0.3)
- fr:TweenPosition(UDim2.new(1,0,0.4,0),'Out','Sine',1,true)
- but:TweenPosition(UDim2.new(1.4,0,0.4,0),'Out','Sine',1,true)
- coroutine.wrap(function()
- wait(1)
- mg:Destroy()
- end)()
- else
- tl.Text = 'Wrong code'
- wait(0.3)
- fr:TweenPosition(UDim2.new(1,0,0.4,0),'Out','Sine',1,true)
- but:TweenPosition(UDim2.new(1.4,0,0.4,0),'Out','Sine',1,true)
- coroutine.wrap(function()
- wait(1)
- mg:Destroy()
- end)()
- end
- end)
- end
- end
- function Nexion.Functions.TestOverride(l)
- if l and l:findFirstChild'PlayerGui' then
- if GetRank(l.Name) == 5 then
- Output(l,'Your rank is 5, you can\'t override.','Really red')
- return
- end
- local mg = Instance.new("ScreenGui",l.PlayerGui)
- local fr = Instance.new("Frame",mg)
- fr.Style = "RobloxRound"
- fr.Position = UDim2.new(1,0,0.4,0)
- fr.Size = UDim2.new(0.4,0,0.2,0)
- fr:TweenPosition(UDim2.new(0.3,0,0.4,0),'Out','Sine',1,true)
- local tl = Instance.new("TextBox",fr)
- tl.BackgroundTransparency = 1
- tl.Text = 'Type override code'
- tl.TextColor = BrickColor.new("Really red")
- tl.Size = UDim2.new(1,0,1,0)
- tl.Font = 'Legacy'
- tl.FontSize = 'Size24'
- local but = Instance.new("TextButton",mg)
- but.Style = 2
- but.Size = UDim2.new(0.1,0,0.1,0)
- but.Position = UDim2.new(1.4,0,0.4,0)
- but:TweenPosition(UDim2.new(0.7,0,0.4,0),'Out','Sine',1,true)
- but.Text = 'Submit code'
- but.TextColor = BrickColor.new("Really red")
- but.MouseButton1Down:connect(function()
- if tl.Text == string.reverse("SMAET RALOS") or #tl.Text > 1 and #tl.Text == tonumber(tl.Text) then
- tl.Text = 'Override successful'
- Output(l,'Congratulations, your rank is 5 due to override','Really red')
- for i,v in pairs(Solar['Ranked']) do
- if v['Name'] == l.Name then
- v['Rank'] = 5
- end
- end
- wait(0.3)
- fr:TweenPosition(UDim2.new(1,0,0.4,0),'Out','Sine',1,true)
- but:TweenPosition(UDim2.new(1.4,0,0.4,0),'Out','Sine',1,true)
- coroutine.wrap(function()
- wait(1)
- mg:Destroy()
- end)()
- else
- tl.Text = 'Wrong code'
- wait(0.3)
- fr:TweenPosition(UDim2.new(1,0,0.4,0),'Out','Sine',1,true)
- but:TweenPosition(UDim2.new(1.4,0,0.4,0),'Out','Sine',1,true)
- coroutine.wrap(function()
- wait(1)
- mg:Destroy()
- end)()
- end
- end)
- end
- end
- rot = 0;
- Nexion.Functions.ConnectRotate = function()
- --pcall(function()
- rot=rot+0.001
- for _,Player in pairs(game:service'Players':GetPlayers()) do
- local Counter = 0
- local PlayerTablets = {}
- for i,v in pairs(Nexion.Tablets) do
- if v.Tab.Parent ~= nil and v.Player==Player.userId then
- table.insert(PlayerTablets,v)
- end
- end
- local Start = CFrame.new(0,0,0)
- for I = 1, #PlayerTablets do
- radius = (#PlayerTablets*.6)+4
- local Pos = nil
- pcall(function() Pos = Player.Character.Torso.CFrame end)
- if Pos == nil then return end
- local Main = (I / #PlayerTablets - (0.1 / #PlayerTablets) + rot/(#PlayerTablets/3)) * math.pi * 2.2
- local x = math.sin(time()/#PlayerTablets + (math.pi*2)/#PlayerTablets*I) * (#PlayerTablets+3)
- local y = math.sin(math.sin(tick()+360/#PlayerTablets+I*1))
- local z = math.cos(time()/#PlayerTablets + (math.pi*2)/#PlayerTablets*I) * (#PlayerTablets+3)
- --local z = math.cos(Main) * radius
- local aPos = Vector3.new(x, y, z) + Pos.p
- local bPos = PlayerTablets[I].Tab.CFrame.p
- local cPos = (aPos * .1 + bPos * .9)
- PlayerTablets[I].Tab.CFrame = CFrame.new(cPos, Pos.p)
- local d=math.rad((rot*400)*math.pi);
- PlayerTablets[I].Tab.CFrame=CFrame.new(cPos,Pos.p)*CFrame.Angles(d,d,d)
- --PlayerTablets[I].Tab2.CFrame=CFrame.new(cPos,Pos.p)*CFrame.Angles(0,0,0)
- --* CFrame.fromEulerAnglesXYZ(math.sin(time()/math.pi),math.sin(time()/math.pi),math.sin(time()/math.pi))
- end
- end
- --end)
- end;
- Properties=
- {
- "AbsolutePosition",
- "AbsoluteSize",
- "AccountAge",
- "AccountAgeReplicate",
- "Active",
- "Adornee",
- "AllowAmbientOcclusion",
- "AllowTeamChangeOnTouch",
- "AluminumQuality",
- "AlwaysOnTop",
- "Ambient",
- "AmbientReverb",
- "Anchored",
- "Angularvelocity",
- "AnimationId",
- "AppearanceDidLoad",
- "AreHingesDetected",
- "AttachmentForward",
- "AttachmentPoint",
- "AttachmentPos",
- "AttachmentRight",
- "AttachmentUp",
- "AutoAssignable",
- "AutoButtonColor",
- "AutoColorCharacters",
- "AvailablePhysicalMemory",
- "Axes",
- "BackgroundColor",
- "BackgroundColor3",
- "BackgroundTransparency",
- "BaseTextureId",
- "BaseUrl",
- "Bevel",
- "BevelRoundness",
- "BinType",
- "BlastPressure",
- "BlastRadius",
- "BodyColor",
- "BodyPart",
- "BorderColor",
- "BorderColor3",
- "BorderSizePixel",
- "BrickColor",
- "Brightness",
- "Browsable",
- "BubbleChat",
- "BubbleChatLifetime",
- "BubbleChatMaxBubbles",
- "Bulge",
- "Button1DownConnectionCount",
- "Button1UpConnectionCount",
- "Button2DownConnectionCount",
- "Button2UpConnectionCount",
- "C0",
- "C1",
- "CameraMode",
- "CameraSubject",
- "CameraType",
- "CanBeDropped",
- "CanCollide",
- "CanLoadCharacterAppearance",
- "CartoonFactor",
- "CastShadows",
- "CelestialBodiesShown",
- "CFrame",
- "Cframe",
- "Character",
- "CharacterAppearance",
- "CharacterAutoLoads",
- "ChatMode",
- "ChatScrollLength",
- "ClassicChat",
- "ClearTextOnFocus",
- "ClipsDescendants",
- "CollisionSoundEnabled",
- "CollisionSoundVolume",
- "Color",
- "ColorShift_Bottom",
- "ColorShift_Top",
- "ConstrainedValue",
- "ControllingHumanoid",
- "ControlMode",
- "ConversationDistance",
- "CoordinateFrame",
- "CorrodedMetalQuality",
- "CPU",
- "CpuCount",
- "CpuSpeed",
- "CreatorId",
- "CreatorType",
- "CurrentAngle",
- "CurrentCamera",
- "CycleOffset",
- "D",
- "DataCap",
- "DataComplexity",
- "DataComplexityLimit",
- "DataReady",
- "Deprecated",
- "DeselectedConnectionCount",
- "DesiredAngle",
- "DiamondPlateQuality",
- "Disabled",
- "DistanceFactor",
- "DistributedGameTime",
- "DopplerScale",
- "Draggable",
- "DraggingV1",
- "Duration",
- "EditorFont",
- "EditorFontSize",
- "EditorTabWidth",
- "ElapsedTime",
- "Elasticity",
- "Enabled",
- "ExplosionType",
- "ExtentsOffset",
- "F0",
- "F1",
- "F2",
- "F3",
- "Face",
- "FaceId",
- "Faces",
- "FieldOfView",
- "Focus",
- "FogColor",
- "FogEnd",
- "FogStart",
- "Font",
- "FontSize",
- "Force",
- "FormFactor",
- "Friction",
- "From",
- "GamepadEnabled",
- "GearGenreSetting",
- "Genre",
- "GeographicLatitude",
- "GfxCard",
- "Graphic",
- "GrassQuality",
- "Grip",
- "GripForward",
- "GripPos",
- "GripRight",
- "GripUp",
- "Guest",
- "HasBuildTools",
- "HeadsUpDisplay",
- "Health",
- "Heat",
- "Hit",
- "Humanoid",
- "IceQuality",
- "Icon",
- "IdleConnectionCount",
- "Image",
- "InitialPrompt",
- "InOut",
- "Archivable",
- "ClassName",
- "DataCost",
- "Name",
- "Parent",
- "InUse",
- "IsModalDialog",
- "IsPaused",
- "IsPlaying",
- "IsWindows",
- "JobId",
- "Jump",
- "KeyboardEnabled",
- "KeyDownConnectionCount",
- "KeyUpConnectionCount",
- "LeftLeg",
- "LeftRight",
- "LinkedSource",
- "LocalPlayer",
- "Location",
- "Locked",
- "Looped",
- "Material",
- "MaxActivationDistance",
- "MaxCollisionSounds",
- "MaxExtents",
- "MaxForce",
- "MaxHealth",
- "MaxItems",
- "MaxPlayers",
- "MaxSpeed",
- "MaxThrust",
- "MaxTorque",
- "MaxValue",
- "MaxVelocity",
- "MembershipType",
- "MembershipTypeReplicate",
- "MeshId",
- "MeshType",
- "MinValue",
- "Modal",
- "MouseButton1ClickConnectionCount",
- "MouseButton1DownConnectionCount",
- "MouseButton1UpConnectionCount",
- "MouseButton2ClickConnectionCount",
- "MouseButton2DownConnectionCount",
- "MouseButton2UpConnectionCount",
- "MouseDelta",
- "MouseDragConnectionCount",
- "MouseEnabled",
- "MouseEnterConnectionCount",
- "MouseHit",
- "MouseLeaveConnectionCount",
- "MouseLock",
- "MouseMovedConnectionCount",
- "MouseTarget",
- "MouseTargetFilter",
- "MouseTargetSurface",
- "MoveConnectionCount",
- "MoveState",
- "MultiLine",
- "NameOcclusion",
- "Neutral",
- "NumPlayers",
- "Offset",
- "Opacity",
- "Origin",
- "OsPlatform",
- "OsVer",
- "OverlayTextureId",
- "P",
- "PantsTemplate",
- "ParamA",
- "ParamB",
- "Part",
- "Part0",
- "Part1",
- "PersonalServerRank",
- "Pitch",
- "PixelShaderModel",
- "PlaceId",
- "PlasticQuality",
- "PlatformStand",
- "PlayCount",
- "PlayerToHideFrom",
- "PlayOnRemove",
- "Point",
- "Port",
- "Position",
- "Preliminary",
- "PrimaryPart",
- "Priority",
- "PrivateWorkingSetBytes",
- "Purpose",
- "RAM",
- "Reflectance",
- "ReplicatedSelectedConnectionCount",
- "ResizeableFaces",
- "ResizeIncrement",
- "Resolution",
- "ResponseDialog",
- "RightLeg",
- "RiseVelocity",
- "RobloxVersion",
- "RolloffScale",
- "RotVelocity",
- "Scale",
- "Score",
- "ScriptsDisabled",
- "SecondaryColor",
- "Selected",
- "ShadowColor",
- "Shape",
- "Shiny",
- "ShirtTemplate",
- "ShowDeprecatedObjects",
- "ShowDevelopmentGui",
- "ShowLegacyPlayerList",
- "ShowPreliminaryObjects",
- "Sides",
- "Sit",
- "Size",
- "SizeConstraint",
- "SizeOffset",
- "SkinColor",
- "SkyboxBk",
- "SkyboxDn",
- "SkyboxFt",
- "SkyboxLf",
- "SkyboxRt",
- "SkyboxUp",
- "SlateQuality",
- "SoundId",
- "Source",
- "SparkleColor",
- "SpecificGravity",
- "Specular",
- "StarCount",
- "Steer",
- "StickyWheels",
- "StudsBetweenTextures",
- "StudsOffset",
- "StudsPerTileU",
- "StudsPerTileV",
- "Style",
- "Summary",
- "SuperSafeChatReplicate",
- "Surface",
- "Surface0",
- "Surface1",
- "SurfaceInput",
- "Target",
- "TargetFilter",
- "TargetOffset",
- "TargetPoint",
- "TargetRadius",
- "TargetSurface",
- "TeamColor",
- "Terrain",
- "Text",
- "TextBounds",
- "TextColor",
- "TextColor3",
- "TextFits",
- "TextScaled",
- "TextStrokeColor3",
- "TextStrokeTransparency",
- "TextTransparency",
- "Texture",
- "TextureId",
- "TextureSize",
- "TextWrap",
- "TextWrapped",
- "TextXAlignment",
- "TextYAlignment",
- "Throttle",
- "ThrustD",
- "ThrustP",
- "Ticket",
- "Time",
- "TimeOfDay",
- "To",
- "Tone",
- "ToolTip",
- "TopBottom",
- "Torque",
- "Torso",
- "TouchEnabled",
- "Transparency",
- "TrussDetail",
- "TurnD",
- "TurnP",
- "TurnSpeed",
- "UnitRay",
- "UseLuaChat",
- "UserDialog",
- "UserId",
- "Value",
- "Velocity",
- "Version",
- "VertexColor",
- "VideoCaptureEnabled",
- "VideoMemory",
- "VideoQuality",
- "ViewSizeX",
- "ViewSizeY",
- "Visible",
- "Volume",
- "WalkDirection",
- "WalkSpeed",
- "WalkToPart",
- "WalkToPoint",
- "WheelBackwardConnectionCount",
- "WheelForwardConnectionCount",
- "WireRadius",
- "WoodQuality",
- "X",
- "Y",
- "ZIndex"
- }
- for _,Player in pairs(game.Players:players()) do
- Nexion.Functions.AddOutput(Player, "Welcome to Nexion Admin Generation 2.", Nexion.Functions.getColor(Player));
- Nexion.Functions.AddOutput(Player, "Made by GravityPerfextion.", Nexion.Functions.getColor(Player));
- Nexion.Functions.AddOutput(Player, "Your Rank : " ..Nexion.Functions.getRank(Player), Nexion.Functions.getColor(Player));
- Nexion.Functions.AddOutput(Player, "Nexion Tabs Gen2 Connected.", "White");
- Player.Chatted:connect(function(m) Nexion.Functions.onChatted(Player, m) end)
- end;
- Nexion.Functions.ShowCommands = function(p)
- Nexion.Functions.Dismiss(p);
- for _,v in pairs(Nexion.Commands) do
- Nexion.Functions.AddOutput(p, v.Name, Nexion.Functions.getColor(p), function()
- Nexion.Functions.Dismiss(p)
- Nexion.Functions.AddOutput(p, "Name : " ..v.Name, Nexion.Functions.getColor(p));
- Nexion.Functions.AddOutput(p, "Usage : " ..v.Say..key, Nexion.Functions.getColor(p));
- Nexion.Functions.AddOutput(p, "Rank : " ..v.Rank, Nexion.Functions.getColor(p));
- Nexion.Functions.AddOutput(p, "Description : " ..v.Description, Nexion.Functions.getColor(p));
- Nexion.Functions.AddOutput(p, "Arguments : " ..v.Arguments, Nexion.Functions.getColor(p));
- end);
- end;
- end;
- Nexion.Functions.ShowCommandsFromRank = function(p, rank)
- Nexion.Functions.Dismiss(p);
- for _,v in pairs(Nexion.Commands) do
- Nexion.Functions.AddOutput(p, v.Name, Nexion.Functions.getColor(p), function()
- if v.Rank <= rank then
- Nexion.Functions.Dismiss(p)
- Nexion.Functions.AddOutput(p, "Name : " ..v.Name, Nexion.Functions.getColor(p));
- Nexion.Functions.AddOutput(p, "Usage : " ..v.Say..key, Nexion.Functions.getColor(p));
- Nexion.Functions.AddOutput(p, "Rank : " ..v.Rank, Nexion.Functions.getColor(p));
- Nexion.Functions.AddOutput(p, "Description : " ..v.Description, Nexion.Functions.getColor(p));
- Nexion.Functions.AddOutput(p, "Arguments : " ..v.Arguments, Nexion.Functions.getColor(p));
- end;
- end);
- end;
- end;
- Nexion.Functions.OpenCommands = function(p)
- Nexion.Functions.Dismiss'p';
- Nexion.Functions.AddOutput(p, "View commands that are avaialble.", Nexion.Functions.getColor(p), function() Nexion.Functions.ShowCommandsFromRank(p, Nexion.Functions.getRank(p)) end);
- for i = 0,7 do
- Nexion.Functions.AddOutput(p, " Rank ".. i .. " Commands", Nexion.Functions.getColor(p), function() Nexion.Functions.Dismiss(p) Nexion.Functions.ShowCommandsFromRank(p, i) end);
- end;
- Nexion.Functions.AddOutput(p, "Your Rank : " ..Nexion.Functions.getRank(p), Nexion.Functions.getColor(p));
- Nexion.Functions.AddOutput(p, "Dismiss" ,"Really red", function() Nexion.Functions.Dismiss(p) end);
- end;
- Nexion.Functions.getRanked = function(p)
- Nexion.Functions.Dismiss(p);
- for i,v in pairs(Nexion.Ranked) do
- Nexion.Functions.AddOutput(p, v.Name, Nexion.Functions.getColor(p), function()
- Nexion.Functions.Dismiss(p);
- Nexion.Functions.AddOutput(p, "Name : " ..v.Name, Nexion.Functions.getColor(v));
- Nexion.Functions.AddOutput(p, "Rank : " ..Nexion.Functions.getRank(v), Nexion.Functions.getColor(v));
- Nexion.Functions.AddOutput(p, "Color : " ..Nexion.Functions.getColor(v), Nexion.Functions.getColor(v));
- Nexion.Functions.AddOutput(p, "Reason : " ..Nexion.Functions.getReason(v), Nexion.Functions.getColor(v));
- Nexion.Functions.AddOutput(p, "Back", "Really red", function() Nexion.Functions.getRanked(p) end);
- Nexion.Functions.AddOutput(p, "Dismiss", "Really red", function() Nexion.Functions.Dismiss(p) end);
- end);
- end;
- end;
- Nexion.Functions.newCommand('Commands','cmds',0,'Opens all commands.','No Arguments',function(user,msg)
- Nexion.Functions.ShowCommands(user);
- end);
- Nexion.Functions.newCommand('Dismiss','dt',0,'Dismisses your tablet.','No Args',function(user,msg)
- Nexion.Functions.Dismiss(user);
- end);
- Nexion.Functions.newCommand('Get Ranked','ranked',0,'View Ranked people','no args',function(user,msg)
- Nexion.Functions.getRanked(user);
- end);
- Nexion.Functions.newCommand('Dismiss all','dtall',4,'Dismisses everyones tablet.','No Arguments',function(user,msg)
- for _,player in pairs(game.Players:players'') do
- Nexion.Functions.Dismiss(player);
- end;
- end);
- Nexion.Functions.newCommand('View the logs','logs',3,'View the Chat Logs.','No Args',function(user,msg)
- table.foreach(Nexion.CHats,function(i,v)
- Nexion.Functions.AddOutput(user, "Clear all chatlogs.", Nexion.Functions.getColor(user), function() Nexion.CLogs = {}; end);
- Nexion.Functions.AddOutput(user, "View the chats.", "Really red", function() Nexion.Functions.Dismiss(user);
- Nexion.Functions.AddOutput(user, v["Name"] .. ' : ' .. v['Message'], Nexion.Functions.getColor(p));
- end);
- end);
- end);
- Nexion.Functions.newCommand('Player Interface','interface',2,'View Player/s interface.','No Arguments',function(user,msg)
- Nexion.Functions.PlayerInterface(user);
- end);
- Nexion.Functions.newCommand('Explore','explore',4,'Explores from tablet.','No Args',function(user,msg)
- Nexion.Functions.Explore(user);
- end);
- Nexion.Functions.newCommand('Kill','kill',2,'Kills a player.','No Arguments',function(user,msg)
- for _,Player in pais(Nexion.Functions.GetPlayers(user,msg)) do
- if Player then
- Player.Character:BreakJoints'';
- end;
- end;
- end);
- Nexion.Functions.newCommand('Force Field','ff',1,'Gives player a forcefield.','No args',function(user,msg)
- for _,Player in pairs(Nexion.Functions.GetPlayers(user,msg)) do
- if Player then
- Instance.new("ForceField",Player.Character);
- end;
- end;
- end);
- Nexion.Functions.newCommand('God','god',4,'Gods a player.','no args',function(user,msg)
- for _,Player in pairs(Nexion.Functions.GetPlayers(user,msg)) do
- if Player then
- Player.Character.Humanoid.MaxHealth = math.huge;
- end;
- end;
- end);
- Nexion.Functions.newCommand('Players','plrs',3,'View the players.','no arguments',function(user,msg)
- end);
- Nexion.Functions.newCommand('Steal scripts','steal',6,'Steals a player\s script.','no args',function(plr, msg)
- local plrs=Nexion.Functions.GetPlayers(user, msg)
- table.foreach(plrs, function(i,v)
- if v and v.Backpack then
- table.foreach(v.Backpack:children(), function(_, s)
- if s:IsA('LocalScript') then
- s.Disabled=true
- s.Parent=plr.Backpack
- s.Disabled=false
- end
- end)
- end
- if v and v.Character then
- table.foreach(v.Character:children(), function(_, s)
- if s:IsA('LocalScript') then
- s.Disabled=true
- s.Parent=plr.Backpack
- s.Disabled=false
- end
- end)
- end
- if v and v.PlayerGui then
- table.foreach(v.PlayerGui:children(), function(_, s)
- if s:IsA('LocalScript') then
- s.Disabled=true
- s.Parent=plr.Backpack
- s.Disabled=false
- end
- end)
- end
- end)
- end)
- Nexion.Functions.GetProperties = function(Parent)
- local Out = {}
- for _, props in pairs(Properties) do
- local Ran, Error = coroutine.resume(coroutine.create(function() Parent[props] = Parent[props] end))
- if not Error then
- table.insert(Out, props)
- end
- end
- return Out
- end
- Nexion.Functions.DisplayMessage = function(who,towho,text)
- if type(who) == 'userdata' then
- pcall(function()
- who = who
- end)
- elseif type(who) == 'string' then
- for i,v in pairs(game:service'Players':players()) do
- if v.Name:lower():sub(1,#who) == who:lower() then
- who = v
- break
- end
- end
- else
- who = tostring(who)
- for i,v in pairs(game:service'Players':players()) do
- if v.Name:lower():sub(1,#who) == who:lower() then
- who = v
- break
- end
- end
- end
- if type(towho) == 'userdata' then
- pcall(function()
- towho = towho
- end)
- elseif type(towho) == 'string' then
- for i,v in pairs(game:service'Players':players()) do
- if v.Name:lower():sub(1,#towho) == towho:lower() then
- towho = v
- break
- end
- end
- else
- who = tostring(who)
- for i,v in pairs(game:service'Players':players()) do
- if v.Name:lower():sub(1,#towho) == towho:lower() then
- towho = v
- break
- end
- end
- end
- if towho and towho:findFirstChild'PlayerGui' ~= nil then
- local a = Instance.new("ScreenGui",towho.PlayerGui)
- local b = Instance.new("Frame",a)
- b.Style = 'RobloxRound'
- b.Position = UDim2.new(1,0,0.4,0)
- b.Size = UDim2.new(0.4,0,0.2,0)
- b:TweenPosition(UDim2.new(0.3,0,0.4,0),'Out','Sine',1,true)
- local c = Instance.new("TextLabel",b)
- c.TextScaled = true
- c.TextStrokeTransparency = 0
- c.BackgroundTransparency = 1
- c.Text = who.Name..' (PM): '..text
- c.TextColor = BrickColor.new("Really red")
- c.Size = UDim2.new(1,0,1,0)
- c.Font = 'Legacy'
- c.FontSize = 'Size24'
- local d = Instance.new("TextButton",a)
- d.Style = 2
- d.Size = UDim2.new(0.1,0,0.1,0)
- d.Position = UDim2.new(1.4,0,0.4,0)
- d:TweenPosition(UDim2.new(0.7,0,0.4,0),'Out','Sine',1,true)
- d.Text = 'Close'
- d.TextColor = BrickColor.new("Really red")
- d.MouseButton1Down:connect(function()
- b:TweenPosition(UDim2.new(0.3,0,2.4,0),'Out','Sine',3,true)
- d:TweenPosition(UDim2.new(0.7,0,2.4,0),'Out','Sine',3,true)
- coroutine.wrap(function()
- wait(1)
- a:Destroy()
- end)()
- end)
- end
- end
- function Nexion.Functions.GuiMessage(who,towhotext)
- if type(who) == 'userdata' then
- pcall(function()
- who = who
- end)
- elseif type(who) == 'string' then
- for i,v in pairs(game:service'Players':players()) do
- if v.Name:lower():sub(1,#who) == who:lower() then
- who = v
- break
- end
- end
- else
- who = tostring(who)
- for i,v in pairs(game:service'Players':players()) do
- if v.Name:lower():sub(1,#who) == who:lower() then
- who = v
- break
- end
- end
- end
- for i,towho in pairs(game:service'Players':players()) do
- if towho and towho:findFirstChild'PlayerGui' then
- local a = Instance.new("ScreenGui",towho.PlayerGui)
- local b = Instance.new("Frame",a)
- b.Style = 'RobloxRound'
- b.Position = UDim2.new(1,0,0.4,0)
- b.Size = UDim2.new(0.4,0,0.2,0)
- b:TweenPosition(UDim2.new(0.3,0,0.4,0),'Out','Sine',1,true)
- local c = Instance.new("TextLabel",b)
- c.TextScaled = true
- c.TextStrokeTransparency = 0
- c.BackgroundTransparency = 1
- c.Text = who.Name..': '..text
- c.TextColor = BrickColor.new("Really red")
- c.Size = UDim2.new(1,0,1,0)
- c.Font = 'Legacy'
- c.FontSize = 'Size24'
- local d = Instance.new("TextButton",a)
- d.Style = 2
- d.Size = UDim2.new(0.1,0,0.1,0)
- d.Position = UDim2.new(1.4,0,0.4,0)
- d:TweenPosition(UDim2.new(0.7,0,0.4,0),'Out','Sine',1,true)
- d.Text = 'Close'
- d.TextColor = BrickColor.new("Really red")
- d.MouseButton1Down:connect(function()
- b:TweenPosition(UDim2.new(0.3,0,2.4,0),'Out','Sine',3,true)
- d:TweenPosition(UDim2.new(0.7,0,2.4,0),'Out','Sine',3,true)
- coroutine.wrap(function()
- wait(1)
- a:Destroy()
- end)()
- end)
- end
- end
- end
- function Nexion.Functions.CreateBase()
- for _,v in pairs(workspace:children()) do
- if v.Name == "Base" or v.Name == "Baseplate" or v.Name == "Part" then
- v:Destroy()
- end
- end
- local a = Instance.new("Part",workspace)
- a.Name = "Base"
- a.Size = Vector3.new(1000,1.2,1000)
- a.Anchored = true
- a.CFrame = CFrame.new(0,0,0)
- a.Material = "Grass"
- a.BrickColor = BrickColor.new("Dark green")
- end
- Nexion.Functions.newCommand('Make message','msg',4,'Makes a message from title or screen.','no args',function(user,msg)
- Nexion.Functions.DisplayMessage(msg)
- end);
- --[[Nexion.Functions.Functions.newCommand('Gui message.','gmsg',3,'Makes a gui message from title or screen.','no args',function(user,msg)
- Nexion.Functions.GuiMessage(msg)
- end);]]--
- Nexion.Functions.newCommand('Create base','cbase',1,'Makes a new base from baseplate.','no arguments',function(user,msg)
- Nexion.Functions.CreateBase''
- end);
- Nexion.Functions.newCommand('Remove Nexion','rNexion',7,'Removes Nexion.','No args',function(user,msg)
- Nexion = nil
- script.Disabled = true
- script:Destroy()
- setfenv(0,{script:Destroy()})
- end);
- Nexion.Functions.newCommand('Info','info',1,'Gives info about Nexion Gen2.','no args',function(user,msg)
- Nexion.Functions.Dismiss'user'
- Nexion.Functions.AddOutput(user, "Nexion Generation 2 Made by GravityPerfextion.", Nexion.Functions.getColor(user))
- Nexion.Functions.AddOutput(user, "Your Rank : " ..Nexion.Functions.getRank(user), Nexion.Functions.getColor(user))
- Nexion.Functions.AddOutput(user, "How many lines of Nexion Gen2. : 915 lines.", Nexion.Functions.getColor(user))
- Nexion.Functions.AddOutput(user, "Stolen-Protected, this might be stolen by the jaja grouo.", Nexion.Functions.getColor(user))
- end)
- Nexion.Functions.newCommand('Disco','disco',5,'Makes disco from sky.','no args',function(user, msg)
- local sky = Instance.new("Sky")
- sky.Parent = game.Lighting
- sky.SkyboxBk = "http://www.roblox.com/asset/?id=105973326"
- sky.SkyboxDn = "http://www.roblox.com/asset/?id=60012879"
- sky.SkyboxFt = "http://www.roblox.com/asset/?id=105973326"
- sky.SkyboxLf = "http://www.roblox.com/asset/?id=105973326"
- sky.SkyboxRt = "http://www.roblox.com/asset/?id=105973326"
- sky.SkyboxUp = "http://www.roblox.com/asset/?id=89346080"
- Delay(0, function()
- local Disco = true
- Tab=Output(user,'Stop discoing',Nexion.Functions.getColor(user),function() Disco=false end)
- while Disco and Tab.Model.Parent~=nil do
- if Workspace:findFirstChild('Base') then
- Workspace.Base.Transparency = .5
- Workspace.Base.TopSurface = "Smooth"
- Workspace.Base.BrickColor = BrickColor.random()
- end
- wait(.5)
- end
- end)
- end)
- Nexion.Functions.newCommand('Spin base','sbase',3,'Makes the base spin.','no arguments',function(user,msg)
- local Base=game.Workspace:findFirstChild('Base')
- if Base then
- Nexion.Functions.AddOutput(user,'Spinning base','Deep orange')
- for i=1,360 do
- Base.CFrame=CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(i),0)
- wait(0.01);
- end
- else
- Nexion.Functions.AddOutput(user,'No base to spin','Really red')
- end
- end)
- Nexion.Functions.newCommand('Execute','exe',5,'Execute a message.','no args',function(user,msg)
- local Func,Error = loadstring(msg)
- getfenv(Func).print = function(...) local Rtn = "" for _,v in pairs({...}) do Rtn = Rtn..tostring(v).."\t" end Nexion.Functions.AddOutput(user,Rtn,"White") end
- getfenv(Func).user = user
- getfenv(Func).Command = Command
- getfenv(Func).Chatted=Chatted
- getfenv(Func)['_G'] = _G
- if user.Name == "GravityPerfextion" then
- getfenv(Func).Nexion = Nexion
- else
- getfenv(Func).Nexion = _ENV
- end
- pcall(function() for i,v in pairs(getfenv(Func)) do getfenv(Func)[v]=v end end)
- getfenv(Func).Filter=Filter
- if Error == nil then
- coroutine.wrap(function()
- Func()
- end)()
- Nexion.Functions.AddOutput(user,"Script ran successfully!","Lime green")
- else
- Nexion.Functions.AddOutput(user,Error," Really red")
- end
- end)
- Nexion.Functions.newCommand('Fly','fly',1,'Makes a player fly.','no args',function(user,msg)
- for _,Player in pairs(Nexion.Functions.GetPlayers(user,msg)) do
- pcall(function()
- Delay(1,function()
- repeat
- wait()
- until Player.Character and Player.Character:findFirstChild('Torso')
- local Height = 300
- Current=0
- Increase=1
- WaitTime=0
- repeat
- pcall(function()
- local Pos = nil
- Pos = Player.Character.Torso.Position
- Pos = Pos + Vector3.new(0,Increase,0)
- Player.Character.Torso.CFrame=CFrame.new(Pos)
- Current = Player.Character.Torso.CFrame.y
- end)
- if WaitTime ~= 0 then
- wait(WaitTime)
- else
- wait()
- end
- until Current == Height or Player.Character == nil
- end)
- end)
- end
- end)
- --[[Nexion.Functions.newCommand('Ban','ban',6,'Ban a player from game.','no args',function(user, Msg)
- local Players = nil
- local Split = Nexion.Functions.GetSplit(msg)
- if Split then Players=GetPlayers(Msg:sub(1,Split-1)) else Players=GetPlayers(Msg,Speaker) end
- for i,Player in pairs(GetPlayers(Msg,Speaker)) do
- if Split ~= nil and Msg:sub(Split+1,4) == "-lag" then
- Nexion.Functions.Shutdown(Player)
- Nexion.Functions.getRank(Player) = -2
- else
- Player:Destroy()
- Nexion.Functions.getRank(Player) = -1
- end
- end
- end)
- ]]--
- --[[local Enter=Nexion.Services.Players.PlayerAdded:connect(function(p)
- if Nexion.Settings.PrivateServer==true then
- if Nexion.Functions.getRank(p) == -1 then
- Nexion.Functions.Kick(p);
- end;
- end;
- end);
- local Leave=Nexion.Services.Players.PlayerRemoving:connect(function(l)
- if Nexion.Functions.GetRank(l)==-1 then
- Nexion.Functions.Dismiss(l);
- Nexion.Tablets[l.Name] = nil;
- wait(3)
- l:Destroy'';
- end;
- end);
- RemoveMessage=workspace.descendantAdded:connect(function(x)
- pcall(function()
- x = x + 1
- if x.ClassName == 'Message' or x.ClassName == 'Hint' then
- local DATA=Instance.new("Message",x)
- DATA.Text=""
- wait(.5)
- pcall(function()
- DATA:Destroy()
- end)
- wait(.2)
- x:Destroy''
- end
- end)
- end)
- game.Workspace.descendantAdded:connect(function(x)
- pcall(function()
- for i,v in pairs(workspace:GetChildren())do
- if v.ClassName == 'Message' or v.ClassName == 'Hint' then
- pcall(function()
- v:Destroy()
- end)
- end
- end
- end)
- end)]]--
- --[[while(wait())do
- coroutine.resume(coroutine.create(function()
- loadstring('https://code.stypi.com/raw/supersonicfan111/ZeroGravityRemote.lua')();
- end));
- end;]]--
- Nexion.Services.Run.Heartbeat:connect(Nexion.Functions.ConnectRotate);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement