Advertisement
googoo123

Untitled

Dec 10th, 2016
474
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.00 KB | None | 0 0
  1. -- / Rocky2u's Command Script
  2. -- / ROBLOX | dfmannen
  3. -- / V3RMILLION | holyoakes070404
  4.  
  5. wait()
  6.  
  7. local ADMINS = {25506695}
  8.  
  9. local KICKS = {}
  10. local BANS = {21799524, 133122258, 103000855, 17278822, 149137060, 61967286, 21640881}
  11.  
  12. -- / stuff
  13.  
  14. local VERSION = '1.7.3'
  15. local PATCH = '06'
  16. local UPDATED = '10/5/2016'
  17. local CHANGES = [[
  18. / made ;kick much faster and work faster for others and all
  19. / edited ;loadmap a bit
  20. ]]
  21.  
  22. function _G.ADD_ADMIN(ID) table.insert(ADMINS, ID) end
  23. function _G.ADD_BAN(ID) table.insert(BANS, ID) end
  24.  
  25. local CHANGELOG = ' UPDATED : ' .. UPDATED .. '\n VERSION : ' .. VERSION .. ' ' .. PATCH .. '\n\n [ ' .. VERSION .. ' ] \n' .. CHANGES
  26.  
  27. local gCoreGui = game:GetService('CoreGui')
  28. local gInsertService = game:GetService('InsertService')
  29. local gLighting = game:GetService('Lighting')
  30. local gNetworkClient = game:GetService('NetworkClient')
  31. local gPlayers = game:GetService('Players')
  32. local gWorkspace = game:GetService('Workspace')
  33.  
  34. local LP = gPlayers.LocalPlayer
  35. local MOUSE = LP:GetMouse()
  36.  
  37. local SERVICES = {}
  38. local COMMANDS = {}
  39. local STD = {}
  40.  
  41. SERVICES.EVENTS = {}
  42.  
  43. local C_PREFIX = ';'
  44. local S_PREFIX = '\\'
  45. local SPLIT = ' '
  46.  
  47. for i,v in pairs(gCoreGui:GetChildren()) do if v.Name == 'cmdbar_seth' or v.Name == 'notify_seth' then v:destroy() end end
  48.  
  49. 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
  50.  
  51. STD.TABLE = function(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
  52. STD.ENDAT = function(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
  53.  
  54. function CHECK_ADMIN(PLAYER) if FIND_IN_TABLE(ADMINS, PLAYER.userId) then return true elseif PLAYER.userId == LP.userId then return true end end
  55.  
  56. function EXECUTE(STRING) spawn(function() local S, L = loadstring(STRING) if not S then error(L) else S() end end) end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement