SHARE
TWEET

Untitled

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