Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --HAT KID!--
- --by youngmacka123--
- --please dont spread or leak because it took 2 days to make--
- plr = owner
- char = plr.Character
- tors = char.Torso
- ra = char["Right Arm"]
- la = char["Left Arm"]
- rl = char["Right Leg"]
- ll = char["Left Leg"]
- hed = char.Head
- root = char.HumanoidRootPart
- hum = char.Humanoid
- if hum.RigType == Enum.HumanoidRigType.R6 then
- hum.HipHeight = -1.3
- elseif hum.RigType == Enum.HumanoidRigType.R15 then
- hum.HipHeight = 0.85
- end
- ezweld = function(p, a, b, cf)
- local weld = Instance.new("Weld",p)
- weld.Part0 = a
- weld.Part1 = b
- weld.C0 = cf
- return weld
- end
- for i,v in pairs (char:GetDescendants()) do
- if v:IsA("Hat") or v:IsA("Accessory") or v:IsA("Decal") or v:IsA("Texture") then
- v:remove()
- end
- if v:IsA("Part") then
- local mesh = Instance.new("SpecialMesh",v)
- mesh.Scale = Vector3.new(0, 0, 0)
- if v.Name ~= "Head" then
- v.Transparency = 1
- end
- end
- end
- IT = Instance.new
- Rad = math.rad
- Cos = math.cos
- Sin = math.sin
- BrickC = BrickColor.new
- C3 = Color3.new
- VT = Vector3.new
- --head
- local part = Instance.new("Part",char)
- part.Size = Vector3.new(0.1, 0.1, 0.1)
- part.CanCollide = false
- local mesh = Instance.new("SpecialMesh",part)
- mesh.MeshId = "rbxassetid://2761815339"
- mesh.TextureId = "rbxassetid://2761815474"
- mesh.Scale = Vector3.new(0.075, 0.075, 0.075)
- local weld = ezweld(char, part, hed, CFrame.new(0, 0, 0) * CFrame.Angles(0, Rad(180), 0))
- local part = Instance.new("Part",char)
- part.Size = Vector3.new(0.1, 0.1, 0.1)
- part.CanCollide = false
- local mesh = Instance.new("SpecialMesh",part)
- mesh.MeshId = "rbxassetid://2762018457"
- mesh.TextureId = "rbxassetid://2761819925"
- mesh.Scale = Vector3.new(0.075, 0.075, 0.075)
- local weld = ezweld(char, part, hed, CFrame.new(0.6125, 0.3, -0.2125) * CFrame.Angles(0, Rad(180), 0))
- local part = Instance.new("Part",char)
- part.Size = Vector3.new(0.1, 0.1, 0.1)
- part.CanCollide = false
- local mesh = Instance.new("SpecialMesh",part)
- mesh.MeshId = "rbxassetid://2762019251"
- mesh.TextureId = "rbxassetid://2761819925"
- mesh.Scale = Vector3.new(0.075, 0.075, 0.075)
- local weld = ezweld(char, part, hed, CFrame.new(0.5125, 0.775, -0.275) * CFrame.Angles(0, Rad(180), 0))
- local part = Instance.new("Part",char)
- part.Size = Vector3.new(0.1, 0.1, 0.1)
- part.CanCollide = false
- local mesh = Instance.new("SpecialMesh",part)
- mesh.MeshId = "rbxassetid://2762005155"
- mesh.TextureId = "rbxassetid://2762005257"
- mesh.Scale = Vector3.new(0.075, 0.075, 0.075)
- local weld = ezweld(char, part, hed, CFrame.new(-0.57, 0.4, -0.2225) * CFrame.Angles(0, Rad(180), 0))
- local part = Instance.new("Part",char)
- part.Size = Vector3.new(0.1, 0.1, 0.1)
- part.CanCollide = false
- local mesh = Instance.new("SpecialMesh",part)
- mesh.MeshId = "rbxassetid://2762005611"
- mesh.TextureId = "rbxassetid://2761819925"
- mesh.Scale = Vector3.new(0.075, 0.075, 0.075)
- local weld = ezweld(char, part, hed, CFrame.new(-0.46, 0.78, -0.252) * CFrame.Angles(0, Rad(180), 0))
- local part = Instance.new("Part",char)
- part.Size = Vector3.new(0.1, 0.1, 0.1)
- part.CanCollide = false
- local mesh = Instance.new("SpecialMesh",part)
- mesh.MeshId = "rbxassetid://2761819179"
- mesh.TextureId = "rbxassetid://2761819284"
- mesh.Scale = Vector3.new(0.075, 0.075, 0.075)
- local weld = ezweld(char, part, hed, CFrame.new(0, 0.25, 1.1) * CFrame.Angles(0, Rad(180), 0))
- local part = Instance.new("Part",char)
- part.Size = Vector3.new(0.1, 0.1, 0.1)
- part.CanCollide = false
- local mesh = Instance.new("SpecialMesh",part)
- mesh.MeshId = "rbxassetid://2761819861"
- mesh.TextureId = "rbxassetid://2761819925"
- mesh.Scale = Vector3.new(0.075, 0.075, 0.075)
- local weld = ezweld(char, part, hed, CFrame.new(0, 0.6, 1.515) * CFrame.Angles(0, Rad(180), 0))
- local part = Instance.new("Part",char)
- part.Size = Vector3.new(0.896, 0.481, 0.075)
- part.CanCollide = false
- part.Transparency = 1
- local image = Instance.new("Decal",part)
- image.Texture = "rbxassetid://2761563038"
- local weld = ezweld(char, part, hed, CFrame.new(0, 0.15, 0.635) * CFrame.Angles(0, Rad(0), 0))
- local part = Instance.new("Part",char)
- part.Size = Vector3.new(1.035, 1.139, 0.084)
- part.CanCollide = false
- part.Transparency = 1
- local face = Instance.new("Decal",part)
- face.Texture = "rbxassetid://2761564397"
- local weld = ezweld(char, part, hed, CFrame.new(0, 0.2, 0.635) * CFrame.Angles(0, Rad(0), 0))
- --hat
- local part = Instance.new("Part",char)
- part.Size = Vector3.new(0.1, 0.1, 0.1)
- part.CanCollide = false
- local mesh = Instance.new("SpecialMesh",part)
- mesh.MeshId = "rbxassetid://2761841587"
- mesh.TextureId = "rbxassetid://2761841631"
- mesh.Scale = Vector3.new(0.075, 0.075, 0.075)
- local weld = ezweld(char, part, hed, CFrame.new(0, -1, 0) * CFrame.Angles(0, Rad(180), 0))
- --torso
- local part = Instance.new("Part",char)
- part.Size = Vector3.new(0.1, 0.1, 0.1)
- part.CanCollide = false
- local mesh = Instance.new("SpecialMesh",part)
- mesh.MeshId = "rbxassetid://2762121309"
- mesh.TextureId = "rbxassetid://2762121382"
- mesh.Scale = Vector3.new(0.075, 0.075, 0.075)
- local weld = ezweld(char, part, tors, CFrame.new(0, -0.35, 0) * CFrame.Angles(0, Rad(180), 0))
- local part = Instance.new("Part",char)
- part.Size = Vector3.new(0.1, 0.1, 0.1)
- part.CanCollide = false
- local mesh = Instance.new("SpecialMesh",part)
- mesh.MeshId = "rbxassetid://2762127657"
- mesh.TextureId = "rbxassetid://2762121382"
- mesh.Scale = Vector3.new(0.075, 0.075, 0.075)
- local weld = ezweld(char, part, tors, CFrame.new(0, 0.475, 0) * CFrame.Angles(0, Rad(180), 0))
- --cape
- local part = Instance.new("Part",char)
- part.Size = Vector3.new(0.1, 0.1, 0.1)
- part.CanCollide = false
- local mesh = Instance.new("SpecialMesh",part)
- mesh.MeshId = "rbxassetid://2762237943"
- mesh.TextureId = "rbxassetid://2762238039"
- mesh.Scale = Vector3.new(0.075, 0.075, 0.075)
- local weld = ezweld(char, part, tors, CFrame.new(0, 0, 0.4) * CFrame.Angles(0, Rad(180), 0))
- local part = Instance.new("Part",char)
- part.Size = Vector3.new(0.1, 0.1, 0.1)
- part.CanCollide = false
- local mesh = Instance.new("SpecialMesh",part)
- mesh.MeshId = "rbxassetid://2762238385"
- mesh.TextureId = "rbxassetid://2762238461"
- mesh.Scale = Vector3.new(0.075, 0.075, 0.075)
- local weld = ezweld(char, part, tors, CFrame.new(0, 0.55, 0.475) * CFrame.Angles(0, Rad(180), 0))
- --right arm
- local part = Instance.new("Part",char)
- part.Size = Vector3.new(0.1, 0.1, 0.1)
- part.CanCollide = false
- local mesh = Instance.new("SpecialMesh",part)
- mesh.MeshId = "rbxassetid://2762255362"
- mesh.TextureId = "rbxassetid://2762255493"
- mesh.Scale = Vector3.new(0.075, 0.075, 0.075)
- local weld = ezweld(char, part, ra, CFrame.new(-0.7, 0.85, 0) * CFrame.Angles(0, Rad(180), Rad(75)))
- local part = Instance.new("Part",char)
- part.Size = Vector3.new(0.1, 0.1, 0.1)
- part.CanCollide = false
- local mesh = Instance.new("SpecialMesh",part)
- mesh.MeshId = "rbxassetid://2762257346"
- mesh.TextureId = "rbxassetid://2762258146"
- mesh.Scale = Vector3.new(0.075, 0.075, 0.075)
- local weld = ezweld(char, part, ra, CFrame.new(-0.175, 0.895, 0) * CFrame.Angles(0, Rad(180), Rad(75)))
- local part = Instance.new("Part",char)
- part.Size = Vector3.new(0.1, 0.1, 0.1)
- part.CanCollide = false
- local mesh = Instance.new("SpecialMesh",part)
- mesh.MeshId = "rbxassetid://2762258066"
- mesh.TextureId = "rbxassetid://2762258146"
- mesh.Scale = Vector3.new(0.075, 0.075, 0.075)
- local weld = ezweld(char, part, ra, CFrame.new(0.1, 0.895, 0) * CFrame.Angles(0, Rad(180), Rad(75)))
- --left arm
- local part = Instance.new("Part",char)
- part.Size = Vector3.new(0.1, 0.1, 0.1)
- part.CanCollide = false
- local mesh = Instance.new("SpecialMesh",part)
- mesh.MeshId = "rbxassetid://2762269149"
- mesh.TextureId = "rbxassetid://2762121382"
- mesh.Scale = Vector3.new(0.075, 0.075, 0.075)
- local weld = ezweld(char, part, la, CFrame.new(0.7, 0.85, 0) * CFrame.Angles(0, Rad(180), Rad(-75)))
- local part = Instance.new("Part",char)
- part.Size = Vector3.new(0.1, 0.1, 0.1)
- part.CanCollide = false
- local mesh = Instance.new("SpecialMesh",part)
- mesh.MeshId = "rbxassetid://2762269843"
- mesh.TextureId = "rbxassetid://2762121382"
- mesh.Scale = Vector3.new(0.075, 0.075, 0.075)
- local weld = ezweld(char, part, la, CFrame.new(0.175, 0.895, 0) * CFrame.Angles(0, Rad(180), Rad(-75)))
- local part = Instance.new("Part",char)
- part.Size = Vector3.new(0.1, 0.1, 0.1)
- part.CanCollide = false
- local mesh = Instance.new("SpecialMesh",part)
- mesh.MeshId = "rbxassetid://2762271391"
- mesh.TextureId = "rbxassetid://2762271479"
- mesh.Scale = Vector3.new(0.075, 0.075, 0.075)
- local weld = ezweld(char, part, la, CFrame.new(-0.1, 0.895, 0) * CFrame.Angles(0, Rad(180), Rad(-75)))
- --right leg
- local part = Instance.new("Part",char)
- part.Size = Vector3.new(0.1, 0.1, 0.1)
- part.CanCollide = false
- local mesh = Instance.new("SpecialMesh",part)
- mesh.MeshId = "rbxassetid://2762173703"
- mesh.TextureId = "rbxassetid://2762173818"
- mesh.Scale = Vector3.new(0.08, 0.08, 0.08)
- local weld = ezweld(char, part, rl, CFrame.new(-0.225, -1.35 + 0.15, 0) * CFrame.Angles(0, Rad(180), Rad(0)))
- local part = Instance.new("Part",char)
- part.Size = Vector3.new(0.1, 0.1, 0.1)
- part.CanCollide = false
- local mesh = Instance.new("SpecialMesh",part)
- mesh.MeshId = "rbxassetid://2762174407"
- mesh.TextureId = "rbxassetid://2762174473"
- mesh.Scale = Vector3.new(0.08, 0.08, 0.08)
- local weld = ezweld(char, part, rl, CFrame.new(-0.225, -0.95 + 0.15, 0) * CFrame.Angles(0, Rad(180), Rad(0)))
- local part = Instance.new("Part",char)
- part.Size = Vector3.new(0.1, 0.1, 0.1)
- part.CanCollide = false
- local mesh = Instance.new("SpecialMesh",part)
- mesh.MeshId = "rbxassetid://2762174719"
- mesh.TextureId = "rbxassetid://2762174802"
- mesh.Scale = Vector3.new(0.08, 0.08, 0.08)
- local weld = ezweld(char, part, rl, CFrame.new(-0.225, -0.6 + 0.15, -0.1) * CFrame.Angles(0, Rad(180), Rad(0)))
- --left leg
- local part = Instance.new("Part",char)
- part.Size = Vector3.new(0.1, 0.1, 0.1)
- part.CanCollide = false
- local mesh = Instance.new("SpecialMesh",part)
- mesh.MeshId = "rbxassetid://2762175070"
- mesh.TextureId = "rbxassetid://2762175129"
- mesh.Scale = Vector3.new(0.08, 0.08, 0.08)
- local weld = ezweld(char, part, ll, CFrame.new(0.225, -1.35 + 0.15, 0) * CFrame.Angles(0, Rad(180), Rad(0)))
- local part = Instance.new("Part",char)
- part.Size = Vector3.new(0.1, 0.1, 0.1)
- part.CanCollide = false
- local mesh = Instance.new("SpecialMesh",part)
- mesh.MeshId = "rbxassetid://2762175461"
- mesh.TextureId = "rbxassetid://2762175529"
- mesh.Scale = Vector3.new(0.08, 0.08, 0.08)
- local weld = ezweld(char, part, ll, CFrame.new(0.225, -0.95 + 0.15, 0) * CFrame.Angles(0, Rad(180), Rad(0)))
- local part = Instance.new("Part",char)
- part.Size = Vector3.new(0.1, 0.1, 0.1)
- part.CanCollide = false
- local mesh = Instance.new("SpecialMesh",part)
- mesh.MeshId = "rbxassetid://2762176066"
- mesh.TextureId = "rbxassetid://2762176143"
- mesh.Scale = Vector3.new(0.08, 0.08, 0.08)
- local weld = ezweld(char, part, ll, CFrame.new(0.225, -0.6 + 0.15, -0.1) * CFrame.Angles(0, Rad(180), Rad(0)))
- print'by youngmacka123'
- plr.Chatted:connect(function(msg)
- if msg == "normal" then
- face.Texture = "http://www.roblox.com/asset/?id=2761564397"
- end
- if msg == "mad" then
- face.Texture = "http://www.roblox.com/asset/?id=2761982753"
- end
- if msg == "scared" then
- face.Texture = "http://www.roblox.com/asset/?id=2761855079"
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement