daily pastebin goal
69%
SHARE
TWEET

noob dance 2! normal edition1

a guest Jan 23rd, 2018 59 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 = "Memer"
  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 .. "http://www.roblox.com/asset/?id=534247804"
  201.     b.Name = "Logo"
  202.     c=Instance.new("Sound",a)
  203.     c.Name = "Intro"
  204.     c.Volume = 1
  205.     c.SoundId = Asset .. "rbxassetid://533871935"
  206.     c.Looped = false
  207.     return a
  208. end
  209.  
  210.  
  211. ----------musics---------------
  212.     M1=SetMusic(1050448090)
  213.         M1.Volume = 50
  214.     M2=SetMusic(343088327)
  215.         M2.Volume = 50
  216.     M3=SetMusic(575656962)
  217.         M3.Volume = 50
  218.     M4=SetMusic(742922056)
  219.         M4.Volume = 50
  220.     M5=SetMusic(263970261)
  221.         M5.Volume = 50
  222.     M6=SetMusic(328129788)
  223.         M6.Volume = 50
  224.     M7=SetMusic(276611415)
  225.         M7.Volume = 50
  226.     M8=SetMusic(186974286)
  227.         M8.Volume = 50
  228.     M9=SetMusic(736178931)
  229.         M9.Volume = 50
  230.     M10=SetMusic(142930454)
  231.         M10.Volume = 50
  232.     M11=SetMusic(479260819)
  233.         M11.Volume = 50
  234.     M12=SetMusic(345955131)
  235.         M12.Volume = 50
  236.     M13=SetMusic(436428857)
  237.         M13.Volume = 50
  238.     M14=SetMusic(247736628)
  239.         M14.Volume = 50
  240.     M15=SetMusic(577558137)
  241.         M15.Volume = 50
  242.     M16=SetMusic(1235356757)
  243.         M16.Volume = 50
  244.         boi=SetMusic(1235356757)
  245. -------------------------------
  246.    
  247.     if char:FindFirstChild("HumanoidRootPart") ~= nil then
  248.         rootpart = char:FindFirstChild("HumanoidRootPart")
  249.     end
  250.     if showtag == true then
  251.         local bbg = Instance.new("BillboardGui",c)
  252.         bbg.Adornee = c
  253.         bbg.Name = "satuttava"
  254.         bbg.Size = UDim2.new(6,0,2,0)
  255.         bbg.StudsOffset = Vector3.new(0,2,0)
  256.         local box = Instance.new("TextLabel",bbg)
  257.         box.Size = UDim2.new(1,0,1,0)
  258.         box.BackgroundColor = BrickColor.new("White")
  259.         box.TextColor3 = Color3.new(255,0,0)
  260.         box.TextStrokeTransparency = 0.5
  261.         box.Font = "Arcade"
  262.         box.Text = Player.Name
  263.         box.BackgroundTransparency = 1
  264.         box.Position = UDim2.new(0,0,0,0)
  265.         box.TextScaled = true
  266.     end
  267.     if char:FindFirstChild("Humanoid") ~= nil then
  268.         char:FindFirstChild("Humanoid").MaxHealth = (100*100*100*100)*100
  269.         wait()
  270.         char:FindFirstChild("Humanoid").Health = char:FindFirstChild("Humanoid").MaxHealth
  271.         --char:FindFirstChild("Humanoid").Name = game.Players.LocalPlayer.Name
  272.         humanoid = char:FindFirstChild("Humanoid")
  273.         if humanoid:FindFirstChild("Animator") ~= nil then
  274.             humanoid:FindFirstChild("Animator"):Remove()
  275.             --Instance.new("Animator",humanoid)
  276.         end
  277.         if char:FindFirstChild("Animate") ~= nil then
  278.             char:FindFirstChild("Animate"):Remove()
  279.         end
  280.     end
  281.     Mouse = player:GetMouse()
  282.     Music = Instance.new("Sound",char.Head)
  283.     Music.Volume = 1
  284.     Music.Looped = true
  285.     Music.SoundId = Asset
  286.     Animate = Instance.new("Animation",char.Head)
  287.     Animate.AnimationId = Asset
  288.    
  289.    
  290.    
  291.     head = char:FindFirstChild("Head")
  292.     torso = char:FindFirstChild("Torso")
  293.     ra = char:findFirstChild("Right Arm")
  294.     la = char:findFirstChild("Left Arm")
  295.     rl = char:findFirstChild("Right Leg")
  296.     ll = char:findFirstChild("Left Leg")
  297.     rs = torso:findFirstChild("Right Shoulder")
  298.     ls = torso:findFirstChild("Left Shoulder")
  299.     rh = torso:findFirstChild("Right Hip")
  300.     lh = torso:findFirstChild("Left Hip")
  301.     neck = torso:findFirstChild("Neck")
  302.     rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  303.    
  304.     state = humanoid:GetState()
  305.     local ca = nil
  306.     ca=GenerateGui()
  307.     ca.Parent = player.PlayerGui
  308.     if ca:FindFirstChild("Logo") ~= nil then
  309.         ca:FindFirstChild("Logo"):TweenPosition(UDim2.new(0, 0, 1, -100), "Out", "Quad", 3, true)
  310.         if ca:FindFirstChild("Intro") ~= nil then
  311.             ca:FindFirstChild("Intro"):Play()
  312.             coroutine.resume(coroutine.create(function()
  313.                 for i=0,30 do
  314.                     ca:FindFirstChild("Intro").Volume = 1/(i/2)
  315.                     wait(0.5)
  316.                     if i >= 30 then
  317.                         break
  318.                     end
  319.                 end
  320.             end))
  321.         end
  322.     end
  323.  
  324.     if humanoid ~= nil then
  325.         humanoid.Changed:connect(function(pro)
  326.             if pro == "MoveDirection" or pro == "Jump" then
  327.                 if Music.IsPlaying == true then
  328.                     AnimationStop()
  329.                 end
  330.             end
  331.         end)
  332.         humanoid.Died:connect(function()
  333.             AnimationStop()
  334.         end)
  335.        
  336.     Mouse.KeyUp:connect(function(key)
  337.         if key == "w" then
  338.             W = false
  339.         end
  340.         if key == "a" then
  341.             A = false
  342.         end
  343.         if key == "s" then
  344.             S = false
  345.         end
  346.         if key == "d" then
  347.             D = false
  348.         end
  349.         if string.byte(key) == 48 then
  350.             run = false
  351.         end
  352.     end)
  353.        
  354.     Mouse.KeyDown:connect(function(key)
  355.         if key == "w" then
  356.             W = true
  357.             AnimationStop()
  358.         end
  359.         if key == "a" then
  360.             A = true
  361.             AnimationStop()
  362.         end
  363.         if key == "s" then
  364.             S = true
  365.             AnimationStop()
  366.         end
  367.         if key == "d" then
  368.             D = true
  369.             AnimationStop()
  370.         end
  371.     end)
  372.    
  373.    
  374.    
  375.     Mouse.KeyDown:connect(function(key)
  376.         KeyUsed(key)
  377.     end)
  378. end
  379. end
  380. print'fuck you!'
  381. end
  382.  
  383. function KeyUsed(key)
  384.         if humanoid ~= nil then
  385.             if humanoid.Health > 0 then
  386.                 if string.byte(key) == 32 then
  387.                     jump = true
  388.                     AnimationStop()
  389.                     --sit = false
  390.                 end
  391.                 if string.byte(key) == 50 then
  392.                     AnimationStop()
  393.                     if sit == true then
  394.                         sit = false
  395.                     else
  396.                         sit = true
  397.                     end
  398.                 end
  399.                 if string.byte(key) == 48 then
  400.                     run = true
  401.                 end
  402.                 if W == false and A == false and S == false and D == false and jump == false and sit == false then
  403.                     if key == "Q" or key == "q" then
  404.                         AnimationStop()
  405.                         canttouch = true
  406.                         M1:Play()
  407.                     end
  408.                     if key == "E" or key == "e" then
  409.                         AnimationStop()
  410.                         party = true
  411.                         M2:Play()
  412.                     end
  413.                     if key == "R" or key == "r" then
  414.                         AnimationStop()
  415.                         jerk = true
  416.                         M3:Play()
  417.                     end
  418.                     if key == "T" or key == "t" then
  419.                         AnimationStop()
  420.                         happy = true
  421.                         M4:Play()
  422.                     end
  423.                     if key == "Y" or key == "y" then
  424.                         AnimationStop()
  425.                         spin = true
  426.                         M5:Play()
  427.                     end
  428.                     if key == "U" or key == "u" then
  429.                         AnimationStop()
  430.                         thriller = true
  431.                         M6:Play()
  432.                     end
  433.                     if key == "F" or key == "f" then
  434.                         AnimationStop()
  435.                         barrel = true
  436.                         M7:Play()
  437.                         if barrelbrick == nil and barrel == true then
  438.                             barrelbrick = P(2,2,1,'Black',0,false,false)
  439.                             a=fm(barrelbrick,29873142,1.1,0.8,1.1,31082268) a.VertexColor = Vector3.new(1,1,1)
  440.                             We(barrelbrick,char.Torso,0,-0.2,0,0,0,0)
  441.                         end
  442.                     end
  443.                     if key == "P" or key == "p" then
  444.                         AnimationStop()
  445.                         sax = true
  446.                         M8:Play()
  447.                         if saxtool == nil and sax == true then
  448.                             saxtool = P(1,2,2,'Black',0,false,false)
  449.                             a=fm(saxtool,44410178,1.5,1.5,1.5,44410320) a.VertexColor = Vector3.new(1,1,1)
  450.                             b=We(saxtool,char:FindFirstChild("Left Arm"),0,-1,0,0,0,0)
  451.                             b.C1 = CFrame.new(0.5, -0.9, -0.3) * CFrame.Angles(math.pi/1.5, -math.pi/2, -math.pi/8)
  452.                         end
  453.                     end
  454.                     if key == "G" or key == "g" then
  455.                         AnimationStop()
  456.                         spooky = true
  457.                         M9:Play()
  458.                     end
  459.                     if key == "H" or key == "h" then
  460.                         AnimationStop()
  461.                         stride = true
  462.                         M10:Play()
  463.                     end
  464.                     if key == "J" or key == "j" then
  465.                         AnimationStop()
  466.                         shuffle = true
  467.                         M11:Play()
  468.                     end
  469.                     if key == "K" or key == "k" then
  470.                         AnimationStop()
  471.                         rock = true
  472.                         M12:Play()
  473.                     end
  474.                     if key == "L" or key == "l" then
  475.                         AnimationStop()
  476.                         gagnam = true
  477.                         M13:Play()
  478.                     end
  479.                     if key == "Z" or key == "z" then
  480.                         AnimationStop()
  481.                         snoop = true
  482.                         M14:Play()
  483.                     end
  484.                     if key == "X" or key == "x" then
  485.                         AnimationStop()
  486.                         darude = true
  487.                         M15:Play()
  488.                         if sandstorm == nil and darude == true then
  489.                             sandstorm = P(1,1,1,'Black',0,false,false)
  490.                             sandstorm.Transparency = 1
  491.                             a=Instance.new("Smoke",sandstorm)
  492.                             a.Color = Color3.new(255/255,255/255,175/255)
  493.                             a.Size = 0.4
  494.                             a.RiseVelocity = 3
  495.                             a.Opacity = 0.75
  496.                             b=We(sandstorm,char:FindFirstChild("Torso"),0,0,0,0,0,0)
  497.                             b.C1 = CFrame.new(0, -2, 0)
  498.                         end
  499.                     end
  500.                     if key == "C" or key == "c" then
  501.                         AnimationStop()
  502.                         taco = true
  503.                         M16:Play()
  504.                                         boi:Stop()
  505.                     end
  506.                 end
  507.             end
  508.         end
  509. end
  510.  
  511. Generate(Player)
  512.  
  513. game:service'RunService'.Stepped:connect(function()
  514.     count = (count % 100) + countspeed
  515.     angle = math.pi * math.sin(math.pi*2/100*count)
  516.     countspeed = 1
  517.    
  518.     state = humanoid:GetState()
  519.     if state ~= Enum.HumanoidStateType.Freefall then
  520.         jump = false
  521.     else
  522.         jump = true
  523.         sit = false
  524.         AnimationStop()
  525.     end
  526.    
  527.     local mesh1anan = Instance.new("SpecialMesh")
  528.     mesh1anan.MeshType = Enum.MeshType.FileMesh
  529.     mesh1anan.Scale = Vector3.new(0.3,0.3,0.3)
  530.     mesh1anan.MeshId = "http://www.roblox.com/asset/?id="
  531.     mesh1anan.TextureId = "http://www.roblox.com/asset/?id="
  532.     mesh1anan.Scale = Vector3.new(0.1,0.1,0.1)
  533.  
  534.     if taco == true then
  535.         if char ~= nil then
  536.             local locationanan = char:GetModelCFrame()
  537.             local tacoa = Instance.new("Part")
  538.             tacoa.CanCollide = false
  539.             tacoa.RotVelocity = Vector3.new(math.random()*math.pi,math.random()*math.pi,math.random()*math.pi)
  540.             local meshanananan = mesh1anan:clone()
  541.             meshanananan.Parent = tacoa
  542.             tacoa.CFrame = locationanan * CFrame.new(math.random()*500 - 250,math.random(100,200),math.random()*500 - 250)
  543.             tacoa.Parent = workspace
  544.             game:GetService("Debris"):AddItem(tacoa,4)
  545.         end
  546.     end
  547.    
  548.    
  549.    
  550.    
  551.     if canttouch == false then 
  552.         M1:Stop()
  553.     end
  554.     if party == false then 
  555.         M2:Stop()
  556.     end
  557.     if jerk == false then  
  558.         M3:Stop()
  559.     end
  560.     if happy == false then 
  561.         M4:Stop()
  562.     end
  563.     if spin == false then  
  564.         M5:Stop()
  565.     end
  566.     if thriller == false then  
  567.         M6:Stop()
  568.     end
  569.     if barrel == false then
  570.         M7:Stop()
  571.     end
  572.     if sax == false then   
  573.         M8:Stop()
  574.     end
  575.     if spooky == false then
  576.         M9:Stop()
  577.     end
  578.     if stride == false then
  579.         M10:Stop()
  580.     end
  581.     if shuffle == false then   
  582.         M11:Stop()
  583.     end
  584.     if rock == false then
  585.         M12:Stop()
  586.     end
  587.     if gagnam == false then
  588.         M13:Stop()
  589.     end
  590.     if snoop == false then
  591.         M14:Stop() 
  592.     end
  593.     if darude == false then
  594.         M15:Stop()
  595.     end
  596.     if taco == false then
  597.         M16:Stop()
  598.         boi:Stop()
  599.     end
  600.    
  601.     if run == true and sit == false then
  602.         humanoid.WalkSpeed = 25
  603.     elseif sit == true then
  604.         humanoid.WalkSpeed = 0
  605.     else
  606.         humanoid.WalkSpeed = 16
  607.     end
  608.    
  609.     if global_wait == 380 then global_wait = 0 end
  610.    
  611.     if (W == false or A == false or S == false or D == false) and jump == false and sit == false then
  612.             ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - angle/75)
  613.             rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - angle/75)
  614.             lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/75)
  615.             rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/75)
  616.             neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/75, math.pi, 0)
  617.             rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2, math.pi, 0)
  618.     end
  619.    
  620.    
  621.     if (W == false or A == false or S == false or D == false) and jump == false and sit == true then
  622.         local ray = Ray.new(torso.Position, Vector3.new(0, -3, 0))
  623.         local hitz,enz = workspace:FindPartOnRay(ray, char)
  624.         if hitz then
  625.             if rootpart:FindFirstChild("Weld") == nil then
  626.                 miniweld = Instance.new("Weld", rootpart)
  627.                 miniweld.C0 = hitz.CFrame:toObjectSpace(rootpart.CFrame)
  628.                 miniweld.Part0 = hitz
  629.                 miniweld.Part1 = rootpart
  630.                 humanoid.PlatformStand = true
  631.             end
  632.         end
  633.     else
  634.         if rootpart:FindFirstChild("Weld") ~= nil then
  635.             rootpart:FindFirstChild("Weld"):Destroy()
  636.             humanoid.PlatformStand = false
  637.         end
  638.     end
  639.    
  640.     if (W == false or A == false or S == false or D == false) and jump == false and sit == true then
  641.         ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - math.pi/15)
  642.         rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 + math.pi/15)
  643.         lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + math.pi/8, 0, math.pi/2 - math.pi/15)
  644.         rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + math.pi/8, 0, -math.pi/2 + math.pi/15)
  645.         neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + math.pi/15, math.pi, 0)
  646.         rj.C0 = CFrame.new(0, -2, 0) * CFrame.Angles(math.pi/2 + math.pi/15, math.pi, 0)
  647.     end
  648.    
  649.     if jump == true and sit == false then
  650.         countspeed = 2
  651.         ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi + angle/12)
  652.         rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi + angle/12)
  653.         lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/12)
  654.         rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/12)
  655.         neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/25, math.pi, 0)
  656.         rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2+ angle/50, math.pi, 0)
  657.     end
  658.    
  659.     if (W == true or A == true or S == true or D == true) and jump == false and sit == false then
  660.         if run == true then
  661.             countspeed = 4
  662.             ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - angle/3)
  663.             rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - angle/3)
  664.             lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/5)
  665.             rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/5)
  666.             neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/20, math.pi, 0)
  667.             rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2 + angle/40, math.pi, 0)
  668.         else
  669.             countspeed = 2
  670.             ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - angle/4)
  671.             rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - angle/4)
  672.             lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/6)
  673.             rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/6)
  674.             neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/25, math.pi, 0)
  675.             rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2+ angle/50, math.pi, 0)
  676.         end
  677.     end
  678.  
  679.     if W == false and A == false and S == false and D == false and jump == false and sit == false then
  680.         if jerk == true and jump == false and sit == false then
  681.             countspeed = 2
  682.             ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(angle/5, 0, angle/4)
  683.             rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(angle/5, 0, -angle/4)
  684.             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))
  685.             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))
  686.             neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/5, math.pi, 0)
  687.             rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2 + angle/5, math.pi, 0)
  688.         elseif party == true and jump == false and sit == false then
  689.             countspeed = 4
  690.             lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(angle/15, 0, angle/15)
  691.             rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(angle/15, 0, angle/15)
  692.             ls.C1 = CFrame.new(0.25,0.5 + 1 * angle/10,0.5) * CFrame.Angles(math.pi  + angle/10, 0, 0 + angle/10)
  693.             rs.C1 = CFrame.new(-0.25,0.5 + 1 * angle/10,0.5) * CFrame.Angles(math.pi  + angle/10, 0, 0  + angle/10)
  694.             neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/10, math.pi, 0)
  695.             rj.C0 = CFrame.new(0, 0.5 + angle/5, 0) * CFrame.Angles(math.pi/2, math.pi, 0)
  696.         elseif canttouch == true and jump == false and sit == false then
  697.             countspeed = 2
  698.             ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0 + angle/8, 0, math.pi/12 + angle/12)
  699.             rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0 + angle/8, 0, -math.pi/12 - angle/12)
  700.             lh.C1 = CFrame.new(0.35,0.7,0.5) * CFrame.Angles(0 + angle/10, 0, -math.pi/8)
  701.             rh.C1 = CFrame.new(-0.35,0.7,0.5) * CFrame.Angles(0 + angle/10, 0, math.pi/8)
  702.             neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/15, math.pi, 0)
  703.             rj.C0 = CFrame.new(angle/4, -0.3 + angle/20, 0) * CFrame.Angles(math.pi/2, math.pi, 0)
  704.         elseif happy == true and jump == false and sit == false then
  705.             countspeed = 4
  706.             ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(math.pi/4, math.pi/8 + angle/8, math.pi/4 + angle/8)
  707.             rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(math.pi/4, -math.pi/8 + angle/8, -math.pi/4 + angle/8)
  708.             lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + angle/10, 0, 0  + angle/10)
  709.             rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + angle/10, 0, 0  + angle/10)
  710.             neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/15, math.pi + angle/15, 0 + angle/15)
  711.             rj.C0 = CFrame.new(0, 0 + angle/20, 0) * CFrame.Angles(math.pi/2, math.pi, 0)
  712.         elseif spin == true and jump == false and sit == false then
  713.             global_wait = (global_wait % 360) + 4
  714.             countspeed = 4
  715.             ls.C1 = CFrame.new(0,1,0) * CFrame.Angles(math.pi/2, 0 + angle/10, 0 + angle/10)
  716.             rs.C1 = CFrame.new(0,1,0) * CFrame.Angles(math.pi/2, 0 - angle/10, 0 + angle/10)
  717.             lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + angle/10, 0 + angle/10, 0  + angle/10)
  718.             rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + angle/10, 0 + angle/10, 0  + angle/10)
  719.             neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2, math.pi, 0)
  720.             rj.C0 = CFrame.new(0 + angle/25, 0, 0 - angle/25) * CFrame.Angles(math.pi/2, math.pi, math.rad(global_wait*4))
  721.         elseif thriller == true and jump == false and sit == false then
  722.             countspeed = 2
  723.             ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi/2 + angle/15)
  724.             rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, -math.pi/2 + angle/15)
  725.             lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(math.pi/60 - angle/45, 0, 0 + angle/15)
  726.             rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(math.pi/60 + angle/45, 0, 0 + angle/15)
  727.             neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/15, math.pi + angle/10, 0)
  728.             rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2 + angle/50 , math.pi + angle/50, 0 + angle/50)
  729.         elseif barrel == true and jump == false and sit == false then
  730.             ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi)
  731.             rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi)
  732.             lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0)
  733.             rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0)
  734.             neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2, math.pi, 0)
  735.             rj.C0 = CFrame.new(0 + angle, -1.8, 0) * CFrame.Angles(0, math.pi, 0 + angle)
  736.         elseif sax == true and jump == false and sit == false then
  737.             countspeed = 2
  738.             ls.C1 = CFrame.new(0,0.75,-0.25) * CFrame.Angles(-math.pi/5, 0, math.pi/2 - math.abs(angle/30))
  739.             rs.C1 = CFrame.new(0,0.75,-0.25) * CFrame.Angles(-math.pi/5, 0, -math.pi/2 + math.abs(angle/30))
  740.             lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 - math.abs(angle/30))
  741.             rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + math.abs(angle/30))
  742.             neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2, math.pi, 0)
  743.             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)
  744.         elseif spooky == true and jump == false and sit == false then
  745.             countspeed = 3
  746.             ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi/2 - angle/1.5)
  747.             rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, -math.pi/2 + angle/1.5)
  748.             lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 - angle/16)
  749.             rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/16)
  750.             neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2  + angle/12, math.pi, 0)
  751.             rj.C0 = CFrame.new(0, 0 + angle / 35, 0) * CFrame.Angles(math.pi/2 + angle/25, math.pi, 0)
  752.         elseif stride == true and jump == false and sit == false then
  753.             countspeed = 2.5
  754.             ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(angle/16, angle/16,math.pi/3.5 + angle/8)
  755.             rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(angle/16, -angle/16,-math.pi/1.5 + -angle/8)
  756.             lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, angle/16, angle/16)
  757.             rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, angle/16, angle/16)
  758.             neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2, math.pi, 0)
  759.             rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2-angle/16, math.pi, 0)
  760.         elseif shuffle == true and jump == false and sit == false then
  761.             countspeed = 2
  762.             ls.C1 = CFrame.new(0,0.75,-0.35) * CFrame.Angles(math.pi/8, 0, math.pi/2 + angle/3.5)
  763.             rs.C1 = CFrame.new(0,0.75,-0.35) * CFrame.Angles(math.pi/8, 0, -math.pi/2 + angle/3.5)
  764.             lh.C1 = CFrame.new(0 + angle/50,1,0.5) * CFrame.Angles(0, 0 + angle/35, 0 + angle/15)
  765.             rh.C1 = CFrame.new(0 + angle/50,1,0.5) * CFrame.Angles(0, 0 + angle/35, 0 + angle/15)
  766.             neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/15, math.pi, 0)
  767.             rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2 - angle/35, math.pi - angle/35, 0)
  768.         elseif rock == true and jump == false and sit == false then
  769.             countspeed = 4
  770.             ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi/2+angle/2)
  771.             rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, -math.pi/2+angle/2)
  772.             lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0+angle/32, 0, 0+angle/32)
  773.             rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0+angle/32, 0, 0-angle/32)
  774.             neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2, math.pi, 0)
  775.             rj.C0 = CFrame.new(0, 0 - angle/50, 0) * CFrame.Angles(math.pi/2, math.pi, 0)
  776.         elseif gagnam == true and jump == false and sit == false then
  777.             countspeed = 5
  778.             ls.C1 = CFrame.new(-0.15,0.75,0) * CFrame.Angles(-math.pi/4, 0, (math.pi/2 + angle/14) - math.pi/20)
  779.             rs.C1 = CFrame.new(-0.15,0.75,0) * CFrame.Angles(-math.pi/4, 0, (-math.pi/2 - angle/14) + math.pi/20)
  780.             lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + angle/16, 0, 0)
  781.             rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + angle/16, 0, 0)
  782.             neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/20, math.pi, 0)
  783.             rj.C0 = CFrame.new(0, 0 + angle/40, 0) * CFrame.Angles(math.pi/2, math.pi, 0)
  784.         elseif snoop == true and jump == false and sit == false then
  785.             countspeed = 2
  786.             ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(math.pi/12, 0, math.pi/4 + angle/4)
  787.             rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(math.pi/12, 0, -math.pi/4 + angle/4)
  788.             lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(math.pi/24, 0, 0 + angle/4)
  789.             rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(math.pi/24, 0, 0 + angle/4)
  790.             neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 - angle/8, math.pi, 0)
  791.             rj.C0 = CFrame.new(0, 0 + angle/48, 0) * CFrame.Angles(math.pi/2 + angle/24, math.pi, 0)
  792.         elseif darude == true and jump == false and sit == false then
  793.             countspeed = 3
  794.             ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 + angle/1.5)
  795.             rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 + angle/3)
  796.             lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 - angle/3)
  797.             rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 - angle/1.5)
  798.             neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2, math.pi, 0)
  799.             rj.C0 = CFrame.new(0, 0+ angle/45, 0) * CFrame.Angles(math.pi/2 - angle/6, math.pi, 0)
  800.         elseif taco == true and jump == false and sit == false then
  801.             countspeed = 20
  802.             global_wait = (global_wait % 360) + 4
  803.             ls.C1 = CFrame.new(0,1,-0.25) * CFrame.Angles(math.pi/6 + angle/12, 0, math.pi)
  804.             rs.C1 = CFrame.new(0,1,-0.25) * CFrame.Angles(math.pi/6 + angle/12, 0, math.pi)
  805.             lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, math.pi/8 + angle/16)
  806.             rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, math.pi/8 + angle/16)
  807.             neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 - math.pi/8 + angle/16, math.pi, 0)
  808.             rj.C0 = CFrame.new(0, 0.25 + angle/12, 0) * CFrame.Angles(math.pi/2, math.pi, math.rad(global_wait*4))
  809.         end
  810.     end
  811. end)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top