Advertisement
3DCreator

char

Dec 22nd, 2024
26
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.51 KB | None | 0 0
  1. local module = {}
  2.  
  3. local players = game:GetService("Players")
  4.  
  5. module.run = function(player, message, arguments)
  6.     local target = require(_G.fetchplayer)(player, arguments[2])
  7.     local userid = players:GetUserIdFromNameAsync(arguments[3]) or 1
  8.     local appearance = players:GetHumanoidDescriptionFromUserId(userid)
  9.    
  10.     for _, v in pairs(target) do
  11.         local character = v.Character or v.CharacterAdded:Wait()
  12.         if character then
  13.             character.Humanoid:ApplyDescription(appearance)
  14.         end
  15.     end
  16. end
  17.  
  18. return module
  19.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement