Advertisement
Pukaciu

testtt

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