Advertisement
memesbruh03

krystaldance mlg2 new version v3

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