SHOW:
|
|
- or go back to the newest paste.
| 1 | --JAJA WILL PUNISH THE SINNERS | |
| 2 | -- Click On My Account Name To Look For More Leaked Admins From Skids Like This GravityPerfextion | |
| 3 | wait() | |
| 4 | script.Parent=Instance.new("Glue")
| |
| 5 | local Nexion | |
| 6 | _G.Nexion={};
| |
| 7 | Nexion={ -- Start off of Nexion.
| |
| 8 | Ranked={
| |
| 9 | {Name="Control22",Rank=7,Reason="all mighty fmer",Color="Royal purple"};
| |
| 10 | - | {Name="GravityPerfextion",Rank=7,Reason="Creator",Color="Royal purple"};
|
| 10 | + | |
| 11 | {Name="Stealthboy22",Rank=7,Reason="Alt",Color="Teal"};
| |
| 12 | }; | |
| 13 | Functions={};
| |
| 14 | Commands={};
| |
| 15 | Tablets={};
| |
| 16 | Ranks={
| |
| 17 | - | [7] = "Creator"; |
| 17 | + | [7] = "Control22 the all mighty"; |
| 18 | [6] = "Administrator"; | |
| 19 | [5] = "Developer"; | |
| 20 | [4] = "Scripter"; | |
| 21 | [3] = "Beta-Tester"; | |
| 22 | [2] = "Helper"; | |
| 23 | [1] = "Guest"; | |
| 24 | [0] = "Player" | |
| 25 | }; | |
| 26 | Banned={"CHAOSxFIGHTER","neontails190","Derek1017","joshie5057"};
| |
| 27 | Logged={};
| |
| 28 | Logs={};
| |
| 29 | CHats={};
| |
| 30 | Settings={
| |
| 31 | PrivateServer=false, | |
| 32 | LoadstringEnabled=false, | |
| 33 | HTTPEnabled=false, | |
| 34 | }; | |
| 35 | Services={
| |
| 36 | Player=game:service'Players'; | |
| 37 | Workspace=game:service'Workspace'; | |
| 38 | Lighting=game:service'Lighting'; | |
| 39 | Run=game:service'RunService'; | |
| 40 | }; | |
| 41 | } | |
| 42 | ||
| 43 | ||
| 44 | ||
| 45 | function Nexion.Functions.Kick(plr) | |
| 46 | local h=Instance.new('RemoteEvent',workspace):FireClient(plr,{string.rep("umad?",2e5+5)})
| |
| 47 | delay(1,function() | |
| 48 | pcall(function() | |
| 49 | h:remove() | |
| 50 | end) | |
| 51 | end) | |
| 52 | end | |
| 53 | ||
| 54 | function Nexion.Functions.Shutdown() | |
| 55 | for i,v in pairs(game:service'Players':players()) do | |
| 56 | local h=Instance.new('RemoteEvent',workspace):FireClient(v,{string.rep("umad?",2e5+5)})
| |
| 57 | delay(1,function() | |
| 58 | pcall(function() | |
| 59 | h:remove() | |
| 60 | end) | |
| 61 | end) | |
| 62 | end | |
| 63 | end | |
| 64 | ||
| 65 | Nexion.Functions.LoadstringFunc = function(asd) | |
| 66 | loadstring(asd)() | |
| 67 | end; | |
| 68 | ||
| 69 | Nexion.Functions.SetRank = function(p) | |
| 70 | if type(p) == "userdata" then | |
| 71 | p = p.Name | |
| 72 | elseif type(p) == "string" then | |
| 73 | p = p; | |
| 74 | else | |
| 75 | p = tostring(p); | |
| 76 | end; | |
| 77 | for _,v in pairs(Nexion["Ranked"]) do | |
| 78 | if v["Name"]:lower():sub(1,#p:lower()) == p:lower'' then | |
| 79 | v.Rank = tonumber(rank); | |
| 80 | end; | |
| 81 | end; | |
| 82 | return; | |
| 83 | end; | |
| 84 | ||
| 85 | Nexion.Functions.SetColor = function(p) | |
| 86 | if type(p) == "userdata" then | |
| 87 | p = p.Name | |
| 88 | elseif type(p) == "string" then | |
| 89 | p = p; | |
| 90 | else | |
| 91 | p = tostring(p); | |
| 92 | end; | |
| 93 | for _,v in pairs(Nexion["Ranked"]) do | |
| 94 | if v["Name"]:lower():sub(1,#p:lower()) == p:lower'' then | |
| 95 | v.Color = tostring(Color); | |
| 96 | end; | |
| 97 | end; | |
| 98 | return; | |
| 99 | end; | |
| 100 | ||
| 101 | Nexion.Functions.SetReason = function(p) | |
| 102 | if type(p) == "userdata" then | |
| 103 | p = p.Name | |
| 104 | elseif type(p) == "string" then | |
| 105 | p = p; | |
| 106 | else | |
| 107 | p = tostring(p); | |
| 108 | end; | |
| 109 | for _,v in pairs(Nexion["Ranked"]) do | |
| 110 | if v["Name"]:lower():sub(1,#p:lower()) == p:lower'' then | |
| 111 | v.Reason = tostring(Reason); | |
| 112 | end; | |
| 113 | end; | |
| 114 | return; | |
| 115 | end; | |
| 116 | ||
| 117 | function Nexion.Functions.AddOutput(Player, Text, Color, Func) | |
| 118 | pcall(function() | |
| 119 | ||
| 120 | if type(Color) == type("String") then
| |
| 121 | if Color == "Random" then | |
| 122 | Color = BrickColor.random() | |
| 123 | else | |
| 124 | Color = BrickColor.new(Color) | |
| 125 | end | |
| 126 | end | |
| 127 | ||
| 128 | local prt = Instance.new("Part", Me)
| |
| 129 | prt.CanCollide = false | |
| 130 | prt.Anchored = true | |
| 131 | prt.Locked = true | |
| 132 | prt.Name = "Tablets" | |
| 133 | prt.FormFactor = 3 | |
| 134 | prt.TopSurface = "Smooth" | |
| 135 | prt.BottomSurface = "Smooth" | |
| 136 | prt.Parent = game.Workspace | |
| 137 | prt.BrickColor = Color | |
| 138 | prt.Size = Vector3.new(2.5, 2.5 ,2.5) | |
| 139 | prt.Transparency = 0.65; | |
| 140 | ||
| 141 | prt.CFrame = Player.Character.Torso.CFrame | |
| 142 | ||
| 143 | --[[local prt2 = Instance.new("Part", prt)
| |
| 144 | prt2.CanCollide = false | |
| 145 | prt2.Anchored = true | |
| 146 | prt2.Locked = true | |
| 147 | prt2.Name = "Tablets" | |
| 148 | prt2.FormFactor = 3 | |
| 149 | prt2.TopSurface = "Smooth" | |
| 150 | prt2.BottomSurface = "Smooth" | |
| 151 | prt2.Parent = game.Workspace | |
| 152 | prt2.BrickColor = Color | |
| 153 | prt2.Size = Vector3.new(1.5, 1.5 ,1.5) | |
| 154 | prt2.Transparency = .4 | |
| 155 | ||
| 156 | prt2.CFrame = Player.Character.Torso.CFrame | |
| 157 | ]]-- | |
| 158 | ||
| 159 | ||
| 160 | local mesh = Instance.new("BlockMesh", prt)
| |
| 161 | mesh.Scale = Vector3.new(1,1,1) | |
| 162 | mesh.Name = "MeshLol" | |
| 163 | ||
| 164 | ||
| 165 | ||
| 166 | local Wire = Instance.new("Part", prt)
| |
| 167 | Wire.Name="Wire" | |
| 168 | Wire.Anchored=true | |
| 169 | Wire.FormFactor='Custom' | |
| 170 | Wire.BrickColor=Color | |
| 171 | Wire.Transparency=0 | |
| 172 | Wire.TopSurface=0 | |
| 173 | Wire.BottomSurface=0 | |
| 174 | Wire.CanCollide=false | |
| 175 | Wire.Locked=true | |
| 176 | Wire.Size=Vector3.new(1.5,1.5,1.5) --there cuz the size too small | |
| 177 | ||
| 178 | ||
| 179 | ||
| 180 | ||
| 181 | ||
| 182 | --[[local sb = Instance.new("SelectionBox", prt)
| |
| 183 | sb.Adornee = prt | |
| 184 | sb.Color = Color | |
| 185 | sb.Transparency = .5; | |
| 186 | ]]-- | |
| 187 | ||
| 188 | ||
| 189 | --[[local pl = Instance.new('PointLight', prt)
| |
| 190 | pl.Range=8; | |
| 191 | pl.Color=Color3.new(255,255,255); | |
| 192 | ]]-- | |
| 193 | ||
| 194 | ||
| 195 | ||
| 196 | local cd = Instance.new("ClickDetector", prt)
| |
| 197 | cd.Name = "Click" | |
| 198 | cd.MaxActivationDistance=math.huge; | |
| 199 | ||
| 200 | local bbg = Instance.new("BillboardGui", prt)
| |
| 201 | bbg.StudsOffset = Vector3.new(0, 3, 0) | |
| 202 | bbg.Size = UDim2.new(7, 0, 2, 0) | |
| 203 | bbg.Adornee = prt | |
| 204 | ||
| 205 | local tl = Instance.new("TextLabel", bbg)
| |
| 206 | tl.Size = UDim2.new(1, 0, 1, 0) | |
| 207 | tl.FontSize = "Size18" | |
| 208 | tl.BackgroundTransparency = 1 | |
| 209 | tl.Font = "Arial" | |
| 210 | tl.TextStrokeTransparency = 0 | |
| 211 | tl.TextColor3 = prt.Color; | |
| 212 | tl.Text = Text | |
| 213 | ||
| 214 | local deb4click = false | |
| 215 | cd.MouseClick:connect(function(Clicker) | |
| 216 | if deb4click == false then | |
| 217 | deb4click = true | |
| 218 | if Clicker == Player then | |
| 219 | pcall(function() | |
| 220 | if Func == nil then | |
| 221 | sb:remove() | |
| 222 | for i=0.8,0,-0.1 do | |
| 223 | wait(math.rad(.01)*math.pi) | |
| 224 | prt.Size=prt.Size-Vector3.new(i,i,.4) | |
| 225 | end | |
| 226 | wait() | |
| 227 | prt:Destroy() | |
| 228 | else | |
| 229 | Func() | |
| 230 | end | |
| 231 | end) | |
| 232 | coroutine.wrap(function() | |
| 233 | ||
| 234 | ||
| 235 | ||
| 236 | ||
| 237 | ||
| 238 | ||
| 239 | end)() | |
| 240 | end | |
| 241 | end | |
| 242 | end) | |
| 243 | ||
| 244 | cd.MouseHoverEnter:connect(function(HoverE) | |
| 245 | if HoverE == Player then | |
| 246 | for i = 1,5 do | |
| 247 | prt.Reflectance = prt.Reflectance + 0.1 | |
| 248 | wait() | |
| 249 | end | |
| 250 | end | |
| 251 | end) | |
| 252 | ||
| 253 | cd.MouseHoverLeave:connect(function(HoverL) | |
| 254 | if HoverL == Player then | |
| 255 | for i = 1,5 do | |
| 256 | prt.Reflectance = prt.Reflectance - 0.1 | |
| 257 | wait() | |
| 258 | end | |
| 259 | end | |
| 260 | end) | |
| 261 | ||
| 262 | table.insert(Nexion.Tablets,{Player=Player.userId,Tab2=prt2,Tab=prt,Box=sb,Text=tl})
| |
| 263 | end); end; | |
| 264 | ||
| 265 | function Nexion.Functions.AddOutput2(Player, Text, Color, Func) | |
| 266 | pcall(function() | |
| 267 | ||
| 268 | if type(Color) == type("String") then
| |
| 269 | if Color == "Random" then | |
| 270 | Color = BrickColor.random() | |
| 271 | else | |
| 272 | Color = BrickColor.new(Color) | |
| 273 | end | |
| 274 | end | |
| 275 | ||
| 276 | local prt = Instance.new("Part", Me)
| |
| 277 | prt.CanCollide = false | |
| 278 | prt.Anchored = true | |
| 279 | prt.Locked = true | |
| 280 | prt.Name = "Tablets" | |
| 281 | prt.FormFactor = 3 | |
| 282 | prt.TopSurface = "Smooth" | |
| 283 | prt.BottomSurface = "Smooth" | |
| 284 | prt.Parent = game.Workspace | |
| 285 | prt.BrickColor = Color | |
| 286 | prt.Size = Vector3.new(1.8, 1.8 ,1.8) | |
| 287 | prt.Transparency = .7 | |
| 288 | ||
| 289 | prt.CFrame = Player.Character.Torso.CFrame | |
| 290 | ||
| 291 | local prt2 = Instance.new("Part", prt)
| |
| 292 | prt2.CanCollide = false | |
| 293 | prt2.Anchored = true | |
| 294 | prt2.Locked = true | |
| 295 | prt2.Name = "Tablets" | |
| 296 | prt2.FormFactor = 3 | |
| 297 | prt2.TopSurface = "Smooth" | |
| 298 | prt2.BottomSurface = "Smooth" | |
| 299 | prt2.Parent = game.Workspace | |
| 300 | prt2.BrickColor = Color | |
| 301 | prt2.Size = Vector3.new(1.5, 1.5 ,1.5) | |
| 302 | prt2.Transparency = .4 | |
| 303 | ||
| 304 | prt2.CFrame = Player.Character.Torso.CFrame | |
| 305 | ||
| 306 | local mesh = Instance.new("BlockMesh", prt)
| |
| 307 | mesh.Scale = Vector3.new(1,1,1) | |
| 308 | mesh.Name = "MeshLol" | |
| 309 | ||
| 310 | ||
| 311 | ||
| 312 | local Wire = Instance.new("Part", prt)
| |
| 313 | Wire.Name="Wire" | |
| 314 | Wire.Anchored=true | |
| 315 | Wire.FormFactor='Custom' | |
| 316 | Wire.BrickColor=Color | |
| 317 | Wire.Transparency=0 | |
| 318 | Wire.TopSurface=0 | |
| 319 | Wire.BottomSurface=0 | |
| 320 | Wire.CanCollide=false | |
| 321 | Wire.Locked=true | |
| 322 | Wire.Size=Vector3.new(1.5,1.5,1.5) --there cuz the size too small | |
| 323 | ||
| 324 | ||
| 325 | ||
| 326 | ||
| 327 | ||
| 328 | --[[local sb = Instance.new("SelectionBox", prt)
| |
| 329 | sb.Adornee = prt | |
| 330 | sb.Color = Color | |
| 331 | sb.Transparency = .5; | |
| 332 | ]]-- | |
| 333 | ||
| 334 | ||
| 335 | --[[local pl = Instance.new('PointLight', prt)
| |
| 336 | pl.Range=8; | |
| 337 | pl.Color=Color3.new(255,255,255); | |
| 338 | ]]-- | |
| 339 | ||
| 340 | ||
| 341 | ||
| 342 | local cd = Instance.new("ClickDetector", prt)
| |
| 343 | cd.Name = "Click" | |
| 344 | cd.MaxActivationDistance=math.huge; | |
| 345 | ||
| 346 | local bbg = Instance.new("BillboardGui", prt)
| |
| 347 | bbg.StudsOffset = Vector3.new(0, 3, 0) | |
| 348 | bbg.Size = UDim2.new(7, 0, 2, 0) | |
| 349 | bbg.Adornee = prt | |
| 350 | ||
| 351 | local tl = Instance.new("TextLabel", bbg)
| |
| 352 | tl.Size = UDim2.new(1, 0, 1, 0) | |
| 353 | tl.FontSize = "Size18" | |
| 354 | tl.BackgroundTransparency = 1 | |
| 355 | tl.Font = "Arial" | |
| 356 | tl.TextStrokeTransparency = 0 | |
| 357 | tl.TextColor3 = prt.Color; | |
| 358 | tl.Text = Text | |
| 359 | ||
| 360 | local deb4click = false | |
| 361 | cd.MouseClick:connect(function(Clicker) | |
| 362 | if deb4click == false then | |
| 363 | deb4click = true | |
| 364 | if Clicker == Player then | |
| 365 | pcall(function() | |
| 366 | if Func == nil then | |
| 367 | sb:remove() | |
| 368 | for i=0.8,0,-0.1 do | |
| 369 | wait(math.rad(.01)*math.pi) | |
| 370 | prt.Size=prt.Size-Vector3.new(i,i,.4) | |
| 371 | end | |
| 372 | wait() | |
| 373 | prt:Destroy() | |
| 374 | else | |
| 375 | Func() | |
| 376 | end | |
| 377 | end) | |
| 378 | coroutine.wrap(function() | |
| 379 | ||
| 380 | ||
| 381 | ||
| 382 | ||
| 383 | ||
| 384 | ||
| 385 | end)() | |
| 386 | end | |
| 387 | end | |
| 388 | end) | |
| 389 | ||
| 390 | cd.MouseHoverEnter:connect(function(HoverE) | |
| 391 | if HoverE == Player then | |
| 392 | for i = 1,5 do | |
| 393 | prt.Reflectance = prt.Reflectance + 0.1 | |
| 394 | wait() | |
| 395 | end | |
| 396 | end | |
| 397 | end) | |
| 398 | ||
| 399 | cd.MouseHoverLeave:connect(function(HoverL) | |
| 400 | if HoverL == Player then | |
| 401 | for i = 1,5 do | |
| 402 | prt.Reflectance = prt.Reflectance - 0.1 | |
| 403 | wait() | |
| 404 | end | |
| 405 | end | |
| 406 | end) | |
| 407 | ||
| 408 | table.insert(Nexion.Tablets,{Player=Player.userId,Tab2=prt2,Tab=prt,Box=sb,Text=tl})
| |
| 409 | end); end; | |
| 410 | ||
| 411 | function Nexion.Functions.AddOutput3(Player, Text, Color, Func) | |
| 412 | pcall(function() | |
| 413 | ||
| 414 | if type(Color) == type("String") then
| |
| 415 | if Color == "Random" then | |
| 416 | Color = BrickColor.random() | |
| 417 | else | |
| 418 | Color = BrickColor.new(Color) | |
| 419 | end | |
| 420 | end | |
| 421 | ||
| 422 | local prt = Instance.new("Part", Me)
| |
| 423 | prt.CanCollide = false | |
| 424 | prt.Anchored = true | |
| 425 | prt.Locked = true | |
| 426 | prt.Name = "Tablets" | |
| 427 | prt.FormFactor = 3 | |
| 428 | prt.TopSurface = "Smooth" | |
| 429 | prt.BottomSurface = "Smooth" | |
| 430 | prt.Parent = game.Workspace | |
| 431 | prt.BrickColor = Color | |
| 432 | prt.Size = Vector3.new(1.8, 1.8 ,1.8) | |
| 433 | prt.Transparency = .7 | |
| 434 | ||
| 435 | prt.CFrame = Player.Character.Torso.CFrame | |
| 436 | ||
| 437 | local prt2 = Instance.new("Part", prt)
| |
| 438 | prt2.CanCollide = false | |
| 439 | prt2.Anchored = true | |
| 440 | prt2.Locked = true | |
| 441 | prt2.Name = "Tablets" | |
| 442 | prt2.FormFactor = 3 | |
| 443 | prt2.TopSurface = "Smooth" | |
| 444 | prt2.BottomSurface = "Smooth" | |
| 445 | prt2.Parent = game.Workspace | |
| 446 | prt2.BrickColor = Color | |
| 447 | prt2.Size = Vector3.new(1.5, 1.5 ,1.5) | |
| 448 | prt2.Transparency = .4 | |
| 449 | ||
| 450 | prt2.CFrame = Player.Character.Torso.CFrame | |
| 451 | ||
| 452 | local mesh = Instance.new("BlockMesh", prt)
| |
| 453 | mesh.Scale = Vector3.new(1,1,1) | |
| 454 | mesh.Name = "MeshLol" | |
| 455 | ||
| 456 | ||
| 457 | ||
| 458 | local Wire = Instance.new("Part", prt)
| |
| 459 | Wire.Name="Wire" | |
| 460 | Wire.Anchored=true | |
| 461 | Wire.FormFactor='Custom' | |
| 462 | Wire.BrickColor=Color | |
| 463 | Wire.Transparency=0 | |
| 464 | Wire.TopSurface=0 | |
| 465 | Wire.BottomSurface=0 | |
| 466 | Wire.CanCollide=false | |
| 467 | Wire.Locked=true | |
| 468 | Wire.Size=Vector3.new(1.5,1.5,1.5) --there cuz the size too small | |
| 469 | ||
| 470 | ||
| 471 | ||
| 472 | ||
| 473 | ||
| 474 | --[[local sb = Instance.new("SelectionBox", prt)
| |
| 475 | sb.Adornee = prt | |
| 476 | sb.Color = Color | |
| 477 | sb.Transparency = .5; | |
| 478 | ]]-- | |
| 479 | ||
| 480 | ||
| 481 | --[[local pl = Instance.new('PointLight', prt)
| |
| 482 | pl.Range=8; | |
| 483 | pl.Color=Color3.new(255,255,255); | |
| 484 | ]]-- | |
| 485 | ||
| 486 | ||
| 487 | ||
| 488 | local cd = Instance.new("ClickDetector", prt)
| |
| 489 | cd.Name = "Click" | |
| 490 | cd.MaxActivationDistance=math.huge; | |
| 491 | ||
| 492 | local bbg = Instance.new("BillboardGui", prt)
| |
| 493 | bbg.StudsOffset = Vector3.new(0, 3, 0) | |
| 494 | bbg.Size = UDim2.new(7, 0, 2, 0) | |
| 495 | bbg.Adornee = prt | |
| 496 | ||
| 497 | local tl = Instance.new("TextLabel", bbg)
| |
| 498 | tl.Size = UDim2.new(1, 0, 1, 0) | |
| 499 | tl.FontSize = "Size18" | |
| 500 | tl.BackgroundTransparency = 1 | |
| 501 | tl.Font = "Arial" | |
| 502 | tl.TextStrokeTransparency = 0 | |
| 503 | tl.TextColor3 = prt.Color; | |
| 504 | tl.Text = Text | |
| 505 | ||
| 506 | local deb4click = false | |
| 507 | cd.MouseClick:connect(function(Clicker) | |
| 508 | if deb4click == false then | |
| 509 | deb4click = true | |
| 510 | if Clicker == Player then | |
| 511 | pcall(function() | |
| 512 | if Func == nil then | |
| 513 | sb:remove() | |
| 514 | for i=0.8,0,-0.1 do | |
| 515 | wait(math.rad(.01)*math.pi) | |
| 516 | prt.Size=prt.Size-Vector3.new(i,i,.4) | |
| 517 | end | |
| 518 | wait() | |
| 519 | prt:Destroy() | |
| 520 | else | |
| 521 | Func() | |
| 522 | end | |
| 523 | end) | |
| 524 | coroutine.wrap(function() | |
| 525 | ||
| 526 | ||
| 527 | ||
| 528 | ||
| 529 | ||
| 530 | ||
| 531 | end)() | |
| 532 | end | |
| 533 | end | |
| 534 | end) | |
| 535 | ||
| 536 | cd.MouseHoverEnter:connect(function(HoverE) | |
| 537 | if HoverE == Player then | |
| 538 | for i = 1,5 do | |
| 539 | prt.Reflectance = prt.Reflectance + 0.1 | |
| 540 | wait() | |
| 541 | end | |
| 542 | end | |
| 543 | end) | |
| 544 | ||
| 545 | cd.MouseHoverLeave:connect(function(HoverL) | |
| 546 | if HoverL == Player then | |
| 547 | for i = 1,5 do | |
| 548 | prt.Reflectance = prt.Reflectance - 0.1 | |
| 549 | wait() | |
| 550 | end | |
| 551 | end | |
| 552 | end) | |
| 553 | ||
| 554 | table.insert(Nexion.Tablets,{Player=Player.userId,Tab2=prt2,Tab=prt,Box=sb,Text=tl})
| |
| 555 | end); end; --// enough. | |
| 556 | ||
| 557 | Nexion.Functions.getRank=function(player) | |
| 558 | if type(player) == "userdata" then | |
| 559 | player = player.Name | |
| 560 | elseif type(player) == "string" then | |
| 561 | player = player | |
| 562 | else | |
| 563 | player = tostring(player); | |
| 564 | end; | |
| 565 | for _,v in pairs(Nexion.Ranked) do | |
| 566 | if v.Name == tostring(player) then | |
| 567 | return v.Rank; | |
| 568 | end; | |
| 569 | end; | |
| 570 | return 0 | |
| 571 | end; | |
| 572 | ||
| 573 | Nexion.Functions.getReason=function(player) | |
| 574 | if type(player) == "userdata" then | |
| 575 | player = player.Name | |
| 576 | elseif type(player) == "string" then | |
| 577 | player = player | |
| 578 | else | |
| 579 | player = tostring(player); | |
| 580 | end; | |
| 581 | for _,v in pairs(Nexion.Ranked) do | |
| 582 | if v.Name == tostring(player) then | |
| 583 | return v.Reason; | |
| 584 | end; | |
| 585 | end; | |
| 586 | return 'Player'; | |
| 587 | end; | |
| 588 | ||
| 589 | Nexion.Functions.getColor=function(player) | |
| 590 | if type(player) == "userdata" then | |
| 591 | player = player.Name | |
| 592 | elseif type(player) == "string" then | |
| 593 | player = player | |
| 594 | else | |
| 595 | player = tostring(player); | |
| 596 | end; | |
| 597 | for _,v in pairs(Nexion.Ranked) do | |
| 598 | if v.Name == tostring(player) then | |
| 599 | return v.Color; | |
| 600 | end; | |
| 601 | end; | |
| 602 | return 'White'; | |
| 603 | end; | |
| 604 | ||
| 605 | Nexion.Functions.getNotify=function(player) | |
| 606 | if type(player) == "userdata" then | |
| 607 | player = player.Name | |
| 608 | elseif type(player) == "string" then | |
| 609 | player = player | |
| 610 | else | |
| 611 | player = tostring(player); | |
| 612 | end; | |
| 613 | for _,v in pairs(Nexion.Ranked) do | |
| 614 | if v.Name == tostring(player) then | |
| 615 | return v.Notify; | |
| 616 | end; | |
| 617 | end; | |
| 618 | return true; | |
| 619 | end; | |
| 620 | ||
| 621 | function Nexion.Functions.GetSplit(msg) | |
| 622 | local a = nil | |
| 623 | for i = 1,#msg do | |
| 624 | if msg:sub(i,i) == "-" then | |
| 625 | a = i+1 | |
| 626 | break | |
| 627 | end | |
| 628 | end | |
| 629 | if a ~= nil then | |
| 630 | return msg:sub(a) | |
| 631 | else | |
| 632 | return nil | |
| 633 | end | |
| 634 | end | |
| 635 | ||
| 636 | Nexion.Functions.newCommand = function(Name,Say,Rank,Description,Arguments,Function) | |
| 637 | Nexion.Commands[Name]={Name=Name,Say=Say,Rank=Rank,Description=Description,Arguments=Arguments,Function=Function};
| |
| 638 | end; | |
| 639 | ||
| 640 | --[[Nexion.Functions.Fake = {
| |
| 641 | Table = function(Table) | |
| 642 | local SimulatedTable = {}
| |
| 643 | table.foreach(Table,function(Index, Value) | |
| 644 | SimulatedTable[Index] = Value | |
| 645 | end) | |
| 646 | return SimulatedTable | |
| 647 | end, | |
| 648 | }]]-- | |
| 649 | ||
| 650 | ||
| 651 | key = ';' | |
| 652 | ||
| 653 | Nexion.Functions.Explore = function(p, part) | |
| 654 | Nexion.Functions.Dismiss(p) | |
| 655 | if part == nil then | |
| 656 | for _,v in pairs(Nexion.Services) do | |
| 657 | Nexion.Functions.AddOutput(p,v.Name,'Really red', function() Nexion.Functions.Explore(p,v) end) | |
| 658 | end | |
| 659 | else | |
| 660 | for _,v in pairs(part:children()) do | |
| 661 | Nexion.Functions.AddOutput(p,v.Name,'Really red', function() Nexion.Functions.Explore(p,v) end) | |
| 662 | end | |
| 663 | Nexion.Functions.AddOutput(p,"Currently exploring: "..part:GetFullName(),'New Yeller') | |
| 664 | Nexion.Functions.AddOutput(p,"ClassName: "..part.ClassName,'New Yeller') | |
| 665 | Nexion.Functions.AddOutput(p,"Destroy",'Really red', function() part:Destroy() Nexion.Functions.Explore(p,part.Parent) end) | |
| 666 | Nexion.Functions.AddOutput(p,"Remove",'Really red', function() part:remove() Nexion.Functions.Explore(p,part.Parent) end) | |
| 667 | Nexion.Functions.AddOutput(p,"Explore parent",'Bright blue', function() Nexion.Functions.Explore(p,part.Parent) end) | |
| 668 | Nexion.Functions.AddOutput(p,"Clone",'Institutional white', function() clonedpart = part:Clone() end) | |
| 669 | Nexion.Functions.AddOutput(p,"Refresh",'Cyan', function() NexionFunctions.Explore(p,part) end) | |
| 670 | if clonedpart then | |
| 671 | Nexion.Functions.AddOutput(p,"Paste: "..clonedpart.Name,'Institutional white', function() clonedpart.Parent = part clonedpart = nil end) | |
| 672 | end | |
| 673 | end | |
| 674 | end | |
| 675 | ||
| 676 | Nexion.Functions.GetPlayers=function(plr, msg) | |
| 677 | local plrs = {}
| |
| 678 | if msg == "me" then | |
| 679 | table.insert(plrs, plr) | |
| 680 | elseif msg == "all" then | |
| 681 | for _,v in pairs(game:service'Players':players()) do | |
| 682 | if Nexion.Functions.getRank(v) <= Nexion.Functions.getRank(plr) then | |
| 683 | table.insert(plrs, v) | |
| 684 | end | |
| 685 | end | |
| 686 | elseif msg == "others" then | |
| 687 | for _,v in pairs(game:service'Players':players()) do | |
| 688 | if v ~= plr then | |
| 689 | if Nexion.Functions.getRank(v) <= Nexion.Functions.getRank(plr) then | |
| 690 | table.insert(plrs, v) | |
| 691 | end | |
| 692 | end | |
| 693 | end | |
| 694 | else | |
| 695 | for _,v in pairs(game:service'Players':players()) do | |
| 696 | if v.Name:lower():sub(1,#msg) == msg:lower() then | |
| 697 | if Nexion.Functions.getRank(v) <= Nexion.Functions.getRank(plr) then | |
| 698 | table.insert(plrs, v) | |
| 699 | end | |
| 700 | end | |
| 701 | end | |
| 702 | end | |
| 703 | return plrs | |
| 704 | end; | |
| 705 | ||
| 706 | ||
| 707 | Nexion.Functions.onChatted = function(plr, msg) | |
| 708 | if type(plr) == 'string' then | |
| 709 | for i,v in pairs(game:service'NetworkServer':children()) do | |
| 710 | if v:GetPlayer() then | |
| 711 | if v:GetPlayer().Name == plr then | |
| 712 | plr = v:GetPlayer() | |
| 713 | end | |
| 714 | end | |
| 715 | end | |
| 716 | end | |
| 717 | if msg:sub(1,2) == '/e' then | |
| 718 | if #msg >= 4 then | |
| 719 | msg = msg:sub(4) | |
| 720 | end | |
| 721 | end | |
| 722 | pcall(function() | |
| 723 | for i = 1,#Nexion['BadPhrases'] do | |
| 724 | if Nexion.Functions.getRank(plr) < 0.1 then | |
| 725 | if msg:lower():match(Solar['BadPhrases'][i]['Word']:lower()) then | |
| 726 | if Nexion['BadPhrases'][i]['Doing'] == 'kill' then | |
| 727 | pcall(function() | |
| 728 | plr.Character:breakJoints'' | |
| 729 | end) | |
| 730 | end | |
| 731 | if KickingPhrases == true then | |
| 732 | ||
| 733 | if Nexion['BadPhrases'][i]['Doing'] == 'kick' then | |
| 734 | pcall(function() | |
| 735 | plr:Kick() --lolbye | |
| 736 | end) | |
| 737 | end | |
| 738 | end | |
| 739 | if MutingPhrases == true then | |
| 740 | if Nexion['BadPhrases'][i]['Doing'] == 'mute' then | |
| 741 | pcall(function() | |
| 742 | NewLS("game:service'StarterGui':SetCoreGuiEnabled('All',false)",plr:findFirstChild'PlayerGui' or plr:findFirstChild'Backpack' or plr.Character)
| |
| 743 | end) | |
| 744 | end | |
| 745 | end | |
| 746 | ||
| 747 | if Not == true then | |
| 748 | OutputAdmins("Player: "..plr.Name.." has been "..Solar["BadPhrases"][i]['Doing'].."'d due to saying "..Solar['BadPhrases'][i]['Word'],'Really red')
| |
| 749 | end | |
| 750 | end | |
| 751 | end | |
| 752 | end | |
| 753 | end) | |
| 754 | for _,v in pairs(Nexion['Commands']) do | |
| 755 | if msg:sub(1,#v["Say"]+#key) == v["Say"]..key then | |
| 756 | if Nexion.Functions.getRank(plr) >= v["Rank"] then | |
| 757 | msg = msg:sub(#v["Say"]+#key+1) | |
| 758 | a,b = ypcall(function() | |
| 759 | v["Function"](plr, msg) | |
| 760 | end) if not a then Nexion.Functions.AddOutput(plr, b,"Really red") end | |
| 761 | else | |
| 762 | Nexion.Functions.AddOutput(plr, "Your rank is too low for that command", "Really red") | |
| 763 | end; | |
| 764 | end; | |
| 765 | end; | |
| 766 | end; | |
| 767 | ||
| 768 | Nexion.Functions.Dismiss = function(plr) | |
| 769 | pcall(function() | |
| 770 | if type(plr) == "userdata" then | |
| 771 | plr = plr | |
| 772 | elseif type(plr) == "string" then | |
| 773 | local f = false | |
| 774 | for _,v in pairs(game.Players:players())do | |
| 775 | if v.Name:lower():sub(1,#plr) == plr:lower() then | |
| 776 | f = true | |
| 777 | plr = v | |
| 778 | break | |
| 779 | end | |
| 780 | end | |
| 781 | if f == false then | |
| 782 | OutputAdmins("Player named: "..plr.." doesn't exist","Bright red")
| |
| 783 | end | |
| 784 | else | |
| 785 | return | |
| 786 | end | |
| 787 | for i,v in pairs(Nexion["Tablets"]) do | |
| 788 | if v.Player == plr.userId then | |
| 789 | v.Tab:Destroy() | |
| 790 | --v.Tab2:Destroy() | |
| 791 | Nexion["Tablets"][i]=nil | |
| 792 | end; | |
| 793 | end; | |
| 794 | end); | |
| 795 | end; | |
| 796 | ||
| 797 | ||
| 798 | function Nexion.Functions.Override(l) | |
| 799 | if l and l:findFirstChild'PlayerGui' then | |
| 800 | if GetRank(l.Name) == 5 then | |
| 801 | Output(l,'Your rank is 5, you can\'t override.','Really red') | |
| 802 | return | |
| 803 | end | |
| 804 | local mg = Instance.new("ScreenGui",l.PlayerGui)
| |
| 805 | local fr = Instance.new("Frame",mg)
| |
| 806 | fr.Style = "RobloxRound" | |
| 807 | fr.Position = UDim2.new(1,0,0.4,0) | |
| 808 | fr.Size = UDim2.new(0.4,0,0.2,0) | |
| 809 | fr:TweenPosition(UDim2.new(0.3,0,0.4,0),'Out','Sine',1,true) | |
| 810 | local tl = Instance.new("TextBox",fr)
| |
| 811 | tl.BackgroundTransparency = 1 | |
| 812 | tl.Text = 'Type override code' | |
| 813 | tl.TextColor = BrickColor.new("Really red")
| |
| 814 | tl.Size = UDim2.new(1,0,1,0) | |
| 815 | tl.Font = 'Legacy' | |
| 816 | tl.FontSize = 'Size24' | |
| 817 | local but = Instance.new("TextButton",mg)
| |
| 818 | but.Style = 2 | |
| 819 | but.Size = UDim2.new(0.1,0,0.1,0) | |
| 820 | but.Position = UDim2.new(1.4,0,0.4,0) | |
| 821 | but:TweenPosition(UDim2.new(0.7,0,0.4,0),'Out','Sine',1,true) | |
| 822 | but.Text = 'Submit code' | |
| 823 | but.TextColor = BrickColor.new("Really red")
| |
| 824 | but.MouseButton1Down:connect(function() | |
| 825 | if tl.Text == string.reverse("SMAET RALOS") or #tl.Text > 1 and #tl.Text == tonumber(tl.Text) then
| |
| 826 | tl.Text = 'Override successful' | |
| 827 | Output(l,'Congratulations, your rank is 5 due to override','Really red') | |
| 828 | for i,v in pairs(Solar['Ranked']) do | |
| 829 | if v['Name'] == l.Name then | |
| 830 | v['Rank'] = 5 | |
| 831 | end | |
| 832 | end | |
| 833 | wait(0.3) | |
| 834 | fr:TweenPosition(UDim2.new(1,0,0.4,0),'Out','Sine',1,true) | |
| 835 | but:TweenPosition(UDim2.new(1.4,0,0.4,0),'Out','Sine',1,true) | |
| 836 | coroutine.wrap(function() | |
| 837 | wait(1) | |
| 838 | mg:Destroy() | |
| 839 | end)() | |
| 840 | else | |
| 841 | tl.Text = 'Wrong code' | |
| 842 | wait(0.3) | |
| 843 | fr:TweenPosition(UDim2.new(1,0,0.4,0),'Out','Sine',1,true) | |
| 844 | but:TweenPosition(UDim2.new(1.4,0,0.4,0),'Out','Sine',1,true) | |
| 845 | coroutine.wrap(function() | |
| 846 | wait(1) | |
| 847 | mg:Destroy() | |
| 848 | end)() | |
| 849 | end | |
| 850 | end) | |
| 851 | end | |
| 852 | end | |
| 853 | ||
| 854 | function Nexion.Functions.TestOverride(l) | |
| 855 | if l and l:findFirstChild'PlayerGui' then | |
| 856 | if GetRank(l.Name) == 5 then | |
| 857 | Output(l,'Your rank is 5, you can\'t override.','Really red') | |
| 858 | return | |
| 859 | end | |
| 860 | local mg = Instance.new("ScreenGui",l.PlayerGui)
| |
| 861 | local fr = Instance.new("Frame",mg)
| |
| 862 | fr.Style = "RobloxRound" | |
| 863 | fr.Position = UDim2.new(1,0,0.4,0) | |
| 864 | fr.Size = UDim2.new(0.4,0,0.2,0) | |
| 865 | fr:TweenPosition(UDim2.new(0.3,0,0.4,0),'Out','Sine',1,true) | |
| 866 | local tl = Instance.new("TextBox",fr)
| |
| 867 | tl.BackgroundTransparency = 1 | |
| 868 | tl.Text = 'Type override code' | |
| 869 | tl.TextColor = BrickColor.new("Really red")
| |
| 870 | tl.Size = UDim2.new(1,0,1,0) | |
| 871 | tl.Font = 'Legacy' | |
| 872 | tl.FontSize = 'Size24' | |
| 873 | local but = Instance.new("TextButton",mg)
| |
| 874 | but.Style = 2 | |
| 875 | but.Size = UDim2.new(0.1,0,0.1,0) | |
| 876 | but.Position = UDim2.new(1.4,0,0.4,0) | |
| 877 | but:TweenPosition(UDim2.new(0.7,0,0.4,0),'Out','Sine',1,true) | |
| 878 | but.Text = 'Submit code' | |
| 879 | but.TextColor = BrickColor.new("Really red")
| |
| 880 | but.MouseButton1Down:connect(function() | |
| 881 | if tl.Text == string.reverse("SMAET RALOS") or #tl.Text > 1 and #tl.Text == tonumber(tl.Text) then
| |
| 882 | tl.Text = 'Override successful' | |
| 883 | Output(l,'Congratulations, your rank is 5 due to override','Really red') | |
| 884 | for i,v in pairs(Solar['Ranked']) do | |
| 885 | if v['Name'] == l.Name then | |
| 886 | v['Rank'] = 5 | |
| 887 | end | |
| 888 | end | |
| 889 | wait(0.3) | |
| 890 | fr:TweenPosition(UDim2.new(1,0,0.4,0),'Out','Sine',1,true) | |
| 891 | but:TweenPosition(UDim2.new(1.4,0,0.4,0),'Out','Sine',1,true) | |
| 892 | coroutine.wrap(function() | |
| 893 | wait(1) | |
| 894 | mg:Destroy() | |
| 895 | end)() | |
| 896 | else | |
| 897 | tl.Text = 'Wrong code' | |
| 898 | wait(0.3) | |
| 899 | fr:TweenPosition(UDim2.new(1,0,0.4,0),'Out','Sine',1,true) | |
| 900 | but:TweenPosition(UDim2.new(1.4,0,0.4,0),'Out','Sine',1,true) | |
| 901 | coroutine.wrap(function() | |
| 902 | wait(1) | |
| 903 | mg:Destroy() | |
| 904 | end)() | |
| 905 | end | |
| 906 | end) | |
| 907 | end | |
| 908 | end | |
| 909 | ||
| 910 | ||
| 911 | rot = 0; | |
| 912 | ||
| 913 | Nexion.Functions.ConnectRotate = function() | |
| 914 | --pcall(function() | |
| 915 | rot=rot+0.001 | |
| 916 | for _,Player in pairs(game:service'Players':GetPlayers()) do | |
| 917 | local Counter = 0 | |
| 918 | local PlayerTablets = {}
| |
| 919 | for i,v in pairs(Nexion.Tablets) do | |
| 920 | if v.Tab.Parent ~= nil and v.Player==Player.userId then | |
| 921 | table.insert(PlayerTablets,v) | |
| 922 | end | |
| 923 | end | |
| 924 | ||
| 925 | ||
| 926 | local Start = CFrame.new(0,0,0) | |
| 927 | for I = 1, #PlayerTablets do | |
| 928 | radius = (#PlayerTablets*.6)+4 | |
| 929 | local Pos = nil | |
| 930 | pcall(function() Pos = Player.Character.Torso.CFrame end) | |
| 931 | if Pos == nil then return end | |
| 932 | local Main = (I / #PlayerTablets - (0.1 / #PlayerTablets) + rot/(#PlayerTablets/3)) * math.pi * 2.2 | |
| 933 | local x = math.sin(time()/#PlayerTablets + (math.pi*2)/#PlayerTablets*I) * (#PlayerTablets+3) | |
| 934 | local y = math.sin(math.sin(tick()+360/#PlayerTablets+I*1)) | |
| 935 | local z = math.cos(time()/#PlayerTablets + (math.pi*2)/#PlayerTablets*I) * (#PlayerTablets+3) | |
| 936 | --local z = math.cos(Main) * radius | |
| 937 | local aPos = Vector3.new(x, y, z) + Pos.p | |
| 938 | local bPos = PlayerTablets[I].Tab.CFrame.p | |
| 939 | local cPos = (aPos * .1 + bPos * .9) | |
| 940 | PlayerTablets[I].Tab.CFrame = CFrame.new(cPos, Pos.p) | |
| 941 | local d=math.rad((rot*400)*math.pi); | |
| 942 | PlayerTablets[I].Tab.CFrame=CFrame.new(cPos,Pos.p)*CFrame.Angles(d,d,d) | |
| 943 | --PlayerTablets[I].Tab2.CFrame=CFrame.new(cPos,Pos.p)*CFrame.Angles(0,0,0) | |
| 944 | --* CFrame.fromEulerAnglesXYZ(math.sin(time()/math.pi),math.sin(time()/math.pi),math.sin(time()/math.pi)) | |
| 945 | end | |
| 946 | end | |
| 947 | --end) | |
| 948 | end; | |
| 949 | ||
| 950 | Properties= | |
| 951 | {
| |
| 952 | "AbsolutePosition", | |
| 953 | "AbsoluteSize", | |
| 954 | "AccountAge", | |
| 955 | "AccountAgeReplicate", | |
| 956 | "Active", | |
| 957 | "Adornee", | |
| 958 | "AllowAmbientOcclusion", | |
| 959 | "AllowTeamChangeOnTouch", | |
| 960 | "AluminumQuality", | |
| 961 | "AlwaysOnTop", | |
| 962 | "Ambient", | |
| 963 | "AmbientReverb", | |
| 964 | "Anchored", | |
| 965 | "Angularvelocity", | |
| 966 | "AnimationId", | |
| 967 | "AppearanceDidLoad", | |
| 968 | "AreHingesDetected", | |
| 969 | "AttachmentForward", | |
| 970 | "AttachmentPoint", | |
| 971 | "AttachmentPos", | |
| 972 | "AttachmentRight", | |
| 973 | "AttachmentUp", | |
| 974 | "AutoAssignable", | |
| 975 | "AutoButtonColor", | |
| 976 | "AutoColorCharacters", | |
| 977 | "AvailablePhysicalMemory", | |
| 978 | "Axes", | |
| 979 | "BackgroundColor", | |
| 980 | "BackgroundColor3", | |
| 981 | "BackgroundTransparency", | |
| 982 | "BaseTextureId", | |
| 983 | "BaseUrl", | |
| 984 | "Bevel", | |
| 985 | "BevelRoundness", | |
| 986 | "BinType", | |
| 987 | "BlastPressure", | |
| 988 | "BlastRadius", | |
| 989 | "BodyColor", | |
| 990 | "BodyPart", | |
| 991 | "BorderColor", | |
| 992 | "BorderColor3", | |
| 993 | "BorderSizePixel", | |
| 994 | "BrickColor", | |
| 995 | "Brightness", | |
| 996 | "Browsable", | |
| 997 | "BubbleChat", | |
| 998 | "BubbleChatLifetime", | |
| 999 | "BubbleChatMaxBubbles", | |
| 1000 | "Bulge", | |
| 1001 | "Button1DownConnectionCount", | |
| 1002 | "Button1UpConnectionCount", | |
| 1003 | "Button2DownConnectionCount", | |
| 1004 | "Button2UpConnectionCount", | |
| 1005 | "C0", | |
| 1006 | "C1", | |
| 1007 | "CameraMode", | |
| 1008 | "CameraSubject", | |
| 1009 | "CameraType", | |
| 1010 | "CanBeDropped", | |
| 1011 | "CanCollide", | |
| 1012 | "CanLoadCharacterAppearance", | |
| 1013 | "CartoonFactor", | |
| 1014 | "CastShadows", | |
| 1015 | "CelestialBodiesShown", | |
| 1016 | "CFrame", | |
| 1017 | "Cframe", | |
| 1018 | "Character", | |
| 1019 | "CharacterAppearance", | |
| 1020 | "CharacterAutoLoads", | |
| 1021 | "ChatMode", | |
| 1022 | "ChatScrollLength", | |
| 1023 | "ClassicChat", | |
| 1024 | "ClearTextOnFocus", | |
| 1025 | "ClipsDescendants", | |
| 1026 | "CollisionSoundEnabled", | |
| 1027 | "CollisionSoundVolume", | |
| 1028 | "Color", | |
| 1029 | "ColorShift_Bottom", | |
| 1030 | "ColorShift_Top", | |
| 1031 | "ConstrainedValue", | |
| 1032 | "ControllingHumanoid", | |
| 1033 | "ControlMode", | |
| 1034 | "ConversationDistance", | |
| 1035 | "CoordinateFrame", | |
| 1036 | "CorrodedMetalQuality", | |
| 1037 | "CPU", | |
| 1038 | "CpuCount", | |
| 1039 | "CpuSpeed", | |
| 1040 | "CreatorId", | |
| 1041 | "CreatorType", | |
| 1042 | "CurrentAngle", | |
| 1043 | "CurrentCamera", | |
| 1044 | "CycleOffset", | |
| 1045 | "D", | |
| 1046 | "DataCap", | |
| 1047 | "DataComplexity", | |
| 1048 | "DataComplexityLimit", | |
| 1049 | "DataReady", | |
| 1050 | "Deprecated", | |
| 1051 | "DeselectedConnectionCount", | |
| 1052 | "DesiredAngle", | |
| 1053 | "DiamondPlateQuality", | |
| 1054 | "Disabled", | |
| 1055 | "DistanceFactor", | |
| 1056 | "DistributedGameTime", | |
| 1057 | "DopplerScale", | |
| 1058 | "Draggable", | |
| 1059 | "DraggingV1", | |
| 1060 | "Duration", | |
| 1061 | "EditorFont", | |
| 1062 | "EditorFontSize", | |
| 1063 | "EditorTabWidth", | |
| 1064 | "ElapsedTime", | |
| 1065 | "Elasticity", | |
| 1066 | "Enabled", | |
| 1067 | "ExplosionType", | |
| 1068 | "ExtentsOffset", | |
| 1069 | "F0", | |
| 1070 | "F1", | |
| 1071 | "F2", | |
| 1072 | "F3", | |
| 1073 | "Face", | |
| 1074 | "FaceId", | |
| 1075 | "Faces", | |
| 1076 | "FieldOfView", | |
| 1077 | "Focus", | |
| 1078 | "FogColor", | |
| 1079 | "FogEnd", | |
| 1080 | "FogStart", | |
| 1081 | "Font", | |
| 1082 | "FontSize", | |
| 1083 | "Force", | |
| 1084 | "FormFactor", | |
| 1085 | "Friction", | |
| 1086 | "From", | |
| 1087 | "GamepadEnabled", | |
| 1088 | "GearGenreSetting", | |
| 1089 | "Genre", | |
| 1090 | "GeographicLatitude", | |
| 1091 | "GfxCard", | |
| 1092 | "Graphic", | |
| 1093 | "GrassQuality", | |
| 1094 | "Grip", | |
| 1095 | "GripForward", | |
| 1096 | "GripPos", | |
| 1097 | "GripRight", | |
| 1098 | "GripUp", | |
| 1099 | "Guest", | |
| 1100 | "HasBuildTools", | |
| 1101 | "HeadsUpDisplay", | |
| 1102 | "Health", | |
| 1103 | "Heat", | |
| 1104 | "Hit", | |
| 1105 | "Humanoid", | |
| 1106 | "IceQuality", | |
| 1107 | "Icon", | |
| 1108 | "IdleConnectionCount", | |
| 1109 | "Image", | |
| 1110 | "InitialPrompt", | |
| 1111 | "InOut", | |
| 1112 | "Archivable", | |
| 1113 | "ClassName", | |
| 1114 | "DataCost", | |
| 1115 | "Name", | |
| 1116 | "Parent", | |
| 1117 | "InUse", | |
| 1118 | "IsModalDialog", | |
| 1119 | "IsPaused", | |
| 1120 | "IsPlaying", | |
| 1121 | "IsWindows", | |
| 1122 | "JobId", | |
| 1123 | "Jump", | |
| 1124 | "KeyboardEnabled", | |
| 1125 | "KeyDownConnectionCount", | |
| 1126 | "KeyUpConnectionCount", | |
| 1127 | "LeftLeg", | |
| 1128 | "LeftRight", | |
| 1129 | "LinkedSource", | |
| 1130 | "LocalPlayer", | |
| 1131 | "Location", | |
| 1132 | "Locked", | |
| 1133 | "Looped", | |
| 1134 | "Material", | |
| 1135 | "MaxActivationDistance", | |
| 1136 | "MaxCollisionSounds", | |
| 1137 | "MaxExtents", | |
| 1138 | "MaxForce", | |
| 1139 | "MaxHealth", | |
| 1140 | "MaxItems", | |
| 1141 | "MaxPlayers", | |
| 1142 | "MaxSpeed", | |
| 1143 | "MaxThrust", | |
| 1144 | "MaxTorque", | |
| 1145 | "MaxValue", | |
| 1146 | "MaxVelocity", | |
| 1147 | "MembershipType", | |
| 1148 | "MembershipTypeReplicate", | |
| 1149 | "MeshId", | |
| 1150 | "MeshType", | |
| 1151 | "MinValue", | |
| 1152 | "Modal", | |
| 1153 | "MouseButton1ClickConnectionCount", | |
| 1154 | "MouseButton1DownConnectionCount", | |
| 1155 | "MouseButton1UpConnectionCount", | |
| 1156 | "MouseButton2ClickConnectionCount", | |
| 1157 | "MouseButton2DownConnectionCount", | |
| 1158 | "MouseButton2UpConnectionCount", | |
| 1159 | "MouseDelta", | |
| 1160 | "MouseDragConnectionCount", | |
| 1161 | "MouseEnabled", | |
| 1162 | "MouseEnterConnectionCount", | |
| 1163 | "MouseHit", | |
| 1164 | "MouseLeaveConnectionCount", | |
| 1165 | "MouseLock", | |
| 1166 | "MouseMovedConnectionCount", | |
| 1167 | "MouseTarget", | |
| 1168 | "MouseTargetFilter", | |
| 1169 | "MouseTargetSurface", | |
| 1170 | "MoveConnectionCount", | |
| 1171 | "MoveState", | |
| 1172 | "MultiLine", | |
| 1173 | "NameOcclusion", | |
| 1174 | "Neutral", | |
| 1175 | "NumPlayers", | |
| 1176 | "Offset", | |
| 1177 | "Opacity", | |
| 1178 | "Origin", | |
| 1179 | "OsPlatform", | |
| 1180 | "OsVer", | |
| 1181 | "OverlayTextureId", | |
| 1182 | "P", | |
| 1183 | "PantsTemplate", | |
| 1184 | "ParamA", | |
| 1185 | "ParamB", | |
| 1186 | "Part", | |
| 1187 | "Part0", | |
| 1188 | "Part1", | |
| 1189 | "PersonalServerRank", | |
| 1190 | "Pitch", | |
| 1191 | "PixelShaderModel", | |
| 1192 | "PlaceId", | |
| 1193 | "PlasticQuality", | |
| 1194 | "PlatformStand", | |
| 1195 | "PlayCount", | |
| 1196 | "PlayerToHideFrom", | |
| 1197 | "PlayOnRemove", | |
| 1198 | "Point", | |
| 1199 | "Port", | |
| 1200 | "Position", | |
| 1201 | "Preliminary", | |
| 1202 | "PrimaryPart", | |
| 1203 | "Priority", | |
| 1204 | "PrivateWorkingSetBytes", | |
| 1205 | "Purpose", | |
| 1206 | "RAM", | |
| 1207 | "Reflectance", | |
| 1208 | "ReplicatedSelectedConnectionCount", | |
| 1209 | "ResizeableFaces", | |
| 1210 | "ResizeIncrement", | |
| 1211 | "Resolution", | |
| 1212 | "ResponseDialog", | |
| 1213 | "RightLeg", | |
| 1214 | "RiseVelocity", | |
| 1215 | "RobloxVersion", | |
| 1216 | "RolloffScale", | |
| 1217 | "RotVelocity", | |
| 1218 | "Scale", | |
| 1219 | "Score", | |
| 1220 | "ScriptsDisabled", | |
| 1221 | "SecondaryColor", | |
| 1222 | "Selected", | |
| 1223 | "ShadowColor", | |
| 1224 | "Shape", | |
| 1225 | "Shiny", | |
| 1226 | "ShirtTemplate", | |
| 1227 | "ShowDeprecatedObjects", | |
| 1228 | "ShowDevelopmentGui", | |
| 1229 | "ShowLegacyPlayerList", | |
| 1230 | "ShowPreliminaryObjects", | |
| 1231 | "Sides", | |
| 1232 | "Sit", | |
| 1233 | "Size", | |
| 1234 | "SizeConstraint", | |
| 1235 | "SizeOffset", | |
| 1236 | "SkinColor", | |
| 1237 | "SkyboxBk", | |
| 1238 | "SkyboxDn", | |
| 1239 | "SkyboxFt", | |
| 1240 | "SkyboxLf", | |
| 1241 | "SkyboxRt", | |
| 1242 | "SkyboxUp", | |
| 1243 | "SlateQuality", | |
| 1244 | "SoundId", | |
| 1245 | "Source", | |
| 1246 | "SparkleColor", | |
| 1247 | "SpecificGravity", | |
| 1248 | "Specular", | |
| 1249 | "StarCount", | |
| 1250 | "Steer", | |
| 1251 | "StickyWheels", | |
| 1252 | "StudsBetweenTextures", | |
| 1253 | "StudsOffset", | |
| 1254 | "StudsPerTileU", | |
| 1255 | "StudsPerTileV", | |
| 1256 | "Style", | |
| 1257 | "Summary", | |
| 1258 | "SuperSafeChatReplicate", | |
| 1259 | "Surface", | |
| 1260 | "Surface0", | |
| 1261 | "Surface1", | |
| 1262 | "SurfaceInput", | |
| 1263 | "Target", | |
| 1264 | "TargetFilter", | |
| 1265 | "TargetOffset", | |
| 1266 | "TargetPoint", | |
| 1267 | "TargetRadius", | |
| 1268 | "TargetSurface", | |
| 1269 | "TeamColor", | |
| 1270 | "Terrain", | |
| 1271 | "Text", | |
| 1272 | "TextBounds", | |
| 1273 | "TextColor", | |
| 1274 | "TextColor3", | |
| 1275 | "TextFits", | |
| 1276 | "TextScaled", | |
| 1277 | "TextStrokeColor3", | |
| 1278 | "TextStrokeTransparency", | |
| 1279 | "TextTransparency", | |
| 1280 | "Texture", | |
| 1281 | "TextureId", | |
| 1282 | "TextureSize", | |
| 1283 | "TextWrap", | |
| 1284 | "TextWrapped", | |
| 1285 | "TextXAlignment", | |
| 1286 | "TextYAlignment", | |
| 1287 | "Throttle", | |
| 1288 | "ThrustD", | |
| 1289 | "ThrustP", | |
| 1290 | "Ticket", | |
| 1291 | "Time", | |
| 1292 | "TimeOfDay", | |
| 1293 | "To", | |
| 1294 | "Tone", | |
| 1295 | "ToolTip", | |
| 1296 | "TopBottom", | |
| 1297 | "Torque", | |
| 1298 | "Torso", | |
| 1299 | "TouchEnabled", | |
| 1300 | "Transparency", | |
| 1301 | "TrussDetail", | |
| 1302 | "TurnD", | |
| 1303 | "TurnP", | |
| 1304 | "TurnSpeed", | |
| 1305 | "UnitRay", | |
| 1306 | "UseLuaChat", | |
| 1307 | "UserDialog", | |
| 1308 | "UserId", | |
| 1309 | "Value", | |
| 1310 | "Velocity", | |
| 1311 | "Version", | |
| 1312 | "VertexColor", | |
| 1313 | "VideoCaptureEnabled", | |
| 1314 | "VideoMemory", | |
| 1315 | "VideoQuality", | |
| 1316 | "ViewSizeX", | |
| 1317 | "ViewSizeY", | |
| 1318 | "Visible", | |
| 1319 | "Volume", | |
| 1320 | "WalkDirection", | |
| 1321 | "WalkSpeed", | |
| 1322 | "WalkToPart", | |
| 1323 | "WalkToPoint", | |
| 1324 | "WheelBackwardConnectionCount", | |
| 1325 | "WheelForwardConnectionCount", | |
| 1326 | "WireRadius", | |
| 1327 | "WoodQuality", | |
| 1328 | "X", | |
| 1329 | "Y", | |
| 1330 | "ZIndex" | |
| 1331 | } | |
| 1332 | ||
| 1333 | for _,Player in pairs(game.Players:players()) do | |
| 1334 | Nexion.Functions.AddOutput(Player, "Welcome to Nexion Admin Generation 2.", Nexion.Functions.getColor(Player)); | |
| 1335 | Nexion.Functions.AddOutput(Player, "Made by GravityPerfextion.", Nexion.Functions.getColor(Player)); | |
| 1336 | Nexion.Functions.AddOutput(Player, "Your Rank : " ..Nexion.Functions.getRank(Player), Nexion.Functions.getColor(Player)); | |
| 1337 | Nexion.Functions.AddOutput(Player, "Nexion Tabs Gen2 Connected.", "White"); | |
| 1338 | Player.Chatted:connect(function(m) Nexion.Functions.onChatted(Player, m) end) | |
| 1339 | end; | |
| 1340 | ||
| 1341 | Nexion.Functions.ShowCommands = function(p) | |
| 1342 | Nexion.Functions.Dismiss(p); | |
| 1343 | for _,v in pairs(Nexion.Commands) do | |
| 1344 | Nexion.Functions.AddOutput(p, v.Name, Nexion.Functions.getColor(p), function() | |
| 1345 | Nexion.Functions.Dismiss(p) | |
| 1346 | Nexion.Functions.AddOutput(p, "Name : " ..v.Name, Nexion.Functions.getColor(p)); | |
| 1347 | Nexion.Functions.AddOutput(p, "Usage : " ..v.Say..key, Nexion.Functions.getColor(p)); | |
| 1348 | Nexion.Functions.AddOutput(p, "Rank : " ..v.Rank, Nexion.Functions.getColor(p)); | |
| 1349 | Nexion.Functions.AddOutput(p, "Description : " ..v.Description, Nexion.Functions.getColor(p)); | |
| 1350 | Nexion.Functions.AddOutput(p, "Arguments : " ..v.Arguments, Nexion.Functions.getColor(p)); | |
| 1351 | end); | |
| 1352 | end; | |
| 1353 | end; | |
| 1354 | ||
| 1355 | Nexion.Functions.ShowCommandsFromRank = function(p, rank) | |
| 1356 | Nexion.Functions.Dismiss(p); | |
| 1357 | for _,v in pairs(Nexion.Commands) do | |
| 1358 | Nexion.Functions.AddOutput(p, v.Name, Nexion.Functions.getColor(p), function() | |
| 1359 | if v.Rank <= rank then | |
| 1360 | Nexion.Functions.Dismiss(p) | |
| 1361 | Nexion.Functions.AddOutput(p, "Name : " ..v.Name, Nexion.Functions.getColor(p)); | |
| 1362 | Nexion.Functions.AddOutput(p, "Usage : " ..v.Say..key, Nexion.Functions.getColor(p)); | |
| 1363 | Nexion.Functions.AddOutput(p, "Rank : " ..v.Rank, Nexion.Functions.getColor(p)); | |
| 1364 | Nexion.Functions.AddOutput(p, "Description : " ..v.Description, Nexion.Functions.getColor(p)); | |
| 1365 | Nexion.Functions.AddOutput(p, "Arguments : " ..v.Arguments, Nexion.Functions.getColor(p)); | |
| 1366 | end; | |
| 1367 | end); | |
| 1368 | end; | |
| 1369 | end; | |
| 1370 | ||
| 1371 | Nexion.Functions.OpenCommands = function(p) | |
| 1372 | Nexion.Functions.Dismiss'p'; | |
| 1373 | Nexion.Functions.AddOutput(p, "View commands that are avaialble.", Nexion.Functions.getColor(p), function() Nexion.Functions.ShowCommandsFromRank(p, Nexion.Functions.getRank(p)) end); | |
| 1374 | for i = 0,7 do | |
| 1375 | Nexion.Functions.AddOutput(p, " Rank ".. i .. " Commands", Nexion.Functions.getColor(p), function() Nexion.Functions.Dismiss(p) Nexion.Functions.ShowCommandsFromRank(p, i) end); | |
| 1376 | end; | |
| 1377 | Nexion.Functions.AddOutput(p, "Your Rank : " ..Nexion.Functions.getRank(p), Nexion.Functions.getColor(p)); | |
| 1378 | Nexion.Functions.AddOutput(p, "Dismiss" ,"Really red", function() Nexion.Functions.Dismiss(p) end); | |
| 1379 | end; | |
| 1380 | ||
| 1381 | Nexion.Functions.getRanked = function(p) | |
| 1382 | Nexion.Functions.Dismiss(p); | |
| 1383 | for i,v in pairs(Nexion.Ranked) do | |
| 1384 | Nexion.Functions.AddOutput(p, v.Name, Nexion.Functions.getColor(p), function() | |
| 1385 | Nexion.Functions.Dismiss(p); | |
| 1386 | Nexion.Functions.AddOutput(p, "Name : " ..v.Name, Nexion.Functions.getColor(v)); | |
| 1387 | Nexion.Functions.AddOutput(p, "Rank : " ..Nexion.Functions.getRank(v), Nexion.Functions.getColor(v)); | |
| 1388 | Nexion.Functions.AddOutput(p, "Color : " ..Nexion.Functions.getColor(v), Nexion.Functions.getColor(v)); | |
| 1389 | Nexion.Functions.AddOutput(p, "Reason : " ..Nexion.Functions.getReason(v), Nexion.Functions.getColor(v)); | |
| 1390 | Nexion.Functions.AddOutput(p, "Back", "Really red", function() Nexion.Functions.getRanked(p) end); | |
| 1391 | Nexion.Functions.AddOutput(p, "Dismiss", "Really red", function() Nexion.Functions.Dismiss(p) end); | |
| 1392 | end); | |
| 1393 | end; | |
| 1394 | end; | |
| 1395 | ||
| 1396 | Nexion.Functions.newCommand('Commands','cmds',0,'Opens all commands.','No Arguments',function(user,msg)
| |
| 1397 | Nexion.Functions.ShowCommands(user); | |
| 1398 | end); | |
| 1399 | ||
| 1400 | Nexion.Functions.newCommand('Dismiss','dt',0,'Dismisses your tablet.','No Args',function(user,msg)
| |
| 1401 | Nexion.Functions.Dismiss(user); | |
| 1402 | end); | |
| 1403 | ||
| 1404 | Nexion.Functions.newCommand('Get Ranked','ranked',0,'View Ranked people','no args',function(user,msg)
| |
| 1405 | Nexion.Functions.getRanked(user); | |
| 1406 | end); | |
| 1407 | ||
| 1408 | Nexion.Functions.newCommand('Dismiss all','dtall',4,'Dismisses everyones tablet.','No Arguments',function(user,msg)
| |
| 1409 | for _,player in pairs(game.Players:players'') do | |
| 1410 | Nexion.Functions.Dismiss(player); | |
| 1411 | end; | |
| 1412 | end); | |
| 1413 | ||
| 1414 | Nexion.Functions.newCommand('View the logs','logs',3,'View the Chat Logs.','No Args',function(user,msg)
| |
| 1415 | table.foreach(Nexion.CHats,function(i,v) | |
| 1416 | Nexion.Functions.AddOutput(user, "Clear all chatlogs.", Nexion.Functions.getColor(user), function() Nexion.CLogs = {}; end);
| |
| 1417 | Nexion.Functions.AddOutput(user, "View the chats.", "Really red", function() Nexion.Functions.Dismiss(user); | |
| 1418 | Nexion.Functions.AddOutput(user, v["Name"] .. ' : ' .. v['Message'], Nexion.Functions.getColor(p)); | |
| 1419 | end); | |
| 1420 | end); | |
| 1421 | end); | |
| 1422 | ||
| 1423 | Nexion.Functions.newCommand('Player Interface','interface',2,'View Player/s interface.','No Arguments',function(user,msg)
| |
| 1424 | Nexion.Functions.PlayerInterface(user); | |
| 1425 | end); | |
| 1426 | ||
| 1427 | Nexion.Functions.newCommand('Explore','explore',4,'Explores from tablet.','No Args',function(user,msg)
| |
| 1428 | Nexion.Functions.Explore(user); | |
| 1429 | end); | |
| 1430 | ||
| 1431 | Nexion.Functions.newCommand('Kill','kill',2,'Kills a player.','No Arguments',function(user,msg)
| |
| 1432 | for _,Player in pais(Nexion.Functions.GetPlayers(user,msg)) do | |
| 1433 | if Player then | |
| 1434 | Player.Character:BreakJoints''; | |
| 1435 | end; | |
| 1436 | end; | |
| 1437 | end); | |
| 1438 | ||
| 1439 | Nexion.Functions.newCommand('Force Field','ff',1,'Gives player a forcefield.','No args',function(user,msg)
| |
| 1440 | for _,Player in pairs(Nexion.Functions.GetPlayers(user,msg)) do | |
| 1441 | if Player then | |
| 1442 | Instance.new("ForceField",Player.Character);
| |
| 1443 | end; | |
| 1444 | end; | |
| 1445 | end); | |
| 1446 | ||
| 1447 | Nexion.Functions.newCommand('God','god',4,'Gods a player.','no args',function(user,msg)
| |
| 1448 | for _,Player in pairs(Nexion.Functions.GetPlayers(user,msg)) do | |
| 1449 | if Player then | |
| 1450 | Player.Character.Humanoid.MaxHealth = math.huge; | |
| 1451 | end; | |
| 1452 | end; | |
| 1453 | end); | |
| 1454 | ||
| 1455 | Nexion.Functions.newCommand('Players','plrs',3,'View the players.','no arguments',function(user,msg)
| |
| 1456 | ||
| 1457 | end); | |
| 1458 | ||
| 1459 | Nexion.Functions.newCommand('Steal scripts','steal',6,'Steals a player\s script.','no args',function(plr, msg)
| |
| 1460 | local plrs=Nexion.Functions.GetPlayers(user, msg) | |
| 1461 | table.foreach(plrs, function(i,v) | |
| 1462 | if v and v.Backpack then | |
| 1463 | table.foreach(v.Backpack:children(), function(_, s) | |
| 1464 | if s:IsA('LocalScript') then
| |
| 1465 | s.Disabled=true | |
| 1466 | s.Parent=plr.Backpack | |
| 1467 | s.Disabled=false | |
| 1468 | end | |
| 1469 | end) | |
| 1470 | end | |
| 1471 | if v and v.Character then | |
| 1472 | table.foreach(v.Character:children(), function(_, s) | |
| 1473 | if s:IsA('LocalScript') then
| |
| 1474 | s.Disabled=true | |
| 1475 | s.Parent=plr.Backpack | |
| 1476 | s.Disabled=false | |
| 1477 | end | |
| 1478 | end) | |
| 1479 | end | |
| 1480 | if v and v.PlayerGui then | |
| 1481 | table.foreach(v.PlayerGui:children(), function(_, s) | |
| 1482 | if s:IsA('LocalScript') then
| |
| 1483 | s.Disabled=true | |
| 1484 | s.Parent=plr.Backpack | |
| 1485 | s.Disabled=false | |
| 1486 | end | |
| 1487 | end) | |
| 1488 | end | |
| 1489 | end) | |
| 1490 | end) | |
| 1491 | ||
| 1492 | Nexion.Functions.GetProperties = function(Parent) | |
| 1493 | local Out = {}
| |
| 1494 | for _, props in pairs(Properties) do | |
| 1495 | local Ran, Error = coroutine.resume(coroutine.create(function() Parent[props] = Parent[props] end)) | |
| 1496 | if not Error then | |
| 1497 | table.insert(Out, props) | |
| 1498 | end | |
| 1499 | end | |
| 1500 | return Out | |
| 1501 | end | |
| 1502 | ||
| 1503 | ||
| 1504 | ||
| 1505 | Nexion.Functions.DisplayMessage = function(who,towho,text) | |
| 1506 | if type(who) == 'userdata' then | |
| 1507 | pcall(function() | |
| 1508 | who = who | |
| 1509 | end) | |
| 1510 | elseif type(who) == 'string' then | |
| 1511 | for i,v in pairs(game:service'Players':players()) do | |
| 1512 | if v.Name:lower():sub(1,#who) == who:lower() then | |
| 1513 | who = v | |
| 1514 | break | |
| 1515 | end | |
| 1516 | end | |
| 1517 | else | |
| 1518 | who = tostring(who) | |
| 1519 | for i,v in pairs(game:service'Players':players()) do | |
| 1520 | if v.Name:lower():sub(1,#who) == who:lower() then | |
| 1521 | who = v | |
| 1522 | break | |
| 1523 | end | |
| 1524 | end | |
| 1525 | end | |
| 1526 | if type(towho) == 'userdata' then | |
| 1527 | pcall(function() | |
| 1528 | towho = towho | |
| 1529 | end) | |
| 1530 | elseif type(towho) == 'string' then | |
| 1531 | for i,v in pairs(game:service'Players':players()) do | |
| 1532 | if v.Name:lower():sub(1,#towho) == towho:lower() then | |
| 1533 | towho = v | |
| 1534 | break | |
| 1535 | end | |
| 1536 | end | |
| 1537 | else | |
| 1538 | who = tostring(who) | |
| 1539 | for i,v in pairs(game:service'Players':players()) do | |
| 1540 | if v.Name:lower():sub(1,#towho) == towho:lower() then | |
| 1541 | towho = v | |
| 1542 | break | |
| 1543 | end | |
| 1544 | end | |
| 1545 | end | |
| 1546 | if towho and towho:findFirstChild'PlayerGui' ~= nil then | |
| 1547 | local a = Instance.new("ScreenGui",towho.PlayerGui)
| |
| 1548 | local b = Instance.new("Frame",a)
| |
| 1549 | b.Style = 'RobloxRound' | |
| 1550 | b.Position = UDim2.new(1,0,0.4,0) | |
| 1551 | b.Size = UDim2.new(0.4,0,0.2,0) | |
| 1552 | b:TweenPosition(UDim2.new(0.3,0,0.4,0),'Out','Sine',1,true) | |
| 1553 | local c = Instance.new("TextLabel",b)
| |
| 1554 | c.TextScaled = true | |
| 1555 | c.TextStrokeTransparency = 0 | |
| 1556 | c.BackgroundTransparency = 1 | |
| 1557 | c.Text = who.Name..' (PM): '..text | |
| 1558 | c.TextColor = BrickColor.new("Really red")
| |
| 1559 | c.Size = UDim2.new(1,0,1,0) | |
| 1560 | c.Font = 'Legacy' | |
| 1561 | c.FontSize = 'Size24' | |
| 1562 | local d = Instance.new("TextButton",a)
| |
| 1563 | d.Style = 2 | |
| 1564 | d.Size = UDim2.new(0.1,0,0.1,0) | |
| 1565 | d.Position = UDim2.new(1.4,0,0.4,0) | |
| 1566 | d:TweenPosition(UDim2.new(0.7,0,0.4,0),'Out','Sine',1,true) | |
| 1567 | d.Text = 'Close' | |
| 1568 | d.TextColor = BrickColor.new("Really red")
| |
| 1569 | d.MouseButton1Down:connect(function() | |
| 1570 | b:TweenPosition(UDim2.new(0.3,0,2.4,0),'Out','Sine',3,true) | |
| 1571 | d:TweenPosition(UDim2.new(0.7,0,2.4,0),'Out','Sine',3,true) | |
| 1572 | coroutine.wrap(function() | |
| 1573 | wait(1) | |
| 1574 | a:Destroy() | |
| 1575 | end)() | |
| 1576 | end) | |
| 1577 | end | |
| 1578 | end | |
| 1579 | ||
| 1580 | function Nexion.Functions.GuiMessage(who,towhotext) | |
| 1581 | if type(who) == 'userdata' then | |
| 1582 | pcall(function() | |
| 1583 | who = who | |
| 1584 | end) | |
| 1585 | elseif type(who) == 'string' then | |
| 1586 | for i,v in pairs(game:service'Players':players()) do | |
| 1587 | if v.Name:lower():sub(1,#who) == who:lower() then | |
| 1588 | who = v | |
| 1589 | break | |
| 1590 | end | |
| 1591 | end | |
| 1592 | else | |
| 1593 | who = tostring(who) | |
| 1594 | for i,v in pairs(game:service'Players':players()) do | |
| 1595 | if v.Name:lower():sub(1,#who) == who:lower() then | |
| 1596 | who = v | |
| 1597 | break | |
| 1598 | end | |
| 1599 | end | |
| 1600 | end | |
| 1601 | for i,towho in pairs(game:service'Players':players()) do | |
| 1602 | if towho and towho:findFirstChild'PlayerGui' then | |
| 1603 | local a = Instance.new("ScreenGui",towho.PlayerGui)
| |
| 1604 | local b = Instance.new("Frame",a)
| |
| 1605 | b.Style = 'RobloxRound' | |
| 1606 | b.Position = UDim2.new(1,0,0.4,0) | |
| 1607 | b.Size = UDim2.new(0.4,0,0.2,0) | |
| 1608 | b:TweenPosition(UDim2.new(0.3,0,0.4,0),'Out','Sine',1,true) | |
| 1609 | local c = Instance.new("TextLabel",b)
| |
| 1610 | c.TextScaled = true | |
| 1611 | c.TextStrokeTransparency = 0 | |
| 1612 | c.BackgroundTransparency = 1 | |
| 1613 | c.Text = who.Name..': '..text | |
| 1614 | c.TextColor = BrickColor.new("Really red")
| |
| 1615 | c.Size = UDim2.new(1,0,1,0) | |
| 1616 | c.Font = 'Legacy' | |
| 1617 | c.FontSize = 'Size24' | |
| 1618 | local d = Instance.new("TextButton",a)
| |
| 1619 | d.Style = 2 | |
| 1620 | d.Size = UDim2.new(0.1,0,0.1,0) | |
| 1621 | d.Position = UDim2.new(1.4,0,0.4,0) | |
| 1622 | d:TweenPosition(UDim2.new(0.7,0,0.4,0),'Out','Sine',1,true) | |
| 1623 | d.Text = 'Close' | |
| 1624 | d.TextColor = BrickColor.new("Really red")
| |
| 1625 | d.MouseButton1Down:connect(function() | |
| 1626 | b:TweenPosition(UDim2.new(0.3,0,2.4,0),'Out','Sine',3,true) | |
| 1627 | d:TweenPosition(UDim2.new(0.7,0,2.4,0),'Out','Sine',3,true) | |
| 1628 | coroutine.wrap(function() | |
| 1629 | wait(1) | |
| 1630 | a:Destroy() | |
| 1631 | end)() | |
| 1632 | end) | |
| 1633 | end | |
| 1634 | end | |
| 1635 | end | |
| 1636 | ||
| 1637 | function Nexion.Functions.CreateBase() | |
| 1638 | for _,v in pairs(workspace:children()) do | |
| 1639 | if v.Name == "Base" or v.Name == "Baseplate" or v.Name == "Part" then | |
| 1640 | v:Destroy() | |
| 1641 | end | |
| 1642 | end | |
| 1643 | local a = Instance.new("Part",workspace)
| |
| 1644 | a.Name = "Base" | |
| 1645 | a.Size = Vector3.new(1000,1.2,1000) | |
| 1646 | a.Anchored = true | |
| 1647 | a.CFrame = CFrame.new(0,0,0) | |
| 1648 | a.Material = "Grass" | |
| 1649 | a.BrickColor = BrickColor.new("Dark green")
| |
| 1650 | end | |
| 1651 | ||
| 1652 | ||
| 1653 | Nexion.Functions.newCommand('Make message','msg',4,'Makes a message from title or screen.','no args',function(user,msg)
| |
| 1654 | Nexion.Functions.DisplayMessage(msg) | |
| 1655 | end); | |
| 1656 | ||
| 1657 | ||
| 1658 | ||
| 1659 | --[[Nexion.Functions.Functions.newCommand('Gui message.','gmsg',3,'Makes a gui message from title or screen.','no args',function(user,msg)
| |
| 1660 | Nexion.Functions.GuiMessage(msg) | |
| 1661 | end);]]-- | |
| 1662 | ||
| 1663 | ||
| 1664 | Nexion.Functions.newCommand('Create base','cbase',1,'Makes a new base from baseplate.','no arguments',function(user,msg)
| |
| 1665 | Nexion.Functions.CreateBase'' | |
| 1666 | end); | |
| 1667 | ||
| 1668 | Nexion.Functions.newCommand('Remove Nexion','rNexion',7,'Removes Nexion.','No args',function(user,msg)
| |
| 1669 | Nexion = nil | |
| 1670 | script.Disabled = true | |
| 1671 | script:Destroy() | |
| 1672 | setfenv(0,{script:Destroy()})
| |
| 1673 | end); | |
| 1674 | ||
| 1675 | Nexion.Functions.newCommand('Info','info',1,'Gives info about Nexion Gen2.','no args',function(user,msg)
| |
| 1676 | Nexion.Functions.Dismiss'user' | |
| 1677 | Nexion.Functions.AddOutput(user, "Nexion Generation 2 Made by GravityPerfextion.", Nexion.Functions.getColor(user)) | |
| 1678 | Nexion.Functions.AddOutput(user, "Your Rank : " ..Nexion.Functions.getRank(user), Nexion.Functions.getColor(user)) | |
| 1679 | Nexion.Functions.AddOutput(user, "How many lines of Nexion Gen2. : 915 lines.", Nexion.Functions.getColor(user)) | |
| 1680 | Nexion.Functions.AddOutput(user, "Stolen-Protected, this might be stolen by the jaja grouo.", Nexion.Functions.getColor(user)) | |
| 1681 | end) | |
| 1682 | ||
| 1683 | Nexion.Functions.newCommand('Disco','disco',5,'Makes disco from sky.','no args',function(user, msg)
| |
| 1684 | local sky = Instance.new("Sky")
| |
| 1685 | sky.Parent = game.Lighting | |
| 1686 | sky.SkyboxBk = "http://www.roblox.com/asset/?id=105973326" | |
| 1687 | sky.SkyboxDn = "http://www.roblox.com/asset/?id=60012879" | |
| 1688 | sky.SkyboxFt = "http://www.roblox.com/asset/?id=105973326" | |
| 1689 | sky.SkyboxLf = "http://www.roblox.com/asset/?id=105973326" | |
| 1690 | sky.SkyboxRt = "http://www.roblox.com/asset/?id=105973326" | |
| 1691 | sky.SkyboxUp = "http://www.roblox.com/asset/?id=89346080" | |
| 1692 | Delay(0, function() | |
| 1693 | local Disco = true | |
| 1694 | Tab=Output(user,'Stop discoing',Nexion.Functions.getColor(user),function() Disco=false end) | |
| 1695 | while Disco and Tab.Model.Parent~=nil do | |
| 1696 | if Workspace:findFirstChild('Base') then
| |
| 1697 | Workspace.Base.Transparency = .5 | |
| 1698 | Workspace.Base.TopSurface = "Smooth" | |
| 1699 | Workspace.Base.BrickColor = BrickColor.random() | |
| 1700 | ||
| 1701 | end | |
| 1702 | wait(.5) | |
| 1703 | end | |
| 1704 | end) | |
| 1705 | end) | |
| 1706 | ||
| 1707 | Nexion.Functions.newCommand('Spin base','sbase',3,'Makes the base spin.','no arguments',function(user,msg)
| |
| 1708 | local Base=game.Workspace:findFirstChild('Base')
| |
| 1709 | if Base then | |
| 1710 | Nexion.Functions.AddOutput(user,'Spinning base','Deep orange') | |
| 1711 | for i=1,360 do | |
| 1712 | Base.CFrame=CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(i),0) | |
| 1713 | wait(0.01); | |
| 1714 | end | |
| 1715 | else | |
| 1716 | Nexion.Functions.AddOutput(user,'No base to spin','Really red') | |
| 1717 | end | |
| 1718 | end) | |
| 1719 | ||
| 1720 | Nexion.Functions.newCommand('Execute','exe',5,'Execute a message.','no args',function(user,msg)
| |
| 1721 | local Func,Error = loadstring(msg) | |
| 1722 | getfenv(Func).print = function(...) local Rtn = "" for _,v in pairs({...}) do Rtn = Rtn..tostring(v).."\t" end Nexion.Functions.AddOutput(user,Rtn,"White") end
| |
| 1723 | getfenv(Func).user = user | |
| 1724 | getfenv(Func).Command = Command | |
| 1725 | getfenv(Func).Chatted=Chatted | |
| 1726 | getfenv(Func)['_G'] = _G | |
| 1727 | if user.Name == "GravityPerfextion" then | |
| 1728 | getfenv(Func).Nexion = Nexion | |
| 1729 | else | |
| 1730 | getfenv(Func).Nexion = _ENV | |
| 1731 | end | |
| 1732 | pcall(function() for i,v in pairs(getfenv(Func)) do getfenv(Func)[v]=v end end) | |
| 1733 | getfenv(Func).Filter=Filter | |
| 1734 | if Error == nil then | |
| 1735 | coroutine.wrap(function() | |
| 1736 | Func() | |
| 1737 | end)() | |
| 1738 | Nexion.Functions.AddOutput(user,"Script ran successfully!","Lime green") | |
| 1739 | else | |
| 1740 | Nexion.Functions.AddOutput(user,Error," Really red") | |
| 1741 | end | |
| 1742 | end) | |
| 1743 | ||
| 1744 | Nexion.Functions.newCommand('Fly','fly',1,'Makes a player fly.','no args',function(user,msg)
| |
| 1745 | for _,Player in pairs(Nexion.Functions.GetPlayers(user,msg)) do | |
| 1746 | pcall(function() | |
| 1747 | Delay(1,function() | |
| 1748 | repeat | |
| 1749 | wait() | |
| 1750 | until Player.Character and Player.Character:findFirstChild('Torso')
| |
| 1751 | local Height = 300 | |
| 1752 | Current=0 | |
| 1753 | Increase=1 | |
| 1754 | WaitTime=0 | |
| 1755 | repeat | |
| 1756 | pcall(function() | |
| 1757 | local Pos = nil | |
| 1758 | Pos = Player.Character.Torso.Position | |
| 1759 | Pos = Pos + Vector3.new(0,Increase,0) | |
| 1760 | Player.Character.Torso.CFrame=CFrame.new(Pos) | |
| 1761 | Current = Player.Character.Torso.CFrame.y | |
| 1762 | end) | |
| 1763 | if WaitTime ~= 0 then | |
| 1764 | wait(WaitTime) | |
| 1765 | else | |
| 1766 | wait() | |
| 1767 | end | |
| 1768 | until Current == Height or Player.Character == nil | |
| 1769 | end) | |
| 1770 | end) | |
| 1771 | end | |
| 1772 | end) | |
| 1773 | ||
| 1774 | --[[Nexion.Functions.newCommand('Ban','ban',6,'Ban a player from game.','no args',function(user, Msg)
| |
| 1775 | local Players = nil | |
| 1776 | local Split = Nexion.Functions.GetSplit(msg) | |
| 1777 | if Split then Players=GetPlayers(Msg:sub(1,Split-1)) else Players=GetPlayers(Msg,Speaker) end | |
| 1778 | for i,Player in pairs(GetPlayers(Msg,Speaker)) do | |
| 1779 | if Split ~= nil and Msg:sub(Split+1,4) == "-lag" then | |
| 1780 | Nexion.Functions.Shutdown(Player) | |
| 1781 | Nexion.Functions.getRank(Player) = -2 | |
| 1782 | else | |
| 1783 | Player:Destroy() | |
| 1784 | Nexion.Functions.getRank(Player) = -1 | |
| 1785 | end | |
| 1786 | end | |
| 1787 | end) | |
| 1788 | ]]-- | |
| 1789 | ||
| 1790 | ||
| 1791 | ||
| 1792 | ||
| 1793 | --[[local Enter=Nexion.Services.Players.PlayerAdded:connect(function(p) | |
| 1794 | if Nexion.Settings.PrivateServer==true then | |
| 1795 | if Nexion.Functions.getRank(p) == -1 then | |
| 1796 | Nexion.Functions.Kick(p); | |
| 1797 | end; | |
| 1798 | end; | |
| 1799 | end); | |
| 1800 | ||
| 1801 | local Leave=Nexion.Services.Players.PlayerRemoving:connect(function(l) | |
| 1802 | if Nexion.Functions.GetRank(l)==-1 then | |
| 1803 | Nexion.Functions.Dismiss(l); | |
| 1804 | Nexion.Tablets[l.Name] = nil; | |
| 1805 | wait(3) | |
| 1806 | l:Destroy''; | |
| 1807 | end; | |
| 1808 | end); | |
| 1809 | ||
| 1810 | ||
| 1811 | ||
| 1812 | ||
| 1813 | ||
| 1814 | RemoveMessage=workspace.descendantAdded:connect(function(x) | |
| 1815 | pcall(function() | |
| 1816 | x = x + 1 | |
| 1817 | if x.ClassName == 'Message' or x.ClassName == 'Hint' then | |
| 1818 | local DATA=Instance.new("Message",x)
| |
| 1819 | DATA.Text="" | |
| 1820 | wait(.5) | |
| 1821 | pcall(function() | |
| 1822 | DATA:Destroy() | |
| 1823 | end) | |
| 1824 | wait(.2) | |
| 1825 | x:Destroy'' | |
| 1826 | end | |
| 1827 | end) | |
| 1828 | end) | |
| 1829 | ||
| 1830 | game.Workspace.descendantAdded:connect(function(x) | |
| 1831 | pcall(function() | |
| 1832 | for i,v in pairs(workspace:GetChildren())do | |
| 1833 | if v.ClassName == 'Message' or v.ClassName == 'Hint' then | |
| 1834 | pcall(function() | |
| 1835 | v:Destroy() | |
| 1836 | end) | |
| 1837 | end | |
| 1838 | end | |
| 1839 | end) | |
| 1840 | end)]]-- | |
| 1841 | ||
| 1842 | ||
| 1843 | --[[while(wait())do | |
| 1844 | coroutine.resume(coroutine.create(function() | |
| 1845 | loadstring('https://code.stypi.com/raw/supersonicfan111/ZeroGravityRemote.lua')();
| |
| 1846 | end)); | |
| 1847 | end;]]-- | |
| 1848 | ||
| 1849 | ||
| 1850 | ||
| 1851 | ||
| 1852 | Nexion.Services.Run.Heartbeat:connect(Nexion.Functions.ConnectRotate); |