Advertisement
3DCreator

admin

Dec 22nd, 2024
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.34 KB | None | 0 0
  1. local module = {}
  2.  
  3. local datastore = game:GetService("DataStoreService")
  4. local admindata = datastore:GetDataStore("admins")
  5. local players = game:GetService("Players")
  6.  
  7. module.run = function(player, message, arguments)
  8.     local userid = players:GetUserIdFromNameAsync(arguments[2])
  9.    
  10.     admindata:SetAsync(userid, true)
  11. end
  12.  
  13. return module
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement