DragonYTPastesWork

Timmeh Script

Jun 23rd, 2021
423
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.88 KB | None | 0 0
  1. -- Made by DragonSpawner12
  2.  
  3. function Timmeh()
  4.     local WantedStuff = {
  5.         "Hat",
  6.         "Accessory",
  7.         "BodyColors",
  8.         "Shirt",
  9.         "Pants"
  10.     }
  11.     local Avatar = game.Selection:Get()[1]
  12.     if not Avatar:IsA("Model") then error("Selected object is not a character.") end
  13.     if not Avatar:FindFirstChildOfClass("Humanoid") then error("Selected object is not a character.") end
  14.     local Humanoid = Avatar.Humanoid
  15.     local Template = game.InsertService:LoadAsset(6983944693)
  16.     Template = Template:GetChildren()[1]
  17.     Template.Parent = workspace
  18.     for _, thing in pairs(Avatar:GetChildren()) do
  19.         for _, wt in pairs(WantedStuff) do
  20.             if thing:IsA(wt) then
  21.                 thing.Parent = Template
  22.             end
  23.         end
  24.     end
  25.     local Face = Instance.new("Decal", Template.Head)
  26.     Face.Name = "Face"
  27.     Face.Texture = "http://www.roblox.com/asset/?id=200004583"
  28.     Avatar:Destroy()
  29.     game.Selection:Set({Template})
  30. end
  31.  
  32. Timmeh()
Advertisement
Add Comment
Please, Sign In to add comment