123
This commit is contained in:
1 parent
b6f4ce020a
commit
bae57661a9
13 files changed
+2802
-516
No files matched your search
@@ -1828,9 +1828,29 @@ local function spawnNpc(spot, parent)
|
||||
w.C0 = head.CFrame:Inverse() * p.CFrame
|
||||
w.Parent = p
|
||||
p.Parent = rig
|
||||
<<<<<<< HEAD
|
||||
return p
|
||||
end
|
||||
if spot:GetAttribute("Look") == "Elder" then
|
||||
-- Старейшина Ворон: седые волосы и борода (цвет HatColor), чёрная повязка на глазу
|
||||
local function elderPart(size, offset, color, shape)
|
||||
local p = hatPart(size, offset, shape or Enum.PartType.Block)
|
||||
p.Color = color
|
||||
p.Material = Enum.Material.SmoothPlastic
|
||||
end
|
||||
elderPart(V(1.25, 0.35, 1.25), CFrame.new(0, 0.55, 0.05), colors.hat)
|
||||
elderPart(V(1.0, 0.75, 0.35), CFrame.new(0, -0.55, -0.5), colors.hat)
|
||||
elderPart(V(0.32, 0.3, 0.08), CFrame.new(0.22, 0.12, -0.6), Color3.fromRGB(20, 20, 22))
|
||||
elderPart(V(1.24, 0.08, 1.24), CFrame.new(0, 0.18, 0) * CFrame.Angles(0, 0, math.rad(-12)), Color3.fromRGB(20, 20, 22))
|
||||
else
|
||||
hatPart(V(0.15, 2.0, 2.0), CFrame.new(0, 0.55, 0) * CFrame.Angles(0, 0, math.rad(90)), Enum.PartType.Cylinder)
|
||||
hatPart(V(0.6, 1.35, 1.35), CFrame.new(0, 0.85, 0) * CFrame.Angles(0, 0, math.rad(90)), Enum.PartType.Cylinder)
|
||||
end
|
||||
=======
|
||||
end
|
||||
hatPart(V(0.15, 2.0, 2.0), CFrame.new(0, 0.55, 0) * CFrame.Angles(0, 0, math.rad(90)), Enum.PartType.Cylinder)
|
||||
hatPart(V(0.6, 1.35, 1.35), CFrame.new(0, 0.85, 0) * CFrame.Angles(0, 0, math.rad(90)), Enum.PartType.Cylinder)
|
||||
>>>>>>> 1ff7ef7e83a97a0e100d5c3805ebc4ad762a2806
|
||||
end
|
||||
local action = spot:GetAttribute("NpcAction")
|
||||
if action then
|
||||
|
||||
Reference in new issue
Block a user