Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Player = game.Players.localPlayer
- local Character = Player.Character
- local Humanoid = Character.Humanoid
- local Mouse = Player:GetMouse()
- local LeftArm = Character["Left Arm"]
- local RightArm = Character["Right Arm"]
- local LeftLeg = Character["Left Leg"]
- local RightLeg = Character["Right Leg"]
- local Head = Character.Head
- local Torso = Character.Torso
- local Camera = game.Workspace.CurrentCamera
- local RootPart = Character.HumanoidRootPart
- local RootJoint = RootPart.RootJoint
- local Create = LoadLibrary("RbxUtility").Create
- ------------------------------------------------
- --[[ for i,v in pairs(Character:children()) do
- if v:IsA("Shirt") then
- v:Destroy()
- end
- end ]]--
- ------------------------------------------------
- --[[for i,v in pairs(Character:children()) do
- if v:IsA("Pants") then
- v:Destroy()
- end
- end ]]--
- ------------------------------------------------
- for i,v in pairs(Character:children()) do
- if v:IsA("Accessory") then
- v:Destroy()
- end
- end
- ------------------------------------------------
- --[[ for i,v in pairs(Character:children()) do
- if v:IsA("Hair") then
- v:Destroy()
- end
- end ]]--
- ------------------------------------------------
- hat = Instance.new("Hat", game.ReplicatedStorage)
- hat.Name = "Guestium Hat"
- --[[ hat.AttachmentForward = Vector3.new(0,0,-1)
- hat.AttachmentPos = Vector3.new(0,-0.05,0.1)
- hat.AttachmentRight = Vector3.new(1,0,0)
- hat.AttachmentUp = Vector3.new(0,1,0) ]]--
- local handle = Instance.new("Part",hat)
- handle.Rotation = Vector3.new(0, 90, 0)
- handle.Name = "Handle"
- handle.TopSurface = "Smooth"
- handle.BottomSurface = "Smooth"
- handle.Size = Vector3.new(1,1,2)
- local mesh = Instance.new("SpecialMesh",handle)
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "http://www.roblox.com/asset/?id=9419831" --MESH IDS GOING HERE
- mesh.TextureId = "rbxassetid://9419827" --TEXTURES IDS GOING HERE
- mesh.Scale = Vector3.new(1.05,1.05,1.05)
- hat.Parent = Character
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement