Advertisement
Guest User

dev rebirth here nigga

a guest
Dec 14th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.51 KB | None | 0 0
  1. --[[
  2. ____ _ ____ _ ____ __ __ ____
  3. | _ \ ___ ___| | ___ _|___ \ _ _( )___ / ___| \/ | _ \ ___
  4. | |_) / _ \ / __| |/ / | | | __) | | | |// __| | | | |\/| | | | / __|
  5. | _ < (_) | (__| <| |_| |/ __/| |_| | \__ \ | |___| | | | |_| \__ \
  6. |_| \_\___/ \___|_|\_\\__, |_____|\__,_| |___/ \____|_| |_|____/|___/
  7. |___/
  8.  
  9. Want to keep this admin command updated?
  10. Join our Discord! https://discord.me/rainbow2u
  11.  
  12. --]]
  13.  
  14. local ADMINS = {}
  15. local BANS = {}
  16.  
  17. function _G.ADD_ADMIN(ID) table.insert(ADMINS, ID) end
  18. function _G.ADD_BAN(ID) table.insert(BANS, ID) end
  19.  
  20. local VERSION = 'unOfficial 1.8.1'
  21. local UPDATED = '2017/10/05'
  22. local CHANGELOG = {
  23. ' - Removed Patched Properties',
  24. ' - Removed Guest Support',
  25. ' - Removed Broken Shutdown Command'
  26. }
  27.  
  28. local CREDITS = [[
  29. Rocky2u - lol
  30. veinyrox - ;crash
  31. Harkinian - half of the message function
  32. Moon - cmd bar addon idea
  33. N3xul - Fixing stuff because of Roblox Update
  34. ]]
  35.  
  36. local _CORE = game:GetService('CoreGui')
  37. local _LIGHTING = game:GetService('Lighting')
  38. local _NETWORK = game:GetService('NetworkClient')
  39. local _PLAYERS = game:GetService('Players')
  40.  
  41. local LP = _PLAYERS.LocalPlayer
  42. local MOUSE = LP:GetMouse()
  43.  
  44. local SERVER_LOCKED = false
  45. local SHOWING_MESSAGE = false
  46.  
  47. local SERVICES = {}
  48. SERVICES.EVENTS = {}
  49.  
  50. local COMMANDS = {}
  51. local STD = {}
  52. local JAILED = {}
  53. local KICKS = {}
  54. local LOOPED_H = {}
  55. local LOOPED_K = {}
  56.  
  57. local C_PREFIX = ';'
  58. local SPLIT = ' '
  59.  
  60. local NEW = LoadLibrary('RbxUtility').Create
  61.  
  62. function UPDATE_CHAT(PLAYER) local C = PLAYER.Chatted:connect(function(M) if CHECK_ADMIN(PLAYER) then DEXECUTE(M, PLAYER) end end) table.insert(SERVICES.EVENTS, C) end
  63. function STD.TABLE(T, V) if not T then return false end for i,v in pairs(T) do if v == V then return true end end return false end
  64. function STD.ENDAT(S, V) local SF = S:find(V) if SF then return S:sub(0, SF - string.len(V)), true else return S, false end end
  65. function CHECK_ADMIN(PLAYER) if FIND_IN_TABLE(ADMINS, PLAYER.userId) then return true elseif PLAYER.userId == LP.userId then return true end end
  66. function FCOMMAND(COMMAND) for i,v in pairs(COMMANDS) do if v.N:lower() == COMMAND:lower() or STD.TABLE(v.A, COMMAND:lower()) then return v end end end
  67. function GCOMMAND(M) local CMD, HS = STD.ENDAT(M:lower(), SPLIT) if HS then return {CMD, true} else return {CMD, false} end end
  68. function GPREFIX(STRING) if STRING:sub(1, string.len(C_PREFIX)) =
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement