Advertisement
Idirina

Dance Dance Script

Dec 15th, 2017
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.85 KB | None | 0 0
  1. -- no leak pls!!11!!!
  2.  
  3. wait(0)
  4. Player = game.Players.LocalPlayer
  5.  
  6. local count = 0
  7. local countspeed = 1
  8. local sine = 0
  9. local sinespeed = 1
  10. local angle = nil
  11. local global_wait = 0
  12. local showtag = false
  13.  
  14.  
  15. --dance booleans--
  16. local jerk = false
  17. local party = false
  18. local canttouch = false
  19. local happy = false
  20. local spin = false
  21. local thriller = false
  22. local barrel = false
  23. local sax = false
  24. local spooky = false
  25. local stride = false
  26. local shuffle = false
  27. local rock = false
  28. local gagnam = false
  29. local snoop = false
  30. local darude = false
  31. local taco = false
  32. ------------------
  33. --dance accessory--
  34. local barrelbrick = nil
  35. local saxtool = nil
  36. -------------------
  37. --custom animate--
  38. local walk = false
  39. local jump = false
  40. local sit = false
  41. local run = false
  42. ------------------
  43. --walk keys--
  44. local W = false
  45. local A = false
  46. local S = false
  47. local D = false
  48. -------------
  49. local m = Instance.new("Model",game.Players.LocalPlayer.Character) m.Name = "ModelParts"
  50. local miniweld = nil
  51. local rootpart = nil
  52.  
  53. local Mouse = nil
  54. local Animate = nil
  55. local Music = nil
  56. local Asset = "http://www.roblox.com/asset/?id="
  57. local Animating = nil
  58. local humanoid = nil
  59. local face = nil
  60.  
  61. local head = nil
  62. local torso = nil
  63. local ra = nil
  64. local la = nil
  65. local rl = nil
  66. local ll = nil
  67. local rs = nil
  68. local ls = nil
  69. local rh = nil
  70. local lh = nil
  71. local neck = nil
  72. local rj = nil
  73.  
  74. local char = nil
  75. local Hat1 = nil
  76. local Hat2 = nil
  77. local a,b = nil
  78.  
  79. ----------musics-----------------
  80. local M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16 = nil
  81. ---------------------------------
  82.  
  83. local mesh,meshids,textureids,w
  84.  
  85. function fm(parent,meshid,x,y,z,meshtexture)
  86. if meshid == "cylinder" then
  87. mesh = Instance.new("CylinderMesh",parent)
  88. mesh.Scale = Vector3.new(x,y,z)
  89. return mesh
  90. else
  91. mesh = Instance.new("SpecialMesh",parent)
  92. if meshid ~= "sphere" then
  93. if type(meshid) == "number" then mesh.MeshId = "rbxassetid://"..meshid else
  94. mesh.MeshId = "rbxassetid://"..meshids[meshid]
  95. end
  96. else mesh.MeshType = 3 end
  97. mesh.Scale = Vector3.new(x,y,z)
  98. if meshtexture ~= nil then
  99. if type(meshtexture) == "number" then
  100. mesh.TextureId = "rbxassetid://"..meshtexture
  101. else
  102. mesh.TextureId = "rbxassetid://"..textureids[meshtexture] end
  103. end
  104. return mesh
  105. end
  106. end
  107.  
  108. function P(x,y,z,color,transparency,cancollide,anchored,parent,typee)
  109. if typee ~= nil then
  110. c = Instance.new("WedgePart",m)
  111. else
  112. c = Instance.new("Part",m)
  113. end
  114. c.TopSurface,c.BottomSurface = 0,0
  115. c.Locked = true
  116. c.formFactor = "Custom"
  117. c.Size = Vector3.new(x,y,z)
  118. if color ~= "random" then
  119. c.BrickColor = BrickColor.new(color)
  120. else
  121. c.BrickColor = BrickColor:random()
  122. end
  123. c.Transparency = transparency
  124. c.CanCollide = cancollide
  125. if anchored ~= nil then
  126. c.Anchored = anchored
  127. end
  128. if parent ~= nil then
  129. c.Parent = parent
  130. end
  131. return c
  132. end
  133.  
  134. function We(part0,part1,x,y,z,rx,ry,rz,parent)
  135. w = Instance.new("Motor",m)
  136. if parent ~= nil then w.Parent = parent end
  137. w.Part0,w.Part1 = part0,part1
  138. w.C1 = CFrame.new(x,y,z) * CFrame.Angles(rx,ry,rz)
  139. return w
  140. end
  141.  
  142. function SetAnimation(id,humanoid)
  143. if Animating ~= nil then
  144. Animating:Stop()
  145. end
  146. Animate.AnimationId = Asset .. id
  147. Animating = humanoid:LoadAnimation(Animate)
  148. Animating:Play()
  149. end
  150.  
  151. function AnimationStop()
  152. jerk = false
  153. party = false
  154. canttouch = false
  155. happy = false
  156. spin = false
  157. thriller = false
  158. barrel = false
  159. sax = false
  160. spooky = false
  161. stride = false
  162. shuffle = false
  163. rock = false
  164. gagnam = false
  165. snoop = false
  166. darude = false
  167. taco = false
  168. if barrelbrick ~= nil then
  169. barrelbrick:Remove()
  170. barrelbrick = nil
  171. end
  172. if saxtool ~= nil then
  173. saxtool:Remove()
  174. saxtool = nil
  175. end
  176. if sandstorm ~= nil then
  177. sandstorm:Remove()
  178. sandstorm = nil
  179. end
  180. end
  181.  
  182. local Musical
  183. function SetMusic(id,volume)
  184. Musical = Instance.new("Sound",char.Head)
  185. if volume == nil then
  186. Musical.Volume = 1
  187. else
  188. Musical.Volume = volume
  189. end
  190. Musical.Looped = true
  191. Musical.SoundId = Asset .. id
  192. return Musical
  193. end
  194.  
  195. function GenerateGui()
  196. a=Instance.new("ScreenGui")
  197. a.Name = "KrystalDance By KrystalTeam"
  198. b=Instance.new("ImageLabel",a)
  199. b.BackgroundTransparency = 1
  200. b.Size = UDim2.new(0,250,0,100)
  201. b.Position = UDim2.new(0,0,1,0)
  202. b.Image = Asset .. "269467798"
  203. b.Name = "Logo"
  204. c=Instance.new("Sound",a)
  205. c.Name = "Intro"
  206. c.Volume = 1
  207. c.SoundId = Asset .. "236146895"
  208. c.Looped = false
  209. return a
  210. end
  211.  
  212. function Generate(player)
  213. char = player.Character
  214. Hat1 = P(1,1,1,'Black',0,false,false)
  215. Hat2 = P(1,1,1,'Black',0,false,false)
  216. wait()
  217. a=fm(Hat1,1577360,1,1,1,1577349) a.VertexColor = Vector3.new(1,1,1)
  218. b=fm(Hat2,13640868,1,1,1,18987684) b.VertexColor = Vector3.new(1,1,1)
  219. wait()
  220. if char:FindFirstChild("Head") then
  221. c=char.Head:clone()
  222. c.Name = "FalseHead"
  223. c.CanCollide = false
  224. c.Parent = char
  225. c.Transparency = 1
  226. We(c,char.Head,0,0,0,0,0,0)
  227. char.Head.Transparency = 0
  228. for i,v in pairs(char:GetChildren()) do
  229. if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "Hat" or v.ClassName == "CharacterMesh" or v.ClassName == "Shirt Graphic" then
  230. end
  231. end
  232. ----------musics---------------
  233. M1=SetMusic(168007346)
  234. M2=SetMusic(144901116)
  235. M3=SetMusic(168570436)
  236. M4=SetMusic(142435409)
  237. M5=SetMusic(131525189)
  238. M6=SetMusic(133196268)
  239. M7=SetMusic(130791919)
  240. M8=SetMusic(130794684)
  241. M9=SetMusic(155313239)
  242. M10=SetMusic(158036870)
  243. M11=SetMusic(145262991)
  244. M12=SetMusic(151430448)
  245. M13=SetMusic(130844430)
  246. M14=SetMusic(172388329)
  247. M15=SetMusic(179534184)
  248. M16=SetMusic(142295308)
  249. -------------------------------
  250.  
  251. if char:FindFirstChild("HumanoidRootPart") ~= nil then
  252. rootpart = char:FindFirstChild("HumanoidRootPart")
  253. end
  254. if showtag == true then
  255. local bbg = Instance.new("BillboardGui",c)
  256. bbg.Adornee = c
  257. bbg.Name = "satuttava"
  258. bbg.Size = UDim2.new(6,0,2,0)
  259. bbg.StudsOffset = Vector3.new(0,2,0)
  260. local box = Instance.new("TextLabel",bbg)
  261. box.Size = UDim2.new(1,0,1,0)
  262. box.BackgroundColor = BrickColor.new("White")
  263. box.TextColor3 = Color3.new(255,0,0)
  264. box.TextStrokeTransparency = 0.5
  265. box.Font = 3
  266. box.Text = Player.Name
  267. box.BackgroundTransparency = 1
  268. box.Position = UDim2.new(0,0,0,0)
  269. box.TextScaled = true
  270. end
  271. if char:FindFirstChild("Humanoid") ~= nil then
  272. char:FindFirstChild("Humanoid").MaxHealth = (100*100*100*100)*100
  273. wait()
  274. char:FindFirstChild("Humanoid").Health = char:FindFirstChild("Humanoid").MaxHealth
  275. --char:FindFirstChild("Humanoid").Name = game.Players.LocalPlayer.Name
  276. humanoid = char:FindFirstChild("Humanoid")
  277. if humanoid:FindFirstChild("Animator") ~= nil then
  278. humanoid:FindFirstChild("Animator"):Remove()
  279. --Instance.new("Animator",humanoid)
  280. end
  281. if char:FindFirstChild("Animate") ~= nil then
  282. char:FindFirstChild("Animate"):Remove()
  283. end
  284. end
  285. Mouse = player:GetMouse()
  286. Music = Instance.new("Sound",char.Head)
  287. Music.Volume = 1
  288. Music.Looped = true
  289. Music.SoundId = Asset
  290. Animate = Instance.new("Animation",char.Head)
  291. Animate.AnimationId = Asset
  292.  
  293.  
  294.  
  295. head = char:FindFirstChild("Head")
  296. torso = char:FindFirstChild("Torso")
  297. ra = char:findFirstChild("Right Arm")
  298. la = char:findFirstChild("Left Arm")
  299. rl = char:findFirstChild("Right Leg")
  300. ll = char:findFirstChild("Left Leg")
  301. rs = torso:findFirstChild("Right Shoulder")
  302. ls = torso:findFirstChild("Left Shoulder")
  303. rh = torso:findFirstChild("Right Hip")
  304. lh = torso:findFirstChild("Left Hip")
  305. neck = torso:findFirstChild("Neck")
  306. rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  307.  
  308. state = humanoid:GetState()
  309. local ca = nil
  310. ca=GenerateGui()
  311. ca.Parent = player.PlayerGui
  312. if ca:FindFirstChild("Logo") ~= nil then
  313. ca:FindFirstChild("Logo"):TweenPosition(UDim2.new(0, 0, 1, -100), "Out", "Quad", 3, true)
  314. if ca:FindFirstChild("Intro") ~= nil then
  315. coroutine.resume(coroutine.create(function()
  316. for i=0,30 do
  317. ca:FindFirstChild("Intro").Volume = 1/(i/2)
  318. wait(0.5)
  319. if i >= 30 then
  320. break
  321. end
  322. end
  323. end))
  324. end
  325. end
  326.  
  327. if humanoid ~= nil then
  328. humanoid.Changed:connect(function(pro)
  329. if pro == "MoveDirection" or pro == "Jump" then
  330. if Music.IsPlaying == true then
  331. AnimationStop()
  332. end
  333. end
  334. end)
  335. humanoid.Died:connect(function()
  336. AnimationStop()
  337. end)
  338.  
  339. Mouse.KeyUp:connect(function(key)
  340. if key == "w" then
  341. W = false
  342. end
  343. if key == "a" then
  344. A = false
  345. end
  346. if key == "s" then
  347. S = false
  348. end
  349. if key == "d" then
  350. D = false
  351. end
  352. if string.byte(key) == 48 then
  353. run = false
  354. end
  355. end)
  356.  
  357. Mouse.KeyDown:connect(function(key)
  358. if key == "w" then
  359. W = true
  360. AnimationStop()
  361. end
  362. if key == "a" then
  363. A = true
  364. AnimationStop()
  365. end
  366. if key == "s" then
  367. S = true
  368. AnimationStop()
  369. end
  370. if key == "d" then
  371. D = true
  372. AnimationStop()
  373. end
  374. end)
  375.  
  376.  
  377.  
  378. Mouse.KeyDown:connect(function(key)
  379. KeyUsed(key)
  380. end)
  381. end
  382. end
  383. print'KrystalDance By: KrystalTeam as fully Loaded!'
  384. end
  385.  
  386. function KeyUsed(key)
  387. if humanoid ~= nil then
  388. if humanoid.Health > 0 then
  389. if string.byte(key) == 32 then
  390. jump = true
  391. AnimationStop()
  392. --sit = false
  393. end
  394. if string.byte(key) == 50 then
  395. AnimationStop()
  396. if sit == true then
  397. sit = false
  398. else
  399. sit = true
  400. end
  401. end
  402. if string.byte(key) == 48 then
  403. run = true
  404. end
  405. if W == false and A == false and S == false and D == false and jump == false and sit == false then
  406. if key == "Q" or key == "q" then
  407. AnimationStop()
  408. canttouch = true
  409. end
  410. if key == "E" or key == "e" then
  411. AnimationStop()
  412. party = true
  413. end
  414. if key == "R" or key == "r" then
  415. AnimationStop()
  416. jerk = true
  417. end
  418. if key == "T" or key == "t" then
  419. AnimationStop()
  420. happy = true
  421. end
  422. if key == "Y" or key == "y" then
  423. AnimationStop()
  424. spin = true
  425. end
  426. if key == "U" or key == "u" then
  427. AnimationStop()
  428. thriller = true
  429. end
  430. if key == "F" or key == "f" then
  431. AnimationStop()
  432. barrel = true
  433. if barrelbrick == nil and barrel == true then
  434. barrelbrick = P(2,2,1,'Black',0,false,false)
  435. a=fm(barrelbrick,29873142,1.1,0.8,1.1,31082268) a.VertexColor = Vector3.new(1,1,1)
  436. We(barrelbrick,char.Torso,0,-0.2,0,0,0,0)
  437. end
  438. end
  439. if key == "P" or key == "p" then
  440. AnimationStop()
  441. sax = true
  442. if saxtool == nil and sax == true then
  443. saxtool = P(1,2,2,'Black',0,false,false)
  444. a=fm(saxtool,44410178,1.5,1.5,1.5,44410320) a.VertexColor = Vector3.new(1,1,1)
  445. b=We(saxtool,char:FindFirstChild("Left Arm"),0,-1,0,0,0,0)
  446. b.C1 = CFrame.new(0.5, -0.9, -0.3) * CFrame.Angles(math.pi/1.5, -math.pi/2, -math.pi/8)
  447. end
  448. end
  449. if key == "G" or key == "g" then
  450. AnimationStop()
  451. spooky = true
  452. end
  453. if key == "H" or key == "h" then
  454. AnimationStop()
  455. stride = true
  456. end
  457. if key == "J" or key == "j" then
  458. AnimationStop()
  459. shuffle = true
  460. end
  461. if key == "K" or key == "k" then
  462. AnimationStop()
  463. rock = true
  464. end
  465. if key == "L" or key == "l" then
  466. AnimationStop()
  467. gagnam = true
  468. end
  469. if key == "Z" or key == "z" then
  470. AnimationStop()
  471. snoop = true
  472. end
  473. if key == "X" or key == "x" then
  474. AnimationStop()
  475. darude = true
  476. if sandstorm == nil and darude == true then
  477. sandstorm = P(1,1,1,'Black',0,false,false)
  478. sandstorm.Transparency = 1
  479. a=Instance.new("Smoke",sandstorm)
  480. a.Color = Color3.new(255/255,255/255,175/255)
  481. a.Size = 0.4
  482. a.RiseVelocity = 3
  483. a.Opacity = 0.75
  484. b=We(sandstorm,char:FindFirstChild("Torso"),0,0,0,0,0,0)
  485. b.C1 = CFrame.new(0, -2, 0)
  486. end
  487. end
  488. if key == "C" or key == "c" then
  489. AnimationStop()
  490. taco = true
  491. end
  492. end
  493. end
  494. end
  495. end
  496.  
  497. Generate(Player)
  498.  
  499. game:service'RunService'.Stepped:connect(function()
  500. count = (count % 100) + countspeed
  501. angle = math.pi * math.sin(math.pi*2/100*count)
  502. countspeed = 1
  503.  
  504. state = humanoid:GetState()
  505. if state ~= Enum.HumanoidStateType.Freefall then
  506. jump = false
  507. else
  508. jump = true
  509. sit = false
  510. AnimationStop()
  511. end
  512.  
  513. local mesh1anan = Instance.new("SpecialMesh")
  514. mesh1anan.MeshType = Enum.MeshType.FileMesh
  515. mesh1anan.Scale = Vector3.new(3,3,3)
  516. mesh1anan.MeshId = "http://www.roblox.com/asset/?id=14846869"
  517. mesh1anan.TextureId = "http://www.roblox.com/asset/?id=14846834"
  518. if taco == true then
  519. if char ~= nil then
  520. local locationanan = char:GetModelCFrame()
  521. local tacoa = Instance.new("Part")
  522. tacoa.CanCollide = false
  523. tacoa.RotVelocity = Vector3.new(math.random()*math.pi,math.random()*math.pi,math.random()*math.pi)
  524. local meshanananan = mesh1anan:clone()
  525. meshanananan.Parent = tacoa
  526. meshanananan.Scale = Vector3.new(0,0,0)
  527. tacoa.CFrame = locationanan * CFrame.new(math.random()*500 - 250,math.random(100,200),math.random()*500 - 250)
  528. tacoa.Parent = workspace
  529. game:GetService("Debris"):AddItem(tacoa,0)
  530. end
  531. end
  532.  
  533.  
  534.  
  535.  
  536. if canttouch == false then
  537. M1:Stop()
  538. end
  539. if party == false then
  540. M2:Stop()
  541. end
  542. if jerk == false then
  543. M3:Stop()
  544. end
  545. if happy == false then
  546. M4:Stop()
  547. end
  548. if spin == false then
  549. M5:Stop()
  550. end
  551. if thriller == false then
  552. M6:Stop()
  553. end
  554. if barrel == false then
  555. M7:Stop()
  556. end
  557. if sax == false then
  558. M8:Stop()
  559. end
  560. if spooky == false then
  561. M9:Stop()
  562. end
  563. if stride == false then
  564. M10:Stop()
  565. end
  566. if shuffle == false then
  567. M11:Stop()
  568. end
  569. if rock == false then
  570. M12:Stop()
  571. end
  572. if gagnam == false then
  573. M13:Stop()
  574. end
  575. if snoop == false then
  576. M14:Stop()
  577. end
  578. if darude == false then
  579. M15:Stop()
  580. end
  581. if taco == false then
  582. M16:Stop()
  583. end
  584.  
  585. if run == true and sit == false then
  586. humanoid.WalkSpeed = 25
  587. elseif sit == true then
  588. humanoid.WalkSpeed = 0
  589. else
  590. humanoid.WalkSpeed = 16
  591. end
  592.  
  593. if global_wait == 380 then global_wait = 0 end
  594.  
  595. if (W == false or A == false or S == false or D == false) and jump == false and sit == false then
  596. ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - angle/75)
  597. rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - angle/75)
  598. lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/75)
  599. rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/75)
  600. neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/75, math.pi, 0)
  601. rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2, math.pi, 0)
  602. end
  603.  
  604.  
  605. if (W == false or A == false or S == false or D == false) and jump == false and sit == true then
  606. local ray = Ray.new(torso.Position, Vector3.new(0, -3, 0))
  607. local hitz,enz = workspace:FindPartOnRay(ray, char)
  608. if hitz then
  609. if rootpart:FindFirstChild("Weld") == nil then
  610. miniweld = Instance.new("Weld", rootpart)
  611. miniweld.C0 = hitz.CFrame:toObjectSpace(rootpart.CFrame)
  612. miniweld.Part0 = hitz
  613. miniweld.Part1 = rootpart
  614. humanoid.PlatformStand = true
  615. end
  616. end
  617. else
  618. if rootpart:FindFirstChild("Weld") ~= nil then
  619. rootpart:FindFirstChild("Weld"):Destroy()
  620. humanoid.PlatformStand = false
  621. end
  622. end
  623.  
  624. if (W == false or A == false or S == false or D == false) and jump == false and sit == true then
  625. ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - math.pi/15)
  626. rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 + math.pi/15)
  627. lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + math.pi/8, 0, math.pi/2 - math.pi/15)
  628. rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + math.pi/8, 0, -math.pi/2 + math.pi/15)
  629. neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + math.pi/15, math.pi, 0)
  630. rj.C0 = CFrame.new(0, -2, 0) * CFrame.Angles(math.pi/2 + math.pi/15, math.pi, 0)
  631. end
  632.  
  633. if jump == true and sit == false then
  634. countspeed = 2
  635. ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi + angle/12)
  636. rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi + angle/12)
  637. lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/12)
  638. rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/12)
  639. neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/25, math.pi, 0)
  640. rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2+ angle/50, math.pi, 0)
  641. end
  642.  
  643. if (W == true or A == true or S == true or D == true) and jump == false and sit == false then
  644. if run == true then
  645. countspeed = 4
  646. ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - angle/3)
  647. rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - angle/3)
  648. lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/5)
  649. rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/5)
  650. neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/20, math.pi, 0)
  651. rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2 + angle/40, math.pi, 0)
  652. else
  653. countspeed = 2
  654. ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - angle/4)
  655. rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - angle/4)
  656. lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/6)
  657. rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/6)
  658. neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/25, math.pi, 0)
  659. rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2+ angle/50, math.pi, 0)
  660. end
  661. end
  662.  
  663. if W == false and A == false and S == false and D == false and jump == false and sit == false then
  664. if jerk == true and jump == false and sit == false then
  665. countspeed = 2
  666. ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(angle/5, 0, angle/4)
  667. rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(angle/5, 0, -angle/4)
  668. lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(angle/10, 0, angle/5)-- * CFrame.Angles(angle*0.5, 0, -math.abs(angle*0.15))
  669. rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(angle/10, 0, angle/5)-- * CFrame.Angles(-angle*0.5, 0, math.abs(angle*0.15))
  670. neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/5, math.pi, 0)
  671. rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2 + angle/5, math.pi, 0)
  672. elseif party == true and jump == false and sit == false then
  673. countspeed = 4
  674. lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(angle/15, 0, angle/15)
  675. rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(angle/15, 0, angle/15)
  676. ls.C1 = CFrame.new(0.25,0.5 + 1 * angle/10,0.5) * CFrame.Angles(math.pi + angle/10, 0, 0 + angle/10)
  677. rs.C1 = CFrame.new(-0.25,0.5 + 1 * angle/10,0.5) * CFrame.Angles(math.pi + angle/10, 0, 0 + angle/10)
  678. neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/10, math.pi, 0)
  679. rj.C0 = CFrame.new(0, 0.5 + angle/5, 0) * CFrame.Angles(math.pi/2, math.pi, 0)
  680. elseif canttouch == true and jump == false and sit == false then
  681. countspeed = 2
  682. ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0 + angle/8, 0, math.pi/12 + angle/12)
  683. rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0 + angle/8, 0, -math.pi/12 - angle/12)
  684. lh.C1 = CFrame.new(0.35,0.7,0.5) * CFrame.Angles(0 + angle/10, 0, -math.pi/8)
  685. rh.C1 = CFrame.new(-0.35,0.7,0.5) * CFrame.Angles(0 + angle/10, 0, math.pi/8)
  686. neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/15, math.pi, 0)
  687. rj.C0 = CFrame.new(angle/4, -0.3 + angle/20, 0) * CFrame.Angles(math.pi/2, math.pi, 0)
  688. elseif happy == true and jump == false and sit == false then
  689. countspeed = 4
  690. ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(math.pi/4, math.pi/8 + angle/8, math.pi/4 + angle/8)
  691. rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(math.pi/4, -math.pi/8 + angle/8, -math.pi/4 + angle/8)
  692. lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + angle/10, 0, 0 + angle/10)
  693. rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + angle/10, 0, 0 + angle/10)
  694. neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/15, math.pi + angle/15, 0 + angle/15)
  695. rj.C0 = CFrame.new(0, 0 + angle/20, 0) * CFrame.Angles(math.pi/2, math.pi, 0)
  696. elseif spin == true and jump == false and sit == false then
  697. global_wait = (global_wait % 360) + 4
  698. countspeed = 4
  699. ls.C1 = CFrame.new(0,1,0) * CFrame.Angles(math.pi/2, 0 + angle/10, 0 + angle/10)
  700. rs.C1 = CFrame.new(0,1,0) * CFrame.Angles(math.pi/2, 0 - angle/10, 0 + angle/10)
  701. lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + angle/10, 0 + angle/10, 0 + angle/10)
  702. rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + angle/10, 0 + angle/10, 0 + angle/10)
  703. neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2, math.pi, 0)
  704. rj.C0 = CFrame.new(0 + angle/25, 0, 0 - angle/25) * CFrame.Angles(math.pi/2, math.pi, math.rad(global_wait*4))
  705. elseif thriller == true and jump == false and sit == false then
  706. countspeed = 2
  707. ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi/2 + angle/15)
  708. rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, -math.pi/2 + angle/15)
  709. lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(math.pi/60 - angle/45, 0, 0 + angle/15)
  710. rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(math.pi/60 + angle/45, 0, 0 + angle/15)
  711. neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/15, math.pi + angle/10, 0)
  712. rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2 + angle/50 , math.pi + angle/50, 0 + angle/50)
  713. elseif barrel == true and jump == false and sit == false then
  714. ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi)
  715. rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi)
  716. lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0)
  717. rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0)
  718. neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2, math.pi, 0)
  719. rj.C0 = CFrame.new(0 + angle, -1.8, 0) * CFrame.Angles(0, math.pi, 0 + angle)
  720. elseif sax == true and jump == false and sit == false then
  721. countspeed = 2
  722. ls.C1 = CFrame.new(0,0.75,-0.25) * CFrame.Angles(-math.pi/5, 0, math.pi/2 - math.abs(angle/30))
  723. rs.C1 = CFrame.new(0,0.75,-0.25) * CFrame.Angles(-math.pi/5, 0, -math.pi/2 + math.abs(angle/30))
  724. lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 - math.abs(angle/30))
  725. rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + math.abs(angle/30))
  726. neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2, math.pi, 0)
  727. rj.C0 = CFrame.new(0, -math.abs(angle*0.05), math.abs(angle*0.025)) * CFrame.Angles(math.pi/2 + math.abs(angle/20), math.pi, 0)
  728. elseif spooky == true and jump == false and sit == false then
  729. countspeed = 3
  730. ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi/2 - angle/1.5)
  731. rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, -math.pi/2 + angle/1.5)
  732. lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 - angle/16)
  733. rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/16)
  734. neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/12, math.pi, 0)
  735. rj.C0 = CFrame.new(0, 0 + angle / 35, 0) * CFrame.Angles(math.pi/2 + angle/25, math.pi, 0)
  736. elseif stride == true and jump == false and sit == false then
  737. countspeed = 2.5
  738. ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(angle/16, angle/16,math.pi/3.5 + angle/8)
  739. rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(angle/16, -angle/16,-math.pi/1.5 + -angle/8)
  740. lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, angle/16, angle/16)
  741. rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, angle/16, angle/16)
  742. neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2, math.pi, 0)
  743. rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2-angle/16, math.pi, 0)
  744. elseif shuffle == true and jump == false and sit == false then
  745. countspeed = 2
  746. ls.C1 = CFrame.new(0,0.75,-0.35) * CFrame.Angles(math.pi/8, 0, math.pi/2 + angle/3.5)
  747. rs.C1 = CFrame.new(0,0.75,-0.35) * CFrame.Angles(math.pi/8, 0, -math.pi/2 + angle/3.5)
  748. lh.C1 = CFrame.new(0 + angle/50,1,0.5) * CFrame.Angles(0, 0 + angle/35, 0 + angle/15)
  749. rh.C1 = CFrame.new(0 + angle/50,1,0.5) * CFrame.Angles(0, 0 + angle/35, 0 + angle/15)
  750. neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/15, math.pi, 0)
  751. rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2 - angle/35, math.pi - angle/35, 0)
  752. elseif rock == true and jump == false and sit == false then
  753. countspeed = 4
  754. ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi/2+angle/2)
  755. rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, -math.pi/2+angle/2)
  756. lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0+angle/32, 0, 0+angle/32)
  757. rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0+angle/32, 0, 0-angle/32)
  758. neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2, math.pi, 0)
  759. rj.C0 = CFrame.new(0, 0 - angle/50, 0) * CFrame.Angles(math.pi/2, math.pi, 0)
  760. elseif gagnam == true and jump == false and sit == false then
  761. countspeed = 4
  762. ls.C1 = CFrame.new(0,0.75,-0.15) * CFrame.Angles(-math.pi/4, 0, (math.pi/2 + angle/14) - math.pi/20)
  763. rs.C1 = CFrame.new(0,0.75,-0.15) * CFrame.Angles(-math.pi/4, 0, (-math.pi/2 - angle/14) + math.pi/20)
  764. lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + angle/16, 0, 0)
  765. rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + angle/16, 0, 0)
  766. neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/20, math.pi, 0)
  767. rj.C0 = CFrame.new(0, 0 + angle/40, 0) * CFrame.Angles(math.pi/2, math.pi, 0)
  768. elseif snoop == true and jump == false and sit == false then
  769. countspeed = 2
  770. ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(math.pi/12, 0, math.pi/4 + angle/4)
  771. rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(math.pi/12, 0, -math.pi/4 + angle/4)
  772. lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(math.pi/24, 0, 0 + angle/4)
  773. rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(math.pi/24, 0, 0 + angle/4)
  774. neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 - angle/8, math.pi, 0)
  775. rj.C0 = CFrame.new(0, 0 + angle/48, 0) * CFrame.Angles(math.pi/2 + angle/24, math.pi, 0)
  776. elseif darude == true and jump == false and sit == false then
  777. countspeed = 3
  778. ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 + angle/1.5)
  779. rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 + angle/3)
  780. lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 - angle/3)
  781. rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 - angle/1.5)
  782. neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2, math.pi, 0)
  783. rj.C0 = CFrame.new(0, 0+ angle/45, 0) * CFrame.Angles(math.pi/2 - angle/6, math.pi, 0)
  784. elseif taco == true and jump == false and sit == false then
  785. countspeed = 4
  786. global_wait = (global_wait % 360) + 4
  787. ls.C1 = CFrame.new(0,1,-0.25) * CFrame.Angles(math.pi/6 + angle/12, 0, math.pi)
  788. rs.C1 = CFrame.new(0,1,-0.25) * CFrame.Angles(math.pi/6 + angle/12, 0, math.pi)
  789. lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, math.pi/8 + angle/16)
  790. rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, math.pi/8 + angle/16)
  791. neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 - math.pi/8 + angle/16, math.pi, 0)
  792. rj.C0 = CFrame.new(0, 0.25 + angle/12, 0) * CFrame.Angles(math.pi/2, math.pi, math.rad(global_wait*4))
  793. end
  794. end
  795. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement