Advertisement
xdfromxd

wwwwaaaaa

Apr 22nd, 2019
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 31.51 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86. wait(0)
  87. Player = owner
  88.  
  89. local count = 0
  90. local countspeed = 1
  91. local sine = 0
  92. local sinespeed = 1
  93. local angle = nil
  94. local global_wait = 0
  95. local showtag = false
  96.  
  97.  
  98. --dance booleans--
  99. local jerk = false
  100. local party = false
  101. local canttouch = false
  102. local happy = false
  103. local spin = false
  104. local thriller = false
  105. local barrel = false
  106. local sax = false
  107. local spooky = false
  108. local stride = false
  109. local shuffle = false
  110. local rock = false
  111. local gagnam = false
  112. local snoop = false
  113. local darude = false
  114. local taco = false
  115. ------------------
  116. --dance accessory--
  117. local barrelbrick = nil
  118. local saxtool = nil
  119. -------------------
  120. --custom animate--
  121. local walk = false
  122. local jump = false
  123. local sit = false
  124. local run = false
  125. ------------------
  126. --walk keys--
  127. local W = false
  128. local A = false
  129. local S = false
  130. local D = false
  131. -------------
  132. local m = Instance.new("Model",game.Players.LocalPlayer.Character) m.Name = "ModelParts"
  133. local miniweld = nil
  134. local rootpart = nil
  135.  
  136. local Mouse = nil
  137. local Animate = nil
  138. local Music = nil
  139. local Asset = "http://www.roblox.com/asset/?id="
  140. local Animating = nil
  141. local humanoid = nil
  142. local face = nil
  143.  
  144. local head = nil
  145. local torso = nil
  146. local ra = nil
  147. local la = nil
  148. local rl = nil
  149. local ll = nil
  150. local rs = nil
  151. local ls = nil
  152. local rh = nil
  153. local lh = nil
  154. local neck = nil
  155. local rj = nil
  156.  
  157. local char = nil
  158. local Hat1 = nil
  159. local Hat2 = nil
  160. local a,b = nil
  161.  
  162. ----------musics-----------------
  163. local M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16 = nil
  164. ---------------------------------
  165.  
  166. local mesh,meshids,textureids,w
  167.  
  168. function fm(parent,meshid,x,y,z,meshtexture)
  169. if meshid == "cylinder" then
  170. mesh = Instance.new("CylinderMesh",parent)
  171. mesh.Scale = Vector3.new(x,y,z)
  172. return mesh
  173. else
  174. mesh = Instance.new("SpecialMesh",parent)
  175. if meshid ~= "sphere" then
  176. if type(meshid) == "number" then mesh.MeshId = "rbxassetid://"..meshid else
  177. mesh.MeshId = "rbxassetid://"..meshids[meshid]
  178. end
  179. else mesh.MeshType = 3 end
  180. mesh.Scale = Vector3.new(x,y,z)
  181. if meshtexture ~= nil then
  182. if type(meshtexture) == "number" then
  183. mesh.TextureId = "rbxassetid://"..meshtexture
  184. else
  185. mesh.TextureId = "rbxassetid://"..textureids[meshtexture] end
  186. end
  187. return mesh
  188. end
  189. end
  190.  
  191. function P(x,y,z,color,transparency,cancollide,anchored,parent,typee)
  192. if typee ~= nil then
  193. c = Instance.new("WedgePart",m)
  194. else
  195. c = Instance.new("Part",m)
  196. end
  197. c.TopSurface,c.BottomSurface = 0,0
  198. c.Locked = true
  199. c.formFactor = "Custom"
  200. c.Size = Vector3.new(x,y,z)
  201. if color ~= "random" then
  202. c.BrickColor = BrickColor.new(color)
  203. else
  204. c.BrickColor = BrickColor:random()
  205. end
  206. c.Transparency = transparency
  207. c.CanCollide = cancollide
  208. if anchored ~= nil then
  209. c.Anchored = anchored
  210. end
  211. if parent ~= nil then
  212. c.Parent = parent
  213. end
  214. return c
  215. end
  216.  
  217. function We(part0,part1,x,y,z,rx,ry,rz,parent)
  218. w = Instance.new("Motor",m)
  219. if parent ~= nil then w.Parent = parent end
  220. w.Part0,w.Part1 = part0,part1
  221. w.C1 = CFrame.new(x,y,z) * CFrame.Angles(rx,ry,rz)
  222. return w
  223. end
  224.  
  225. function SetAnimation(id,humanoid)
  226. if Animating ~= nil then
  227. Animating:Stop()
  228. end
  229. Animate.AnimationId = Asset .. id
  230. Animating = humanoid:LoadAnimation(Animate)
  231. Animating:Play()
  232. end
  233.  
  234. function AnimationStop()
  235. jerk = false
  236. party = false
  237. canttouch = false
  238. happy = false
  239. spin = false
  240. thriller = false
  241. barrel = false
  242. sax = false
  243. spooky = false
  244. stride = false
  245. shuffle = false
  246. rock = false
  247. gagnam = false
  248. snoop = false
  249. darude = false
  250. taco = false
  251. if barrelbrick ~= nil then
  252. barrelbrick:Remove()
  253. barrelbrick = nil
  254. end
  255. if saxtool ~= nil then
  256. saxtool:Remove()
  257. saxtool = nil
  258. end
  259. if sandstorm ~= nil then
  260. sandstorm:Remove()
  261. sandstorm = nil
  262. end
  263. end
  264.  
  265. local Musical
  266. function SetMusic(id,volume)
  267. Musical = Instance.new("Sound",char.Head)
  268. if volume == nil then
  269. Musical.Volume = 1
  270. else
  271. Musical.Volume = volume
  272. end
  273. Musical.Looped = true
  274. Musical.SoundId = Asset .. id
  275. return Musical
  276. end
  277.  
  278. function GenerateGui()
  279. a=Instance.new("ScreenGui")
  280. a.Name = "Memer"
  281. b=Instance.new("ImageLabel",a)
  282. b.BackgroundTransparency = 1
  283. b.Size = UDim2.new(0,250,0,100)
  284. b.Position = UDim2.new(0,0,1,0)
  285. b.Image = Asset .. "http://www.roblox.com/asset/?id=534247804"
  286. b.Name = "Logo"
  287. c=Instance.new("Sound",a)
  288. c.Name = "Intro"
  289. c.Volume = 1
  290. c.SoundId = Asset .. "rbxassetid://533871935"
  291. c.Looped = false
  292. return a
  293. end
  294.  
  295. function Generate(player)
  296. char = player.Character
  297. Hat1 = P(1,1,1,'Bright violet ',0,false,false)
  298. Hat2 = P(1,1,1,'Bright violet ',0,false,false)
  299. wait()
  300. a=fm(Hat1,0,1,1,1,1577349) a.VertexColor = Vector3.new(1,1,1)
  301. b=fm(Hat2,0,1,1,1,18987684) b.VertexColor = Vector3.new(1,1,1)
  302. wait()
  303. if char:FindFirstChild("Head") then
  304. We(Hat1,char.Head,0,0.25,-0.135,0,0,0)
  305. We(Hat2,char.Head,0,0.8,0,0,0,0)
  306. if char.Head:FindFirstChild("face") ~= nil then
  307. face = char.Head:FindFirstChild("face")
  308. face.Texture = "rbxasset://textures/face.png"
  309. end
  310. c=char.Head:clone()
  311. c.Name = "FalseHead"
  312. c.CanCollide = false
  313. c.Parent = char
  314. We(c,char.Head,0,0,0,0,0,0)
  315. char.Head.Transparency = 1
  316. for i,v in pairs(char:GetChildren()) do
  317. if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "Hat" or v.ClassName == "CharacterMesh" or v.ClassName == "Shirt Graphic" then
  318. v:Remove()
  319. end
  320. if v.ClassName == "BodyColors" then
  321. v.HeadColor = BrickColor.new("Bright yellow")
  322. v.LeftArmColor = BrickColor.new("Bright yellow")
  323. v.LeftLegColor = BrickColor.new("Br. yellowish green")
  324. v.RightArmColor = BrickColor.new("Bright yellow")
  325. v.RightLegColor = BrickColor.new("Br. yellowish green")
  326. v.TorsoColor = BrickColor.new("Bright Blue")
  327. end
  328. if v.ClassName == "Part" then
  329. if v.Name == "Head" or v.Name == "FalseHead" then
  330. v.BrickColor = BrickColor.new("Bright yellow")
  331. else
  332. v.BrickColor = BrickColor.new("Bright yellow")
  333. end
  334. end
  335. end
  336. ----------musics---------------
  337. M1=SetMusic(1447435947)
  338. M1.Volume = 50
  339. M2=SetMusic(727237039)
  340. M2.Volume = 50
  341. M3=SetMusic(1103329236)
  342. M3.Volume = 50
  343. M4=SetMusic(332394641)
  344. M4.Volume = 50
  345. M5=SetMusic(1420851946)
  346. M5.Volume = 50
  347. M6=SetMusic(494244670)
  348. M6.Volume = 50
  349. M7=SetMusic(468775372)
  350. M7.Volume = 50
  351. M8=SetMusic(737286463)
  352. M8.Volume = 50
  353. M9=SetMusic(1206917308)
  354. M9.Volume = 50
  355. M10=SetMusic(169044296)
  356. M10.Volume = 50
  357. M11=SetMusic(1563614328)
  358. M11.Volume = 50
  359. M12=SetMusic(1494223966)
  360. M12.Volume = 50
  361. M13=SetMusic(144901116)
  362. M13.Volume = 50
  363. M14=SetMusic(416385309)
  364. M14.Volume = 50
  365. M15=SetMusic(179691806)
  366. M15.Volume = 50
  367. M16=SetMusic(534269232)
  368. M16.Volume = 50
  369. boi=SetMusic(534269232)
  370. -------------------------------
  371.  
  372. if char:FindFirstChild("HumanoidRootPart") ~= nil then
  373. rootpart = char:FindFirstChild("HumanoidRootPart")
  374. end
  375. if showtag == true then
  376. local bbg = Instance.new("BillboardGui",c)
  377. bbg.Adornee = c
  378. bbg.Name = "satuttava"
  379. bbg.Size = UDim2.new(6,0,2,0)
  380. bbg.StudsOffset = Vector3.new(0,2,0)
  381. local box = Instance.new("TextLabel",bbg)
  382. box.Size = UDim2.new(1,0,1,0)
  383. box.BackgroundColor = BrickColor.new("White")
  384. box.TextColor3 = Color3.new(255,0,0)
  385. box.TextStrokeTransparency = 0.5
  386. box.Font = "Arcade"
  387. box.Text = Player.Name
  388. box.BackgroundTransparency = 1
  389. box.Position = UDim2.new(0,0,0,0)
  390. box.TextScaled = true
  391. end
  392. if char:FindFirstChild("Humanoid") ~= nil then
  393. char:FindFirstChild("Humanoid").MaxHealth = (100*100*100*100)*100
  394. wait()
  395. char:FindFirstChild("Humanoid").Health = char:FindFirstChild("Humanoid").MaxHealth
  396. --char:FindFirstChild("Humanoid").Name = game.Players.LocalPlayer.Name
  397. humanoid = char:FindFirstChild("Humanoid")
  398. if humanoid:FindFirstChild("Animator") ~= nil then
  399. humanoid:FindFirstChild("Animator"):Remove()
  400. --Instance.new("Animator",humanoid)
  401. end
  402. if char:FindFirstChild("Animate") ~= nil then
  403. char:FindFirstChild("Animate"):Remove()
  404. end
  405. end
  406. Music = Instance.new("Sound",char.Head)
  407. Music.Volume = 1
  408. Music.Looped = true
  409. Music.SoundId = Asset
  410. Animate = Instance.new("Animation",char.Head)
  411. Animate.AnimationId = Asset
  412.  
  413.  
  414.  
  415. head = char:FindFirstChild("Head")
  416. torso = char:FindFirstChild("Torso")
  417. ra = char:findFirstChild("Right Arm")
  418. la = char:findFirstChild("Left Arm")
  419. rl = char:findFirstChild("Right Leg")
  420. ll = char:findFirstChild("Left Leg")
  421. rs = torso:findFirstChild("Right Shoulder")
  422. ls = torso:findFirstChild("Left Shoulder")
  423. rh = torso:findFirstChild("Right Hip")
  424. lh = torso:findFirstChild("Left Hip")
  425. neck = torso:findFirstChild("Neck")
  426. rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  427.  
  428. state = humanoid:GetState()
  429. local ca = nil
  430. ca=GenerateGui()
  431. ca.Parent = player.PlayerGui
  432. if ca:FindFirstChild("Logo") ~= nil then
  433. ca:FindFirstChild("Logo"):TweenPosition(UDim2.new(0, 0, 1, -100), "Out", "Quad", 3, true)
  434. if ca:FindFirstChild("Intro") ~= nil then
  435. ca:FindFirstChild("Intro"):Play()
  436. coroutine.resume(coroutine.create(function()
  437. for i=0,30 do
  438. ca:FindFirstChild("Intro").Volume = 1/(i/2)
  439. wait(0.5)
  440. if i >= 30 then
  441. break
  442. end
  443. end
  444. end))
  445. end
  446. end
  447.  
  448. if humanoid ~= nil then
  449. humanoid.Changed:connect(function(pro)
  450. if pro == "MoveDirection" or pro == "Jump" then
  451. if Music.IsPlaying == true then
  452. AnimationStop()
  453. end
  454. end
  455. end)
  456. humanoid.Died:connect(function()
  457. AnimationStop()
  458. end)
  459.  
  460. Mouse.KeyUp:connect(function(key)
  461. if key == "w" then
  462. W = false
  463. end
  464. if key == "a" then
  465. A = false
  466. end
  467. if key == "s" then
  468. S = false
  469. end
  470. if key == "d" then
  471. D = false
  472. end
  473. if string.byte(key) == 48 then
  474. run = false
  475. end
  476. end)
  477.  
  478. Mouse.KeyDown:connect(function(key)
  479. if key == "w" then
  480. W = true
  481. AnimationStop()
  482. end
  483. if key == "a" then
  484. A = true
  485. AnimationStop()
  486. end
  487. if key == "s" then
  488. S = true
  489. AnimationStop()
  490. end
  491. if key == "d" then
  492. D = true
  493. AnimationStop()
  494. end
  495. end)
  496.  
  497.  
  498.  
  499. Mouse.KeyDown:connect(function(key)
  500. KeyUsed(key)
  501. end)
  502. end
  503. end
  504. warn'MLG Dancing Man loaded'
  505. print'You are using MLG Dancing Man, a Noob Dancer edit by 1916983!'
  506. print'Anoxin is a banned asset ID.'
  507. print'Antimatter is not a banned asset ID.'
  508. print'BLOODY'
  509. end
  510.  
  511. function KeyUsed(key)
  512. if humanoid ~= nil then
  513. if humanoid.Health > 0 then
  514. if string.byte(key) == 32 then
  515. jump = true
  516. AnimationStop()
  517. --sit = false
  518. end
  519. if string.byte(key) == 50 then
  520. AnimationStop()
  521. if sit == true then
  522. sit = false
  523. else
  524. sit = true
  525. end
  526. end
  527. if string.byte(key) == 48 then
  528. run = true
  529. end
  530. if W == false and A == false and S == false and D == false and jump == false and sit == false then
  531. if key == "Q" or key == "q" then
  532. AnimationStop()
  533. canttouch = true
  534. M1:Play()
  535. end
  536. if key == "E" or key == "e" then
  537. AnimationStop()
  538. party = true
  539. M2:Play()
  540. end
  541. if key == "R" or key == "r" then
  542. AnimationStop()
  543. jerk = true
  544. M3:Play()
  545. end
  546. if key == "T" or key == "t" then
  547. AnimationStop()
  548. happy = true
  549. M4:Play()
  550. end
  551. if key == "Y" or key == "y" then
  552. AnimationStop()
  553. spin = true
  554. M5:Play()
  555. end
  556. if key == "U" or key == "u" then
  557. AnimationStop()
  558. thriller = true
  559. M6:Play()
  560. end
  561. if key == "F" or key == "f" then
  562. AnimationStop()
  563. barrel = true
  564. M7:Play()
  565. if barrelbrick == nil and barrel == true then
  566. barrelbrick = P(2,2,1,'Black',0,false,false)
  567. a=fm(barrelbrick,29873142,1.1,0.8,1.1,31082268) a.VertexColor = Vector3.new(1,1,1)
  568. We(barrelbrick,char.Torso,0,-0.2,0,0,0,0)
  569. end
  570. end
  571. if key == "P" or key == "p" then
  572. AnimationStop()
  573. sax = true
  574. M8:Play()
  575. if saxtool == nil and sax == true then
  576. saxtool = P(1,2,2,'Black',0,false,false)
  577. a=fm(saxtool,44410178,1.5,1.5,1.5,44410320) a.VertexColor = Vector3.new(1,1,1)
  578. b=We(saxtool,char:FindFirstChild("Left Arm"),0,-1,0,0,0,0)
  579. b.C1 = CFrame.new(0.5, -0.9, -0.3) * CFrame.Angles(math.pi/1.5, -math.pi/2, -math.pi/8)
  580. end
  581. end
  582. if key == "G" or key == "g" then
  583. AnimationStop()
  584. spooky = true
  585. M9:Play()
  586. end
  587. if key == "H" or key == "h" then
  588. AnimationStop()
  589. stride = true
  590. M10:Play()
  591. end
  592. if key == "J" or key == "j" then
  593. AnimationStop()
  594. shuffle = true
  595. M11:Play()
  596. end
  597. if key == "K" or key == "k" then
  598. AnimationStop()
  599. rock = true
  600. M12:Play()
  601. end
  602. if key == "L" or key == "l" then
  603. AnimationStop()
  604. gagnam = true
  605. M13:Play()
  606. end
  607. if key == "Z" or key == "z" then
  608. AnimationStop()
  609. snoop = true
  610. M14:Play()
  611. end
  612. if key == "X" or key == "x" then
  613. AnimationStop()
  614. darude = true
  615. M15:Play()
  616. if sandstorm == nil and darude == true then
  617. sandstorm = P(1,1,1,'Black',0,false,false)
  618. sandstorm.Transparency = 1
  619. a=Instance.new("Smoke",sandstorm)
  620. a.Color = Color3.new(255/255,255/255,175/255)
  621. a.Size = 0.4
  622. a.RiseVelocity = 3
  623. a.Opacity = 0.75
  624. b=We(sandstorm,char:FindFirstChild("Torso"),0,0,0,0,0,0)
  625. b.C1 = CFrame.new(0, -2, 0)
  626. end
  627. end
  628. if key == "C" or key == "c" then
  629. AnimationStop()
  630. taco = true
  631. M16:Play()
  632. boi:Stop()
  633. end
  634. end
  635. end
  636. end
  637. end
  638.  
  639. Generate(Player)
  640.  
  641. game:service'RunService'.Stepped:connect(function()
  642. count = (count % 100) + countspeed
  643. angle = math.pi * math.sin(math.pi*2/100*count)
  644. countspeed = 1
  645.  
  646. state = humanoid:GetState()
  647. if state ~= Enum.HumanoidStateType.Freefall then
  648. jump = false
  649. else
  650. jump = true
  651. sit = false
  652. AnimationStop()
  653. end
  654.  
  655. local mesh1anan = Instance.new("SpecialMesh")
  656. mesh1anan.MeshType = Enum.MeshType.FileMesh
  657. mesh1anan.Scale = Vector3.new(0.3,0.3,0.3)
  658. mesh1anan.MeshId = "http://www.roblox.com/asset/?id=430210147"
  659. mesh1anan.TextureId = "http://www.roblox.com/asset/?id=430210159"
  660. mesh1anan.Scale = Vector3.new(0.1,0.1,0.1)
  661.  
  662. if taco == true then
  663. if char ~= nil then
  664. local locationanan = char:GetModelCFrame()
  665. local tacoa = Instance.new("Part")
  666. tacoa.CanCollide = false
  667. tacoa.RotVelocity = Vector3.new(math.random()*math.pi,math.random()*math.pi,math.random()*math.pi)
  668. local meshanananan = mesh1anan:clone()
  669. meshanananan.Parent = tacoa
  670. tacoa.CFrame = locationanan * CFrame.new(math.random()*500 - 250,math.random(100,200),math.random()*500 - 250)
  671. tacoa.Parent = workspace
  672. game:GetService("Debris"):AddItem(tacoa,4)
  673. end
  674. end
  675.  
  676.  
  677.  
  678.  
  679. if canttouch == false then
  680. M1:Stop()
  681. end
  682. if party == false then
  683. M2:Stop()
  684. end
  685. if jerk == false then
  686. M3:Stop()
  687. end
  688. if happy == false then
  689. M4:Stop()
  690. end
  691. if spin == false then
  692. M5:Stop()
  693. end
  694. if thriller == false then
  695. M6:Stop()
  696. end
  697. if barrel == false then
  698. M7:Stop()
  699. end
  700. if sax == false then
  701. M8:Stop()
  702. end
  703. if spooky == false then
  704. M9:Stop()
  705. end
  706. if stride == false then
  707. M10:Stop()
  708. end
  709. if shuffle == false then
  710. M11:Stop()
  711. end
  712. if rock == false then
  713. M12:Stop()
  714. end
  715. if gagnam == false then
  716. M13:Stop()
  717. end
  718. if snoop == false then
  719. M14:Stop()
  720. end
  721. if darude == false then
  722. M15:Stop()
  723. end
  724. if taco == false then
  725. M16:Stop()
  726. boi:Stop()
  727. end
  728.  
  729. if run == true and sit == false then
  730. humanoid.WalkSpeed = 25
  731. elseif sit == true then
  732. humanoid.WalkSpeed = 0
  733. else
  734. humanoid.WalkSpeed = 16
  735. end
  736.  
  737. if global_wait == 380 then global_wait = 0 end
  738.  
  739. if (W == false or A == false or S == false or D == false) and jump == false and sit == false then
  740. ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - angle/75)
  741. rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - angle/75)
  742. lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/75)
  743. rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/75)
  744. neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/75, math.pi, 0)
  745. rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2, math.pi, 0)
  746. end
  747.  
  748.  
  749. if (W == false or A == false or S == false or D == false) and jump == false and sit == true then
  750. local ray = Ray.new(torso.Position, Vector3.new(0, -3, 0))
  751. local hitz,enz = workspace:FindPartOnRay(ray, char)
  752. if hitz then
  753. if rootpart:FindFirstChild("Weld") == nil then
  754. miniweld = Instance.new("Weld", rootpart)
  755. miniweld.C0 = hitz.CFrame:toObjectSpace(rootpart.CFrame)
  756. miniweld.Part0 = hitz
  757. miniweld.Part1 = rootpart
  758. humanoid.PlatformStand = true
  759. end
  760. end
  761. else
  762. if rootpart:FindFirstChild("Weld") ~= nil then
  763. rootpart:FindFirstChild("Weld"):Destroy()
  764. humanoid.PlatformStand = false
  765. end
  766. end
  767.  
  768. if (W == false or A == false or S == false or D == false) and jump == false and sit == true then
  769. ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - math.pi/15)
  770. rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 + math.pi/15)
  771. lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + math.pi/8, 0, math.pi/2 - math.pi/15)
  772. rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + math.pi/8, 0, -math.pi/2 + math.pi/15)
  773. neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + math.pi/15, math.pi, 0)
  774. rj.C0 = CFrame.new(0, -2, 0) * CFrame.Angles(math.pi/2 + math.pi/15, math.pi, 0)
  775. end
  776.  
  777. if jump == true and sit == false then
  778. countspeed = 2
  779. ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi + angle/12)
  780. rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi + angle/12)
  781. lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/12)
  782. rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/12)
  783. neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/25, math.pi, 0)
  784. rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2+ angle/50, math.pi, 0)
  785. end
  786.  
  787. if (W == true or A == true or S == true or D == true) and jump == false and sit == false then
  788. if run == true then
  789. countspeed = 4
  790. ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - angle/3)
  791. rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - angle/3)
  792. lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/5)
  793. rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/5)
  794. neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/20, math.pi, 0)
  795. rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2 + angle/40, math.pi, 0)
  796. else
  797. countspeed = 2
  798. ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - angle/4)
  799. rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - angle/4)
  800. lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/6)
  801. rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/6)
  802. neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/25, math.pi, 0)
  803. rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2+ angle/50, math.pi, 0)
  804. end
  805. end
  806.  
  807. if W == false and A == false and S == false and D == false and jump == false and sit == false then
  808. if jerk == true and jump == false and sit == false then
  809. countspeed = 2
  810. ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(angle/5, 0, angle/4)
  811. rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(angle/5, 0, -angle/4)
  812. 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))
  813. 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))
  814. neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/5, math.pi, 0)
  815. rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2 + angle/5, math.pi, 0)
  816. elseif party == true and jump == false and sit == false then
  817. countspeed = 4
  818. lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(angle/15, 0, angle/15)
  819. rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(angle/15, 0, angle/15)
  820. ls.C1 = CFrame.new(0.25,0.5 + 1 * angle/10,0.5) * CFrame.Angles(math.pi + angle/10, 0, 0 + angle/10)
  821. rs.C1 = CFrame.new(-0.25,0.5 + 1 * angle/10,0.5) * CFrame.Angles(math.pi + angle/10, 0, 0 + angle/10)
  822. neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/10, math.pi, 0)
  823. rj.C0 = CFrame.new(0, 0.5 + angle/5, 0) * CFrame.Angles(math.pi/2, math.pi, 0)
  824. elseif canttouch == true and jump == false and sit == false then
  825. countspeed = 2
  826. ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0 + angle/8, 0, math.pi/12 + angle/12)
  827. rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0 + angle/8, 0, -math.pi/12 - angle/12)
  828. lh.C1 = CFrame.new(0.35,0.7,0.5) * CFrame.Angles(0 + angle/10, 0, -math.pi/8)
  829. rh.C1 = CFrame.new(-0.35,0.7,0.5) * CFrame.Angles(0 + angle/10, 0, math.pi/8)
  830. neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/15, math.pi, 0)
  831. rj.C0 = CFrame.new(angle/4, -0.3 + angle/20, 0) * CFrame.Angles(math.pi/2, math.pi, 0)
  832. elseif happy == true and jump == false and sit == false then
  833. countspeed = 4
  834. ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(math.pi/4, math.pi/8 + angle/8, math.pi/4 + angle/8)
  835. rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(math.pi/4, -math.pi/8 + angle/8, -math.pi/4 + angle/8)
  836. lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + angle/10, 0, 0 + angle/10)
  837. rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + angle/10, 0, 0 + angle/10)
  838. neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/15, math.pi + angle/15, 0 + angle/15)
  839. rj.C0 = CFrame.new(0, 0 + angle/20, 0) * CFrame.Angles(math.pi/2, math.pi, 0)
  840. elseif spin == true and jump == false and sit == false then
  841. global_wait = (global_wait % 360) + 4
  842. countspeed = 4
  843. ls.C1 = CFrame.new(0,1,0) * CFrame.Angles(math.pi/2, 0 + angle/10, 0 + angle/10)
  844. rs.C1 = CFrame.new(0,1,0) * CFrame.Angles(math.pi/2, 0 - angle/10, 0 + angle/10)
  845. lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + angle/10, 0 + angle/10, 0 + angle/10)
  846. rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + angle/10, 0 + angle/10, 0 + angle/10)
  847. neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2, math.pi, 0)
  848. rj.C0 = CFrame.new(0 + angle/25, 0, 0 - angle/25) * CFrame.Angles(math.pi/2, math.pi, math.rad(global_wait*4))
  849. elseif thriller == true and jump == false and sit == false then
  850. countspeed = 2
  851. ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi/2 + angle/15)
  852. rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, -math.pi/2 + angle/15)
  853. lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(math.pi/60 - angle/45, 0, 0 + angle/15)
  854. rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(math.pi/60 + angle/45, 0, 0 + angle/15)
  855. neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/15, math.pi + angle/10, 0)
  856. rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2 + angle/50 , math.pi + angle/50, 0 + angle/50)
  857. elseif barrel == true and jump == false and sit == false then
  858. ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi)
  859. rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi)
  860. lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0)
  861. rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0)
  862. neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2, math.pi, 0)
  863. rj.C0 = CFrame.new(0 + angle, -1.8, 0) * CFrame.Angles(0, math.pi, 0 + angle)
  864. elseif sax == true and jump == false and sit == false then
  865. countspeed = 2
  866. ls.C1 = CFrame.new(0,0.75,-0.25) * CFrame.Angles(-math.pi/5, 0, math.pi/2 - math.abs(angle/30))
  867. rs.C1 = CFrame.new(0,0.75,-0.25) * CFrame.Angles(-math.pi/5, 0, -math.pi/2 + math.abs(angle/30))
  868. lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 - math.abs(angle/30))
  869. rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + math.abs(angle/30))
  870. neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2, math.pi, 0)
  871. 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)
  872. elseif spooky == true and jump == false and sit == false then
  873. countspeed = 3
  874. ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi/2 - angle/1.5)
  875. rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, -math.pi/2 + angle/1.5)
  876. lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 - angle/16)
  877. rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/16)
  878. neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/12, math.pi, 0)
  879. rj.C0 = CFrame.new(0, 0 + angle / 35, 0) * CFrame.Angles(math.pi/2 + angle/25, math.pi, 0)
  880. elseif stride == true and jump == false and sit == false then
  881. countspeed = 2.5
  882. ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(angle/16, angle/16,math.pi/3.5 + angle/8)
  883. rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(angle/16, -angle/16,-math.pi/1.5 + -angle/8)
  884. lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, angle/16, angle/16)
  885. rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, angle/16, angle/16)
  886. neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2, math.pi, 0)
  887. rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2-angle/16, math.pi, 0)
  888. elseif shuffle == true and jump == false and sit == false then
  889. countspeed = 2
  890. ls.C1 = CFrame.new(0,0.75,-0.35) * CFrame.Angles(math.pi/8, 0, math.pi/2 + angle/3.5)
  891. rs.C1 = CFrame.new(0,0.75,-0.35) * CFrame.Angles(math.pi/8, 0, -math.pi/2 + angle/3.5)
  892. lh.C1 = CFrame.new(0 + angle/50,1,0.5) * CFrame.Angles(0, 0 + angle/35, 0 + angle/15)
  893. rh.C1 = CFrame.new(0 + angle/50,1,0.5) * CFrame.Angles(0, 0 + angle/35, 0 + angle/15)
  894. neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/15, math.pi, 0)
  895. rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2 - angle/35, math.pi - angle/35, 0)
  896. elseif rock == true and jump == false and sit == false then
  897. countspeed = 4
  898. ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi/2+angle/2)
  899. rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, -math.pi/2+angle/2)
  900. lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0+angle/32, 0, 0+angle/32)
  901. rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0+angle/32, 0, 0-angle/32)
  902. neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2, math.pi, 0)
  903. rj.C0 = CFrame.new(0, 0 - angle/50, 0) * CFrame.Angles(math.pi/2, math.pi, 0)
  904. elseif gagnam == true and jump == false and sit == false then
  905. countspeed = 5
  906. ls.C1 = CFrame.new(-0.15,0.75,0) * CFrame.Angles(-math.pi/4, 0, (math.pi/2 + angle/14) - math.pi/20)
  907. rs.C1 = CFrame.new(-0.15,0.75,0) * CFrame.Angles(-math.pi/4, 0, (-math.pi/2 - angle/14) + math.pi/20)
  908. lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + angle/16, 0, 0)
  909. rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + angle/16, 0, 0)
  910. neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/20, math.pi, 0)
  911. rj.C0 = CFrame.new(0, 0 + angle/40, 0) * CFrame.Angles(math.pi/2, math.pi, 0)
  912. elseif snoop == true and jump == false and sit == false then
  913. countspeed = 2
  914. ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(math.pi/12, 0, math.pi/4 + angle/4)
  915. rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(math.pi/12, 0, -math.pi/4 + angle/4)
  916. lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(math.pi/24, 0, 0 + angle/4)
  917. rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(math.pi/24, 0, 0 + angle/4)
  918. neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 - angle/8, math.pi, 0)
  919. rj.C0 = CFrame.new(0, 0 + angle/48, 0) * CFrame.Angles(math.pi/2 + angle/24, math.pi, 0)
  920. elseif darude == true and jump == false and sit == false then
  921. countspeed = 3
  922. ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 + angle/1.5)
  923. rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 + angle/3)
  924. lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 - angle/3)
  925. rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 - angle/1.5)
  926. neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2, math.pi, 0)
  927. rj.C0 = CFrame.new(0, 0+ angle/45, 0) * CFrame.Angles(math.pi/2 - angle/6, math.pi, 0)
  928. elseif taco == true and jump == false and sit == false then
  929. countspeed = 20
  930. global_wait = (global_wait % 360) + 4
  931. ls.C1 = CFrame.new(0,1,-0.25) * CFrame.Angles(math.pi/6 + angle/12, 0, math.pi)
  932. rs.C1 = CFrame.new(0,1,-0.25) * CFrame.Angles(math.pi/6 + angle/12, 0, math.pi)
  933. lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, math.pi/8 + angle/16)
  934. rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, math.pi/8 + angle/16)
  935. neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 - math.pi/8 + angle/16, math.pi, 0)
  936. rj.C0 = CFrame.new(0, 0.25 + angle/12, 0) * CFrame.Angles(math.pi/2, math.pi, math.rad(global_wait*4))
  937. end
  938. end
  939. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement