daily pastebin goal
24%
SHARE
TWEET

eeeeee

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