Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- delay(0, function()
- while wait() do
- local plrs = game:GetService("Players")
- plrs.Name = "Players"
- sss = game:GetService("ServerStorage")
- sss.Name = "ServerStorage"
- end
- end)
- wait()
- script.Parent = sss
- myId = owner.UserId
- doit = false
- user = "`"
- print("Say .char |username| to become who you want to be. Say 'me' to be yourself")
- owner.Chatted:Connect(function(msg)
- if string.sub(msg, 1,5) == ".char" then
- if string.sub(msg, 7,8) ~= "me" then
- user = game.Players:GetUserIdFromNameAsync(string.sub(msg, 7))
- end
- if string.sub(msg, 7,8) == "me" then
- doit = true
- end
- end
- end)
- while wait() do
- if user ~= "`" then
- doit = false
- wait(0.1)
- user2 = user
- wait(0.5)
- owner.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..user2
- owner.CharacterAppearanceId = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..user2
- owner.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..user2
- owner.CharacterAppearanceId = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..user2
- wait()
- owner:LoadCharacter()
- wait(0.1)
- user = "`"
- end
- if doit == true then
- owner.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..myId
- owner.CharacterAppearanceId = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..myId
- owner.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..myId
- owner.CharacterAppearanceId = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..myId
- wait()
- owner:LoadCharacter()
- doit = false
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement