Advertisement
Mr-Shadow_Cat

Eyes

Mar 3rd, 2018
449
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.29 KB | None | 0 0
  1. Player = owner.Character
  2. Character = owner.Character
  3. Humanoid = Character.Humanoid
  4. local righteyebrickcolor = "Gold"
  5. Torso = Character.Torso
  6. Head = Character.Head
  7. IT = Instance.new
  8. CF = CFrame.new
  9. VT = Vector3.new
  10. RAD = math.rad
  11. C3 = Color3.new
  12. UD2 = UDim2.new
  13. BRICKC = BrickColor.new
  14. local Create = LoadLibrary("RbxUtility").Create
  15. ANGLES = CFrame.Angles
  16. EULER = CFrame.fromEulerAnglesXYZ
  17. COS = math.cos
  18. ACOS = math.acos
  19. SIN = math.sin
  20. ASIN = math.asin
  21. ABS = math.abs
  22. MRANDOM = math.random
  23. FLOOR = math.floor
  24. function weld(a, b, acf)
  25. local w = Instance.new("Weld", a)
  26. w.Part0 = a
  27. w.Part1 = b
  28. w.C0 = acf
  29. end
  30. New = function(Object, Parent, Name, Data)
  31. local Object = Instance.new(Object)
  32. for Index, Value in pairs(Data or {}) do
  33. Object[Index] = Value
  34. end
  35. Object.Parent = Parent
  36. Object.Name = Name
  37. return Object
  38. end
  39. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  40. local NEWMESH = IT(MESH)
  41. if MESH == "SpecialMesh" then
  42. NEWMESH.MeshType = MESHTYPE
  43. if MESHID ~= "nil" and MESHID ~= "" then
  44. NEWMESH.MeshId = "http://www.roblox.com/asset/?id=" .. MESHID
  45. end
  46. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  47. NEWMESH.TextureId = "http://www.roblox.com/asset/?id=" .. TEXTUREID
  48. end
  49. end
  50. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  51. NEWMESH.Scale = SCALE
  52. NEWMESH.Parent = PARENT
  53. return NEWMESH
  54. end
  55. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  56. local NEWPART = IT("Part")
  57. NEWPART.formFactor = FORMFACTOR
  58. NEWPART.Reflectance = REFLECTANCE
  59. NEWPART.Transparency = TRANSPARENCY
  60. NEWPART.CanCollide = false
  61. NEWPART.Locked = true
  62. NEWPART.Anchored = true
  63. if ANCHOR == false then
  64. NEWPART.Anchored = false
  65. end
  66. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  67. NEWPART.Name = NAME
  68. NEWPART.Size = SIZE
  69. NEWPART.Position = Torso.Position
  70. NEWPART.Material = MATERIAL
  71. NEWPART:BreakJoints()
  72. NEWPART.Parent = PARENT
  73. return NEWPART
  74. end
  75.  
  76. ReaperShadowHead = New("Part",Character,"ReaperShadowHead",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Color = Color3.new(0, 0, 0),})
  77. Mesh = New("SpecialMesh",ReaperShadowHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
  78. Weld = New("Weld",ReaperShadowHead,"mot",{Part0 = ReaperShadowHead,Part1 = Character.Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  79. ReaperShadowHead.Name = 'ReaperShadowHead'
  80.  
  81. local re = Instance.new("Part", ReaperShadowHead)
  82. re.CanCollide = false
  83. re.BrickColor = BrickColor.new(righteyebrickcolor)
  84. re.Material = "Neon"
  85. re.Name = "Eye1"
  86. re.Size = Vector3.new(.12,.22,.12)
  87. re.Parent = ReaperShadowHead
  88. weld(re, Character.Head, CFrame.new(0.14,-0.2,0.55), CFrame.new(0.9,0,0))
  89. m1 = Instance.new("SpecialMesh", re)
  90. m1.MeshType = "Sphere"
  91. m1.Scale = Vector3.new(0.9,0.9,0.9)
  92. re.Locked = true
  93.  
  94. local le = Instance.new("Part", ReaperShadowHead)
  95. le.CanCollide = false
  96. le.BrickColor = BrickColor.new(righteyebrickcolor)
  97. le.Material = "Neon"
  98. le.Name = "Eye2"
  99. le.Size = Vector3.new(.12,.22,.12)
  100. le.Parent = ReaperShadowHead
  101. weld(le, Character.Head, CFrame.new(-0.14,-0.2,0.55), CFrame.new(0.9,0,0))
  102. local m = Instance.new("SpecialMesh", le)
  103. m.MeshType = "Sphere"
  104. m.Scale = Vector3.new(0.914,0.914,0.914)
  105. le.Locked = true
  106.  
  107. owner.Chatted:connect(function(m)
  108. if(m == '/e mutant') then
  109. re.BrickColor = BrickColor.new("Really red")
  110. le.BrickColor = BrickColor.new("Dark indigo")
  111.  
  112. elseif(m == '/e calm') then
  113. re.BrickColor = BrickColor.new("Gold")
  114. le.BrickColor = BrickColor.new("Gold")
  115.  
  116. elseif(m == '/e pasive') then
  117. re.BrickColor = BrickColor.new("Lime green")
  118. le.BrickColor = BrickColor.new("Lime green")
  119.  
  120.  
  121. elseif(m == '/e sad') then
  122. re.BrickColor = BrickColor.new("Light blue")
  123. le.BrickColor = BrickColor.new("Light blue")
  124.  
  125. elseif(m == '/e knight') then
  126. re.BrickColor = BrickColor.new("Lapis")
  127. le.BrickColor = BrickColor.new("Lapis")
  128.  
  129. elseif(m == '/e angry') then
  130. re.BrickColor = BrickColor.new("Bright red")
  131. le.BrickColor = BrickColor.new("Bright red")
  132. end
  133. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement