Advertisement
xiaxiaokid

Untitled

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