Advertisement
Rocco_T_

Untitled

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