Advertisement
memesbruh03

krystaldance mlg2 new version v4

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