kaualima12

ttttttttttttttttttttttttttttttttttttttttttttttttttt

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