Advertisement
Pukaciu

Untitled

Aug 21st, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.08 KB | None | 0 0
  1. local Player = game.Players.localPlayer
  2. local Character = Player.Character
  3. local Humanoid = Character.Humanoid
  4. local Mouse = Player:GetMouse()
  5. local LeftArm = Character["Left Arm"]
  6. local RightArm = Character["Right Arm"]
  7. local LeftLeg = Character["Left Leg"]
  8. local RightLeg = Character["Right Leg"]
  9. local Head = Character.Head
  10. local Torso = Character.Torso
  11. local Camera = game.Workspace.CurrentCamera
  12. local RootPart = Character.HumanoidRootPart
  13. local RootJoint = RootPart.RootJoint
  14. local Create = LoadLibrary("RbxUtility").Create
  15.  
  16. ------------------------------------------------
  17.  
  18. --[[ for i,v in pairs(Character:children()) do
  19. if v:IsA("Shirt") then
  20. v:Destroy()
  21. end
  22. end ]]--
  23.  
  24. ------------------------------------------------
  25.  
  26. --[[for i,v in pairs(Character:children()) do
  27. if v:IsA("Pants") then
  28. v:Destroy()
  29. end
  30. end ]]--
  31.  
  32. ------------------------------------------------
  33.  
  34. for i,v in pairs(Character:children()) do
  35. if v:IsA("Accessory") then
  36. v:Destroy()
  37. end
  38. end
  39.  
  40. ------------------------------------------------
  41.  
  42. --[[ for i,v in pairs(Character:children()) do
  43. if v:IsA("Hair") then
  44. v:Destroy()
  45. end
  46. end ]]--
  47.  
  48.  
  49. ------------------------------------------------
  50.  
  51. hat = Instance.new("Hat", game.ReplicatedStorage)
  52. hat.Name = "Guestium Hat"
  53.  
  54.  
  55. --[[ hat.AttachmentForward = Vector3.new(0,0,-1)
  56. hat.AttachmentPos = Vector3.new(0,-0.05,0.1)
  57. hat.AttachmentRight = Vector3.new(1,0,0)
  58. hat.AttachmentUp = Vector3.new(0,1,0) ]]--
  59.  
  60.  
  61.  
  62. local handle = Instance.new("Part",hat)
  63. handle.Rotation = Vector3.new(0, 90, 0)
  64. handle.Name = "Handle"
  65. handle.TopSurface = "Smooth"
  66. handle.BottomSurface = "Smooth"
  67. handle.Size = Vector3.new(1,1,2)
  68. local mesh = Instance.new("SpecialMesh",handle)
  69. mesh.MeshType = "FileMesh"
  70. mesh.MeshId = "https://www.roblox.com/library/1185246/Duckie" --MESH IDS GOING HERE
  71. mesh.TextureId = "https://www.roblox.com/library/1185259/Duckie" --TEXTURES IDS GOING
  72. mesh.Scale = Vector3.new(1.05,1.05,1.05)
  73. hat.Parent = Character
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement