Advertisement
Theskyler900

hmmmmmmm beta dance not working D:

Jul 2nd, 2017
281
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 44.23 KB | None | 0 0
  1. humanoid.Jump = true
  2.  
  3. wait(.4)
  4.  
  5.  
  6. if anim then
  7. anim:Destroy()
  8. end
  9.  
  10.  
  11. rj.C0 = CFrame.new()
  12. rj.C1 = CFrame.new()
  13.  
  14.  
  15. super_annoying = Instance.new("Sound", head)
  16. super_annoying.SoundId = "http://www.roblox.com/asset/?id=130816003"
  17. super_annoying.Volume = 0.6
  18. super_annoying.Looped = true
  19. barrel_roll = Instance.new("Sound", head)
  20. barrel_roll.SoundId = "http://www.roblox.com/asset/?id=130791919"
  21. barrel_roll.Volume = 1
  22. barrel_roll.Looped = true
  23. dubstep_gun = Instance.new("Sound", head)
  24. dubstep_gun.SoundId = "http://www.roblox.com/asset/?id=130855491"
  25. dubstep_gun.Volume = 0.6
  26. dubstep_gun.Looped = true
  27. you_are_pirate = Instance.new("Sound", head)
  28. you_are_pirate.SoundId = "http://www.roblox.com/asset/?id=130888577"
  29. you_are_pirate.Volume = 0.6
  30. you_are_pirate.Looped = true
  31. cant_touch = Instance.new("Sound", head)
  32. cant_touch.SoundId = "http://www.roblox.com/asset/?id=131280929"
  33. cant_touch.Volume = 1
  34. cant_touch.Looped = true
  35. gangy_style = Instance.new("Sound", head)
  36. gangy_style.SoundId = "http://www.roblox.com/asset/?id=130844430"
  37. gangy_style.Volume = 0.6
  38. gangy_style.Looped = true
  39. fox_say = Instance.new("Sound", head)
  40. fox_say.SoundId = "http://www.roblox.com/asset/?id=130797915"
  41. fox_say.Volume = 0.5
  42. fox_say.Looped = true
  43. durk = Instance.new("Sound", head)
  44. durk.SoundId = "http://www.roblox.com/asset/?id=130776787"
  45. durk.Volume = 0.8
  46. durk.Looped = true
  47. sax_guy = Instance.new("Sound", head)
  48. sax_guy.SoundId = "http://www.roblox.com/asset/?id=130794684"
  49. sax_guy.Volume = 0.6
  50. sax_guy.Looped = true
  51. heman = Instance.new("Sound", head)
  52. heman.SoundId = "http://www.roblox.com/asset/?id=131102548"
  53. heman.Volume = 1
  54. heman.Looped = true
  55. justin = Instance.new("Sound", head)
  56. justin.SoundId = "http://www.roblox.com/asset/?id=130841252"
  57. justin.Volume = 0.8
  58. justin.Looped = true
  59. brony_music = Instance.new("Sound", head)
  60. brony_music.SoundId = "http://www.roblox.com/asset/?id=130769808"
  61. brony_music.Volume = 1
  62. brony_music.Looped = true
  63. spitfire = Instance.new("Sound", head)
  64. spitfire.SoundId = "http://www.roblox.com/asset/?id=129490596"
  65. spitfire.Volume = 0.8
  66. spitfire.Looped = true
  67. burn_dem = Instance.new("Sound", head)
  68. burn_dem.SoundId = "http://www.roblox.com/asset/?id=132399469"
  69. burn_dem.Volume = 1
  70. burn_dem.Looped = true
  71. aj = Instance.new("Sound", head)
  72. aj.SoundId = "rbxassetid://177732780"
  73. aj.Volume = 1
  74. aj.Looped = true
  75.  
  76. Instance.new("HumanoidController", game:service'ControllerService')
  77. Instance.new("SkateboardController", game:service'ControllerService')
  78. Instance.new("VehicleController", game:service'ControllerService')
  79.  
  80.  
  81.  
  82.  
  83. --minimize
  84. rh.Parent = nil
  85. lh.Parent = nil
  86. rs.Parent = nil
  87. ls.Parent = nil
  88. neck.Parent = nil
  89. rj.Parent = nil
  90.  
  91.  
  92. rl.FormFactor = "Custom"
  93. ll.FormFactor = "Custom"
  94. ra.FormFactor = "Custom"
  95. la.FormFactor = "Custom"
  96. torso.FormFactor = "Custom"
  97. head.FormFactor = "Custom"
  98. rootpart.FormFactor = "Custom"
  99.  
  100.  
  101.  
  102.  
  103. rootpart.Size = Vector3.new(.4, .4, .2)
  104. rl.Size = Vector3.new(.2, .4, .2)
  105. ll.Size = Vector3.new(.2, .4, .2)
  106. ra.Size = Vector3.new(.2, .4, .2)
  107. la.Size = Vector3.new(.2, .4, .2)
  108. torso.Size = Vector3.new(.4, .4, .2)
  109. head.Size = Vector3.new(.4, .2, .2)
  110.  
  111. rh.Parent = torso
  112. lh.Parent = torso
  113. rs.Parent = torso
  114. ls.Parent = torso
  115. neck.Parent = torso
  116. rj.Parent = rootpart
  117.  
  118.  
  119. if torso:findFirstChild("roblox") then
  120. local p = Instance.new("Part", char)
  121. p.FormFactor = "Custom"
  122. p.Size = torso.Size
  123. p.Transparency = 1
  124. p:BreakJoints()
  125. local w = Instance.new("Weld", char)
  126. w.Part0 = p
  127. w.Part1 = torso
  128. torso:findFirstChild("roblox").Parent = p
  129. end
  130.  
  131.  
  132. --[[mesh1 = Instance.new("SpecialMesh", torso)
  133. mesh1.Name = "Mesh"
  134. mesh1.Scale = torso.Size - Vector3.new(torso.Size.x/2, torso.Size.y/2, 0)
  135. mesh1.MeshId = "rbxasset://fonts/torso.mesh"
  136. mesh2 = Instance.new("SpecialMesh", la)
  137. mesh2.Name = "Mesh"
  138. mesh2.Scale = la.Size - Vector3.new(0, la.Size.y/2, 0)
  139. mesh2.MeshId = "rbxasset://fonts/leftarm.mesh"
  140. mesh3 = Instance.new("SpecialMesh", ra)
  141. mesh3.Name = "Mesh"
  142. mesh3.Scale = ra.Size - Vector3.new(0, ra.Size.y/2, 0)
  143. mesh3.MeshId = "rbxasset://fonts/rightarm.mesh"
  144. mesh4 = Instance.new("SpecialMesh", ll)
  145. mesh4.Name = "Mesh"
  146. mesh4.Scale = ll.Size - Vector3.new(0, ll.Size.y/2, 0)
  147. mesh4.MeshId = "rbxasset://fonts/leftleg.mesh"
  148. mesh5 = Instance.new("SpecialMesh", rl)
  149. mesh5.Name = "Mesh"
  150. mesh5.Scale = rl.Size - Vector3.new(0, rl.Size.y/2, 0)
  151. mesh5.MeshId = "rbxasset://fonts/rightleg.mesh"--]]
  152.  
  153.  
  154. --0.3 = 1.5, 0.1 = 0.5, 0.2 = 1
  155.  
  156. ls.C0 = CFrame.new(-.3,.1,0)
  157. ls.C1 = CFrame.new(0,.1,0)
  158. rs.C0 = CFrame.new(.3,.1,0)
  159. rs.C1 = CFrame.new(0,.1,0)
  160. rh.C0 = CFrame.new(.1,-.2,0)
  161. rh.C1 = CFrame.new(0, .2, 0)
  162. lh.C0 = CFrame.new(-.1,-.2,0)
  163. lh.C1 = CFrame.new(0, .2, 0)
  164. neck.C0 = CFrame.new(0,.2,0)
  165. neck.C1 = CFrame.new(0,-.1,0)
  166.  
  167. bodyc = char:findFirstChild("Body Colors")
  168. if bodyc then
  169. bodyc:Destroy()
  170. end
  171.  
  172. wait(1)
  173.  
  174. local body = {}
  175. for i,v in pairs(char:children()) do
  176. if v:IsA'BasePart' then
  177. body[v] = {Color = v.BrickColor}
  178. end
  179. end
  180.  
  181. function restorecolors()
  182. for _,bp in pairs(char:children()) do
  183. if bp:IsA("BasePart") then
  184. bp.BrickColor = body[bp].Color
  185. end
  186. end
  187. end
  188.  
  189.  
  190. local LightForTorso = Instance.new("PointLight", head)
  191. LightForTorso.Color = torso.BrickColor.Color
  192. LightForTorso.Range = 7
  193. LightForTorso.Brightness = 1.5
  194.  
  195.  
  196.  
  197.  
  198. local slidecount = 0
  199. local slidecountmax = 0
  200. local anim = ""
  201. local lastanim = anim
  202. local speed = 0
  203. local looking = false
  204. local dancing = false
  205. local superannoying = false
  206. local barrelroll = false
  207. local dubstepgun = false
  208. local foxie = false
  209. local durka = false
  210. local saxguy = false
  211. local heya = false
  212. local jb = false
  213. local bronymusic = false
  214. local sheddy = false
  215. local burndem = false
  216. local global_wait = 0
  217.  
  218. count = 0
  219. countspeed = 1
  220. sine = 0
  221. sinespeed = 1
  222.  
  223.  
  224.  
  225. humanoid.WalkSpeed = 11
  226.  
  227.  
  228. local controllerService = game:GetService("ControllerService")
  229. local controller = controllerService:GetChildren()[1]
  230.  
  231.  
  232. local colors = {"White", "Really black"}
  233.  
  234. humanoid.Died:connect(function()
  235. for cframe_parts = 0, 100 do
  236. local p = Instance.new("Part")
  237. p.FormFactor = "Custom"
  238. p.BrickColor = BrickColor.new(colors[math.random(1, #colors)])
  239. p.Size = Vector3.new(1, 1, 1)
  240. Instance.new("BlockMesh", p).Scale = Vector3.new(0.05, 0.05, 0.05)
  241. p.Locked = true
  242. p.CanCollide = false
  243. p.Anchored = true
  244. p.CFrame = torso.CFrame * CFrame.Angles(math.random(-36, 36),math.random(-36, 36),math.random(-36, 36))
  245. p.Parent = workspace
  246. game:service'Debris':AddItem(p, 5)
  247. coroutine.wrap(function()
  248. while wait() do
  249. if p ~= nil then
  250. p.CFrame = p.CFrame * CFrame.new(0, 0.085, 0)
  251. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(0.005, 0, 0.005) + Vector3.new(0, 0.01, 0)
  252. p.Transparency = p.Transparency + 0.015
  253. else
  254. break
  255. end
  256. end
  257. end)()
  258. end
  259. for _,v in pairs(char:children()) do
  260. if v:IsA("Part") then
  261. v:Destroy()
  262. end
  263. end
  264.  
  265. end)
  266.  
  267.  
  268. mouse.KeyDown:connect(function(k)
  269.  
  270. if string.byte(k) == 50 then
  271.  
  272. if dancing then return end
  273. sitting = not sitting
  274. if sitting then
  275. local ray = Ray.new(torso.Position, Vector3.new(0, -1, 0))
  276. local hitz,enz = workspace:FindPartOnRay(ray, char)
  277.  
  278.  
  279. if hitz then
  280. controller.Parent = nil
  281. humanoid.WalkSpeed = 0
  282. coroutine.wrap(function()
  283. while wait() do
  284. humanoid.PlatformStand = true
  285. if sitting == false then humanoid.PlatformStand = false break end
  286. end
  287. end)()
  288. rj.C0 = CFrame.new(0, -0.35, 0) * CFrame.Angles(math.rad(10), 0, 0)
  289. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, -math.pi/16)
  290. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, math.pi/16)
  291. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(-math.rad(10), 0, -math.pi/10)
  292. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-math.rad(10), 0, math.pi/10)
  293.  
  294. miniweld = Instance.new("Weld", char)
  295. miniweld.C0 = hitz.CFrame:toObjectSpace(rootpart.CFrame)
  296. miniweld.Part0 = hitz
  297. miniweld.Part1 = rootpart
  298. else
  299. sitting = false
  300. return
  301. end
  302. else
  303. if miniweld then
  304. miniweld:Destroy()
  305. end
  306. controller.Parent = controllerService
  307. humanoid.PlatformStand = false
  308. humanoid.WalkSpeed = 11
  309. end
  310. end
  311.  
  312. if k == "w" or k == "a" or k == "s" or k == "d" or string.byte(k) == 32 then
  313. superannoying = false
  314. barrelroll = false
  315. heya = false
  316. dubstepgun = false
  317. youpirate = false
  318. canttouch = false
  319. gangnam = false
  320. sheddy = false
  321. durka = false
  322. saxguy = false
  323. foxie = false
  324. burndem = false
  325. bronymusic = false
  326. brony_music:stop()
  327. fox_say:stop()
  328. spitfire:stop()
  329. heman:stop()
  330. justin:stop()
  331. jb = false
  332. durk:stop()
  333. restorecolors()
  334. burn_dem:stop()
  335. if hat then
  336. hat:Destroy()
  337. end
  338. sax_guy:stop()
  339. gangy_style:stop()
  340. cant_touch:stop()
  341. you_are_pirate:stop()
  342. dubstep_gun:stop()
  343. super_annoying:stop()
  344. barrel_roll:stop()
  345. dancing = false
  346. global_wait = 0
  347. LightForTorso.Color = torso.BrickColor.Color
  348. end
  349.  
  350. if k == "z" then
  351. if dancing then return end
  352. if not sitting then
  353. dancing = true
  354. superannoying = true
  355. super_annoying:play()
  356. end
  357. end
  358. if k == "k" then
  359. if dancing then return end
  360. if not sitting then
  361. dancing = true
  362. sheddy = true
  363. spitfire:play()
  364. end
  365. end
  366.  
  367. if k == "n" then
  368. if dancing then return end
  369. if not sitting then
  370. dancing = true
  371. gangnam = true
  372. gangy_style:play()
  373. end
  374. end
  375.  
  376. if k == "r" then
  377. if dancing then return end
  378. if not sitting then
  379. dancing = true
  380. burndem = true
  381. burn_dem:play()
  382. end
  383. end
  384.  
  385.  
  386. if k == "x" then
  387. if dancing then return end
  388. if not sitting then
  389. dancing = true
  390. barrelroll = true
  391. barrel_roll:play()
  392. hat = Instance.new("Part", char)
  393. hat.FormFactor = "Custom"
  394. hat.CanCollide = false
  395. hat.Size = torso.Size
  396. hat.Locked = true
  397. hat:breakJoints()
  398. local hatmesh = Instance.new("SpecialMesh", hat)
  399. hatmesh.MeshId = "http://www.roblox.com/asset/?id=29873142"
  400. hatmesh.TextureId = "http://www.roblox.com/asset/?id=31467063"
  401. hatmesh.Scale = Vector3.new(.22, .2, .22)
  402. local hatweld = Instance.new("Weld", hat)
  403. hatweld.Part0 = hat
  404. hatweld.Part1 = torso
  405. end
  406. end
  407. if k == "h" then
  408. if dancing then return end
  409. if not sitting then
  410. dancing = true
  411. heman:play()
  412. heya = true
  413. hat = Instance.new("Part", char)
  414. hat.FormFactor = "Custom"
  415. hat.CanCollide = false
  416. hat.Size = torso.Size + Vector3.new(0.01, 0.01, 0.01)
  417. hat.Locked = true
  418. hat.BrickColor = BrickColor.new("Hot pink")
  419. hat:breakJoints()
  420. local hatweld = Instance.new("Weld", hat)
  421. hatweld.Part0 = hat
  422. hatweld.Part1 = torso
  423. end
  424. end
  425. if k == "j" then
  426. if dancing then return end
  427. if not sitting then
  428. dancing = true
  429. justin:play()
  430. jb = true
  431. hat = Instance.new("Part", char)
  432. hat.FormFactor = "Custom"
  433. hat.CanCollide = false
  434. hat.Size = head.Size
  435. hat.Locked = true
  436. hat.BrickColor = BrickColor.new("Hot pink")
  437. hat:breakJoints()
  438. local hatmesh = Instance.new("SpecialMesh", hat)
  439. hatmesh.MeshId = "http://www.roblox.com/asset/?id=19999424"
  440. hatmesh.TextureId = "http://www.roblox.com/asset/?id=20571982"
  441. hatmesh.Scale = Vector3.new(.23, .23, .23)
  442. local hatweld = Instance.new("Weld", hat)
  443. hatweld.Part0 = hat
  444. hatweld.Part1 = head
  445. hatweld.C0 = CFrame.new(0.025, -0.05, 0)
  446. end
  447. end
  448. if k == "c" then
  449. if dancing then return end
  450. if not sitting then
  451. dancing = true
  452. dubstepgun = true
  453. dubstep_gun:play()
  454. end
  455. end
  456. if k == "v" then
  457. if dancing then return end
  458. if not sitting then
  459. dancing = true
  460. youpirate = true
  461. you_are_pirate:play()
  462. hat = Instance.new("Part", char)
  463. hat.FormFactor = "Custom"
  464. hat.CanCollide = false
  465. hat.Size = head.Size
  466. hat.Locked = true
  467. hat:breakJoints()
  468. local hatmesh = Instance.new("SpecialMesh", hat)
  469. hatmesh.MeshId = "http://www.roblox.com/asset/?id=1028848"
  470. hatmesh.TextureId = "http://www.roblox.com/asset/?id=1028847"
  471. hatmesh.Scale = Vector3.new(.2, .2, .2)
  472. local hatweld = Instance.new("Weld", hat)
  473. hatweld.Part0 = hat
  474. hatweld.Part1 = head
  475. hatweld.C0 = CFrame.new(0, -0.15, 0)
  476. end
  477. end
  478. if k == "m" then
  479. if dancing then return end
  480. if not sitting then
  481. dancing = true
  482. canttouch = true
  483. cant_touch:play()
  484. end
  485. end
  486. if k == "b" then
  487. if dancing then return end
  488. if not sitting then
  489. dancing = true
  490. bronymusic = true
  491. brony_music:play()
  492. for _,bp in pairs(char:children()) do
  493. if bp:IsA("BasePart") then
  494. bp.BrickColor = BrickColor.new("Lavender")
  495. end
  496. end
  497. hat = Instance.new("Part", char)
  498. hat.FormFactor = "Custom"
  499. hat.CanCollide = false
  500. hat.Size = head.Size
  501. hat.Locked = true
  502. hat.BrickColor = BrickColor.new("Lavender")
  503. hat:breakJoints()
  504. local hatmesh = Instance.new("SpecialMesh", hat)
  505. hatmesh.MeshId = "http://www.roblox.com/asset/?id=118186643"
  506. hatmesh.Scale = Vector3.new(.1, .2, .1)
  507. local hatweld = Instance.new("Weld", hat)
  508. hatweld.Part0 = hat
  509. hatweld.Part1 = head
  510. hatweld.C0 = CFrame.new(0, -0.1, 0.05)
  511. end
  512. end
  513.  
  514. if k == "l" then
  515. if dancing then return end
  516. if not sitting then
  517. dancing = true
  518. foxie = true
  519. fox_say:play()
  520. hat = Instance.new("Part", char)
  521. hat.FormFactor = "Custom"
  522. hat.CanCollide = false
  523. hat.Size = head.Size
  524. hat.Locked = true
  525. hat:breakJoints()
  526. local hatmesh = Instance.new("SpecialMesh", hat)
  527. hatmesh.MeshId = "http://www.roblox.com/asset/?id=25266225"
  528. hatmesh.TextureId = "http://www.roblox.com/asset/?id=25266210"
  529. hatmesh.Scale = Vector3.new(.2, .2, .2)
  530. local hatweld = Instance.new("Weld", hat)
  531. hatweld.Part0 = hat
  532. hatweld.Part1 = head
  533. hatweld.C0 = CFrame.new(0, -0.1, 0)
  534. end
  535.  
  536. end
  537. if k == "f" then
  538. if dancing then return end
  539. if not sitting then
  540. dancing = true
  541. durka = true
  542. durk:play()
  543. end
  544. end
  545. if k == "g" then
  546. if dancing then return end
  547. if not sitting then
  548. dancing = true
  549. saxguy = true
  550. sax_guy:play()
  551. hat = Instance.new("Part", char)
  552. hat.FormFactor = "Custom"
  553. hat.CanCollide = false
  554. hat.Size = head.Size
  555. hat.Locked = true
  556. hat:breakJoints()
  557. local hatmesh = Instance.new("SpecialMesh", hat)
  558. hatmesh.MeshId = "http://www.roblox.com/asset/?id=44410178"
  559. hatmesh.TextureId = "http://www.roblox.com/asset/?id=44410320"
  560. hatmesh.Scale = Vector3.new(.25, .25, .25)
  561. local hatweld = Instance.new("Weld", hat)
  562. hatweld.Part0 = hat
  563. hatweld.Part1 = la
  564. hatweld.C0 = CFrame.new(-0.18, -0.05, .04) * CFrame.Angles(math.pi - math.rad(18), 0, math.pi/4)
  565. end
  566. end
  567.  
  568.  
  569.  
  570.  
  571. if k == "q" then
  572. if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 14 then return end
  573. if sitting then return end
  574. looking = true
  575. rj.C0 = CFrame.new(-math.pi/6, 0,0) * CFrame.Angles(0, 0, math.pi/4)
  576. end
  577. if k == "e" then
  578. if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 14 then return end
  579. if sitting then return end
  580. looking = true
  581. rj.C0 = CFrame.new(math.pi/6, 0,0) * CFrame.Angles(0, 0, -math.pi/4)
  582. end
  583. if k == "t" then
  584. if dancing then return end
  585. if sitting then return end
  586. dancing = true
  587. aj:play()
  588. end
  589. if string.byte(k) == 48 or string.byte(k) == 47 then
  590. if sitting then return end
  591. humanoid.WalkSpeed = 18
  592. end
  593. if string.byte(k) == 52 then
  594. if sitting then return end
  595. humanoid.WalkSpeed = 6
  596. end
  597. end)
  598.  
  599. mouse.KeyUp:connect(function(k)
  600. if string.byte(k) == 48 or string.byte(k) == 47 then
  601. if sitting then return end
  602. humanoid.WalkSpeed = 11
  603. end
  604. if k == "w" or k == "a" or k == "s" or k == "d" or string.byte(k) == 32 then
  605. superannoying = false
  606. barrelroll = false
  607. heya = false
  608. dubstepgun = false
  609. youpirate = false
  610. canttouch = false
  611. gangnam = false
  612. sheddy = false
  613. durka = false
  614. saxguy = false
  615. foxie = false
  616. burndem = false
  617. bronymusic = false
  618. aj:stop()
  619. brony_music:stop()
  620. fox_say:stop()
  621. spitfire:stop()
  622. heman:stop()
  623. justin:stop()
  624. jb = false
  625. durk:stop()
  626. restorecolors()
  627. burn_dem:stop()
  628. if hat then
  629. hat:Destroy()
  630. end
  631. sax_guy:stop()
  632. gangy_style:stop()
  633. cant_touch:stop()
  634. you_are_pirate:stop()
  635. dubstep_gun:stop()
  636. super_annoying:stop()
  637. barrel_roll:stop()
  638. dancing = false
  639. global_wait = 0
  640. LightForTorso.Color = torso.BrickColor.Color
  641. end
  642.  
  643.  
  644. if k == "q" then
  645. if looking then
  646. if sitting then return end
  647. rj.C0 = CFrame.new()
  648. looking = false
  649. end
  650. end
  651.  
  652. if k == "e" then
  653. if looking then
  654. if sitting then return end
  655. rj.C0 = CFrame.new()
  656. looking = false
  657. end
  658. end
  659. end)
  660.  
  661.  
  662. game:service'RunService'.Stepped:connect(function()
  663. count = (count % 100) + countspeed
  664. angle = math.pi * math.sin(math.pi*2/100*count)
  665.  
  666. if slidecount < slidecountmax then
  667. slidecount = slidecount + speed
  668. end
  669. if slidecount > slidecountmax then
  670. slidecount = slidecount - speed
  671. end
  672. if global_wait == 380 then global_wait = 0 end
  673.  
  674. sine = sine + sinespeed
  675. if not dancing then
  676. if not sitting then
  677. local ray = Ray.new(rootpart.Position, Vector3.new(0, -1, 0))
  678. local hitz, enz = workspace:FindPartOnRay(ray, char)
  679. if not hitz then
  680. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles((math.pi/8/5*slidecount) + math.pi + angle*0.05, 0, 0)
  681. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles((math.pi/8/5*slidecount) + math.pi + -angle*0.05, 0, 0)
  682. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-angle*0.28, 0, 0)
  683. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.28, 0, 0)
  684. if not looking then
  685. rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/8/5*slidecount, 0, 0)
  686. end
  687. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0)
  688. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then
  689.  
  690. -- idle anim
  691.  
  692. anim = "Idle"
  693. if anim ~= lastanim then
  694. if lastanim == "Walking" then
  695. speed = 0.5
  696. slidecount = 1
  697. slidecountmax = 0
  698. elseif lastanim == "Running" then
  699. speed = 2.5
  700. slidecount = 5
  701. slidecountmax = 0
  702. else
  703. slidecount = 0
  704. slidecountmax = 0
  705. end
  706. end
  707. countspeed = 1
  708. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(angle*0.02, 0, 0)
  709. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-angle*0.02, 0, 0)
  710. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-angle*0.01, 0, 0)
  711. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.01, 0, 0)
  712. if not looking then
  713. rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/8/5*slidecount, 0, 0)
  714. end
  715. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0)
  716. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 14 then
  717. looking = false
  718. -- walk anim
  719. anim = "Walking"
  720. if anim ~= lastanim then
  721. speed = 0.2
  722. slidecount = 0
  723. slidecountmax = 1
  724. if lastanim == "Running" then
  725. slidecount = 5
  726. end
  727. end
  728. countspeed = 6
  729. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(angle*0.3, 0, math.abs(angle*0.02))
  730. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-angle*0.3, 0, -math.abs(angle*0.02))
  731. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-angle*0.28, 0, -math.abs(angle*0.01))
  732. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.28, 0, math.abs(angle*0.01))
  733. rj.C0 = CFrame.new(0, math.abs(-angle*0.035), 0) * CFrame.Angles(-math.pi/8/5*slidecount, 0, 0)
  734. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0)
  735. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 14 then
  736. --run anim
  737. anim = "Running"
  738. if anim ~= lastanim then
  739. speed = 1
  740. slidecount = 0
  741. slidecountmax = 5
  742. if lastanim == "Walking" then
  743. slidecount = 1
  744. end
  745. end
  746.  
  747. looking = false
  748. countspeed = 9
  749. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(angle*0.4, 0, math.abs(angle*0.07))
  750. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-angle*0.4, 0, -math.abs(angle*0.07))
  751. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-angle*0.38, 0, -math.abs(angle*0.03))
  752. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.38, 0, math.abs(angle*0.03))
  753. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0)
  754. rj.C0 = CFrame.new(0, math.abs(-angle*.055), 0) * CFrame.Angles(-math.pi/8/5*slidecount, math.sin(angle*0.05), 0)
  755. end
  756.  
  757. lastanim = anim
  758. else
  759. countspeed = 1
  760. local ray = Ray.new(rootpart.Position, Vector3.new(0, -2, 0))
  761. local hitz, enz = workspace:FindPartOnRay(ray, char)
  762. if not hitz then
  763. rj.C0 = CFrame.new(0, -0.5, 0) * CFrame.Angles(-math.pi/2, 0, 0)
  764. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.rad(30), 0, -math.pi/16)
  765. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(math.rad(30), 0, math.pi/16)
  766. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(-math.pi-math.rad(30), 0, -math.pi/10)
  767. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-math.pi-math.rad(30), 0, math.pi/10)
  768. else
  769. rj.C0 = CFrame.new(0, -0.35, 0) * CFrame.Angles(math.rad(10), 0, 0)
  770. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, -math.pi/16)
  771. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, math.pi/16)
  772. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(-math.rad(10), 0, -math.pi/10)
  773. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-math.rad(10), 0, math.pi/10)
  774. end
  775.  
  776. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(angle*0.055, 0, 0)
  777. end
  778. else
  779. if superannoying then
  780. countspeed = 5
  781. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, math.abs(angle*0.07))
  782. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, -math.abs(angle*0.07))
  783. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
  784. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
  785. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  786. rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0)
  787. elseif barrelroll then
  788. countspeed = 5
  789. sinespeed = 0.1
  790. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, math.abs(angle*0.07))
  791. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, -math.abs(angle*0.07))
  792. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(0, 0, -math.abs(angle*0.03))
  793. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(0, 0, math.abs(angle*0.03))
  794. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  795. rj.C0 = CFrame.new(math.sin(sine)*2.5, 0, 0) * CFrame.Angles(-math.pi/2, math.sin(sine)*4.5, 0)
  796. elseif dubstepgun then
  797. global_wait = (global_wait % 380) + 1
  798. countspeed = 5
  799. if global_wait < 249 - 40 then
  800. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, -math.abs(angle*0.27))
  801. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, math.abs(angle*0.27))
  802. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
  803. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
  804. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  805. rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0)
  806. elseif global_wait > 249 - 40 then
  807. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.4, 0, math.abs(angle*0.11))
  808. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, -math.abs(angle*0.11))
  809. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.09))
  810. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.09))
  811. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  812. rj.C0 = CFrame.new(0, math.abs(-angle*.075), 0) * CFrame.Angles(0, math.pi/3 + math.sin(angle*0.15), 0)
  813. end
  814. elseif youpirate then
  815. global_wait = (global_wait % 380) + 1
  816. countspeed = 5
  817. if global_wait < 79 then
  818. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.1, 0, -math.abs(angle*0.07))
  819. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(angle*0.2, 0, math.abs(angle*0.07))
  820. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
  821. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
  822. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  823. rj.C0 = CFrame.new(0, math.abs(-angle*.02), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0)
  824. elseif global_wait < 299 then
  825. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, math.abs(angle*0.11))
  826. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, -math.abs(angle*0.11))
  827. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.2, 0, -math.abs(angle*0.1))
  828. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.2, 0, math.abs(angle*0.1))
  829. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), math.sin(angle*0.19), 0)
  830. rj.C0 = CFrame.new(0, math.abs(-angle*.055+0.2), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0)
  831. elseif global_wait > 299 then
  832. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.1, 0, -math.abs(angle*0.07))
  833. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(angle*0.2, 0, math.abs(angle*0.07))
  834. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
  835. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
  836. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  837. rj.C0 = CFrame.new(0, math.abs(-angle*.02), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0)
  838. end
  839. elseif canttouch then
  840. countspeed = 5
  841. global_wait = (global_wait % 160) + 1
  842. if global_wait == 160 then global_wait = 0 end
  843. if global_wait < 39 then
  844. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, -math.abs(angle*0.07))
  845. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, math.abs(angle*0.07))
  846. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
  847. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
  848. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  849. rj.C0 = CFrame.new(0, math.abs(-angle*.03), 0) * CFrame.Angles(0, -math.pi/6, 0)
  850. elseif global_wait < 79 then
  851. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, -math.abs(angle*0.07))
  852. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, math.abs(angle*0.07))
  853. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
  854. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
  855. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  856. rj.C0 = CFrame.new(0, math.abs(-angle*.03), 0) * CFrame.Angles(0, math.pi/6, 0)
  857. elseif global_wait < 119 then
  858. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(0.01, 0, 0.17)
  859. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(0.01, 0, -0.17)
  860. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(0, -math.abs(angle*0.05), -math.abs(angle*0.06))
  861. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(0, -math.abs(angle*0.05), math.abs(angle*0.06))
  862. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  863. rj.C0 = CFrame.new(0, math.abs(-angle*.02), 0) * CFrame.Angles(0, 0, 0)
  864. torso.CFrame = torso.CFrame * CFrame.new(0.05, 0, 0)
  865. elseif global_wait > 119 then
  866. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(0.01, 0, 0.17)
  867. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(0.01, 0, -0.17)
  868. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(0, -math.abs(angle*0.05), -math.abs(angle*0.06))
  869. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(0, -math.abs(angle*0.05), math.abs(angle*0.06))
  870. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  871. rj.C0 = CFrame.new(0, math.abs(-angle*.02), 0) * CFrame.Angles(0, 0, 0)
  872. torso.CFrame = torso.CFrame * CFrame.new(-0.05, 0, 0)
  873. end
  874. elseif gangnam then
  875. countspeed = 5
  876. if global_wait == 180 then global_wait = 0 end
  877. global_wait = (global_wait % 180) + 1
  878. if global_wait < 89 then
  879. ls.C0 = CFrame.new(-.2,.1,-.1) * CFrame.Angles(math.pi/2.5 + math.abs(angle*0.2), 0, math.pi/3 + math.abs(angle*0.05))
  880. rs.C0 = CFrame.new(.2,.1,-.1) * CFrame.Angles(math.pi/2.5 + math.abs(angle*0.2), 0, -math.pi/3 + -math.abs(angle*0.05))
  881. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, -math.abs(angle*0.03))
  882. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, math.abs(angle*0.03))
  883. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  884. rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.05), 0)
  885. elseif global_wait > 89 then
  886. ls.C0 = CFrame.new(-.2,.1,-.1) * CFrame.Angles(math.pi/2.5 + math.abs(angle*0.2), 0, math.pi/3 + math.abs(angle*0.05))
  887. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + math.sin(angle*0.1), 0, -math.sin(angle*0.1))
  888. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, -math.abs(angle*0.03))
  889. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, math.abs(angle*0.03))
  890. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  891. rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.05), 0)
  892. end
  893. elseif foxie then
  894. countspeed = 5
  895. global_wait = (global_wait % 380) + 2
  896. if global_wait < 89 then
  897. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi + math.abs(angle*0.1), 0, -math.abs(angle*0.2))
  898. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + math.abs(angle*0.1), 0, math.abs(angle*0.2))
  899. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, -math.abs(angle*0.03))
  900. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, math.abs(angle*0.03))
  901. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  902. rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.rad(global_wait*4), 0)
  903. elseif global_wait > 89 then
  904. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + math.abs(angle*0.2), 0, math.abs(angle*0.05))
  905. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + math.abs(angle*0.2), 0, -math.abs(angle*0.05))
  906. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, -math.abs(angle*0.03))
  907. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, math.abs(angle*0.03))
  908. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, math.sin(angle*0.1))
  909. rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.05), 0)
  910. end
  911. elseif durka then
  912. countspeed = 2
  913. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + math.abs(angle*0.2), 0, math.abs(angle*0.07))
  914. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.07))
  915. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.05, 0, -math.abs(angle*0.03))
  916. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, 0, math.abs(angle*0.03))
  917. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  918. rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.05), 0)
  919. elseif saxguy then
  920. countspeed = 5
  921. ls.C0 = CFrame.new(-.25,.1,-.1) * CFrame.Angles(math.pi/2.5, 0, math.pi/4)
  922. rs.C0 = CFrame.new(.25,.1,-.1) * CFrame.Angles(math.rad(60), 0, -math.pi/4)
  923. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, -0.06)
  924. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, 0.06)
  925. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(0, 0, 0)
  926. rj.C0 = CFrame.new(0, -math.abs(angle*0.01), math.abs(angle*0.01)) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  927. elseif heya then
  928. countspeed = 5
  929. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi + -angle*0.2, -angle*0.1, 0)
  930. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, angle*0.1, 0)
  931. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.05, angle*0.1, -0.06)
  932. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06)
  933. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0)
  934. rj.C0 = CFrame.new(0, math.abs(angle*0.05), 0) * CFrame.Angles(0, math.sin(angle*0.07), 0)
  935. elseif jb then
  936. countspeed = 5
  937. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + -angle*0.2, -angle*0.1, 0)
  938. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, angle*0.1, 0)
  939. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.05, angle*0.1, -0.06)
  940. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06)
  941. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0)
  942. rj.C0 = CFrame.new(0, math.abs(angle*0.05), 0) * CFrame.Angles(0, math.abs(angle*0.1), 0)
  943. elseif bronymusic then
  944. countspeed = 5
  945. ls.C0 = CFrame.new(-.1,.1,-.15) * CFrame.Angles(math.pi/2 + -angle*0.1, -angle*0.1, 0)
  946. rs.C0 = CFrame.new(.1,.1,-.15) * CFrame.Angles(math.pi/2 + angle*0.1, angle*0.1, 0)
  947. lh.C0 = CFrame.new(-.1,-.25,0) * CFrame.Angles(math.pi/2 + angle*0.1, 0, 0)
  948. rh.C0 = CFrame.new(.1,-.25,0) * CFrame.Angles(math.pi/2 + -angle*0.1, 0, 0)
  949. neck.C0 = CFrame.new(0,.25,0) * CFrame.Angles(math.pi/2 + math.abs(angle*0.25), 0, 0)
  950. rj.C0 = CFrame.new(0, -0.2 + math.abs(angle*0.05), 0) * CFrame.Angles(-math.rad(85), 0, 0)
  951. elseif sheddy then
  952. countspeed = 7
  953. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/4 + -angle*0.4, -angle*0.1, 0)
  954. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/4 + angle*0.4, angle*0.1, 0)
  955. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.05, angle*0.1, -0.06)
  956. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06)
  957. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0)
  958. rj.C0 = CFrame.new(0, math.abs(angle*0.05), 0) * CFrame.Angles(0, math.abs(angle*0.1), 0)
  959. elseif burndem then
  960. countspeed = 4
  961. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/4 + -angle*0.4, -angle*0.1, 0)
  962. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/4 + angle*0.4, angle*0.1, 0)
  963. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.05, angle*0.1, -0.06)
  964. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06)
  965. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0)
  966. rj.C0 = CFrame.new(0, math.abs(angle*0.05), 0) * CFrame.Angles(0, math.abs(angle*0.1), 0)
  967. elseif aj.IsPlaying then
  968. countspeed = 5
  969. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/4 + -(angle)*0.4, -angle*0.1, 0)
  970. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/4 + (angle)*0.4, -angle*0.1, 0)
  971. lh.C0 = CFrame.new(-.1,-.2 - math.cos(count*.025)*.02,0) * CFrame.Angles(angle*0.05, 0, -0.06)
  972. rh.C0 = CFrame.new(.1,-.2+math.cos(count*.025)*.02,0) * CFrame.Angles(-angle*0.05, 0, 0.06)
  973. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0)
  974. rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(0, math.cos(angle*0.1), 0)
  975. end
  976. end
  977. end)
  978.  
  979.  
  980. plr.Chatted:connect(function(msg)
  981. game:service'Chat':Chat(head, msg, 1)
  982. if msg == "die/" then
  983. char:breakJoints()
  984. end
  985. end)
  986.  
  987. end)
  988. if not ran and err then
  989. print(err)
  990. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement