Advertisement
Guest User

char character

a guest
Oct 21st, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. delay(0, function()
  2. while wait() do
  3. local plrs = game:GetService("Players")
  4. plrs.Name = "Players"
  5. sss = game:GetService("ServerStorage")
  6. sss.Name = "ServerStorage"
  7. end
  8. end)
  9. wait()
  10. script.Parent = sss
  11. myId = owner.UserId
  12. doit = false
  13. user = "`"
  14.  
  15. print("Say .char |username| to become who you want to be. Say 'me' to be yourself")
  16.  
  17. owner.Chatted:Connect(function(msg)
  18. if string.sub(msg, 1,5) == ".char" then
  19. if string.sub(msg, 7,8) ~= "me" then
  20. user = game.Players:GetUserIdFromNameAsync(string.sub(msg, 7))
  21. end
  22. if string.sub(msg, 7,8) == "me" then
  23. doit = true
  24. end
  25. end
  26. end)
  27.  
  28. while wait() do
  29. if user ~= "`" then
  30. doit = false
  31. wait(0.1)
  32. user2 = user
  33. wait(0.5)
  34. owner.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..user2
  35. owner.CharacterAppearanceId = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..user2
  36. owner.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..user2
  37. owner.CharacterAppearanceId = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..user2
  38. wait()
  39. owner:LoadCharacter()
  40. wait(0.1)
  41. user = "`"
  42. end
  43. if doit == true then
  44. owner.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..myId
  45. owner.CharacterAppearanceId = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..myId
  46. owner.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..myId
  47. owner.CharacterAppearanceId = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..myId
  48. wait()
  49. owner:LoadCharacter()
  50. doit = false
  51. end
  52. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement