Advertisement
ManityMan

Very SMall NoobDancer

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