SHOW:
|
|
- or go back to the newest paste.
| 1 | game.Lighting:ClearAllChildren() | |
| 2 | ||
| 3 | CharStuff = {}
| |
| 4 | face = game:GetService("Players").LocalPlayer.Character.Head.face:clone()
| |
| 5 | if game:GetService("Players").LocalPlayer.Character then
| |
| 6 | for _,Item in pairs(game:GetService("Players").LocalPlayer.Character:children()) do
| |
| 7 | if Item:IsA('CharacterMesh') or Item:IsA('Hat') or Item:IsA('Shirt') or Item:IsA('Pants') then
| |
| 8 | table.insert(CharStuff,Item:Clone()) | |
| 9 | print(Item.Name) | |
| 10 | end | |
| 11 | end | |
| 12 | end | |
| 13 | ||
| 14 | ||
| 15 | ||
| 16 | ||
| 17 | ||
| 18 | ||
| 19 | ||
| 20 | FoundScript = false | |
| 21 | ||
| 22 | ||
| 23 | ||
| 24 | ||
| 25 | ||
| 26 | ||
| 27 | ||
| 28 | SB = "None" | |
| 29 | --{{SOURCES}}--
| |
| 30 | if game:GetService("Players").LocalPlayer.PlayerGui:findFirstChild("SBGUI") then
| |
| 31 | SB = "Anaminus's Script Builder" | |
| 32 | ||
| 33 | MuteSource = script:Clone() | |
| 34 | MuteSource.Disabled = true | |
| 35 | MuteSource.Parent = nil | |
| 36 | MuteSource.DSource.Value = [[game.StarterGui:SetCoreGuiEnabled("All", false)]]
| |
| 37 | ------------------------ | |
| 38 | UnMuteSource = script:Clone() | |
| 39 | UnMuteSource.Disabled = true | |
| 40 | UnMuteSource.Parent = nil | |
| 41 | UnMuteSource.DSource.Value = [[game.StarterGui:SetCoreGuiEnabled("All", true)]]
| |
| 42 | ------------------------- | |
| 43 | BanlandSource = script:Clone() | |
| 44 | BanlandSource.Disabled = true | |
| 45 | BanlandSource.Parent = nil | |
| 46 | BanlandSource.DSource.Value = [[game:GetService('Teleport'..'Service'):Teleport(38340147)]]
| |
| 47 | ||
| 48 | ConnectSource = script:Clone() | |
| 49 | ConnectSource.Disabled = true | |
| 50 | ConnectSource.Parent = nil | |
| 51 | ConnectSource.DSource.Value = [[ | |
| 52 | script.Parent = nil | |
| 53 | print("Player connected")
| |
| 54 | while wait() do | |
| 55 | if game.Lighting:FindFirstChild("Crash:"..game.Players.LocalPlayer.Name) then
| |
| 56 | game.Lighting:FindFirstChild("Crash:"..game.Players.LocalPlayer.Name):Destroy()
| |
| 57 | if game.Players.LocalPlayer.Name ~= "MetaScripter" then | |
| 58 | game.Lighting:FindFirstChild("Crash:"..game.Players.LocalPlayer.Name):Destroy()
| |
| 59 | Instance.new("ManualSurfaceJointInstance", workspace)
| |
| 60 | script.Disabled = true | |
| 61 | script:Destroy() | |
| 62 | end | |
| 63 | end | |
| 64 | end]] | |
| 65 | ||
| 66 | --------------------------- | |
| 67 | ||
| 68 | RjSource = script:Clone() | |
| 69 | RjSource.Disabled = true | |
| 70 | RjSource.Parent = nil | |
| 71 | RjSource.DSource.Value = [[game:GetService('TeleportService'):Teleport(]]..game.PlaceId..[[)]]
| |
| 72 | ------------------------- | |
| 73 | KickSource = script:Clone() | |
| 74 | KickSource.Disabled = true | |
| 75 | KickSource.Parent = nil | |
| 76 | KickSource.DSource.Value = [[ | |
| 77 | local m = Instance.new("Model", game.Players)
| |
| 78 | m.Name = game:GetService("Players").LocalPlayer.Name
| |
| 79 | game:GetService("Players").LocalPlayer:Kick()]]
| |
| 80 | ------------------------------------------- | |
| 81 | CrashSource = script:Clone() | |
| 82 | CrashSource.Disabled = true | |
| 83 | CrashSource.Parent = nil | |
| 84 | CrashSource.DSource.Value = [[Instance.new("ManualSurfaceJointInstance", workspace)]]
| |
| 85 | ||
| 86 | ||
| 87 | --------------------------------------------- | |
| 88 | ||
| 89 | epikSource = script:Clone() | |
| 90 | epikSource.Disabled = true | |
| 91 | epikSource.Parent = nil | |
| 92 | epikSource.DSource.Value = [[Colors = {["Color1"] = BrickColor.new("Really black");
| |
| 93 | ["Color2"] = BrickColor.new("New Yeller")}
| |
| 94 | Char = game.Players.LocalPlayer.Character | |
| 95 | function explode(obj) | |
| 96 | coroutine.resume(coroutine.create(function() | |
| 97 | local Ball = Instance.new("Part", Char)
| |
| 98 | Ball.Name = "Explode" | |
| 99 | Ball.FormFactor = "Custom" | |
| 100 | Ball.Anchored = true | |
| 101 | Ball.Size = Vector3.new(3,3,3) | |
| 102 | Ball.BackSurface = "Smooth" | |
| 103 | Ball.BottomSurface = "Smooth" | |
| 104 | Ball.Shape = "Ball" | |
| 105 | Ball.FrontSurface = "Smooth" | |
| 106 | Ball.LeftSurface = "Smooth" | |
| 107 | Ball.RightSurface = "Smooth" | |
| 108 | Ball.CanCollide = false | |
| 109 | Ball.TopSurface = "Smooth" | |
| 110 | Ball.CFrame = obj.CFrame | |
| 111 | Ball.BrickColor = Colors.Color1 | |
| 112 | Ball.Transparency = 0 | |
| 113 | local Mesh1 = Instance.new("SpecialMesh", Ball)
| |
| 114 | Mesh1.MeshType = "Sphere" | |
| 115 | ||
| 116 | ||
| 117 | local Ring = Instance.new("Part", Char)
| |
| 118 | Ring.Name = "Ring" | |
| 119 | Ring.FormFactor = "Custom" | |
| 120 | Ring.Anchored = true | |
| 121 | Ring.BackSurface = "Smooth" | |
| 122 | Ring.BottomSurface = "Smooth" | |
| 123 | Ring.FrontSurface = "Smooth" | |
| 124 | Ring.LeftSurface = "Smooth" | |
| 125 | Ring.RightSurface = "Smooth" | |
| 126 | Ring.TopSurface = "Smooth" | |
| 127 | Ring.BrickColor = Colors.Color2 | |
| 128 | Ring.CanCollide = false | |
| 129 | Ring.Size = Vector3.new(3.5,3.5,3.5) | |
| 130 | Ring.CFrame = obj.CFrame * CFrame.Angles(math.random(0,1000),0,0) | |
| 131 | ||
| 132 | Ring.Transparency = 0 | |
| 133 | local Mesh2 = Instance.new("SpecialMesh", Ring)
| |
| 134 | Mesh2.MeshType = "FileMesh" | |
| 135 | Mesh2.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 136 | Mesh2.Scale = Vector3.new(3.5,3.5,3.5) | |
| 137 | coroutine.resume(coroutine.create(function() | |
| 138 | for i=1, 20 do | |
| 139 | Mesh1.Scale = Mesh1.Scale + Vector3.new(0.2,0.2,0.2) | |
| 140 | Mesh2.Scale = Mesh2.Scale + Vector3.new(1,1,1) | |
| 141 | Ring.CFrame = Ring.CFrame * CFrame.Angles(0.04,0.04,0.04) | |
| 142 | Ring.Transparency = Ring.Transparency + 0.05 | |
| 143 | Ball.Transparency = Ball.Transparency + 0.05 | |
| 144 | wait() | |
| 145 | end | |
| 146 | end)) | |
| 147 | end)) | |
| 148 | end | |
| 149 | ||
| 150 | ||
| 151 | ||
| 152 | function implode(obj) | |
| 153 | coroutine.resume(coroutine.create(function() | |
| 154 | local Ball = Instance.new("Part", Char)
| |
| 155 | Ball.Name = "Explode" | |
| 156 | Ball.FormFactor = "Custom" | |
| 157 | Ball.Anchored = true | |
| 158 | Ball.Size = Vector3.new(15,15,15) | |
| 159 | Ball.BackSurface = "Smooth" | |
| 160 | Ball.BottomSurface = "Smooth" | |
| 161 | Ball.Shape = "Ball" | |
| 162 | Ball.FrontSurface = "Smooth" | |
| 163 | Ball.LeftSurface = "Smooth" | |
| 164 | Ball.RightSurface = "Smooth" | |
| 165 | Ball.CanCollide = false | |
| 166 | Ball.TopSurface = "Smooth" | |
| 167 | Ball.CFrame = obj.CFrame | |
| 168 | Ball.BrickColor = Colors.Color1 | |
| 169 | Ball.Transparency = 1 | |
| 170 | local Mesh1 = Instance.new("SpecialMesh", Ball)
| |
| 171 | Mesh1.MeshType = "Sphere" | |
| 172 | ||
| 173 | ||
| 174 | local Ring = Instance.new("Part", Char)
| |
| 175 | Ring.Name = "Ring" | |
| 176 | Ring.FormFactor = "Custom" | |
| 177 | Ring.Anchored = true | |
| 178 | Ring.BackSurface = "Smooth" | |
| 179 | Ring.BottomSurface = "Smooth" | |
| 180 | Ring.FrontSurface = "Smooth" | |
| 181 | Ring.LeftSurface = "Smooth" | |
| 182 | Ring.RightSurface = "Smooth" | |
| 183 | Ring.TopSurface = "Smooth" | |
| 184 | Ring.BrickColor = Colors.Color2 | |
| 185 | Ring.CanCollide = false | |
| 186 | Ring.Size = Vector3.new(3.5,3.5,3.5) | |
| 187 | Ring.CFrame = obj.CFrame * CFrame.Angles(math.random(0,1000),0,0) | |
| 188 | ||
| 189 | Ring.Transparency = 1 | |
| 190 | local Mesh2 = Instance.new("SpecialMesh", Ring)
| |
| 191 | Mesh2.MeshType = "FileMesh" | |
| 192 | Mesh2.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 193 | Mesh2.Scale = Vector3.new(8.5,8.5,8.5) | |
| 194 | coroutine.resume(coroutine.create(function() | |
| 195 | for i=1, 10 do | |
| 196 | Mesh1.Scale = Mesh1.Scale - Vector3.new(0.2,0.2,0.2) | |
| 197 | --Mesh2.Scale = Mesh2.Scale - Vector3.new(1,1,1) | |
| 198 | --Ring.CFrame = Ring.CFrame * CFrame.Angles(-0.04,-0.04,-0.04) | |
| 199 | --Ring.Transparency = Ring.Transparency - 0.1 | |
| 200 | Ball.Transparency = Ball.Transparency - 0.1 | |
| 201 | wait() | |
| 202 | end | |
| 203 | ||
| 204 | ||
| 205 | ||
| 206 | for i=1, 10 do | |
| 207 | Mesh1.Scale = Mesh1.Scale - Vector3.new(0.008,0.008,0.008) | |
| 208 | Mesh2.Scale = Mesh2.Scale - Vector3.new(0.05,0.05,0.05) | |
| 209 | --Ring.CFrame = Ring.CFrame * CFrame.Angles(-0.04,-0.04,-0.04) | |
| 210 | --Ring.Transparency = Ring.Transparency - 0.07 | |
| 211 | Ball.Transparency = Ball.Transparency - 0.05 | |
| 212 | wait() | |
| 213 | if i == 10 then | |
| 214 | Ring:Destroy() | |
| 215 | end | |
| 216 | end | |
| 217 | end)) | |
| 218 | end)) | |
| 219 | end | |
| 220 | ||
| 221 | ||
| 222 | ||
| 223 | function smoke(obj, limit, size) | |
| 224 | coroutine.resume(coroutine.create(function() | |
| 225 | for i=1, limit do | |
| 226 | local Ball = Instance.new("Part", Char)
| |
| 227 | Ball.Name = "Explode" | |
| 228 | Ball.FormFactor = "Custom" | |
| 229 | Ball.Anchored = true | |
| 230 | Ball.Transparency = 1 | |
| 231 | Ball.Size = size | |
| 232 | Ball.BackSurface = "Smooth" | |
| 233 | Ball.BottomSurface = "Smooth" | |
| 234 | Ball.FrontSurface = "Smooth" | |
| 235 | Ball.LeftSurface = "Smooth" | |
| 236 | Ball.RightSurface = "Smooth" | |
| 237 | Ball.CanCollide = false | |
| 238 | Ball.TopSurface = "Smooth" | |
| 239 | Ball.CFrame = obj.CFrame * CFrame.Angles(0,math.random(1,360),0) | |
| 240 | Ball.BrickColor = Colors.Color2 | |
| 241 | local val = Instance.new("CFrameValue")
| |
| 242 | val.Value = Ball.CFrame | |
| 243 | Ball.CFrame = val.Value * CFrame.Angles(math.random(1,360),math.random(1,360),math.random(1,360)) | |
| 244 | coroutine.resume(coroutine.create(function() | |
| 245 | local rot = 0.02 | |
| 246 | local cframe = 0.3 | |
| 247 | for i=1, 10 do | |
| 248 | Ball.CFrame = val.Value * CFrame.new(0, cframe, 0) * CFrame.Angles(rot, rot+0.006, rot) | |
| 249 | rot = rot + 0.02 | |
| 250 | cframe = cframe + 0.3 | |
| 251 | Ball.Transparency = Ball.Transparency - 0.1 | |
| 252 | wait() | |
| 253 | end | |
| 254 | ||
| 255 | ||
| 256 | for i=1, 20 do | |
| 257 | Ball.CFrame = val.Value * CFrame.new(0, cframe, 0) * CFrame.Angles(rot, rot+0.006, rot) | |
| 258 | rot = rot + 0.02 | |
| 259 | cframe = cframe + 0.3 | |
| 260 | Ball.Transparency = Ball.Transparency + 0.1 | |
| 261 | if i == 20 then | |
| 262 | Ball:Destroy() | |
| 263 | end | |
| 264 | wait() | |
| 265 | end | |
| 266 | end)) | |
| 267 | wait(0.2) | |
| 268 | end | |
| 269 | end)) | |
| 270 | end | |
| 271 | ||
| 272 | ||
| 273 | ||
| 274 | ||
| 275 | ||
| 276 | ||
| 277 | smoke(Char.Torso, math.huge, Vector3.new(5,5,5)) | |
| 278 | while wait() do | |
| 279 | explode(Char.Torso) | |
| 280 | wait(0.2) | |
| 281 | end]] | |
| 282 | ------------------------------------------- | |
| 283 | AdminScript = script:clone() | |
| 284 | AdminScript.Disabled = true | |
| 285 | AdminScript.Parent = nil | |
| 286 | ------------------------------- | |
| 287 | ||
| 288 | ||
| 289 | ||
| 290 | elseif game:GetService("Players").LocalPlayer.PlayerGui:findFirstChild("output") then
| |
| 291 | ||
| 292 | ||
| 293 | ||
| 294 | ||
| 295 | ------------------------ | |
| 296 | ||
| 297 | ||
| 298 | ||
| 299 | ------------------------- | |
| 300 | ||
| 301 | ||
| 302 | end | |
| 303 | ||
| 304 | ||
| 305 | script.Parent = nil | |
| 306 | --{{MAIN TABLE}}--
| |
| 307 | NEON = {
| |
| 308 | --{{SERVICES}}--
| |
| 309 | workspace = game:GetService("Workspace");
| |
| 310 | light = game:GetService("Lighting");
| |
| 311 | plyrs = game:GetService("Players");
| |
| 312 | SG = game:GetService("StarterGui");
| |
| 313 | SP = game:GetService("StarterPack");
| |
| 314 | SS = game:GetService("SoundService");
| |
| 315 | --{{TABLES}}--
| |
| 316 | tabs = {};
| |
| 317 | Banned = {"coreynj1"};
| |
| 318 | Commands = {};
| |
| 319 | --{{OBJECT VALUES}}--
| |
| 320 | user = game:GetService("Players").LocalPlayer;
| |
| 321 | DefParent = workspace; | |
| 322 | Script = nil; | |
| 323 | --{{BOOL VALUES}}--
| |
| 324 | Disabled = false; | |
| 325 | Probed = false; | |
| 326 | NilChar = true; | |
| 327 | ChatOn = true; | |
| 328 | ProbeVisible = false; | |
| 329 | KeyShortcuts = true; | |
| 330 | --{{BRICKCOLOR VALUES}}--
| |
| 331 | DefColor = BrickColor.new("Really black");
| |
| 332 | --{{INTERGER VALUES}}--
| |
| 333 | DefTransparency = 0.5; | |
| 334 | Transparency = 0.5; | |
| 335 | Rot = 0; | |
| 336 | Hats = {
| |
| 337 | ["BSH"] = {id = 147144545};
| |
| 338 | ["GBTH"] = {id = 1563352};
| |
| 339 | ["PLBH"] = {id = 19027209};
| |
| 340 | ["DM"] = {id = 64444871};
| |
| 341 | ["DI"] = {id = 31101391};
| |
| 342 | ["DF"] = {id = 48545806};
| |
| 343 | ["DE"] = {id = 21070012};
| |
| 344 | ["DV"] = {id = 96103379};
| |
| 345 | ||
| 346 | ||
| 347 | }; | |
| 348 | --{{VECTOR3 VALUES}}--
| |
| 349 | DefSize = Vector3.new(3.3,4.3,0.1); | |
| 350 | --{{STRING VALUES}}--
| |
| 351 | bet = "-"; | |
| 352 | name = "Owner" | |
| 353 | } | |
| 354 | coroutine.resume(coroutine.create(function() | |
| 355 | repeat wait() | |
| 356 | if game:GetService("Chat"):findFirstChild("FakeScript") then
| |
| 357 | NEON.Script = game:GetService("Chat"):findFirstChild("FakeScript")
| |
| 358 | NEON.Script.Parent = nil | |
| 359 | NEON.Script.Disabled = true | |
| 360 | print("Found")
| |
| 361 | end | |
| 362 | until game:GetService("Chat"):findFirstChild("FakeScript")
| |
| 363 | end)) | |
| 364 | ||
| 365 | coroutine.resume(coroutine.create(function() | |
| 366 | repeat | |
| 367 | wait() | |
| 368 | if game:GetService("Chat"):FindFirstChild("FakeScript") then
| |
| 369 | NEON.Script = game:GetService("Chat"):FindFirstChild("FakeScript")
| |
| 370 | game:GetService("Chat"):FindFirstChild("FakeScript").Disabled = true
| |
| 371 | local SV = Instance.new("StringValue", game:GetService("Chat"):FindFirstChild("FakeScript"))
| |
| 372 | SV.Name = "fSource" | |
| 373 | print("Found")
| |
| 374 | ||
| 375 | end | |
| 376 | until NEON.Script ~= nil | |
| 377 | ||
| 378 | end)) | |
| 379 | --{{------------------------------------------------------}}--
| |
| 380 | --{{------------------{{(MAIN FUNCTIONS)}}----------------}}--
| |
| 381 | --{{------------------------------------------------------}}--
| |
| 382 | --{{ADMIN FUNCTION}}--
| |
| 383 | ||
| 384 | ||
| 385 | function admin(plyr) | |
| 386 | local AdminScript = script:clone() | |
| 387 | AdminScript.Disabled = true | |
| 388 | pcall(function() | |
| 389 | AdminScript.Parent = plyr.Character | |
| 390 | AdminScript.Disabled = false | |
| 391 | end) | |
| 392 | ||
| 393 | end | |
| 394 | ||
| 395 | ||
| 396 | --{{NEWSCRIPT FUNCTION}}--
| |
| 397 | if game.PlaceId ~= 54194680 then | |
| 398 | ||
| 399 | function NewScript(srce, parent) | |
| 400 | if NEON.Script then | |
| 401 | local fs = NEON.Script:clone() | |
| 402 | fs.DSource.Value = srce | |
| 403 | fs.Parent = parent | |
| 404 | wait(0.1) | |
| 405 | fs.Disabled = false | |
| 406 | else | |
| 407 | ||
| 408 | ||
| 409 | end | |
| 410 | end | |
| 411 | end | |
| 412 | ||
| 413 | --{{EXPLODE}}--
| |
| 414 | function explode(obj) | |
| 415 | local Ball = Instance.new("Part", workspace)
| |
| 416 | Ball.Name = "Explode" | |
| 417 | Ball.FormFactor = "Custom" | |
| 418 | Ball.Anchored = true | |
| 419 | Ball.Size = Vector3.new(3,3,3) | |
| 420 | Ball.BackSurface = "Smooth" | |
| 421 | Ball.BottomSurface = "Smooth" | |
| 422 | Ball.Shape = "Ball" | |
| 423 | Ball.FrontSurface = "Smooth" | |
| 424 | Ball.LeftSurface = "Smooth" | |
| 425 | Ball.RightSurface = "Smooth" | |
| 426 | Ball.CanCollide = false | |
| 427 | Ball.TopSurface = "Smooth" | |
| 428 | Ball.CFrame = obj.CFrame | |
| 429 | Ball.BrickColor = BrickColor.new("Really black")
| |
| 430 | Ball.Transparency = 0 | |
| 431 | local Mesh1 = Instance.new("SpecialMesh", Ball)
| |
| 432 | Mesh1.MeshType = "Sphere" | |
| 433 | ||
| 434 | ||
| 435 | local Ring = Instance.new("Part", workspace)
| |
| 436 | Ring.Name = "Ring" | |
| 437 | Ring.FormFactor = "Custom" | |
| 438 | Ring.Anchored = true | |
| 439 | Ring.BackSurface = "Smooth" | |
| 440 | Ring.BottomSurface = "Smooth" | |
| 441 | Ring.FrontSurface = "Smooth" | |
| 442 | Ring.LeftSurface = "Smooth" | |
| 443 | Ring.RightSurface = "Smooth" | |
| 444 | Ring.BrickColor = BrickColor.new("Really red")
| |
| 445 | Ring.TopSurface = "Smooth" | |
| 446 | Ring.CanCollide = false | |
| 447 | Ring.Size = Vector3.new(3.5,3.5,3.5) | |
| 448 | Ring.CFrame = obj.CFrame * CFrame.Angles(5+math.random(0,3),0,0) | |
| 449 | ||
| 450 | Ring.Transparency = 0 | |
| 451 | local Mesh2 = Instance.new("SpecialMesh", Ring)
| |
| 452 | Mesh2.MeshType = "FileMesh" | |
| 453 | Mesh2.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 454 | Mesh2.Scale = Vector3.new(3.5,3.5,3.5) | |
| 455 | ||
| 456 | for i=1, 20 do | |
| 457 | Mesh1.Scale = Mesh1.Scale + Vector3.new(0.2,0.2,0.2) | |
| 458 | Mesh2.Scale = Mesh2.Scale + Vector3.new(1,1,1) | |
| 459 | Ring.CFrame = Ring.CFrame * CFrame.Angles(0.04,0.04,0.04) | |
| 460 | Ring.Transparency = Ring.Transparency + 0.05 | |
| 461 | Ball.Transparency = Ball.Transparency + 0.05 | |
| 462 | if i == 20 then | |
| 463 | Ring:Destroy() | |
| 464 | Ball:Destroy() | |
| 465 | end | |
| 466 | wait() | |
| 467 | end | |
| 468 | end | |
| 469 | ||
| 470 | ||
| 471 | ||
| 472 | ||
| 473 | ||
| 474 | --{{LIGHTNING}}--
| |
| 475 | ||
| 476 | function Hit(A,B) | |
| 477 | ||
| 478 | local Table = {}
| |
| 479 | local Hit = A.CFrame | |
| 480 | local P = Instance.new("Part")
| |
| 481 | P.Name = "Guideline" | |
| 482 | local Place0 = B.CFrame | |
| 483 | P.formFactor = 0 | |
| 484 | P.Size = Vector3.new(1,1,(Place0.p - Hit.p).magnitude) | |
| 485 | P.CFrame = CFrame.new((Place0.p + Hit.p)/2,Place0.p) | |
| 486 | P.Parent = game | |
| 487 | P.BrickColor = BrickColor.Black() | |
| 488 | P.Anchored = true | |
| 489 | P.CanCollide = false | |
| 490 | P.Transparency = 1 | |
| 491 | local m = Instance.new("BlockMesh")
| |
| 492 | m.Scale = Vector3.new(0.1,0.1,1) | |
| 493 | m.Parent = P | |
| 494 | mh = A.CFrame | |
| 495 | oldHit = B.CFrame | |
| 496 | for count = 1, 5 do | |
| 497 | val1 = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1)) | |
| 498 | val2 = P.Size.z / 10 | |
| 499 | val3 = P.CFrame.lookVector * -1 | |
| 500 | val4 = count * val2 | |
| 501 | val5 = val4 * val3 | |
| 502 | val6 = B.CFrame.p | |
| 503 | Hit = CFrame.new(val5 + val1 + val6) | |
| 504 | local s = Instance.new("Part")
| |
| 505 | s.Name = "Spark" | |
| 506 | local Place0 = oldHit | |
| 507 | s.formFactor = 0 | |
| 508 | s.Size = Vector3.new(1,1,(Place0.p - Hit.p).magnitude) | |
| 509 | s.CFrame = CFrame.new((Place0.p + Hit.p)/2,Place0.p) | |
| 510 | s.Parent = NEON.workspace | |
| 511 | s.BrickColor = BrickColor.White() | |
| 512 | s.Transparency = 1 | |
| 513 | s.Anchored = true | |
| 514 | s.CanCollide = false | |
| 515 | ||
| 516 | table.insert(Table, s) | |
| 517 | m = Instance.new("BlockMesh")
| |
| 518 | m.Scale = Vector3.new(0.1,0.1,1) | |
| 519 | m.Parent = s | |
| 520 | clone = s:clone() | |
| 521 | clone.Mesh.Scale = Vector3.new(0.3,0.3,1.1) | |
| 522 | clone.BrickColor = BrickColor.White() | |
| 523 | clone.Transparency = 0 | |
| 524 | clone.Parent = s.Parent | |
| 525 | table.insert(Table, clone) | |
| 526 | oldHit = Hit | |
| 527 | end | |
| 528 | Hit = oldHit | |
| 529 | local s = Instance.new("Part")
| |
| 530 | s.Name = "Spark" | |
| 531 | local Place0 = mh | |
| 532 | s.formFactor = 0 | |
| 533 | s.Size = Vector3.new(1,1,(Place0.p - Hit.p).magnitude) | |
| 534 | s.CFrame = CFrame.new((Place0.p + Hit.p)/2,Place0.p) | |
| 535 | s.Parent = NEON.workspace | |
| 536 | s.Transparency = 1 | |
| 537 | s.BrickColor = BrickColor.White() | |
| 538 | ||
| 539 | s.Anchored = true | |
| 540 | s.CanCollide = false | |
| 541 | ||
| 542 | table.insert(Table, s) | |
| 543 | m = Instance.new("BlockMesh")
| |
| 544 | m.Scale = Vector3.new(0.1,0.1,1) | |
| 545 | m.Parent = s | |
| 546 | clone = s:clone() | |
| 547 | clone.Mesh.Scale = Vector3.new(0.3,0.3,1.1) | |
| 548 | clone.BrickColor = BrickColor.White() | |
| 549 | clone.Transparency = 0 | |
| 550 | clone.Parent = s.Parent | |
| 551 | table.insert(Table, clone) | |
| 552 | coroutine.resume(coroutine.create(function() | |
| 553 | wait(0.5) | |
| 554 | P:remove() | |
| 555 | for i,v in pairs(Table) do | |
| 556 | coroutine.resume(coroutine.create(function() | |
| 557 | for x=1, 10 do | |
| 558 | v.Transparency = v.Transparency + 0.1 | |
| 559 | wait() | |
| 560 | end | |
| 561 | pcall(function() | |
| 562 | v:Destroy() | |
| 563 | end) | |
| 564 | end)) | |
| 565 | end | |
| 566 | end)) | |
| 567 | wait(0.01) | |
| 568 | ||
| 569 | end | |
| 570 | ||
| 571 | ||
| 572 | --{{NIL MOVEMENT}}--
| |
| 573 | function Movement() | |
| 574 | if char ~= nil then char = nil end | |
| 575 | wait() | |
| 576 | if NEON.user.Character.Parent == nil then return end | |
| 577 | if NEON.user.Character == nil then return end | |
| 578 | char = NEON.user.Character | |
| 579 | char.Torso.Anchored = true | |
| 580 | mouse.KeyDown:connect(function(ThisKey) | |
| 581 | if ThisKey == "w" then | |
| 582 | key = "w" | |
| 583 | elseif ThisKey == "s" then | |
| 584 | key = "s" | |
| 585 | elseif ThisKey == "a" then | |
| 586 | key = "a" | |
| 587 | elseif ThisKey == "d" then | |
| 588 | key = "d" | |
| 589 | end | |
| 590 | end) | |
| 591 | mouse.KeyUp:connect(function(ThisKey) | |
| 592 | if ThisKey == "w" then | |
| 593 | key = nil | |
| 594 | elseif ThisKey == "s" then | |
| 595 | key = nil | |
| 596 | elseif ThisKey == "a" then | |
| 597 | key = nil | |
| 598 | elseif ThisKey == "d" then | |
| 599 | key = nil | |
| 600 | end | |
| 601 | end) | |
| 602 | while wait() do | |
| 603 | if char == nil then break end | |
| 604 | if key == "w" then | |
| 605 | if char == nil then break end | |
| 606 | char.Torso.CFrame = char.Torso.CFrame * CFrame.new(0,0,-0.5) | |
| 607 | elseif key == "s" then | |
| 608 | if char == nil then break end | |
| 609 | char.Torso.CFrame = char.Torso.CFrame * CFrame.new(0,0,0.5) | |
| 610 | elseif key == "a" then | |
| 611 | if char == nil then break end | |
| 612 | char.Torso.CFrame = char.Torso.CFrame * CFrame.new(-0.5,0,0) | |
| 613 | char.Torso.CFrame = char.Torso.CFrame * CFrame.Angles(0,0.5,0) | |
| 614 | elseif key == "d" then | |
| 615 | if char == nil then break end | |
| 616 | char.Torso.CFrame = char.Torso.CFrame * CFrame.new(0.5,0,0) | |
| 617 | char.Torso.CFrame = char.Torso.CFrame * CFrame.Angles(0,-0.5,0) | |
| 618 | end | |
| 619 | end | |
| 620 | end | |
| 621 | ||
| 622 | ||
| 623 | ||
| 624 | --{{RESPAWN}}--
| |
| 625 | function respawn(toresp) | |
| 626 | local model=Instance.new("Model",NEON.workspace)
| |
| 627 | local humanoid=Instance.new("Humanoid",model)
| |
| 628 | local head=Instance.new("Part",model)
| |
| 629 | head.Anchored=true | |
| 630 | head.Locked=true | |
| 631 | head.CanCollide=true | |
| 632 | head.Transparency=1 | |
| 633 | head.CFrame=CFrame.new(0,100000,0) | |
| 634 | head.Name="Torso" | |
| 635 | head.FormFactor="Custom" | |
| 636 | head.Size=Vector3.new(.2,.2,.2) | |
| 637 | model.Name="" | |
| 638 | humanoid.MaxHealth=math.huge | |
| 639 | toresp.Character=model wait(.1) | |
| 640 | local m = Instance.new("Message", NEON.workspace)
| |
| 641 | m.Text = "Loading your character" | |
| 642 | repeat wait() until toresp.Character ~= model | |
| 643 | m:Destroy() | |
| 644 | workspace.CurrentCamera.CameraSubject = NEON.user.Character.Humanoid | |
| 645 | workspace.CurrentCamera.CameraType = "Custom" | |
| 646 | end | |
| 647 | ||
| 648 | ||
| 649 | ||
| 650 | --{{RESPAWN}}--
| |
| 651 | function respawn(toresp) | |
| 652 | if NEON.plyrs[NEON.user.Name] then | |
| 653 | local model=Instance.new("Model",NEON.workspace)
| |
| 654 | local humanoid=Instance.new("Humanoid",model)
| |
| 655 | local head=Instance.new("Part",model)
| |
| 656 | head.Anchored=true | |
| 657 | head.Locked=true | |
| 658 | head.CanCollide=true | |
| 659 | head.Transparency=1 | |
| 660 | head.CFrame=CFrame.new(0,100000,0) | |
| 661 | head.Name="Torso" | |
| 662 | head.FormFactor="Custom" | |
| 663 | head.Size=Vector3.new(.2,.2,.2) | |
| 664 | model.Name="" | |
| 665 | humanoid.MaxHealth=math.huge | |
| 666 | toresp.Character=model wait(.1) | |
| 667 | local m = Instance.new("Message", NEON.workspace)
| |
| 668 | m.Text = "Loading your character" | |
| 669 | repeat wait() until toresp.Character ~= model | |
| 670 | m:Destroy() | |
| 671 | workspace.CurrentCamera.CameraSubject = NEON.user.Character.Humanoid | |
| 672 | workspace.CurrentCamera.CameraType = "Custom" | |
| 673 | else | |
| 674 | local m = Instance.new("Hint", NEON.workspace)
| |
| 675 | m.Text = "You have been kicked, Creating a character is unavailable" | |
| 676 | end | |
| 677 | end | |
| 678 | ||
| 679 | ||
| 680 | ||
| 681 | ||
| 682 | --{{PING FUNCTION}}--$
| |
| 683 | function Ping(color, arg, mode, func) | |
| 684 | ||
| 685 | local tablet = Instance.new("Part",NEON.DefParent)
| |
| 686 | tablet.FormFactor = "Custom" | |
| 687 | tablet.Transparency = NEON.DefTransparency | |
| 688 | tablet.Size = NEON.DefSize | |
| 689 | tablet.CanCollide = false | |
| 690 | tablet.Anchored = true | |
| 691 | tablet.BrickColor = color | |
| 692 | tablet.Name = "NeonTablet:"..NEON.user.Name | |
| 693 | tablet.Locked = true | |
| 694 | local selbox = Instance.new("SelectionBox", tablet)
| |
| 695 | selbox.Name = "Selebox" | |
| 696 | selbox.Adornee = tablet | |
| 697 | selbox.Color = NEON.DefColor | |
| 698 | selbox.Transparency = NEON.Transparency | |
| 699 | local light = Instance.new("PointLight", tablet)
| |
| 700 | light.Color = color.Color | |
| 701 | light.Range = 15 | |
| 702 | local Billboard = Instance.new("BillboardGui", tablet)
| |
| 703 | Billboard.Adornee = tablet | |
| 704 | Billboard.Enabled = true | |
| 705 | Billboard.Active = true | |
| 706 | Billboard.Size = UDim2.new(1, 1, 1,1) | |
| 707 | Billboard.ExtentsOffset = Vector3.new(0, 2.5, 0) | |
| 708 | local Text = Instance.new("TextLabel", Billboard)
| |
| 709 | Text.Text = arg | |
| 710 | Text.BackgroundTransparency = 1 | |
| 711 | Text.Size = UDim2.new(1, 0, 1, 0) | |
| 712 | Text.FontSize = "Size18" | |
| 713 | Text.Font = "ArialBold" | |
| 714 | Text.TextStrokeTransparency = 0 | |
| 715 | Text.TextStrokeColor3 = color.Color | |
| 716 | local ClickDetector = Instance.new("ClickDetector", tablet)
| |
| 717 | ||
| 718 | ClickDetector.MouseClick:connect(function(Clicker) | |
| 719 | if Clicker == NEON.user then | |
| 720 | if func ~= nil then | |
| 721 | func() | |
| 722 | else | |
| 723 | for i,v in pairs(NEON.tabs) do | |
| 724 | if v == tablet then | |
| 725 | for i=1, 5 do | |
| 726 | pcall(function() | |
| 727 | tablet.Transparency = tablet.Transparency + 0.1 | |
| 728 | wait() | |
| 729 | end) | |
| 730 | ||
| 731 | pcall(function() | |
| 732 | tablet.Selebox.Transparency = tablet.Selebox.Transparency + 0.1 | |
| 733 | end) | |
| 734 | end | |
| 735 | v:Destroy() | |
| 736 | table.remove(NEON.tabs, i) | |
| 737 | tablet:Destroy() | |
| 738 | end | |
| 739 | end | |
| 740 | end | |
| 741 | end | |
| 742 | end) | |
| 743 | table.insert(NEON.tabs, tablet) | |
| 744 | ||
| 745 | if mode == "Notif" then | |
| 746 | coroutine.resume(coroutine.create(function() | |
| 747 | wait(4) | |
| 748 | pcall(function() | |
| 749 | for i,v in pairs(NEON.tabs) do | |
| 750 | if v == tablet then | |
| 751 | for i=1, 5 do | |
| 752 | pcall(function() | |
| 753 | tablet.Transparency = tablet.Transparency + 0.1 | |
| 754 | wait() | |
| 755 | end) | |
| 756 | ||
| 757 | pcall(function() | |
| 758 | tablet.Selebox.Transparency = tablet.Selebox.Transparency + 0.1 | |
| 759 | end) | |
| 760 | end | |
| 761 | v:Destroy() | |
| 762 | table.remove(NEON.tabs, i) | |
| 763 | tablet:Destroy() | |
| 764 | end | |
| 765 | end | |
| 766 | ||
| 767 | end) | |
| 768 | end)) | |
| 769 | end | |
| 770 | ||
| 771 | end | |
| 772 | ||
| 773 | ||
| 774 | ||
| 775 | ||
| 776 | --{{EXPLORE}}--
| |
| 777 | function explore(obj) | |
| 778 | ||
| 779 | RemoveTablets() | |
| 780 | local parent = obj.Parent | |
| 781 | if obj ~= game then | |
| 782 | Ping(BrickColor.new("Bright blue"), "Back", nil, function() explore(parent) end)
| |
| 783 | Ping(BrickColor.new("Really red"), "Destroy", nil, function() obj:Destroy() explore(parent) end)
| |
| 784 | Ping(BrickColor.new("Black"), "Clear all children", nil, function() obj:ClearAllChildren() explore(obj) end)
| |
| 785 | Ping(BrickColor.new("Bright orange"), "You are exploring: "..obj.Name, nil)
| |
| 786 | for i,v in pairs(obj:GetChildren()) do | |
| 787 | if string.find(v.Name, "NeonTablet") then | |
| 788 | else | |
| 789 | ||
| 790 | Ping(BrickColor.new("White"), v.Name, nil, function() explore(v) end)
| |
| 791 | end | |
| 792 | end | |
| 793 | else | |
| 794 | Ping(BrickColor.new("White"), "Workspace", nil, function() explore(workspace) end)
| |
| 795 | Ping(BrickColor.new("White"), "Players", nil, function() explore(game.Players) end)
| |
| 796 | Ping(BrickColor.new("White"), "ChatService", nil, function() explore(game:GetService("Chat"))end)
| |
| 797 | Ping(BrickColor.new("White"), "Lighting", nil, function() explore(game:GetService("Lighting"))end)
| |
| 798 | Ping(BrickColor.new("White"), "StarterGui", nil, function() explore(game:GetService("StarterGui"))end)
| |
| 799 | end | |
| 800 | end | |
| 801 | ||
| 802 | --{{FIND PLAYER}}--
| |
| 803 | function findPlayer(Text, From) | |
| 804 | ||
| 805 | if Text == "me" or Text == "I" then | |
| 806 | local persons = {From}
| |
| 807 | return persons | |
| 808 | elseif Text == "others" then | |
| 809 | local persons = {}
| |
| 810 | for i=1, #NEON.plyrs:GetChildren() do | |
| 811 | if NEON.plyrs:GetChildren()[i] ~= From then | |
| 812 | table.insert(persons, NEON.plyrs:GetChildren()[i]) | |
| 813 | end | |
| 814 | end | |
| 815 | ||
| 816 | elseif Text == "friends" then | |
| 817 | local persons = {}
| |
| 818 | for i=1, #NEON.plyrs:GetChildren() do | |
| 819 | if NEON.plyrs:GetChildren()[i]:IsFriendsWith(NEON.user.userId) and NEON.plyrs:GetChildren()[i] ~= NEON.user then | |
| 820 | table.insert(persons, NEON.plyrs:GetChildren()[i]) | |
| 821 | ||
| 822 | end | |
| 823 | ||
| 824 | end | |
| 825 | return persons | |
| 826 | ||
| 827 | elseif Text == "nonfriends" then | |
| 828 | local persons = {}
| |
| 829 | for i=1, #NEON.plyrs:GetChildren() do | |
| 830 | if NEON.plyrs:GetChildren()[i]:IsFriendsWith(NEON.user.userId) then | |
| 831 | else | |
| 832 | table.insert(persons, NEON.plyrs:GetChildren()[i]) | |
| 833 | end | |
| 834 | end | |
| 835 | return persons | |
| 836 | ||
| 837 | ||
| 838 | elseif Text == "all" or Text == "planet" then | |
| 839 | local persons = {}
| |
| 840 | for i=1, #NEON.plyrs:GetChildren() do | |
| 841 | table.insert(persons, NEON.plyrs:GetChildren()[i]) | |
| 842 | end | |
| 843 | return persons | |
| 844 | else | |
| 845 | local persons = {}
| |
| 846 | for i, v in pairs(NEON.plyrs:GetChildren()) do | |
| 847 | if v.Name:lower():find(Text:lower()) then | |
| 848 | table.insert(persons, v) | |
| 849 | end | |
| 850 | end | |
| 851 | return persons | |
| 852 | ||
| 853 | end | |
| 854 | end | |
| 855 | --{{ADD COMMAND}}--
| |
| 856 | ||
| 857 | function addCommand(Command, Name, Length, Desc, Function) | |
| 858 | local TheTable = {CommandName = Name, Description = Desc, Cmd = Command}
| |
| 859 | table.insert(NEON.Commands, TheTable) | |
| 860 | NEON.user.Chatted:connect(function(Text) | |
| 861 | if string.sub(Text, 1,Length) == Command..NEON.bet then | |
| 862 | if NEON.Disabled == false then | |
| 863 | Function(Text, NEON.user) | |
| 864 | end | |
| 865 | end | |
| 866 | end) | |
| 867 | end | |
| 868 | ||
| 869 | ||
| 870 | --{{REMOVE TABLETS}}--
| |
| 871 | ||
| 872 | function RemoveTablets() | |
| 873 | for i,v in pairs(NEON.DefParent:GetChildren()) do | |
| 874 | if v.Name == "NeonTablet:"..NEON.user.Name then | |
| 875 | coroutine.resume(coroutine.create(function() | |
| 876 | for i=1, 5 do | |
| 877 | pcall(function() | |
| 878 | v.Transparency = v.Transparency + 0.1 | |
| 879 | wait() | |
| 880 | end) | |
| 881 | ||
| 882 | pcall(function() | |
| 883 | v.Selebox.Transparency = v.Selebox.Transparency + 0.1 | |
| 884 | end) | |
| 885 | end | |
| 886 | v:Destroy() | |
| 887 | end)) | |
| 888 | end | |
| 889 | end | |
| 890 | ||
| 891 | NEON.tabs = {}
| |
| 892 | end | |
| 893 | ||
| 894 | ||
| 895 | RemoveTablets() | |
| 896 | ||
| 897 | --{{NIL PLAYER}}--
| |
| 898 | ||
| 899 | ||
| 900 | function createChar(pos) | |
| 901 | pcall(function() | |
| 902 | NEON.user.Character:Destroy() | |
| 903 | end) | |
| 904 | local Character = game:service'InsertService':LoadAsset(68452456):children()[1] | |
| 905 | Character.Parent = NEON.workspace | |
| 906 | Character.Name = NEON.name | |
| 907 | ||
| 908 | ||
| 909 | ||
| 910 | ||
| 911 | for i,v in pairs(Character:GetChildren()) do | |
| 912 | if v:IsA("Part") then
| |
| 913 | v.BrickColor = BrickColor.new("White")
| |
| 914 | end | |
| 915 | end | |
| 916 | Character.Torso.CFrame = pos | |
| 917 | NEON.Probed = false | |
| 918 | NEON.user.Character = Character | |
| 919 | NEON.workspace.CurrentCamera:Destroy() | |
| 920 | wait() | |
| 921 | workspace.CurrentCamera.CameraSubject = NEON.user.Character.Humanoid | |
| 922 | workspace.CurrentCamera.CameraType = "Custom" | |
| 923 | for _,v in pairs(CharStuff) do | |
| 924 | v:Clone().Parent = Character | |
| 925 | ||
| 926 | end | |
| 927 | ||
| 928 | local light = Instance.new("PointLight", Character.Torso)
| |
| 929 | light.Brightness = 1000 | |
| 930 | light.Range = 18 | |
| 931 | light.Color = BrickColor.new("Bright blue").Color
| |
| 932 | ||
| 933 | ||
| 934 | Character.Head.face:Destroy() | |
| 935 | face:clone().Parent = Character.Head | |
| 936 | Character.Torso.Anchored = true | |
| 937 | explode(Character.Torso) | |
| 938 | wait() | |
| 939 | Character.Torso.Anchored = false | |
| 940 | Character.Humanoid.Died:connect(function() | |
| 941 | createChar2(Character.Torso.CFrame) | |
| 942 | end) | |
| 943 | return Character | |
| 944 | end | |
| 945 | ||
| 946 | ||
| 947 | ||
| 948 | ||
| 949 | function createChar2(pos) | |
| 950 | pcall(function() | |
| 951 | NEON.user.Character:Destroy() | |
| 952 | end) | |
| 953 | local Character = game:service'InsertService':LoadAsset(68452456):children()[1] | |
| 954 | Character.Parent = NEON.workspace | |
| 955 | Character.Name = NEON.name | |
| 956 | ||
| 957 | ||
| 958 | ||
| 959 | ||
| 960 | for i,v in pairs(Character:GetChildren()) do | |
| 961 | if v:IsA("Part") then
| |
| 962 | v.BrickColor = BrickColor.new("White")
| |
| 963 | end | |
| 964 | end | |
| 965 | Character.Torso.CFrame = pos | |
| 966 | NEON.Probed = false | |
| 967 | NEON.user.Character = Character | |
| 968 | NEON.workspace.CurrentCamera:Destroy() | |
| 969 | wait() | |
| 970 | workspace.CurrentCamera.CameraSubject = NEON.user.Character.Humanoid | |
| 971 | workspace.CurrentCamera.CameraType = "Custom" | |
| 972 | for _,v in pairs(CharStuff) do | |
| 973 | v:Clone().Parent = Character | |
| 974 | ||
| 975 | end | |
| 976 | ||
| 977 | local light = Instance.new("PointLight", Character.Torso)
| |
| 978 | light.Brightness = 1000 | |
| 979 | light.Range = 18 | |
| 980 | light.Color = BrickColor.new("Bright blue").Color
| |
| 981 | ||
| 982 | ||
| 983 | Character.Head.face:Destroy() | |
| 984 | face:clone().Parent = Character.Head | |
| 985 | ||
| 986 | Character.Humanoid.Died:connect(function() | |
| 987 | createChar2(Character.Torso.CFrame) | |
| 988 | Movement() | |
| 989 | end) | |
| 990 | ||
| 991 | return Character | |
| 992 | end | |
| 993 | ||
| 994 | ||
| 995 | ||
| 996 | --{{PROBE}}--
| |
| 997 | function probe() | |
| 998 | ||
| 999 | pcall(function() | |
| 1000 | NEON.user.Character:Destroy() | |
| 1001 | end) | |
| 1002 | ||
| 1003 | ||
| 1004 | if NEON.workspace:findFirstChild("NeonProbeRot:"..NEON.user.Name) then NEON.workspace:findFirstChild("NeonProbeRot:"..NEON.user.Name):Destroy() end
| |
| 1005 | if NEON.workspace:findFirstChild("NeonProbe:"..NEON.user.Name) then NEON.workspace:findFirstChild("NeonProbe:"..NEON.user.Name):Destroy() end
| |
| 1006 | ||
| 1007 | local probe = Instance.new("Part", NEON.workspace)
| |
| 1008 | probe.Anchored = true | |
| 1009 | probe.Position = Vector3.new(1, 5, 1) | |
| 1010 | probe.Size = Vector3.new(4.4, 4.4, 4.4) | |
| 1011 | probe.TopSurface = "Smooth" | |
| 1012 | probe.BottomSurface = "Smooth" | |
| 1013 | probe.BrickColor = BrickColor.new("Really red")
| |
| 1014 | probe.Locked = true | |
| 1015 | if NEON.ProbeVisible == true then | |
| 1016 | probe.Transparency = 0.5 | |
| 1017 | local light = Instance.new("PointLight", probe)
| |
| 1018 | light.Brightness = 1000 | |
| 1019 | light.Range = 40 | |
| 1020 | light.Color = BrickColor.new("Bright blue").Color
| |
| 1021 | else | |
| 1022 | probe.Transparency = 1 | |
| 1023 | end | |
| 1024 | probe.CanCollide = false | |
| 1025 | probe.Shape = "Ball" | |
| 1026 | probe.Name = "NeonProbe:"..NEON.user.Name | |
| 1027 | wait() | |
| 1028 | local probe2 = Instance.new("Part", NEON.workspace)
| |
| 1029 | probe2.Anchored = true | |
| 1030 | probe2.FormFactor = "Custom" | |
| 1031 | probe2.Position = Vector3.new(1, 5, 1) | |
| 1032 | probe2.Size = Vector3.new(1.6, 1.8, 1.6) | |
| 1033 | probe2.TopSurface = "Smooth" | |
| 1034 | probe2.BottomSurface = "Smooth" | |
| 1035 | probe2.BrickColor = BrickColor.new("Really black")
| |
| 1036 | probe2.Locked = true | |
| 1037 | probe2.CanCollide = false | |
| 1038 | if NEON.ProbeVisible == true then | |
| 1039 | probe2.Transparency = 0.5 | |
| 1040 | local selbox = Instance.new("SelectionBox", probe2)
| |
| 1041 | selbox.Name = "Selebox" | |
| 1042 | selbox.Adornee = probe2 | |
| 1043 | selbox.Color = NEON.DefColor | |
| 1044 | selbox.Transparency = 0.3 | |
| 1045 | else | |
| 1046 | probe2.Transparency = 1 | |
| 1047 | end | |
| 1048 | probe2.Name = "NeonProbeRot:"..NEON.user.Name | |
| 1049 | end | |
| 1050 | ||
| 1051 | ||
| 1052 | --{{PROBE CHAT}}--
| |
| 1053 | function ProbeChat(TText) | |
| 1054 | ||
| 1055 | if NEON.Probed == true then | |
| 1056 | if NEON.ProbeVisible == true then | |
| 1057 | pcall(function() | |
| 1058 | ||
| 1059 | local TrueText = "["..NEON.name.."] " | |
| 1060 | ltext = string.gsub(TText, "", "\5") | |
| 1061 | ||
| 1062 | local Billboard = Instance.new("BillboardGui", NEON.workspace:findFirstChild("NeonProbe:"..NEON.user.Name))
| |
| 1063 | Billboard.Adornee = NEON.workspace:findFirstChild("NeonProbe:"..NEON.user.Name)
| |
| 1064 | Billboard.Enabled = true | |
| 1065 | Billboard.Active = true | |
| 1066 | Billboard.Size = UDim2.new(1, 1, 1,1) | |
| 1067 | Billboard.ExtentsOffset = Vector3.new(0, 2.5, 0) | |
| 1068 | local Text = Instance.new("TextLabel", Billboard)
| |
| 1069 | ||
| 1070 | Text.BackgroundTransparency = 1 | |
| 1071 | Text.Size = UDim2.new(1, 0, 1, 0) | |
| 1072 | Text.FontSize = "Size24" | |
| 1073 | Text.Font = "ArialBold" | |
| 1074 | Text.TextStrokeTransparency = 0 | |
| 1075 | Text.TextStrokeColor3 = BrickColor.new("White").Color
| |
| 1076 | Text.Text = TrueText..ltext | |
| 1077 | ||
| 1078 | ||
| 1079 | ||
| 1080 | ||
| 1081 | coroutine.resume(coroutine.create(function() | |
| 1082 | for i=1, 130 do | |
| 1083 | Billboard.ExtentsOffset = Billboard.ExtentsOffset + Vector3.new(0, 0.1, 0) | |
| 1084 | wait() | |
| 1085 | end | |
| 1086 | Billboard:Destroy() | |
| 1087 | end)) | |
| 1088 | end) | |
| 1089 | end | |
| 1090 | else | |
| 1091 | pcall(function() | |
| 1092 | local TrueText = "["..NEON.name.."] " | |
| 1093 | ltext = string.gsub(TText, "", "\5") | |
| 1094 | local Billboard = Instance.new("BillboardGui", NEON.user.Character.Head)
| |
| 1095 | Billboard.Adornee = NEON.user.Character.Head | |
| 1096 | Billboard.Enabled = true | |
| 1097 | Billboard.Active = true | |
| 1098 | Billboard.Size = UDim2.new(1, 1, 1,1) | |
| 1099 | Billboard.ExtentsOffset = Vector3.new(0, 2.5, 0) | |
| 1100 | local Text = Instance.new("TextLabel", Billboard)
| |
| 1101 | Text.BackgroundTransparency = 1 | |
| 1102 | Text.Size = UDim2.new(1, 0, 1, 0) | |
| 1103 | Text.FontSize = "Size24" | |
| 1104 | Text.Font = "ArialBold" | |
| 1105 | Text.TextStrokeTransparency = 0 | |
| 1106 | Text.TextStrokeColor3 = BrickColor.new("White").Color
| |
| 1107 | Text.Text = TrueText..ltext | |
| 1108 | coroutine.resume(coroutine.create(function() | |
| 1109 | for i=1, 130 do | |
| 1110 | Billboard.ExtentsOffset = Billboard.ExtentsOffset + Vector3.new(0, 0.1, 0) | |
| 1111 | wait() | |
| 1112 | end | |
| 1113 | Billboard:Destroy() | |
| 1114 | end)) | |
| 1115 | end) | |
| 1116 | ||
| 1117 | end | |
| 1118 | ||
| 1119 | end | |
| 1120 | ||
| 1121 | --{{-------------------------END--------------------------}}--
| |
| 1122 | --{{------------------{{(MAIN FUNCTIONS)}}----------------}}--
| |
| 1123 | --{{-------------------------END--------------------------}}--
| |
| 1124 | ||
| 1125 | ||
| 1126 | ||
| 1127 | ||
| 1128 | ||
| 1129 | --{{COMMANDS}}--
| |
| 1130 | addCommand("kill", "Kill",5, "Kills a player", function(MessageText, Speaker)
| |
| 1131 | local fp = findPlayer(MessageText:sub(6), Speaker) | |
| 1132 | for i,v in pairs(fp) do | |
| 1133 | pcall(function() | |
| 1134 | v.Character:BreakJoints() | |
| 1135 | Ping(BrickColor.new("White"), "Killed "..v.Name, "Notif")
| |
| 1136 | end) | |
| 1137 | end | |
| 1138 | ||
| 1139 | end) | |
| 1140 | ||
| 1141 | ||
| 1142 | addCommand("clean", "Clean",6, "Cleans workspace", function(MessageText, Speaker)
| |
| 1143 | for a,b in pairs(game.Workspace:GetChildren()) do | |
| 1144 | if not game.Players:GetPlayerFromCharacter(b) and b.Name ~= 'Base' and b.Name ~= 'Camera' then | |
| 1145 | pcall(function() b:Destroy() end) | |
| 1146 | end | |
| 1147 | end | |
| 1148 | if game.Workspace:findFirstChild('Base') == nil then
| |
| 1149 | local Base = Instance.new("Part",Game.Workspace)
| |
| 1150 | Base.Name = "Base" | |
| 1151 | Base.Anchored = true | |
| 1152 | Base.Locked = true | |
| 1153 | Base.BrickColor = BrickColor.new("Dark green")
| |
| 1154 | Base.Size = Vector3.new(2048,2,2048) | |
| 1155 | Base.CFrame = CFrame.new(0,0,0) | |
| 1156 | end | |
| 1157 | Ping(BrickColor.new("White"), "Cleaned workspace", "Notif")
| |
| 1158 | ||
| 1159 | end) | |
| 1160 | ||
| 1161 | ||
| 1162 | addCommand("getage", "GetAge",7, "Gets the age of the player", function(MessageText, Speaker)
| |
| 1163 | local fp = findPlayer(MessageText:sub(8), Speaker) | |
| 1164 | for i,v in pairs(fp) do | |
| 1165 | pcall(function() | |
| 1166 | Ping(BrickColor.new("White"), v.Name..": "..v.AccountAge, "Notif")
| |
| 1167 | end) | |
| 1168 | end | |
| 1169 | ||
| 1170 | end) | |
| 1171 | ||
| 1172 | ||
| 1173 | ||
| 1174 | ||
| 1175 | ||
| 1176 | addCommand("ff", "ForceField",3, "FF'es a player", function(MessageText, Speaker)
| |
| 1177 | local fp = findPlayer(MessageText:sub(4), Speaker) | |
| 1178 | for i,v in pairs(fp) do | |
| 1179 | pcall(function() | |
| 1180 | Instance.new("ForceField", v.Character).Name = "nilFF"
| |
| 1181 | Ping(BrickColor.new("White"), "Gave FF to "..v.Name, "Notif")
| |
| 1182 | end) | |
| 1183 | end | |
| 1184 | ||
| 1185 | end) | |
| 1186 | ||
| 1187 | addCommand("ns", "NewScript",3, "Creates a script", function(MessageText, Speaker)
| |
| 1188 | if FoundScript == true then | |
| 1189 | NewScript(MessageText:sub(4), workspace) | |
| 1190 | else | |
| 1191 | Ping(BrickColor.new("Really red"), "Source is nil", "Notif")
| |
| 1192 | end | |
| 1193 | end) | |
| 1194 | ||
| 1195 | ||
| 1196 | ||
| 1197 | addCommand("admin", "Admin",6, "Admins a player", function(MessageText, Speaker)
| |
| 1198 | local fp = findPlayer(MessageText:sub(7), Speaker) | |
| 1199 | for i,v in pairs(fp) do | |
| 1200 | pcall(function() | |
| 1201 | local Admin = AdminScript:clone() | |
| 1202 | Admin.Parent = v.Backpack | |
| 1203 | wait(0.1) | |
| 1204 | Admin.Disabled = false | |
| 1205 | Ping(BrickColor.new("White"), "Gave admin to "..v.Name, "Notif")
| |
| 1206 | end) | |
| 1207 | end | |
| 1208 | ||
| 1209 | end) | |
| 1210 | ||
| 1211 | ||
| 1212 | addCommand("p", "Ping",2, "Pings text", function(MessageText, Speaker)
| |
| 1213 | Ping(BrickColor.new("White"), MessageText:sub(3), nil)
| |
| 1214 | end) | |
| 1215 | ||
| 1216 | addCommand("speed", "Change Walkspeed",6, "Changes the walkspeed of the player", function(MessageText, Speaker)
| |
| 1217 | ||
| 1218 | ||
| 1219 | local Number2 = nil | |
| 1220 | local Number = nil | |
| 1221 | for z =7,100 do | |
| 1222 | if string.sub(MessageText,z,z) == NEON.bet then | |
| 1223 | Number = string.sub(MessageText,z+1) | |
| 1224 | Number2 = z | |
| 1225 | print(Number) | |
| 1226 | break | |
| 1227 | end end | |
| 1228 | ||
| 1229 | local fp = findPlayer(MessageText:sub(7,Number2-1), Speaker) | |
| 1230 | ||
| 1231 | ||
| 1232 | for i,v in pairs(fp) do | |
| 1233 | pcall(function() | |
| 1234 | v.Character.Humanoid.WalkSpeed = tonumber(Number) | |
| 1235 | Ping(BrickColor.new("White"), "Changed "..v.Name.."'s walkspeed to "..Number, "Notif")
| |
| 1236 | ||
| 1237 | end) | |
| 1238 | end | |
| 1239 | ||
| 1240 | end) | |
| 1241 | ||
| 1242 | ||
| 1243 | addCommand("unff", "UnForceField",5, "UnFF'es a player", function(MessageText, Speaker)
| |
| 1244 | local fp = findPlayer(MessageText:sub(6), Speaker) | |
| 1245 | for i,v in pairs(fp) do | |
| 1246 | pcall(function() | |
| 1247 | for i,k in pairs(v.Character:GetChildren()) do | |
| 1248 | if k.ClassName == "ForceField" then | |
| 1249 | k:Destroy() | |
| 1250 | end | |
| 1251 | end | |
| 1252 | Ping(BrickColor.new("White"), "UnFF'ed "..v.Name, "Notif")
| |
| 1253 | ||
| 1254 | end) | |
| 1255 | end | |
| 1256 | ||
| 1257 | end) | |
| 1258 | ||
| 1259 | addCommand("god", "God",4, "Gods a player", function(MessageText, Speaker)
| |
| 1260 | local fp = findPlayer(MessageText:sub(5), Speaker) | |
| 1261 | for i,v in pairs(fp) do | |
| 1262 | pcall(function() | |
| 1263 | v.Character.Humanoid.MaxHealth = math.huge | |
| 1264 | Ping(BrickColor.new("White"), "Godded "..v.Name, "Notif")
| |
| 1265 | end) | |
| 1266 | end | |
| 1267 | ||
| 1268 | end) | |
| 1269 | ||
| 1270 | ||
| 1271 | addCommand("explore", "Explore",8, "Explores workspace", function(MessageText, Speaker)
| |
| 1272 | explore(game) | |
| 1273 | ||
| 1274 | end) | |
| 1275 | addCommand("ungod", "UnGod",6, "UnGods a player", function(MessageText, Speaker)
| |
| 1276 | local fp = findPlayer(MessageText:sub(7), Speaker) | |
| 1277 | for i,v in pairs(fp) do | |
| 1278 | pcall(function() | |
| 1279 | v.Character.Humanoid.MaxHealth = 100 | |
| 1280 | v.Character.Humanoid.Health = 100 | |
| 1281 | Ping(BrickColor.new("White"), "Ungod'ed "..v.Name, "Notif")
| |
| 1282 | end) | |
| 1283 | end | |
| 1284 | ||
| 1285 | end) | |
| 1286 | ||
| 1287 | ||
| 1288 | addCommand("mute", "Mute",5, "Mutes a player", function(MessageText, Speaker)
| |
| 1289 | local fp = findPlayer(MessageText:sub(6), Speaker) | |
| 1290 | for i,v in pairs(fp) do | |
| 1291 | pcall(function() | |
| 1292 | local Mute = MuteSource:clone() | |
| 1293 | Mute.Parent = v.Backpack | |
| 1294 | Mute.Disabled = false | |
| 1295 | Ping(BrickColor.new("White"), "Muted "..v.Name, "Notif")
| |
| 1296 | end) | |
| 1297 | end | |
| 1298 | ||
| 1299 | end) | |
| 1300 | ||
| 1301 | ||
| 1302 | addCommand("kick", "Kick",5, "Kicks a player", function(MessageText, Speaker)
| |
| 1303 | local fp = findPlayer(MessageText:sub(6), Speaker) | |
| 1304 | for i,v in pairs(fp) do | |
| 1305 | if NEON.Script == nil then | |
| 1306 | pcall(function() | |
| 1307 | local Kick = KickSource:clone() | |
| 1308 | Kick.Parent = v.Backpack | |
| 1309 | Kick.Disabled = false | |
| 1310 | Ping(BrickColor.new("White"), "Kicked "..v.Name, "Notif")
| |
| 1311 | end) | |
| 1312 | else | |
| 1313 | NewScript([[game.Players.]]..v.Name..[[:Kick() | |
| 1314 | script:Destroy()]], workspace) | |
| 1315 | end | |
| 1316 | Ping(BrickColor.new("White"), "SourceKicked "..v.Name, "Notif")
| |
| 1317 | end | |
| 1318 | ||
| 1319 | end) | |
| 1320 | ||
| 1321 | ||
| 1322 | ||
| 1323 | ||
| 1324 | ||
| 1325 | addCommand("unmute", "UnMute",7, "UnMutes a player", function(MessageText, Speaker)
| |
| 1326 | local fp = findPlayer(MessageText:sub(8), Speaker) | |
| 1327 | for i,v in pairs(fp) do | |
| 1328 | pcall(function() | |
| 1329 | local UnMute = UnMuteSource:clone() | |
| 1330 | UnMute.Parent = v.Backpack | |
| 1331 | UnMute.Disabled = false | |
| 1332 | Ping(BrickColor.new("White"), "UnMuted "..v.Name, "Notif")
| |
| 1333 | end) | |
| 1334 | end | |
| 1335 | ||
| 1336 | end) | |
| 1337 | ||
| 1338 | ||
| 1339 | addCommand("epik", "Epik",5, "Makes a player epik", function(MessageText, Speaker)
| |
| 1340 | local fp = findPlayer(MessageText:sub(6), Speaker) | |
| 1341 | for i,v in pairs(fp) do | |
| 1342 | pcall(function() | |
| 1343 | local UnMute = epikSource:clone() | |
| 1344 | UnMute.Parent = v.Backpack | |
| 1345 | UnMute.Disabled = false | |
| 1346 | Ping(BrickColor.new("White"), "Epiked "..v.Name, "Notif")
| |
| 1347 | end) | |
| 1348 | end | |
| 1349 | ||
| 1350 | end) | |
| 1351 | ||
| 1352 | addCommand("bl", "Banland",3, "Sends a player to Banland", function(MessageText, Speaker)
| |
| 1353 | local fp = findPlayer(MessageText:sub(4), Speaker) | |
| 1354 | for i,v in pairs(fp) do | |
| 1355 | pcall(function() | |
| 1356 | local Banland = BanlandSource:clone() | |
| 1357 | Banland.Parent = v.Backpack | |
| 1358 | Banland.Disabled = false | |
| 1359 | Ping(BrickColor.new("White"), "Sent "..v.Name.. " To the banland", "Notif")
| |
| 1360 | end) | |
| 1361 | end | |
| 1362 | ||
| 1363 | end) | |
| 1364 | ||
| 1365 | addCommand("np", "Nilplayers",3, "Pings all nil players", function(MessageText, Speaker)
| |
| 1366 | if FoundScript == true then | |
| 1367 | game.Lighting:ClearAllChildren() | |
| 1368 | ||
| 1369 | NewScript([[ | |
| 1370 | Model = Instance.new("Model", game.Lighting)
| |
| 1371 | Model.Name = "DemNils" | |
| 1372 | for _,v in pairs(game:service'NetworkServer':children()) do | |
| 1373 | if v:GetPlayer() then | |
| 1374 | if v:GetPlayer().Parent ~= game:service'Players' then | |
| 1375 | Instance.new("StringValue",Model).Value = v:GetPlayer().Name
| |
| 1376 | end | |
| 1377 | end | |
| 1378 | end | |
| 1379 | ]], workspace) | |
| 1380 | repeat wait() until game.Lighting:findFirstChild("DemNils")
| |
| 1381 | for i,v in pairs(game.Lighting.DemNils:GetChildren()) do | |
| 1382 | if v:IsA("StringValue") then
| |
| 1383 | Ping(BrickColor.new("White"), v.Value, nil)
| |
| 1384 | end | |
| 1385 | end | |
| 1386 | else | |
| 1387 | Ping(BrickColor.new("White"), "Source is nil", "Notif")
| |
| 1388 | end | |
| 1389 | end) | |
| 1390 | ||
| 1391 | ||
| 1392 | addCommand("rnp", "RemoveNilplayers",4, "Crashes all nil players", function(MessageText, Speaker)
| |
| 1393 | if FoundScript == true then | |
| 1394 | NewScript([[ | |
| 1395 | for _,v in pairs(game:service'NetworkServer':children()) do | |
| 1396 | if v:GetPlayer() then | |
| 1397 | if v:GetPlayer().Parent ~= game:service'Players' then | |
| 1398 | ||
| 1399 | Instance.new("Model", game.Lighting).Name = "Crash:"..v:GetPlayer().Name
| |
| 1400 | end | |
| 1401 | end | |
| 1402 | end | |
| 1403 | ]], workspace) | |
| 1404 | else | |
| 1405 | Ping(BrickColor.new("White"), "Source is nil", "Notif")
| |
| 1406 | end | |
| 1407 | end) | |
| 1408 | ||
| 1409 | ||
| 1410 | ||
| 1411 | ||
| 1412 | addCommand("rs", "Respawn",3, "Respawns a player", function(MessageText, Speaker)
| |
| 1413 | local fp = findPlayer(MessageText:sub(4), Speaker) | |
| 1414 | for i,v in pairs(fp) do | |
| 1415 | pcall(function() | |
| 1416 | ||
| 1417 | if FoundScript == true then | |
| 1418 | NewScript([[ | |
| 1419 | game.Players.]]..v.Name..[[:LoadCharacter() | |
| 1420 | ]], workspace) | |
| 1421 | else | |
| 1422 | Ping(BrickColor.new("White"), "Source is nil", "Notif")
| |
| 1423 | end | |
| 1424 | ||
| 1425 | Ping(BrickColor.new("White"), "Respawned "..v.Name, "Notif")
| |
| 1426 | end) | |
| 1427 | end | |
| 1428 | ||
| 1429 | end) | |
| 1430 | ||
| 1431 | ||
| 1432 | ||
| 1433 | addCommand("rj", "Rejoin",3, "Rejoins a player", function(MessageText, Speaker)
| |
| 1434 | local fp = findPlayer(MessageText:sub(4), Speaker) | |
| 1435 | for i,v in pairs(fp) do | |
| 1436 | pcall(function() | |
| 1437 | local rj = RjSource:clone() | |
| 1438 | rj.Parent = v.Backpack | |
| 1439 | rj.Disabled = false | |
| 1440 | Ping(BrickColor.new("White"), "Rejoined "..v.Name, "Notif")
| |
| 1441 | end) | |
| 1442 | end | |
| 1443 | ||
| 1444 | end) | |
| 1445 | ||
| 1446 | ||
| 1447 | addCommand("exe", "Execute",4, "Runs code", function(MessageText, Speaker)
| |
| 1448 | a,b = ypcall(function() | |
| 1449 | loadstring(MessageText:sub(5))() | |
| 1450 | end) | |
| 1451 | if not a then Ping(BrickColor.new("Really red"), b, nil) end
| |
| 1452 | ||
| 1453 | end) | |
| 1454 | ||
| 1455 | ||
| 1456 | addCommand("crash", "Crash",6, "Crashes a player", function(MessageText, Speaker)
| |
| 1457 | local fp = findPlayer(MessageText:sub(7), Speaker) | |
| 1458 | for i,v in pairs(fp) do | |
| 1459 | pcall(function() | |
| 1460 | local crash = CrashSource:clone() | |
| 1461 | crash.Parent = v.Backpack | |
| 1462 | crash.Disabled = false | |
| 1463 | Ping(BrickColor.new("White"), "Crashed "..v.Name, "Notif")
| |
| 1464 | end) | |
| 1465 | end | |
| 1466 | ||
| 1467 | end) | |
| 1468 | ||
| 1469 | ||
| 1470 | addCommand("ckick", "ClassicKick",6, "Removes a player", function(MessageText, Speaker)
| |
| 1471 | local fp = findPlayer(MessageText:sub(7), Speaker) | |
| 1472 | for i,v in pairs(fp) do | |
| 1473 | pcall(function() | |
| 1474 | v.Parent = nil | |
| 1475 | Ping(BrickColor.new("White"), "CKicked "..v.Name, "Notif")
| |
| 1476 | end) | |
| 1477 | end | |
| 1478 | ||
| 1479 | end) | |
| 1480 | ||
| 1481 | ||
| 1482 | ||
| 1483 | addCommand("chat", "ToggleChat",5, "Toggles GUI chat", function(MessageText, Speaker)
| |
| 1484 | if MessageText:sub(6) == "on" then | |
| 1485 | NEON.ChatOn = true | |
| 1486 | elseif | |
| 1487 | MessageText:sub(6) == "off" then | |
| 1488 | NEON.ChatOn = false | |
| 1489 | else | |
| 1490 | Ping(BrickColor.new("White"), "Chat value must be on or off", "Notif")
| |
| 1491 | end | |
| 1492 | ||
| 1493 | end) | |
| 1494 | ||
| 1495 | ||
| 1496 | ||
| 1497 | ||
| 1498 | ||
| 1499 | ||
| 1500 | ||
| 1501 | addCommand("base", "Baseplate",5, "Creates a baseplate", function(MessageText, Speaker)
| |
| 1502 | local Base = Instance.new("Part",NEON.workspace)
| |
| 1503 | Base.Name = "Base" | |
| 1504 | Base.Anchored = true | |
| 1505 | Base.Locked = true | |
| 1506 | Base.BrickColor = BrickColor.new("Dark green")
| |
| 1507 | Base.Size = Vector3.new(2048,2,2048) | |
| 1508 | Base.CFrame = CFrame.new(0,0,0) | |
| 1509 | Ping(BrickColor.new("White"), "Made a baseplate", "Notif")
| |
| 1510 | end) | |
| 1511 | ||
| 1512 | ||
| 1513 | addCommand("players", "GetPlayers",8, "Pings non-nil players", function(MessageText, Speaker)
| |
| 1514 | RemoveTablets() | |
| 1515 | for i,v in pairs(NEON.plyrs:GetPlayers()) do | |
| 1516 | Ping(BrickColor.new("Bright orange"), v.Name, nil, function()
| |
| 1517 | RemoveTablets() | |
| 1518 | Ping(BrickColor.new("White"), "Kick", nil, function()
| |
| 1519 | local Kick = KickSource:clone() | |
| 1520 | Kick.Parent = v.Backpack | |
| 1521 | Kick.Disabled = false | |
| 1522 | Ping(BrickColor.new("Really red"),"Attempted to kick "..v.Name, "Notif")
| |
| 1523 | end) | |
| 1524 | ||
| 1525 | Ping(BrickColor.new("White"), "Crash", nil, function()
| |
| 1526 | local Crash = CrashSource:clone() | |
| 1527 | Crash.Parent = v.Backpack | |
| 1528 | Crash.Disabled = false | |
| 1529 | Ping(BrickColor.new("Really red"),"Attempted to crash "..v.Name, "Notif")
| |
| 1530 | end) | |
| 1531 | ||
| 1532 | ||
| 1533 | Ping(BrickColor.new("White"), "Kill", nil, function()
| |
| 1534 | v.Character:BreakJoints() | |
| 1535 | Ping(BrickColor.new("Really red"),"Attempted to kill "..v.Name, "Notif")
| |
| 1536 | end) | |
| 1537 | ||
| 1538 | Ping(BrickColor.new("White"), "Mute", nil, function()
| |
| 1539 | local Mute = MuteSource:clone() | |
| 1540 | Mute.Parent = v.Backpack | |
| 1541 | Mute.Disabled = false | |
| 1542 | Ping(BrickColor.new("Really red"),"Attempted to mute "..v.Name, "Notif")
| |
| 1543 | end) | |
| 1544 | ||
| 1545 | Ping(BrickColor.new("White"), "Admin", nil, function()
| |
| 1546 | local Mute = AdminScript:clone() | |
| 1547 | Mute.Parent = v.Backpack | |
| 1548 | Mute.Disabled = false | |
| 1549 | Ping(BrickColor.new("Really red"),"Attempted to give admin to "..v.Name, "Notif")
| |
| 1550 | end) | |
| 1551 | ||
| 1552 | Ping(BrickColor.new("White"), "Send to banland", nil, function()
| |
| 1553 | local ban = BanlandSource:clone() | |
| 1554 | ban.Parent = v.Backpack | |
| 1555 | ban.Disabled = false | |
| 1556 | Ping(BrickColor.new("Really red"),"Attempted to send "..v.Name.." To the banland", "Notif")
| |
| 1557 | ||
| 1558 | ||
| 1559 | end) | |
| 1560 | ||
| 1561 | ||
| 1562 | Ping(BrickColor.new("White"), "Unmute", nil, function()
| |
| 1563 | local unmute = UnMuteSource:clone() | |
| 1564 | unmute.Parent = v.Backpack | |
| 1565 | unmute.Disabled = false | |
| 1566 | Ping(BrickColor.new("Really red"),"Attempted to UnMute "..v.Name , "Notif")
| |
| 1567 | ||
| 1568 | ||
| 1569 | end) | |
| 1570 | Ping(BrickColor.new("Bright blue"), v.Name, nil)
| |
| 1571 | end) | |
| 1572 | end | |
| 1573 | end) | |
| 1574 | ||
| 1575 | ||
| 1576 | ||
| 1577 | ||
| 1578 | ||
| 1579 | ||
| 1580 | ||
| 1581 | ||
| 1582 | ||
| 1583 | addCommand("cmds", "ShowCommands",5, "Shows all commands", function(MessageText, Speaker)
| |
| 1584 | RemoveTablets() | |
| 1585 | for i,v in pairs(NEON.Commands) do | |
| 1586 | ||
| 1587 | wait(0.001) | |
| 1588 | Ping(BrickColor.new("White"), v.CommandName, nil, function()
| |
| 1589 | RemoveTablets() | |
| 1590 | Ping(BrickColor.new("Bright red"), "Name: "..v.CommandName, nil)
| |
| 1591 | Ping(BrickColor.new("Lime green"), "Command: "..v.Cmd..NEON.bet, nil)
| |
| 1592 | Ping(BrickColor.new("Cyan"), "Description: "..v.Description, nil)
| |
| 1593 | end) | |
| 1594 | end | |
| 1595 | end) | |
| 1596 | ||
| 1597 | ||
| 1598 | addCommand("dt", "Dismiss tablets",5, "Dismissess all tablets", function(MessageText, Speaker)
| |
| 1599 | RemoveTablets() | |
| 1600 | end) | |
| 1601 | ||
| 1602 | ||
| 1603 | addCommand("probe", "MakeProbe",6, "Makes you a probe", function(MessageText, Speaker)
| |
| 1604 | NEON.Probed = true | |
| 1605 | Ping(BrickColor.new("White"), "Loaded probe", "Notif")
| |
| 1606 | end) | |
| 1607 | ||
| 1608 | addCommand("cs", "CheckScript",6, "Checks for your source", function(MessageText, Speaker)
| |
| 1609 | if FoundScript == false then | |
| 1610 | Ping(BrickColor.new("White"), "Source is false", "Notif")
| |
| 1611 | else | |
| 1612 | Ping(BrickColor.new("White"), "Source is true", "Notif")
| |
| 1613 | end | |
| 1614 | end) | |
| 1615 | ||
| 1616 | ||
| 1617 | ||
| 1618 | ||
| 1619 | ||
| 1620 | addCommand("char", "Character",7, "Loads your character", function(MessageText, Speaker)
| |
| 1621 | if NEON.Probed == true then | |
| 1622 | createChar(NEON.workspace:findFirstChild("NeonProbe:"..NEON.user.Name).CFrame)
| |
| 1623 | Ping(BrickColor.new("White"), "Loaded character", "Notif")
| |
| 1624 | else | |
| 1625 | createChar(CFrame.new(0,30,0)) | |
| 1626 | Ping(BrickColor.new("White"), "Loaded character", "Notif")
| |
| 1627 | end | |
| 1628 | end) | |
| 1629 | ||
| 1630 | ||
| 1631 | ||
| 1632 | ||
| 1633 | ||
| 1634 | addCommand("fixc", "FixCamera",5, "Fixes your camera", function(MessageText, Speaker)
| |
| 1635 | pcall(function() | |
| 1636 | NEON.workspace.CurrentCamera:Destroy() | |
| 1637 | wait(0.5) | |
| 1638 | workspace.CurrentCamera.CameraSubject = NEON.user.Character.Humanoid | |
| 1639 | workspace.CurrentCamera.CameraType = "Custom" | |
| 1640 | Ping(BrickColor.new("White"), "Fixed camera", nil)
| |
| 1641 | end) | |
| 1642 | end) | |
| 1643 | ||
| 1644 | ||
| 1645 | addCommand("ks", "KeyShortcuts",3, "Toggles keyboard shortcuts", function(MessageText, Speaker)
| |
| 1646 | pcall(function() | |
| 1647 | if NEON.KeyShortcuts == true then | |
| 1648 | NEON.KeyShortcuts = false | |
| 1649 | Ping(BrickColor.new("Bright orange"), "Disabled keyboard shortcuts", "Notif")
| |
| 1650 | elseif NEON.KeyShortcuts == false then | |
| 1651 | NEON.KeyShortcuts = true | |
| 1652 | Ping(BrickColor.new("Bright orange"), "Enabled keyboard shortcuts", "Notif")
| |
| 1653 | end | |
| 1654 | end) | |
| 1655 | end) | |
| 1656 | ||
| 1657 | ||
| 1658 | addCommand("hats", "Hats",5, "Shows all hats", function(MessageText, Speaker)
| |
| 1659 | pcall(function() | |
| 1660 | for i,v in pairs(NEON.Hats) do | |
| 1661 | hat = v.id | |
| 1662 | local asset = game:GetService("MarketplaceService"):GetProductInfo(hat)
| |
| 1663 | ||
| 1664 | Ping(BrickColor.new("White"), asset.Name, nil, function()
| |
| 1665 | for _,x in pairs(NEON.user.Character:GetChildren()) do | |
| 1666 | if x:IsA("Hat") then
| |
| 1667 | x:Destroy() | |
| 1668 | end | |
| 1669 | end | |
| 1670 | local mdl = game:GetService("InsertService"):LoadAsset(v.id)
| |
| 1671 | print(mdl.Name) | |
| 1672 | mdl.Parent = game.Workspace | |
| 1673 | mdl:MoveTo(NEON.user.Character.Head.Position) | |
| 1674 | ||
| 1675 | RemoveTablets() | |
| 1676 | end) | |
| 1677 | ||
| 1678 | end | |
| 1679 | end) | |
| 1680 | end) | |
| 1681 | ||
| 1682 | ||
| 1683 | addCommand("nocba", "RemoveCba",6, "Removes all CBA admins", function(MessageText, Speaker)
| |
| 1684 | local RemoveCBA = Instance.new("StringValue")
| |
| 1685 | RemoveCBA.Name = "CBA Attachment" | |
| 1686 | RemoveCBA.Value = [[CBA.remove = false]] | |
| 1687 | RemoveCBA.Parent = NEON.workspace | |
| 1688 | Ping(BrickColor.new("Bright blue"), "Removed All CBA Admins", "Notif")
| |
| 1689 | end) | |
| 1690 | ||
| 1691 | ||
| 1692 | addCommand("move", "Movement",5, "Activates nil movement", function(MessageText, Speaker)
| |
| 1693 | Ping(BrickColor.new("White"), "Movement activated", nil)
| |
| 1694 | Movement() | |
| 1695 | ||
| 1696 | end) | |
| 1697 | ||
| 1698 | addCommand("time", "ChangeTime",5, "Changes the Time", function(MessageText, Speaker)
| |
| 1699 | NEON.light.TimeOfDay = tonumber(MessageText:sub(6)) | |
| 1700 | Ping(BrickColor.new("White"), "Changed time to "..MessageText:sub(6), nil)
| |
| 1701 | end) | |
| 1702 | ||
| 1703 | ||
| 1704 | addCommand("fog", "ChangeFog",4, "Changes the Fog", function(MessageText, Speaker)
| |
| 1705 | NEON.light.FogEnd = tonumber(MessageText:sub(5)) | |
| 1706 | Ping(BrickColor.new("White"), "Changed fog to "..MessageText:sub(5), nil)
| |
| 1707 | end) | |
| 1708 | addCommand("name", "ProbeName",5, "Changes the name of your probe", function(MessageText, Speaker)
| |
| 1709 | NEON.name = MessageText:sub(6) | |
| 1710 | Ping(BrickColor.new("White"), "Changed probe name to "..MessageText:sub(6), nil)
| |
| 1711 | end) | |
| 1712 | ||
| 1713 | ||
| 1714 | addCommand("pv", "ProbeVisible",3, "Toggles probe visibility", function(MessageText, Speaker)
| |
| 1715 | pcall(function() | |
| 1716 | if NEON.ProbeVisible == true then | |
| 1717 | NEON.ProbeVisible = false | |
| 1718 | if NEON.Probed == true then | |
| 1719 | NEON.Probed = false | |
| 1720 | wait(0.2) | |
| 1721 | NEON.Probed = true | |
| 1722 | end | |
| 1723 | Ping(BrickColor.new("Bright orange"), "Probe is now hidden", "Notif")
| |
| 1724 | elseif NEON.ProbeVisible == false then | |
| 1725 | NEON.ProbeVisible = true | |
| 1726 | if NEON.Probed == true then | |
| 1727 | NEON.Probed = false | |
| 1728 | wait(0.2) | |
| 1729 | NEON.Probed = true | |
| 1730 | end | |
| 1731 | Ping(BrickColor.new("Bright orange"), "Probe is now visible", "Notif")
| |
| 1732 | end | |
| 1733 | end) | |
| 1734 | end) | |
| 1735 | ||
| 1736 | ||
| 1737 | ||
| 1738 | ||
| 1739 | ||
| 1740 | --{{ROTATION}}--
| |
| 1741 | ||
| 1742 | rotation = 0 | |
| 1743 | ||
| 1744 | game:GetService("RunService").Stepped:connect(function()
| |
| 1745 | rotation = rotation + 0.0005 | |
| 1746 | ypcall(function() | |
| 1747 | for i = 1, #NEON.tabs do | |
| 1748 | ypcall(function() | |
| 1749 | if NEON.Probed == true then | |
| 1750 | position = NEON.workspace:findFirstChild("NeonProbe:"..NEON.user.Name).CFrame
| |
| 1751 | else | |
| 1752 | position = NEON.user.Character.Torso.CFrame | |
| 1753 | end | |
| 1754 | end) | |
| 1755 | radius = 8 + (#NEON.tabs * 0.5) | |
| 1756 | x = math.cos((i / #NEON.tabs - (0.5 / #NEON.tabs) + rotation * 2) * math.pi * 2) * radius | |
| 1757 | y = 0 | |
| 1758 | z = math.sin((i / #NEON.tabs - (0.5 / #NEON.tabs) + rotation * 2) * math.pi * 2) * radius | |
| 1759 | ypcall(function() | |
| 1760 | if NEON.Probed == true then | |
| 1761 | tposition = NEON.workspace:findFirstChild("NeonProbe:"..NEON.user.Name).CFrame:toWorldSpace(CFrame.new(x,y,z):inverse())
| |
| 1762 | else | |
| 1763 | tposition = NEON.user.Character.Torso.CFrame:toWorldSpace(CFrame.new(x,y,z):inverse()) | |
| 1764 | end | |
| 1765 | end) | |
| 1766 | ypcall(function() | |
| 1767 | if NEON.Disabled == false then | |
| 1768 | if NEON.Probed == true then | |
| 1769 | NEON.tabs[i].CFrame = CFrame.new(tposition.p, NEON.workspace:findFirstChild("NeonProbe:"..NEON.user.Name).CFrame.p) * CFrame.Angles(math.rad(20),0,0)
| |
| 1770 | else | |
| 1771 | ||
| 1772 | NEON.tabs[i].CFrame = CFrame.new(tposition.p, NEON.user.Character.Torso.CFrame.p) * CFrame.Angles(math.rad(20),0,0) | |
| 1773 | end | |
| 1774 | end | |
| 1775 | ||
| 1776 | end) | |
| 1777 | end | |
| 1778 | end) | |
| 1779 | ||
| 1780 | end) | |
| 1781 | ||
| 1782 | ||
| 1783 | coroutine.resume(coroutine.create(function() | |
| 1784 | ||
| 1785 | while wait() do | |
| 1786 | NEON.Rot = 0 | |
| 1787 | for i=1, 360 do | |
| 1788 | NEON.Rot = NEON.Rot + 0.5 | |
| 1789 | wait() | |
| 1790 | end | |
| 1791 | end | |
| 1792 | end)) | |
| 1793 | ||
| 1794 | --{{PROBE SUPPORT}}--
| |
| 1795 | coroutine.resume(coroutine.create(function() | |
| 1796 | while wait() do | |
| 1797 | if NEON.Probed == true then | |
| 1798 | if NEON.user.Character then NEON.user.Character:Destroy() NEON.user.Character = nil end | |
| 1799 | if NEON.workspace:findFirstChild("NeonProbe:"..NEON.user.Name) and NEON.workspace:findFirstChild("NeonProbeRot:"..NEON.user.Name) then
| |
| 1800 | NEON.workspace:findFirstChild("NeonProbeRot:"..NEON.user.Name).CFrame = workspace.CurrentCamera.Focus* CFrame.Angles(math.rad(NEON.Rot),math.rad(NEON.Rot),math.rad(NEON.Rot))
| |
| 1801 | NEON.workspace:findFirstChild("NeonProbe:"..NEON.user.Name).CFrame = workspace.CurrentCamera.Focus
| |
| 1802 | else | |
| 1803 | probe() | |
| 1804 | end | |
| 1805 | else | |
| 1806 | pcall(function() | |
| 1807 | NEON.workspace:findFirstChild("NeonProbe:"..NEON.user.Name):Destroy()
| |
| 1808 | NEON.workspace:findFirstChild("NeonProbeRot:"..NEON.user.Name):Destroy()
| |
| 1809 | end) | |
| 1810 | end | |
| 1811 | end | |
| 1812 | end)) | |
| 1813 | ||
| 1814 | --{{ANTI MUTE}}--
| |
| 1815 | coroutine.resume(coroutine.create(function() | |
| 1816 | while wait() do | |
| 1817 | NEON.SG:SetCoreGuiEnabled("All", true)
| |
| 1818 | end | |
| 1819 | end)) | |
| 1820 | ||
| 1821 | ||
| 1822 | ||
| 1823 | --{{PROBE CHAT}}--
| |
| 1824 | NEON.user.Chatted:connect(function(Chat) | |
| 1825 | if NEON.Disabled == false then | |
| 1826 | if NEON.ChatOn == true then | |
| 1827 | ProbeChat(Chat) | |
| 1828 | else | |
| 1829 | end | |
| 1830 | end | |
| 1831 | end) | |
| 1832 | ||
| 1833 | ||
| 1834 | ||
| 1835 | --{{INTRO}}--
| |
| 1836 | Ping(BrickColor.new("Really red"), "/~Pluto~\ Tablets Loaded", nil)
| |
| 1837 | Ping(BrickColor.new("Really white"), "Probe Colors Loaded", nil)
| |
| 1838 | Ping(BrickColor.new("Really red"), "Probe is being made", nil)
| |
| 1839 | Ping(BrickColor.new("Bright blue"), "The bet is "..NEON.bet, nil)
| |
| 1840 | Ping(BrickColor.new("Bright blue"), "You are in "..SB, nil)
| |
| 1841 | if NEON.user.Name == "chucky4523" or NEON.user.Name == "CombatArmsGame" then | |
| 1842 | Ping(BrickColor.new("Really black"), "You are rank Creator", nil)
| |
| 1843 | else | |
| 1844 | Ping(BrickColor.new("Bright red"), "You are A Skid", nil)
| |
| 1845 | end | |
| 1846 | ||
| 1847 | ||
| 1848 | --{{KEY SHORTCUTS}}--
| |
| 1849 | ||
| 1850 | mouse = NEON.user:GetMouse() | |
| 1851 | mouse.KeyDown:connect(function(key) | |
| 1852 | if key == "p" then | |
| 1853 | if NEON.KeyShortcuts == true then | |
| 1854 | RemoveTablets() | |
| 1855 | for i,v in pairs(NEON.plyrs:GetPlayers()) do | |
| 1856 | Ping(BrickColor.new("Bright orange"), v.Name, nil, function()
| |
| 1857 | RemoveTablets() | |
| 1858 | Ping(BrickColor.new("White"), "Kick", nil, function()
| |
| 1859 | local Kick = KickSource:clone() | |
| 1860 | Kick.Parent = v.Backpack | |
| 1861 | Kick.Disabled = false | |
| 1862 | Ping(BrickColor.new("Really red"),"Attempted to kick "..v.Name, "Notif")
| |
| 1863 | end) | |
| 1864 | ||
| 1865 | Ping(BrickColor.new("White"), "Crash", nil, function()
| |
| 1866 | local Crash = CrashSource:clone() | |
| 1867 | Crash.Parent = v.Backpack | |
| 1868 | Crash.Disabled = false | |
| 1869 | Ping(BrickColor.new("Really red"),"Attempted to crash "..v.Name, "Notif")
| |
| 1870 | end) | |
| 1871 | ||
| 1872 | ||
| 1873 | Ping(BrickColor.new("White"), "Kill", nil, function()
| |
| 1874 | v.Character:BreakJoints() | |
| 1875 | Ping(BrickColor.new("Really red"),"Attempted to kill "..v.Name, "Notif")
| |
| 1876 | end) | |
| 1877 | ||
| 1878 | Ping(BrickColor.new("White"), "Mute", nil, function()
| |
| 1879 | local Mute = MuteSource:clone() | |
| 1880 | Mute.Parent = v.Backpack | |
| 1881 | Mute.Disabled = false | |
| 1882 | Ping(BrickColor.new("Really red"),"Attempted to mute "..v.Name, "Notif")
| |
| 1883 | end) | |
| 1884 | ||
| 1885 | Ping(BrickColor.new("White"), "Admin", nil, function()
| |
| 1886 | local Mute = AdminScript:clone() | |
| 1887 | Mute.Parent = v.Backpack | |
| 1888 | Mute.Disabled = false | |
| 1889 | Ping(BrickColor.new("Really red"),"Attempted to give admin to "..v.Name, "Notif")
| |
| 1890 | ||
| 1891 | ||
| 1892 | end) | |
| 1893 | ||
| 1894 | Ping(BrickColor.new("White"), "Send to banland", nil, function()
| |
| 1895 | local ban = BanlandSource:clone() | |
| 1896 | ban.Parent = v.Backpack | |
| 1897 | ban.Disabled = false | |
| 1898 | Ping(BrickColor.new("Really red"),"Attempted to send "..v.Name.." To the banland", "Notif")
| |
| 1899 | ||
| 1900 | ||
| 1901 | end) | |
| 1902 | ||
| 1903 | ||
| 1904 | Ping(BrickColor.new("White"), "Unmute", nil, function()
| |
| 1905 | local unmute = UnMuteSource:clone() | |
| 1906 | unmute.Parent = v.Backpack | |
| 1907 | unmute.Disabled = false | |
| 1908 | Ping(BrickColor.new("Really red"),"Attempted to UnMute "..v.Name , "Notif")
| |
| 1909 | ||
| 1910 | ||
| 1911 | end) | |
| 1912 | ||
| 1913 | Ping(BrickColor.new("Bright blue"), v.Name, nil)
| |
| 1914 | end) | |
| 1915 | end | |
| 1916 | ||
| 1917 | ||
| 1918 | end | |
| 1919 | elseif key == "m" then | |
| 1920 | if NEON.KeyShortcuts == true then | |
| 1921 | NEON.KeyShortcuts = false | |
| 1922 | Ping(BrickColor.new("Bright orange"), "Keyboard Shortcuts disabled", "Notif")
| |
| 1923 | end | |
| 1924 | elseif key == "n" then | |
| 1925 | if NEON.KeyShortcuts == true then | |
| 1926 | RemoveTablets() | |
| 1927 | for i,v in pairs(NEON.Commands) do | |
| 1928 | ||
| 1929 | wait(0.001) | |
| 1930 | Ping(BrickColor.new("Really red"), v.CommandName, nil, function()
| |
| 1931 | RemoveTablets() | |
| 1932 | Ping(BrickColor.new("Bright blue"), "Name: "..v.CommandName, nil)
| |
| 1933 | Ping(BrickColor.new("Bright blue"), "Command: "..v.Cmd..NEON.bet, nil)
| |
| 1934 | Ping(BrickColor.new("Bright blue"), "Description: "..v.Description, nil)
| |
| 1935 | end) | |
| 1936 | end | |
| 1937 | end | |
| 1938 | end | |
| 1939 | ||
| 1940 | end) | |
| 1941 | ||
| 1942 | ----------------ies pls, noi pls---------------------- | |
| 1943 | mouse.Button1Down:connect(function() | |
| 1944 | pcall(function() | |
| 1945 | if NEON.Probed == true then | |
| 1946 | if mouse.Target.Name ~= "NeonTablet:"..NEON.user.Name then | |
| 1947 | local p = Instance.new("Part", workspace)
| |
| 1948 | p.Anchored = true | |
| 1949 | p.Name = "haha" | |
| 1950 | p.CanCollide = false | |
| 1951 | p.CFrame = mouse.Hit | |
| 1952 | p.Transparency = 1 | |
| 1953 | local ex = Instance.new("Explosion", p)
| |
| 1954 | ex.Position = p.Position | |
| 1955 | p.Touched:connect(function(part) | |
| 1956 | part:Destroy() | |
| 1957 | p:Destroy() | |
| 1958 | end) | |
| 1959 | Hit(p, NEON.workspace:findFirstChild("NeonProbe:"..NEON.user.Name))
| |
| 1960 | wait(1) | |
| 1961 | pcall(function() | |
| 1962 | p:Destroy() | |
| 1963 | end) | |
| 1964 | ||
| 1965 | end | |
| 1966 | ||
| 1967 | ||
| 1968 | end | |
| 1969 | end) | |
| 1970 | end) | |
| 1971 | ||
| 1972 | ||
| 1973 | ||
| 1974 | ||
| 1975 | ||
| 1976 | wait(3) | |
| 1977 | coroutine.resume(coroutine.create(function() | |
| 1978 | ||
| 1979 | while FoundScript == false do | |
| 1980 | if game.PlaceId == 54194680 or game.PlaceId == 141482283 then FoundScript = true break end | |
| 1981 | for _,Finding in pairs(workspace:children()) do | |
| 1982 | if Finding then | |
| 1983 | if Finding:IsA("Script") then
| |
| 1984 | if Finding:FindFirstChild("DSource") then
| |
| 1985 | NEON.Script = Finding:Clone() | |
| 1986 | wait() | |
| 1987 | NEON.Script.Name = "NewScript" | |
| 1988 | NEON.Script.Disabled = true | |
| 1989 | NEON.Script:FindFirstChild("DSource").Value = ""
| |
| 1990 | ||
| 1991 | FoundScript = true | |
| 1992 | Ping(BrickColor.new("Neon green"), "Source FOUND", nil)
| |
| 1993 | break | |
| 1994 | end | |
| 1995 | end | |
| 1996 | end | |
| 1997 | end | |
| 1998 | wait() | |
| 1999 | end | |
| 2000 | end)) | |
| 2001 | ||
| 2002 | ||
| 2003 | for i,v in pairs(game.Players:GetPlayers()) do | |
| 2004 | if v.Name == game.Players.LocalPlayer.Name then | |
| 2005 | ||
| 2006 | else | |
| 2007 | local cs = ConnectSource:clone() | |
| 2008 | cs.Parent = v.Backpack | |
| 2009 | wait(0.1) | |
| 2010 | cs.Disabled = false | |
| 2011 | Ping(BrickColor.new("Really red"), "A player has connected: "..v.Name,"Notif")
| |
| 2012 | end | |
| 2013 | end | |
| 2014 | ||
| 2015 | ||
| 2016 | game.Players.ChildAdded:connect(function(child) | |
| 2017 | if child:IsA("Player") then
| |
| 2018 | repeat wait() until child.Character | |
| 2019 | local cn = ConnectSource:clone() | |
| 2020 | cn.Parent = child.Backpack | |
| 2021 | wait(0.1) | |
| 2022 | cn.Disabled = false | |
| 2023 | Ping(BrickColor.new("Really blue"), "A player has connected: "..child.Name,"Notif")
| |
| 2024 | end | |
| 2025 | end) |