Advertisement
1x1x1x1IAMbck

eye

Apr 17th, 2018
377
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.36 KB | None | 0 0
  1. local emit = function(parent,tex,startcolor, endcolor, startsize,endsize,lightem,emdir,lif,rate,speed,rotspeed,sprdang1,sprdang2,locked2part)
  2. emm = it("ParticleEmitter",parent)
  3. emm.Texture = tex
  4. emm.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,startcolor),ColorSequenceKeypoint.new(1,endcolor)})
  5. emm.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,startsize),NumberSequenceKeypoint.new(1,endsize)})
  6. emm.LightEmission = lightem
  7. emm.EmissionDirection = emdir
  8. emm.Lifetime = NumberRange.new(lif)
  9. emm.Rate = rate
  10. emm.Speed = NumberRange.new(speed)
  11. emm.RotSpeed = NumberRange.new(rotspeed)
  12. emm.SpreadAngle = Vector2.new(sprdang1,sprdang2)
  13. emm.LockedToPart = locked2part
  14. return(emm)
  15. end
  16.  
  17.  
  18.  
  19.  
  20. righteyebrickcolor = "Dark indigo"
  21.  
  22. local reye = Instance.new("Part", char)
  23. reye.CanCollide = false
  24. reye.BrickColor = BrickColor.new(righteyebrickcolor)
  25. reye.Material = "Neon"
  26. reye.Size = Vector3.new(.15,.15,.15)
  27. weld(reye, char.Head, CFrame.new(0.15,-0.2,0.55), CFrame.new(1,0,0))
  28. m1 = Instance.new("SpecialMesh", reye)
  29. m1.MeshType = "Sphere"
  30. m1.Scale = Vector3.new(0.7,1.3,0.9)
  31. reye.Locked = true
  32. reye.Name = "re"
  33.  
  34.  
  35. ShadowHead = New("Part",char,"ShadowHead",{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.0666667, 0.0666667, 0.0666667),})
  36. Mesh = New("SpecialMesh",ShadowHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
  37. Weld = New("Weld",ShadowHead,"mot",{Part0 = ShadowHead,Part1 = char.Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  38.  
  39.  
  40. emit(reye,"rbxasset://textures/particles/sparkles_main.dds",Color3.new(.1,.1,1),Color3.new(0,0,0),0.1,0.1,1,"Top",0.5,5000,0.25,200,0,360,true)
  41.  
  42.  
  43. mouse.KeyDown:connect(function(key)
  44. if key == "]" then
  45.  
  46. function Flash(part)
  47. local m = Instance.new("Part", char)
  48. m.CanCollide = false
  49. m.BrickColor = BrickColor.new(righteyebrickcolor)
  50. m.Anchored = true
  51. m.Material = "Neon"
  52. m.Size = Vector3.new(.15,.15,.15)
  53. m1 = Instance.new("SpecialMesh", m)
  54. m1.MeshType = "Sphere"
  55. m1.Scale = Vector3.new(0.9,6.5,0.9)
  56.  
  57. local m2 = Instance.new("Part", char)
  58. m2.CanCollide = false
  59. m2.BrickColor = BrickColor.new(righteyebrickcolor)
  60. m2.Anchored = true
  61. m2.Material = "Neon"
  62. m2.Size = Vector3.new(.15,.15,.15)
  63. m21 = Instance.new("SpecialMesh", m2)
  64. m21.MeshType = "Sphere"
  65. m21.Scale = Vector3.new(0.9,6.5,0.9)
  66.  
  67. CFuncs.Sound.Create("341336274",char,10,1)
  68. for i = 1,10 do
  69. wait()
  70. m.CFrame = part.CFrame * CFrame.new(0,0,-0.1)
  71. m2.CFrame = part.CFrame * CFrame.new(0,0,-0.1) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(90))
  72. m1.Scale = m1.Scale + Vector3.new(-0.1,0.4,-.1)
  73. m21.Scale = m1.Scale + Vector3.new(-0.1,0.4,-.1)
  74. end
  75.  
  76. m:Destroy()
  77. m2:Destroy()
  78. end
  79. Flash(reye)
  80. end
  81. end)
  82.  
  83.  
  84. mouse.Button1Down:connect(function()
  85. if attack == false and attacktype == 1 then
  86. attacktype = 2
  87. attackone()
  88. elseif attack == false and attacktype == 2 then
  89. attacktype = 3
  90. attacktwo()
  91. elseif attack == false and attacktype == 3 then
  92. attacktype = 4
  93. attackthree()
  94. elseif attack == false and attacktype == 4 then
  95. attacktype = 1
  96. attackfour()
  97. end
  98. end)
  99.  
  100. local animpose = "Idle"
  101. local lastanimpose = "Idle"
  102. local sine = 0
  103. local change = 1
  104. local val = 0
  105. local ffing = false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement