Advertisement
ScripterLUA

ashashgas

Dec 8th, 2015
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.48 KB | None | 0 0
  1. --MADE BY OneLegend (NOT THE SCRIPT) REGULAR SCRIPT: Go to line 4 and put your name where it says "YOUR NAME HERE"
  2.  
  3.  
  4. Rainbow = {"Light stone grey", "Mid grey", "Medium stone grey", "Dark stone grey", "Black", "Really black"}
  5. me = game.Players.DarknessIsFallingLol
  6. function Part(P, Anch, Coll, Tran, Ref, Col, Size, Name)
  7. local p = Instance.new("Part")
  8. p.TopSurface = 0
  9. p.BottomSurface = 0
  10. p.Transparency = Tran
  11. p.Reflectance = Ref
  12. p.CanCollide = Coll
  13. p.Anchored = Anch
  14. p.BrickColor = BrickColor.new(Col)
  15. p.formFactor = "Custom"
  16. p.Size = Size
  17. if Name then p.Name = Name end
  18. p.Parent = P
  19. p.Locked = true
  20. p:BreakJoints()
  21. return p
  22. end
  23. V3 = Vector3.new
  24. CN = CFrame.new
  25. CA = CFrame.Angles
  26. MR = math.rad
  27. MRA = math.random
  28. function Weld(P0, P1, CF1, CF2, Name)
  29. local w = Instance.new("Motor6D")
  30. w.Part0 = P0
  31. w.Part1 = P1
  32. w.C0 = CF1
  33. w.C1 = CF2
  34. if Name then w.Name = Name end
  35. w.Parent = P0
  36. return w
  37. end
  38. function MakeNyan(Player, S)
  39. local Naim = "Nayn "..Player.Name:sub(1,5)
  40. if S >= 5 then Naim = "Giant Nayn "..Player.Name:sub(1,5) end
  41. local Model = Instance.new("Model")
  42. Model.Name = Naim
  43. local Torso = Part(Model, false, false, 0, 0, "Bright yellow", V3(0.5*S, 1.5*S, 2*S), "Torso")
  44. local Head = Part(Model, false, false, 0, 0, "Really black", V3(0.6*S, 0.8*S, 1.2*S), "Head")
  45. Instance.new("BlockMesh",Head)
  46. local Tart = Part(Model, false, false, 0, 0, "Br. yellowish orange", V3(0.5*S+0.05, 0.4*S, 0.5*S), "Torso")
  47. Instance.new("BlockMesh",Tart)
  48. Weld(Torso, Tart, CN(0, 0.45*S, -0.6*S), CN())
  49. local Tart2 = Part(Model, false, false, 0, 0, "Br. yellowish orange", V3(0.5*S+0.05, 0.4*S, 0.5*S), "Torso")
  50. Instance.new("BlockMesh",Tart2)
  51. Weld(Torso, Tart2, CN(0, 0.45*S, 0*S), CN())
  52. local Tart3 = Part(Model, false, false, 0, 0, "Br. yellowish orange", V3(0.5*S+0.05, 0.4*S, 0.5*S), "Torso")
  53. Instance.new("BlockMesh",Tart3)
  54. Weld(Torso, Tart3, CN(0, 0.45*S, 0.6*S), CN())
  55. local Tart4 = Part(Model, false, false, 0, 0, "Br. yellowish orange", V3(0.5*S+0.05, 0.4*S, 0.5*S), "Torso")
  56. Instance.new("BlockMesh",Tart4)
  57. Weld(Torso, Tart4, CN(0, 0*S, 0*S), CN())
  58. local Tart5 = Part(Model, false, false, 0, 0, "Br. yellowish orange", V3(0.5*S+0.05, 0.4*S, 0.5*S), "Torso")
  59. Instance.new("BlockMesh",Tart5)
  60. Weld(Torso, Tart5, CN(0, 0*S, 0.6*S), CN())
  61. local Tart55 = Part(Model, false, false, 0, 0, "Br. yellowish orange", V3(0.5*S+0.05, 0.4*S, 0.5*S), "Torso")
  62. Instance.new("BlockMesh",Tart55)
  63. Weld(Torso, Tart55, CN(0, 0*S, -0.6*S), CN())
  64. local Tart6 = Part(Model, false, false, 0, 0, "Br. yellowish orange", V3(0.5*S+0.05, 0.4*S, 0.5*S), "Torso")
  65. Instance.new("BlockMesh",Tart6)
  66. Weld(Torso, Tart6, CN(0, -0.45*S, 0*S), CN())
  67. local Tart7 = Part(Model, false, false, 0, 0, "Br. yellowish orange", V3(0.5*S+0.05, 0.4*S, 0.5*S), "Torso")
  68. Instance.new("BlockMesh",Tart7)
  69. Weld(Torso, Tart7, CN(0, -0.45*S, 0.6*S), CN())
  70. local Neck = Weld(Torso, Head, CN(0, -0.35*S, -0.9*S), CN(), "Neck")
  71. local RFL = Part(Model, false, false, 0, 0, "Really black", V3(0.4*S, 0.6*S, 0.4*S), "Right Arm")
  72. Instance.new("SpecialMesh",RFL).MeshType = "Sphere"
  73. local LFL = Part(Model, false, false, 0, 0, "Really black", V3(0.4*S, 0.6*S, 0.4*S), "Left Arm")
  74. Instance.new("SpecialMesh",LFL).MeshType = "Sphere"
  75. local RBL = Part(Model, false, false, 0, 0, "Really black", V3(0.4*S, 0.6*S, 0.4*S), "Right Leg")
  76. Instance.new("SpecialMesh",RBL).MeshType = "Sphere"
  77. local LBL = Part(Model, false, false, 0, 0, "Really black", V3(0.4*S, 0.6*S, 0.4*S), "Left Leg")
  78. Instance.new("SpecialMesh",LBL).MeshType = "Sphere"
  79. local RSH = Weld(Torso, RFL, CN(), CN(-0.1*S, 0.8*S, 0.8*S), "Right Shoulder")
  80. local LSH = Weld(Torso, LFL, CN(), CN(0.1*S, 0.8*S, 0.6*S), "Left Shoulder")
  81. local RH = Weld(Torso, RBL, CN(), CN(-0.1*S, 0.8*S, -0.8*S), "Right Hip")
  82. local LH = Weld(Torso, LBL, CN(), CN(0.1*S, 0.8*S, -1*S), "Left Hip")
  83. local Mouth = Part(Model, false, false, 0, 0, "White", V3(0.6*S+0.05, 0.2*S, 0.6*S))
  84. Weld(Head, Mouth, CN(0, -0.15*S, -0.1), CN())
  85. Instance.new("BlockMesh",Mouth).Scale = V3(1, 0.6, 0.8)
  86. for i = -0.25, 0.25, 0.25 do
  87. local Mouth2 = Part(Model, false, false, 0, 0, "White", V3(0.6*S+0.05, 0.3*S, 0.2*S))
  88. Weld(Mouth, Mouth2, CN(0, -0.1*S, i*S), CN())
  89. Instance.new("BlockMesh",Mouth2).Scale = V3(1, 0.6, 0.6)
  90. end
  91. local Nose = Part(Model, false, false, 0, 0, "Dark stone grey", V3(0.6*S+0.05, 0.2*S, 0.2*S))
  92. Weld(Head, Nose, CN(0, 0.05*S, -0.1*S), CN())
  93. Instance.new("BlockMesh",Nose).Scale = V3(1, 0.6, 0.6)
  94.  
  95.  
  96.  
  97.  
  98. local Eyebrow1 = Part(Model, false, false, 0, 0, "Really red", V3(0.6*S+0.05, 0.2*S, 0.2*S))
  99. Weld(Head, Eyebrow1, CN(0, 0.26*S, -0.28*S), CN())
  100. Instance.new("BlockMesh",Eyebrow1).Scale = V3(1, 0.4, 0.4)
  101.  
  102.  
  103. local Eyebrow12 = Part(Model, false, false, 0, 0, "Really red", V3(0.6*S+0.05, 0.2*S, 0.2*S))
  104. Weld(Head, Eyebrow12, CN(0, 0.26*S, 0.1*S), CN())
  105. Instance.new("BlockMesh",Eyebrow12).Scale = V3(1, 0.4, 0.4)
  106.  
  107.  
  108. local Eyebrow2 = Part(Model, false, false, 0, 0, "Really red", V3(0.6*S+0.05, 0.2*S, 0.3*S))
  109. Weld(Head, Eyebrow2, CN(0, 0.34*S, -0.4*S), CN())
  110. Instance.new("BlockMesh",Eyebrow2).Scale = V3(1, 0.4, 0.6)
  111.  
  112. local Eyebrow22 = Part(Model, false, false, 0, 0, "Really red", V3(0.6*S+0.05, 0.2*S, 0.3*S))
  113. Weld(Head, Eyebrow22, CN(0, 0.34*S, 0.23*S), CN())
  114. Instance.new("BlockMesh",Eyebrow22).Scale = V3(1, 0.4, 0.6)
  115.  
  116.  
  117.  
  118. for i = -0.3, 0.31, 0.6 do
  119. local Eye = Part(Model, false, false, 0, 0, "Really red", V3(0.6*S+0.05, 0.3*S, 0.3*S))
  120. Weld(Head, Eye, CN(0, 0.15*S, (i-0.1)*S), CN())
  121. local Eye2 = Part(Model, false, false, 0, 0, "Institutional white", V3(0.6*S+0.1, 0.2*S, 0.2*S))
  122. Weld(Eye, Eye2, CN(0, 0.04*S, 0.04*S), CN())
  123. Instance.new("BlockMesh",Eye).Scale = V3(1, 0.6, 0.6)
  124. Instance.new("BlockMesh",Eye2).Scale = V3(1, 0.4, 0.4)
  125. end
  126. for i = -0.4, 0.5, 0.9 do
  127. local Cheek = Part(Model, false, false, 0, 0, "Hot pink", V3(0.6*S+0.05, 0.2*S, 0.2*S))
  128. Instance.new("BlockMesh",Cheek).Scale = V3(1, 0.8, 0.8)
  129. Weld(Head, Cheek, CN(0, -0.05*S, (i-0.1)*S), CN())
  130. end
  131. for i = -80, -140, -20 do
  132. local tail = Part(Model, false, false, 0, 0, "Really black", V3(0.4*S, 0.25*S, 0.3*S))
  133. Weld(Torso, tail, CN(0, 0.2*S, 1.15*S) * CA(MR(i), 0, 0), CN(0, 0, 0.5*S))
  134. Instance.new("BlockMesh",tail)
  135. end
  136. for i = 0, 180, 180 do
  137. local ear = Part(Model, false, false, 0, 0, "Really black", V3(0.6*S, 0.4*S, 0.5*S))
  138. Instance.new("SpecialMesh",ear).MeshType = "Wedge"
  139. Weld(Head, ear, CN(0, 0.45*S, 0) * CA(0, MR(i), 0), CN(0, 0, -0.32*S) * CA(MR(15), 0, 0))
  140. end
  141. local Hum = Instance.new("Humanoid")
  142. Hum.Name = "Humanoid"
  143. Hum.MaxHealth = 100
  144. Hum.Health = 100
  145. Hum.WalkSpeed = 11+(5*S)
  146. Hum.Parent = Model
  147. Model.Parent = workspace
  148. Model:MakeJoints()
  149. Model:MoveTo(V3(0, 2*S, 0))
  150. Player.Character = Model
  151. local lastP = (Torso.CFrame * CN(0, 0, 0.9*S)).p
  152. local function runn()
  153. for i = 0.5, 1, 0.5 do
  154. RSH.C0 = CN(0, -(0.2*S)*i, 0)
  155. LSH.C0 = CN(0, -(0.2*S)*i, 0)
  156. RH.C0 = CN(0, -(0.2*S)*i, 0)
  157. LH.C0 = CN(0, -(0.2*S)*i, 0)
  158. wait()
  159. end
  160. for i = 0.5, 1, 0.5 do
  161. RSH.C0 = CN(0, -(0.2*S), (0.2*S)*i)
  162. LSH.C0 = CN(0, -(0.2*S), (0.2*S)*i)
  163. RH.C0 = CN(0, -(0.2*S), (0.2*S)*i)
  164. LH.C0 = CN(0, -(0.2*S), (0.2*S)*i)
  165. wait()
  166. end
  167. for i = 0.5, 1, 0.5 do
  168. RSH.C0 = CN(0, -(0.2*S)+(0.2*S)*i, (0.2*S))
  169. LSH.C0 = CN(0, -(0.2*S)+(0.2*S)*i, (0.2*S))
  170. RH.C0 = CN(0, -(0.2*S)+(0.2*S)*i, (0.2*S))
  171. LH.C0 = CN(0, -(0.2*S)+(0.2*S)*i, (0.2*S))
  172. wait()
  173. end
  174. for i = 0.5, 1, 0.5 do
  175. RSH.C0 = CN(0, 0, (0.2*S)-(0.2*S)*i)
  176. LSH.C0 = CN(0, 0, (0.2*S)-(0.2*S)*i)
  177. RH.C0 = CN(0, 0, (0.2*S)-(0.2*S)*i)
  178. LH.C0 = CN(0, 0, (0.2*S)-(0.2*S)*i)
  179. wait()
  180. end
  181. end
  182. local poss = "Standing"
  183. coroutine.resume(coroutine.create(function()
  184. while Player.Character == Model do
  185. wait(0.1)
  186. if poss == "Running" then
  187. runn()
  188. end
  189. end
  190. end))
  191. coroutine.resume(coroutine.create(function()
  192. while Player.Character == Model do
  193. wait(0.1)
  194. local speed = Torso.Velocity.magnitude
  195. local posnow = (Torso.CFrame * CN(0, 0, 0.9*S)).p
  196. coroutine.resume(coroutine.create(function()
  197. if speed > 2 then
  198. poss = "Running"
  199. local ps = {}
  200. for i,v in pairs(Rainbow) do
  201. local a = (#Rainbow-i)
  202. a = ((a-(a/2))/2.5)*S
  203. local pp = Part(Model, true, false, 0, 0, v, V3(0.2, 0.2, 0.2), "Rainbow")
  204. local dist = (posnow - lastP).magnitude
  205. Instance.new("BlockMesh",pp).Scale = V3(1, ((1.4*S)/#Rainbow)*5, dist*5)
  206. pp.CFrame = CN(lastP, posnow) * CN(0, a, -dist/2)
  207. table.insert(ps, pp)
  208. end
  209. coroutine.resume(coroutine.create(function()
  210. wait(10)
  211. for i = 0, 1, 0.2 do
  212. wait()
  213. for _,v in pairs(ps) do
  214. v.Transparency = i
  215. end
  216. end
  217. for _,v in pairs(ps) do
  218. v:remove()
  219. end
  220. end))
  221. else poss = "Standing" end
  222. end))
  223. lastP = posnow
  224. end
  225. end))
  226. end
  227. --for i,v in pairs(game.Players:GetPlayers()) do
  228. -- MakeNyan(v, MRA(10,120)/10)
  229. --end
  230. MakeNyan(me, 1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement