Advertisement
FloweyTheFlower

Roblox Scripts #10 Dark Super Cloud Rider

Aug 25th, 2017
474
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.17 KB | None | 0 0
  1. -- Scripts Made by BonnieKunG1s --
  2. -- uhh WHO EDIT FUCK YOU --
  3. local plr = game.Players.LocalPlayer
  4. local chr = plr.Character
  5. local maus = plr:GetMouse()
  6. local PGui=plr.PlayerGui
  7. local lleg = chr["Left Leg"]
  8. local rleg = chr["Right Leg"]
  9. local larm = chr["Left Arm"]
  10. local rarm = chr["Right Arm"]
  11. local hed = chr.Head
  12. local rutprt = chr.HumanoidRootPart
  13. local torso = chr.Torso
  14. local otheranims=false
  15. local armmovement=false
  16. local toss=false
  17. local jamp=false
  18. chr.Animate.Disabled=true
  19. local running=false
  20. local tek=0
  21. local ltdb=false
  22. local surfing=true
  23. local rising=false
  24. local cloudanim='Regular'
  25. local dnc=false
  26. local fldb={['w']=false,['a']=false,['s']=false,['d']=false}
  27. local TotalRate=10
  28. local trcolor = {"Cyan","Deep blue","Really blue","Medium blue"}
  29. clepz = {"138151785","131396502","152626854"}
  30.  
  31. coroutine.resume(coroutine.create(function()
  32. for i,x in pairs(chr:GetChildren()) do if x:IsA('Part') then x.Material='SmoothPlastic' elseif x:IsA('Hat') then x.Handle.Material='SmoothPlastic' end end end))
  33.  
  34.  
  35.  
  36.  
  37.  
  38. chr.Humanoid.WalkSpeed=25
  39.  
  40.  
  41. function Lerp(a, b, i)
  42. local com1 = {a.X, a.Y, a.Z, a:toEulerAnglesXYZ()}
  43. local com2 = {b.X, b.Y, b.Z, b:toEulerAnglesXYZ()}
  44. local calx = com1[1] + (com2[1] - com1[1]) * i
  45. local caly = com1[2] + (com2[2] - com1[2]) * i
  46. local calz = com1[3] + (com2[3] - com1[3]) * i
  47. local cala = com1[4] + (com2[4] - com1[4]) * i
  48. local calb = com1[5] + (com2[5] - com1[5]) * i
  49. local calc = com1[6] + (com2[6] - com1[6]) * i
  50. return CFrame.new(calx, caly, calz) * CFrame.Angles(cala, calb, calc)
  51. end
  52.  
  53. function TwnSingleNumber(s,f,m)
  54. local wot=s+(f-s)*m
  55. return wot
  56. end
  57.  
  58. function TwnVector3(q,w,e)
  59. local begin={q.x,q.y,q.z}
  60. local ending={w.x,w.y,w.z}
  61. local bgx=begin[1]+(ending[1]-begin[1])*e
  62. local bgy=begin[2]+(ending[2]-begin[2])*e
  63. local bgz=begin[3]+(ending[3]-begin[3])*e
  64. return Vector3.new(bgx,bgy,bgz)
  65. end
  66.  
  67. newWeld = function(wld, wp0, wp1, wc0x, wc0y, wc0z)
  68. wld = Instance.new("Weld", wp1)
  69. wld.Part0 = wp0
  70. wld.Part1 = wp1
  71. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  72. end
  73.  
  74. newWeld(law, torso, larm, -1.5, 0.5, 0)
  75. newWeld(raw, torso, rarm, 1.5, 0.5, 0)
  76. newWeld(llw, torso, lleg, -.5, -2, 0)
  77. newWeld(rlw, torso, rleg, .5, -2, 0)
  78. newWeld(hw, torso, hed, 0, 1.5, 0)
  79. local rutwald=Instance.new('Weld',rutprt)
  80. rutwald.Part0=rutprt
  81. rutwald.Part1=torso
  82. rutwald.Name="RootJoint"
  83. rutprt.RootJoint.C1=CFrame.new(0,-1,3)*CFrame.Angles(math.rad(10),math.rad(180),0)
  84. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  85. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  86. rleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0)
  87. lleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0)
  88.  
  89. local anim = "Idling"
  90. local lastanim = "Idling"
  91. local val = 0
  92. local syne = 0
  93. local num = 0
  94. local runtime = 0
  95.  
  96. local claud=Instance.new('Part',chr)
  97. claud.CanCollide=false
  98. claud.Anchored=false
  99. claud.Name='Claud'
  100. claud.formFactor='Custom'
  101. claud.Locked=true
  102. claud.Material='SmoothPlastic'
  103. claud.BrickColor=BrickColor.new('Light stone grey')
  104. claud.TopSurface=10
  105. claud.BottomSurface=10
  106. claud.LeftSurface=10
  107. claud.RightSurface=10
  108. claud.FrontSurface=10
  109. claud.BackSurface=10
  110. claud:breakJoints()
  111. local emit=Instance.new("ParticleEmitter",claud)
  112. emit.Lifetime=NumberRange.new(1,2)
  113. emit.RotSpeed=NumberRange.new(3,6)
  114. emit.Name='claudmitterpls'
  115. emit.Acceleration=Vector3.new(math.random(-50,50)*.01,1,math.random(-50,50)*.01)
  116. emit.Size=NumberSequence.new(.5,1)
  117. emit.Transparency=NumberSequence.new(1)
  118. emit.Texture="http://www.roblox.com/asset?id=241541739"
  119. local clms=Instance.new('SpecialMesh',claud)
  120. clms.MeshId="http://www.roblox.com/asset/?id=1095708"
  121. clms.TextureId="http://www.roblox.com/asset/?id=298752372"
  122. clms.Scale=Vector3.new(7,2.5,6)
  123. local clwl=Instance.new('Weld',claud)
  124. clwl.Part0=rutprt
  125. clwl.Part1=claud
  126. clwl.C0=CFrame.new(0,0,.85)*CFrame.Angles(math.rad(100),math.rad(90),0)
  127.  
  128.  
  129. maus.KeyUp:connect(function(kei)
  130. if string.byte(kei)==48 and not otheranims then
  131. if surfing then
  132. chr.Humanoid.WalkSpeed=40
  133. elseif not surfing then
  134. chr.Humanoid.WalkSpeed=25
  135. end
  136. end
  137. if kei=='e' then
  138. floating=false
  139. end
  140. if kei=='q' then
  141. lowering=false
  142. end
  143. if kei=='w' then fldb.w=false end
  144. if kei=='a' then fldb.a=false end
  145. if kei=='s' then fldb.s=false end
  146. if kei=='d' then fldb.d=false end
  147. end)
  148.  
  149. chr.Humanoid.Changed:connect(function(c)
  150. if c=='Jump' then
  151. if otheranims or not surfing then
  152. chr.Humanoid.Jump=false
  153. end
  154. end
  155. end)
  156.  
  157. DrawLightning = function(Start,End,Times,Offset,Color,Thickness)
  158. if Start.y>End.y then
  159. local magz = (Start - End).magnitude
  160. local curpos = Start
  161. local trz = {-Offset,Offset}
  162. for i=1,Times do
  163. local li = Instance.new("Part",workspace)
  164. li.TopSurface =10
  165. li.BottomSurface = 10
  166. li.Anchored = true
  167. li.Transparency = 0
  168. li.BrickColor = Color
  169. li.formFactor = "Custom"
  170. li.CanCollide = false
  171. li.Size = Vector3.new(Thickness,Thickness,magz/Times)
  172. local lt=Instance.new("SpotLight",li)
  173. lt.Range=16
  174. lt.Brightness=5
  175. lt.Shadows=true
  176. lt.Angle=45
  177. lt.Face="Top"
  178. lt.Color=li.BrickColor.Color
  179. local ofz = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  180. local trolpos = CFrame.new(curpos,End)*CFrame.new(0,0,magz/Times).p+ofz
  181. if Times == i then
  182. local magz2 = (curpos - End).magnitude
  183. li.Size = Vector3.new(Thickness,Thickness,magz2)
  184. li.CFrame = CFrame.new(curpos,End)*CFrame.new(0,0,-magz2/2)
  185. else
  186. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  187. end
  188. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p Spawn(function() for i=1,5 do wait() li.Transparency = li.Transparency+.2 end li:Destroy() end)
  189. end
  190. for i,x in pairs(workspace:GetChildren()) do if x:IsA'Model' and x:findFirstChild('Torso') and x:findFirstChild('Head') and x~=chr then
  191. for a,v in pairs(x:GetChildren()) do if v:IsA'Humanoid' then if (x.Torso.CFrame.p-End).magnitude<10 then v.Health=v.Health-30 end end end end end
  192. local so=Instance.new('Sound',claud)
  193. so.SoundId="http://www.roblox.com/asset?id="..clepz[math.random(1,#clepz)]
  194. so.Volume=.2
  195. so:Play''
  196. end
  197. end
  198.  
  199. maus.KeyDown:connect(function(kei)
  200. if string.byte(kei)==48 and not otheranims then
  201. if surfing then
  202. chr.Humanoid.WalkSpeed=300
  203. elseif not surfing then
  204. chr.Humanoid.WalkSpeed=699
  205. end
  206. end
  207. if kei=='r' then
  208. if torso:findFirstChild('CedarClaudVelo') then
  209. torso['CedarClaudVelo']:Destroy()
  210. else
  211. local veloo=Instance.new('BodyVelocity',torso)
  212. veloo.Name='CedarClaudVelo'
  213. veloo.maxForce=Vector3.new(0,math.huge,0)
  214. end
  215. end
  216. if kei=='w' then fldb.w=true end
  217. if kei=='a' then fldb.a=true end
  218. if kei=='s' then fldb.s=true end
  219. if kei=='d' then fldb.d=true end
  220. if kei=='x' then
  221. if not surfing then surfing=true
  222. chr.Humanoid.WalkSpeed=40
  223. elseif surfing then surfing=false
  224. chr.Humanoid.WalkSpeed=25
  225. end
  226. end
  227. if kei=='e' and not floating and not lowering and surfing then
  228. floating=true
  229. end
  230. if kei=='q' and not lowering and not floating and surfing then
  231. lowering=true
  232. end
  233. if kei=='f' and not otheranims and surfing then
  234. dnc=true
  235. anim='Dance'
  236. end
  237. end)
  238.  
  239. maus.Button1Down:connect(function()
  240. if not otheranims and surfing and not ltdb and (torso.CFrame.p-maus.Hit.p).magnitude<100 then
  241. ltdb=true
  242. DrawLightning(claud.CFrame.p,maus.Hit.p,5,.5,BrickColor.new("New Yeller"),.2)
  243. wait()
  244. ltdb=false
  245. end
  246. end)
  247.  
  248. plr.Chatted:connect(function(m)
  249. if m:lower():sub(1,3)=='/e ' then m=m:sub(4)
  250. if m:lower():sub(1,5)=='dance' and not otheranims and surfing then
  251. dnc=true
  252. anim='Dance'
  253. end
  254. end
  255. end)
  256.  
  257. game:service'RunService'.RenderStepped:connect(function()
  258.  
  259. if fldb.w or fldb.a or fldb.s or fldb.d then
  260. nerrrk=chr.Humanoid.WalkSpeed
  261. TotalRate=10
  262. else
  263. TotalRate=0
  264. nerrrk=0
  265. end
  266. chr.Humanoid.CameraOffset=(rutprt.CFrame:toObjectSpace(hed.CFrame)).p+Vector3.new(0,-1.25,0)
  267. syne=syne+.95
  268. if not otheranims then
  269. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 and torso.Velocity.y<1 and torso.Velocity.y>-1 and not dnc then
  270. anim="Idling"
  271. puffing=false
  272.  
  273. elseif (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 and (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude < 43 and torso.Velocity.y<1 and torso.Velocity.y>-1 then
  274. anim="Walking"
  275. puffing=true
  276. dnc=false
  277.  
  278. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 43 and torso.Velocity.y<1 and torso.Velocity.y>-1 then
  279. anim="Sprinting"
  280. puffing=true
  281. dnc=false
  282.  
  283. elseif torso.Velocity.y>1 and surfing then
  284. anim='Jumping'
  285. puffing=true
  286. dnc=false
  287.  
  288. elseif (torso.Velocity.y < -1) and surfing then
  289. anim='Falling'
  290. puffing=true
  291. dnc=false
  292. end
  293. end
  294.  
  295. if torso:findFirstChild('CedarClaudVelo') then
  296. if floating and surfing then
  297. torso['CedarClaudVelo'].velocity=((rutprt.CFrame*CFrame.new(0,0,-1)).p-rutprt.CFrame.p).unit*nerrrk+Vector3.new(0,30,0)
  298. elseif lowering and surfing then
  299. torso['CedarClaudVelo'].velocity=((rutprt.CFrame*CFrame.new(0,0,-1)).p-rutprt.CFrame.p).unit*nerrrk+Vector3.new(0,-30,0)
  300. else
  301. torso['CedarClaudVelo'].velocity=((rutprt.CFrame*CFrame.new(0,0,-1)).p-rutprt.CFrame.p).unit*nerrrk
  302. end
  303. end
  304.  
  305. if anim=='Idling' and not surfing then
  306. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(.9,1,0)*CFrame.Angles(math.rad(190),math.rad(0),math.rad(-40)),.1)
  307. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.9,1,0)*CFrame.Angles(math.rad(190),math.rad(-0),math.rad(40)),.1)
  308. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.45,-.4)*CFrame.Angles(math.rad(-38),0,0),.1)
  309. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.4,-1.7,-.3)*CFrame.Angles(math.rad(15),0,math.rad(-5)),.1)
  310. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.32,-1.9,.1)*CFrame.Angles(math.rad(-5),0,math.rad(10)),.1)
  311. rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,math.cos(syne/30)/3,0)*CFrame.Angles(math.rad(90),math.rad(180),0),.1)
  312. clwl.C0=Lerp(clwl.C0,CFrame.new(0,math.cos(syne/30)/3+2.25,.5)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(-2.5)),.15)
  313. rutprt.RootJoint.C1=CFrame.new(0,-1,3)*CFrame.Angles(math.rad(10),math.rad(180),0)
  314. end
  315. if anim=='Walking' and not surfing then
  316. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.3,.55,.2)*CFrame.Angles(math.rad(290),math.rad(0),math.rad(-10)),.15)
  317. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.3,.55,.2)*CFrame.Angles(math.rad(290),math.rad(-0),math.rad(10)),.15)
  318. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.45,-.4)*CFrame.Angles(math.rad(-38),0,0),.15)
  319. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.675,-1.8,-.6)*CFrame.Angles(math.rad(40),0,math.rad(10)),.15)
  320. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.675,-1.8,-.6)*CFrame.Angles(math.rad(40),0,math.rad(-10)),.15)
  321. rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,math.cos(syne/30)/3+1,2.625)*CFrame.Angles(math.rad(50),math.rad(180),0),.15)
  322. clwl.C0=Lerp(clwl.C0,CFrame.new(0,math.cos(syne/30)/3+2.25,.5)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(-5)),.15)
  323. rutprt.RootJoint.C1=CFrame.new(0,-1,3)*CFrame.Angles(math.rad(10),math.rad(180),0)
  324. end
  325. if anim=='Sprinting' and not surfing then
  326. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.3,.5,.15)*CFrame.Angles(math.rad(290),math.rad(0),math.rad(-10)),.15)
  327. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.3,.5,.15)*CFrame.Angles(math.rad(290),math.rad(-0),math.rad(10)),.15)
  328. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.45,-.4)*CFrame.Angles(math.rad(-28),0,0),.15)
  329. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.575,-1.3,-.6)*CFrame.Angles(math.rad(20),0,math.rad(5)),.15)
  330. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.575,-1.3,-.6)*CFrame.Angles(math.rad(20),0,math.rad(-5)),.15)
  331. rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,math.cos(syne/30)/3+1,2.625)*CFrame.Angles(math.rad(40),math.rad(180),0),.15)
  332. clwl.C0=Lerp(clwl.C0,CFrame.new(0,math.cos(syne/30)/3+2.25,.6)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(-10)),.15)
  333. rutprt.RootJoint.C1=CFrame.new(0,-1,3)*CFrame.Angles(math.rad(10),math.rad(180),0)
  334. end
  335. if anim=='Idling' and surfing then
  336. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.45,.5,0)*CFrame.Angles(math.cos(syne/30)/10,math.rad(0),math.rad(12.5)),.1)
  337. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.25,.4,0)*CFrame.Angles(math.cos(syne/30)/10*-1,math.rad(-0),math.rad(-15)),.1)
  338. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(-.15,1.45,0)*CFrame.Angles(math.rad(0),math.rad(85),math.rad(0)),.1)
  339. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.575,-1.9,0)*CFrame.Angles(math.rad(0),0,math.rad(5)),.1)
  340. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.575,-1.9,0)*CFrame.Angles(math.rad(0),0,math.rad(-5)),.1)
  341. rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(-3,math.cos(syne/30)/3+4.4,0)*CFrame.Angles(math.rad(0),math.rad(90),0),.1)
  342. clwl.C0=Lerp(clwl.C0,CFrame.new(0,math.cos(syne/30)/3+2.25,-.25)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(-2)),.15)
  343. rutprt.RootJoint.C1=CFrame.new(0,-1,3)*CFrame.Angles(math.rad(0),math.rad(180),0)
  344. end
  345. if anim=='Walking' and surfing then
  346. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.25,.5,0)*CFrame.Angles(math.cos(syne/30)/10,math.rad(0),math.rad(25)),.15)
  347. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.25,.4,0)*CFrame.Angles(math.cos(syne/30)/10*-1,math.rad(-0),math.rad(-20)),.15)
  348. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(-.15,1.45,0)*CFrame.Angles(math.rad(0),math.rad(89),math.rad(0)),.15)
  349. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.575,-1.9,0)*CFrame.Angles(math.rad(0),0,math.rad(5)),.15)
  350. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.615,-1.55,-.1)*CFrame.Angles(math.rad(0),0,math.rad(-5)),.15)
  351. rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(-3,math.cos(syne/30)/3+4.4,-.25)*CFrame.Angles(math.rad(-5),math.rad(90),0),.15)
  352. clwl.C0=Lerp(clwl.C0,CFrame.new(0,math.cos(syne/30)/3+2.5,0)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(5)),.15)
  353. rutprt.RootJoint.C1=CFrame.new(0,-1,3)*CFrame.Angles(math.rad(0),math.rad(180),0)
  354. end
  355. if anim=='Sprinting' and surfing then
  356. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.25,.5,0)*CFrame.Angles(math.cos(syne/30)/10,math.rad(0),math.rad(40)),.15)
  357. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.25,.4,0)*CFrame.Angles(math.cos(syne/30)/10*-1,math.rad(-30),math.rad(-20)),.15)
  358. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(-.25,1.45,0)*CFrame.Angles(math.rad(0),math.rad(89),math.rad(0)),.15)
  359. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.575,-1.9,0)*CFrame.Angles(math.rad(0),0,math.rad(5)),.15)
  360. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.725,-1.3,-.1)*CFrame.Angles(math.rad(0),0,math.rad(-10)),.15)
  361. rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(-3,math.cos(syne/30)/3+2.4,-.5)*CFrame.Angles(math.rad(-15),math.rad(90),0),.15)
  362. clwl.C0=Lerp(clwl.C0,CFrame.new(0,math.cos(syne/30)/3+.5,0)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(10)),.15)
  363. rutprt.RootJoint.C1=CFrame.new(0,-1,3)*CFrame.Angles(math.rad(0),math.rad(180),0)
  364. end
  365. if anim=='Jumping' and surfing then
  366. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.375,.5,0)*CFrame.Angles(0,math.rad(5),math.rad(48)),.15)
  367. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.25,.4,0)*CFrame.Angles(0,math.rad(-20),math.rad(-35)),.15)
  368. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(-.25,1.45,0)*CFrame.Angles(math.rad(0),math.rad(89),math.rad(0)),.15)
  369. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.575,-1.9,0)*CFrame.Angles(math.rad(0),0,math.rad(5)),.15)
  370. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.725,-1.2,-.1)*CFrame.Angles(math.rad(0),0,math.rad(-10)),.15)
  371. rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(-3,4,0)*CFrame.Angles(math.rad(-30),math.rad(90),0),.15)
  372. clwl.C0=Lerp(clwl.C0,CFrame.new(0,2.5,0)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(10)),.15)
  373. rutprt.RootJoint.C1=CFrame.new(0,-1,3)*CFrame.Angles(math.rad(0),math.rad(180),0)
  374. end
  375. if anim=='Falling' and surfing then
  376. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.375,.5,0)*CFrame.Angles(0,math.rad(-20),math.rad(30)),.15)
  377. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.25,.25,0)*CFrame.Angles(0,math.rad(5),math.rad(-55)),.15)
  378. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(-.25,1.45,0)*CFrame.Angles(math.rad(0),math.rad(89),math.rad(0)),.15)
  379. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.575,-1.2,-.1)*CFrame.Angles(math.rad(0),0,math.rad(5)),.15)
  380. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.725,-1.9,0)*CFrame.Angles(math.rad(0),0,math.rad(-10)),.15)
  381. rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(-3,4,-0)*CFrame.Angles(math.rad(15),math.rad(90),0),.15)
  382. clwl.C0=Lerp(clwl.C0,CFrame.new(0,2.5,0)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(-20)),.15)
  383. rutprt.RootJoint.C1=CFrame.new(0,-1,3)*CFrame.Angles(math.rad(0),math.rad(180),0)
  384. end
  385. if anim=='Dance' and surfing and dnc then
  386. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.2,1,0)*CFrame.Angles(math.rad(190),math.rad(0),math.rad(-10)),.1)
  387. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.2,1,0)*CFrame.Angles(math.rad(190),math.rad(-0),math.rad(10)),.1)
  388. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.45,-.2)*CFrame.Angles(math.rad(-15),0,0),.1)
  389. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.575,-1.9,-.1)*CFrame.Angles(math.rad(5),0,math.rad(5)),.1)
  390. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.575,-1.9,-.1)*CFrame.Angles(math.rad(5),0,math.rad(-5)),.1)
  391. rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,2.375+math.cos(syne/30)/10,3)*CFrame.Angles(0,math.rad(180),0),.1)
  392. clwl.C0=Lerp(clwl.C0,CFrame.new(0,math.cos(syne/30)/10+5.8,0)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)),.15)
  393. rutprt.RootJoint.C1=CFrame.new(0,-1,3)*CFrame.Angles(math.rad(10),math.rad(180),0)
  394. end
  395.  
  396.  
  397. emit.Rate=TotalRate
  398. if surfing then
  399. claud.BrickColor=BrickColor.new("Black")
  400. clms.VertexColor=TwnVector3(clms.VertexColor,Vector3.new(.1,.1,.1),.075)
  401. else
  402. claud.BrickColor=BrickColor.new("Institutional white")
  403. clms.VertexColor=TwnVector3(clms.VertexColor,Vector3.new(1,1,1),.075)
  404. end
  405.  
  406. if puffing then
  407. tek=tek+1
  408. else
  409. tek=0
  410. end
  411. if tek>=15 then
  412. tek=0
  413. local cl2=Instance.new('Part',Workspace)
  414. local p1=math.random(10,30)*.1
  415. local p2=math.random(40,60)*.1
  416. local p3=math.random(70,90)*.1
  417. cl2.CanCollide=false
  418. cl2.Anchored=true
  419. cl2.Name='Claud'
  420. cl2.formFactor='Custom'
  421. cl2.BrickColor=claud.BrickColor
  422. cl2.TopSurface=10
  423. cl2.BottomSurface=10
  424. cl2.LeftSurface=10
  425. cl2.RightSurface=10
  426. cl2.FrontSurface=10
  427. cl2.BackSurface=10
  428. game:service'Debris':AddItem(cl2,1)
  429. cl2.CFrame=claud.CFrame*CFrame.new(-3.5,0,math.random(-15,15)*.1)*CFrame.Angles(math.rad(0),0,math.rad(90))
  430. local cl2l=Instance.new('PointLight',cl2)
  431. cl2l.Range=8
  432. cl2l.Color=Color3.new(1,1,1)
  433. cl2l.Brightness=123123
  434. local clms2=Instance.new('SpecialMesh',cl2)
  435. clms2.MeshId="http://www.roblox.com/asset/?id=1095708"
  436. clms2.Scale=Vector3.new(1,2,1.5)
  437. coroutine.wrap(function()
  438. for ttt=0,1.05,.1 do cl2.Transparency=ttt cl2.CFrame=cl2.CFrame*CFrame.Angles(math.rad(p1),math.rad(p2),math.rad(p3)) clms2.Scale=clms2.Scale+Vector3.new(.035,.035,.035) cl2l.Range=cl2l.Range-.5 wait()
  439. end
  440. cl2:Destroy()
  441. end)()
  442. end
  443.  
  444. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement