Advertisement
oskdfoskofksdofk

Untitled

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