Advertisement
Sarah67853

Dance

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