Advertisement
aaaay63746

you idiot if click

Apr 1st, 2020
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 57.29 KB | None | 0 0
  1. -----------//KRYSTAL DANCE V2\\-----------
  2. --[[Movelist
  3. Q = The Swoosher
  4. E = The nutty
  5. R = Spin me right round!
  6. T = Plum juice dance
  7. Y = Moonwalk
  8. U = Slav dance
  9. P = Barrel roll
  10. F = The Jerky
  11. G = The Shuffle
  12. H = The Spongebob
  13. J = Here comes the money!
  14. K = Runnin' in the 90's
  15. ---------]]
  16.  
  17. --Alright so before i start rambling on about absolute nonsense, please subscribe to Pewdiepie on youtube! Help him defeat T-Series!--
  18. --Also subscribe to Vengefulprogram--
  19. --Krystal dance! The old famous script that sadly has been broken(sorta), i've decided to rework this thing because... nostalgia.--
  20. --This is one of the first scripts i've ever ran on SB, seeing this back again really reminds me of how much of a noob i was.--
  21. --Credits to Krystalteam, they made the original krystal dance! Be sure to respect them or else...--
  22. --#makeoldscriptsgreatagain--
  23.  
  24. 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 = {}
  25. do
  26. script.Parent = owner.Character
  27. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  28. local function NewFakeEvent()
  29. local Bind = Instance.new("BindableEvent")
  30. local Fake;Fake = {Connections = {},
  31. fakeEvent=true;
  32. Connect=function(self,Func)
  33. Bind.Event:connect(Func)
  34. self.Connections[Bind] = true
  35. return setmetatable({Connected = true},{
  36. __index = function (self,Index)
  37. if Index:lower() == "disconnect" then
  38. return function() Fake.Connections[Bind] = false;self.Connected = false end
  39. end
  40. return Fake[Index]
  41. end;
  42. __tostring = function() return "Connection" end;
  43. })
  44. end}
  45. Fake.connect = Fake.Connect;return Fake;
  46. end
  47. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  48. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  49. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  50. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  51. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  52. local function TriggerEvent(self,Event,...)
  53. local Trigger = Mouse[Event]
  54. if Trigger and Trigger.fakeEvent and Trigger.Connections then
  55. for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  56. end
  57. end
  58. Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  59. Event.OnServerEvent:Connect(function(FiredBy,Input)
  60. if FiredBy.Name ~= owner.Name then return end
  61. if Input.MouseEvent then
  62. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  63. else
  64. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  65. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  66. for _,Action in pairs(ContextActionService.Actions) do
  67. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  68. end
  69. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  70. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  71. end
  72. end)
  73. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  74. Event.Parent = NLS([[
  75. local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  76. local Input = function(Input,gameProcessedEvent)
  77. if gameProcessedEvent then return end
  78. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  79. end
  80. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  81. local Hit,Target
  82. while wait(1/30) do
  83. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  84. Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  85. end
  86. end
  87. ]],owner.Character)
  88. end
  89. RealGame = game;game = setmetatable({},{
  90. __index = function (self,Index)
  91. local Sandbox = function (Thing)
  92. if Thing:IsA("Player") then
  93. local RealPlayer = Thing
  94. return setmetatable({},{
  95. __index = function (self,Index)
  96. local Type = type(RealPlayer[Index])
  97. if Type == "function" then
  98. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  99. return function (self)return InternalData["Mouse"] end
  100. end
  101. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  102. end
  103. return RealPlayer[Index]
  104. end;
  105. __tostring = function(self) return RealPlayer.Name end
  106. })
  107. end
  108. end
  109. if RealGame[Index] then
  110. local Type = type(RealGame[Index])
  111. if Type == "function" then
  112. if Index:lower() == "getservice" or Index:lower() == "service" then
  113. return function (self,Service)
  114. local FakeServices = {
  115. ["players"] = function()
  116. return setmetatable({},{
  117. __index = function (self2,Index2)
  118. local RealService = RealGame:GetService(Service)
  119. local Type2 = type(Index2)
  120. if Type2 == "function" then
  121. return function (self,...) return RealService[Index2](RealService,...)end
  122. else
  123. if Index2:lower() == "localplayer" then return Sandbox(owner) end
  124. return RealService[Index2]
  125. end
  126. end;
  127. __tostring = function(self) return RealGame:GetService(Service).Name end
  128. })
  129. end;
  130. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  131. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  132. ["runservice"] = function()
  133. return setmetatable({},{
  134. __index = function(self2,Index2)
  135. local RealService = RealGame:GetService(Service)
  136. local Type2 = type(Index2)
  137. if Type2 == "function" then
  138. return function (self,...) return RealService[Index2](RealService,...) end
  139. else
  140. local RunServices = {
  141. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  142. ["renderstepped"] = function() return RealService["Stepped"] end
  143. }
  144. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  145. return RealService[Index2]
  146. end
  147. end
  148. })
  149. end
  150. }
  151. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  152. return RealGame:GetService(Service)
  153. end
  154. end
  155. return function (self,...) return RealGame[Index](RealGame,...) end
  156. else
  157. if game:GetService(Index) then return game:GetService(Index) end
  158. return RealGame[Index]
  159. end
  160. end
  161. return nil
  162. end
  163. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
  164.  
  165. Player=game.Players.LocalPlayer
  166. Character=Player.Character
  167. Character.Humanoid.Name = "noneofurbusiness"
  168. hum = Character.noneofurbusiness
  169. LeftArm=Character["Left Arm"]
  170. LeftLeg=Character["Left Leg"]
  171. RightArm=Character["Right Arm"]
  172. RightLeg=Character["Right Leg"]
  173. Root=Character["HumanoidRootPart"]
  174. Head=Character["Head"]
  175. Torso=Character["Torso"]
  176. Neck=Torso["Neck"]
  177. mouse = Player:GetMouse()
  178. walking = false
  179. jumping = false
  180. attacking = false
  181. firsttime = false
  182. tauntdebounce = false
  183. position = nil
  184. MseGuide = true
  185. running = false
  186. settime = 0
  187. sine = 0
  188. t = 0
  189. ws = 14
  190. change = 1
  191. combo1 = true
  192. dancing = false
  193. equip = false
  194. dgs = 75
  195. combo2 = false
  196. switch1 = true
  197. switch2 = false
  198. firsttime2 = false
  199. combo3 = false
  200. gunallowance = false
  201. shooting = false
  202. RunSrv = game:GetService("RunService")
  203. RenderStepped = game:GetService("RunService").RenderStepped
  204. removeuseless = game:GetService("Debris")
  205.  
  206. screenGui = Instance.new("ScreenGui")
  207. screenGui.Parent = script.Parent
  208.  
  209. local HEADLERP = Instance.new("ManualWeld")
  210. HEADLERP.Parent = Head
  211. HEADLERP.Part0 = Head
  212. HEADLERP.Part1 = Head
  213. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  214.  
  215. local TORSOLERP = Instance.new("ManualWeld")
  216. TORSOLERP.Parent = Root
  217. TORSOLERP.Part0 = Torso
  218. TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  219.  
  220. local ROOTLERP = Instance.new("ManualWeld")
  221. ROOTLERP.Parent = Root
  222. ROOTLERP.Part0 = Root
  223. ROOTLERP.Part1 = Torso
  224. ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  225.  
  226. local RIGHTARMLERP = Instance.new("ManualWeld")
  227. RIGHTARMLERP.Parent = RightArm
  228. RIGHTARMLERP.Part0 = RightArm
  229. RIGHTARMLERP.Part1 = Torso
  230. RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  231.  
  232. local LEFTARMLERP = Instance.new("ManualWeld")
  233. LEFTARMLERP.Parent = LeftArm
  234. LEFTARMLERP.Part0 = LeftArm
  235. LEFTARMLERP.Part1 = Torso
  236. LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  237.  
  238. local RIGHTLEGLERP = Instance.new("ManualWeld")
  239. RIGHTLEGLERP.Parent = RightLeg
  240. RIGHTLEGLERP.Part0 = RightLeg
  241. RIGHTLEGLERP.Part1 = Torso
  242. RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  243.  
  244. local LEFTLEGLERP = Instance.new("ManualWeld")
  245. LEFTLEGLERP.Parent = LeftLeg
  246. LEFTLEGLERP.Part0 = LeftLeg
  247. LEFTLEGLERP.Part1 = Torso
  248. LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  249.  
  250. local function weldBetween(a, b)
  251. local weld = Instance.new("ManualWeld", a)
  252. weld.Part0 = a
  253. weld.Part1 = b
  254. weld.C0 = a.CFrame:inverse() * b.CFrame
  255. return weld
  256. end
  257.  
  258. function MAKETRAIL(PARENT,POSITION1,POSITION2,LIFETIME,COLOR)
  259. A = Instance.new("Attachment", PARENT)
  260. A.Position = POSITION1
  261. A.Name = "A"
  262. B = Instance.new("Attachment", PARENT)
  263. B.Position = POSITION2
  264. B.Name = "B"
  265. tr1 = Instance.new("Trail", PARENT)
  266. tr1.Attachment0 = A
  267. tr1.Attachment1 = B
  268. tr1.Enabled = true
  269. tr1.Lifetime = LIFETIME
  270. tr1.TextureMode = "Static"
  271. tr1.LightInfluence = 0
  272. tr1.Color = COLOR
  273. tr1.Transparency = NumberSequence.new(0, 1)
  274. end
  275.  
  276. introsound = Instance.new("Sound",Head)
  277. introsound.SoundId = "rbxassetid://1474367957"
  278. introsound.Volume = 4
  279. introsound:Play()
  280.  
  281.  
  282. fedora = Instance.new("Part",Character)
  283. fedora.Size = Vector3.new(2,2,2)
  284. fedora.CFrame = Head.CFrame
  285. fedora.CanCollide = false
  286. fedoraweld = Instance.new("Weld",fedora)
  287. fedoraweld.Part0 = fedora
  288. fedoraweld.Part1 = Head
  289. fedoraweld.C0 = fedora.CFrame:inverse() * Head.CFrame * CFrame.new(0,-.75,0)
  290. mfedora = Instance.new("SpecialMesh", fedora)
  291. mfedora.MeshType = "FileMesh"
  292. mfedora.Scale = Vector3.new(.97, .97, .97)
  293. mfedora.MeshId,mfedora.TextureId = 'http://www.roblox.com/asset/?id=13640868','http://www.roblox.com/asset/?id=18987684'
  294.  
  295. shades = Instance.new("Part",Character)
  296. shades.Size = Vector3.new(2,2,2)
  297. shades.CFrame = Head.CFrame
  298. shades.CanCollide = false
  299. shadesweld = Instance.new("Weld",shades)
  300. shadesweld.Part0 = shades
  301. shadesweld.Part1 = Head
  302. shadesweld.C0 = shades.CFrame:inverse() * Head.CFrame * CFrame.new(0,-.2,.15)
  303. mshades = Instance.new("SpecialMesh", shades)
  304. mshades.MeshType = "FileMesh"
  305. mshades.Scale = Vector3.new(1.04, 1.28, 1.04)
  306. mshades.MeshId,mshades.TextureId = 'http://www.roblox.com/asset/?id=1577360','http://www.roblox.com/asset/?id=1577349'
  307.  
  308. for i,v in pairs(Character:GetChildren()) do
  309. if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "Hat" or v.ClassName == "CharacterMesh" or v.ClassName == "Shirt Graphic" then
  310. v:Remove()
  311. end
  312. end
  313.  
  314. coroutine.wrap(function()
  315. while wait() do
  316. Head.face.Texture = "rbxassetid://64503486"
  317. hum.WalkSpeed = ws
  318. LeftArm.BrickColor = BrickColor.new("Really black")
  319. RightArm.BrickColor = BrickColor.new("Really black")
  320. Head.BrickColor = BrickColor.new("White")
  321. Torso.BrickColor = BrickColor.new("Really black")
  322. LeftLeg.BrickColor = BrickColor.new("Really black")
  323. RightLeg.BrickColor = BrickColor.new("Really black")
  324. end
  325. end)()
  326. godmode = coroutine.wrap(function()
  327. for i,v in pairs(Character:GetChildren()) do
  328. if v:IsA("BasePart") and v ~= Root then
  329. v.Anchored = false
  330. end
  331. end
  332. while true do
  333. hum.MaxHealth = math.huge
  334. wait(0.0000001)
  335. hum.Health = math.huge
  336. wait()
  337. end
  338. end)
  339. godmode()
  340. ff = Instance.new("ForceField", Character)
  341. ff.Visible = false
  342.  
  343. coroutine.wrap(function()
  344. for i,v in pairs(Character:GetChildren()) do
  345. if v.Name == "Animate" then v:Remove()
  346. end
  347. end
  348. end)()
  349.  
  350. function damagealll(Radius,Position)
  351. local Returning = {}
  352. for _,v in pairs(workspace:GetChildren()) do
  353. if v~=Character and v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Torso') or v:FindFirstChild('UpperTorso') then
  354. if v:FindFirstChild("Torso") then
  355. local Mag = (v.Torso.Position - Position).magnitude
  356. if Mag < Radius then
  357. table.insert(Returning,v)
  358. end
  359. elseif v:FindFirstChild("UpperTorso") then
  360. local Mag = (v.UpperTorso.Position - Position).magnitude
  361. if Mag < Radius then
  362. table.insert(Returning,v)
  363. end
  364. end
  365. end
  366. end
  367. return Returning
  368. end
  369.  
  370. ArtificialHB = Instance.new("BindableEvent", script)
  371. ArtificialHB.Name = "Heartbeat"
  372. script:WaitForChild("Heartbeat")
  373.  
  374. frame = 1 / 60
  375. tf = 0
  376. allowframeloss = false
  377. tossremainder = false
  378.  
  379.  
  380. lastframe = tick()
  381. script.Heartbeat:Fire()
  382.  
  383.  
  384. game:GetService("RunService").Heartbeat:connect(function(s, p)
  385. tf = tf + s
  386. if tf >= frame then
  387. if allowframeloss then
  388. script.Heartbeat:Fire()
  389. lastframe = tick()
  390. else
  391. for i = 1, math.floor(tf / frame) do
  392. script.Heartbeat:Fire()
  393. end
  394. lastframe = tick()
  395. end
  396. if tossremainder then
  397. tf = 0
  398. else
  399. tf = tf - frame * math.floor(tf / frame)
  400. end
  401. end
  402. end)
  403.  
  404. function swait(num)
  405. if num == 0 or num == nil then
  406. game:service("RunService").Stepped:wait(0)
  407. else
  408. for i = 0, num do
  409. game:service("RunService").Stepped:wait(0)
  410. end
  411. end
  412. end
  413.  
  414. for _,n in pairs(Character:GetChildren()) do
  415. if n:IsA("Accessory") then n:Remove() end
  416. end
  417. for _,x in pairs(Character:GetChildren()) do
  418. if x:IsA("Decal") then x:Remove() end
  419. end
  420.  
  421. intro = true
  422. ws = 0
  423.  
  424. bigfedora = Instance.new("Part",Character)
  425. bigfedora.Size = Vector3.new(2,2,2)
  426. bigfedora.CFrame = bigfedora.CFrame:inverse() * Root.CFrame * CFrame.new(math.random(-60,60),-.2,math.random(-60,60)) * CFrame.Angles(0,math.rad(math.random(-180,180)),0)
  427. bigfedora.CanCollide = false
  428. bigfedora.Anchored = true
  429. bigfedora.Name = "mbigf"
  430. mbigfedora = Instance.new("SpecialMesh", bigfedora)
  431. mbigfedora.MeshType = "FileMesh"
  432. mbigfedora.Scale = Vector3.new(6, 7, 7)
  433. mbigfedora.MeshId,mbigfedora.TextureId = 'http://www.roblox.com/asset/?id=13640868','http://www.roblox.com/asset/?id=18987684'
  434. for i,v in pairs(Character:GetDescendants()) do
  435. if v:IsA("Part") and v.Name ~= "mbigf" then v.Transparency = 1
  436. end
  437. end
  438. for i = 1, 60 do
  439. bigfedora.CFrame = bigfedora.CFrame:lerp(CFrame.new(Root.Position) * CFrame.new(0,-.1,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.09)
  440. swait()
  441. end
  442. wait(.25)
  443. for i,v in pairs(Character:GetDescendants()) do
  444. if v:IsA("Part") and v.Name ~= "mbigf" and v.Name ~= "HumanoidRootPart" then v.Transparency = 0
  445. end
  446. end
  447. for i = 1, 50 do
  448. bigfedora.CFrame = bigfedora.CFrame:lerp(CFrame.new(fedora.Position),.05)
  449. swait()
  450. end
  451. zmc = 0
  452. for i = 1, 29 do
  453. zmc = zmc + 2
  454. mbigfedora.Scale = mbigfedora.Scale - Vector3.new(.25,.25,.25)
  455. bigfedora.CFrame = bigfedora.CFrame * CFrame.Angles(math.rad(0),math.rad(zmc),0)
  456. swait()
  457. end
  458. bigfedora:Remove()
  459.  
  460. ws = 14
  461.  
  462. function SOUND(PARENT,ID,VOL,LOOP,REMOVE)
  463. so = Instance.new("Sound")
  464. so.Parent = PARENT
  465. so.SoundId = "rbxassetid://"..ID
  466. so.Volume = VOL
  467. so.Looped = LOOP
  468.  
  469. so:Play()
  470. removeuseless:AddItem(so,REMOVE)
  471. end
  472.  
  473. mouse.KeyDown:connect(function(Press)
  474. Press=Press:lower()
  475. if Press=='k' then
  476. if dancing then
  477. dancing = false
  478. else
  479. dancing = true
  480. ws = 0
  481. change = .5
  482. attacking = true
  483. jam = Instance.new("Sound",Torso)
  484. jam.SoundId = "rbxassetid://318062766"
  485. jam.Volume = 8
  486. jam.Looped = true
  487. jam.TimePosition = 22.3
  488. jam:Play()
  489. lol90 = 0
  490. coroutine.wrap(function()
  491. while dancing do
  492. lol90 = lol90 + 11
  493. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(1 * math.sin(sine/10),.1 + .8 * math.sin(sine/3),0) * CFrame.Angles(math.rad(0),math.rad(0 * math.sin(sine/8)),math.rad(8 * math.sin(sine/7))),.25)
  494. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0 * math.sin(sine/14),0,0) * CFrame.Angles(math.rad(0),math.rad(lol90),0),.25)
  495. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,1.45,0) * CFrame.Angles(math.rad(180),math.rad(-5 * math.sin(sine/3)),math.rad(-6 * math.sin(sine/3))),0.25)
  496. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.4,1.45,0) * CFrame.Angles(math.rad(180),math.rad(5 * math.sin(sine/3)),math.rad(6 * math.sin(sine/3))), 0.25)
  497. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 , 0) * CFrame.Angles(0, math.rad(0), math.rad(-10 + 5 * math.sin(sine/3))), 0.25)
  498. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(0, math.rad(0), math.rad(10 - 5 * math.sin(sine/3))), 0.25)
  499. swait()
  500. end
  501. ws = 14
  502. jam:Remove()
  503. ROOTLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  504. attacking = false
  505. end)()
  506. end
  507. end
  508. end)
  509.  
  510. mouse.KeyDown:connect(function(Press)
  511. Press=Press:lower()
  512. if Press=='j' then
  513. if dancing then
  514. dancing = false
  515. else
  516. dancing = true
  517. ws = 3
  518. change = .5
  519. attacking = true
  520. g1 = Instance.new("BodyGyro", Root)
  521. g1.D = 175
  522. g1.P = 20000
  523. g1.MaxTorque = Vector3.new(0,9000,0)
  524. herecomesthemoney = Instance.new("Sound",Torso)
  525. herecomesthemoney.Pitch = 1
  526. herecomesthemoney.SoundId = "rbxassetid://1383666704"
  527. herecomesthemoney.Volume = 8
  528. herecomesthemoney.Looped = true
  529. herecomesthemoney:Play()
  530. robuxpile = Instance.new("Part",Torso)
  531. robuxpile.Size = Vector3.new(1,1,1)
  532. robuxpile.CFrame = LeftArm.CFrame
  533. robuxpile.CanCollide = false
  534. robuxpileweld = Instance.new("Weld",robuxpile)
  535. robuxpileweld.Part0 = robuxpile
  536. robuxpileweld.Part1 = Torso
  537. robuxpileweld.C0 = robuxpile.CFrame:inverse() * LeftArm.CFrame * CFrame.new(1,-.7,1.4)
  538. mrobuxpile = Instance.new("SpecialMesh", robuxpile)
  539. mrobuxpile.MeshType = "FileMesh"
  540. mrobuxpile.Scale = Vector3.new(0.85, .85, .85)
  541. mrobuxpile.MeshId,mrobuxpile.TextureId = 'http://www.roblox.com/asset/?id=1285245','http://www.roblox.com/asset/?id=8587344'
  542. coroutine.wrap(function()
  543. coroutine.wrap(function()
  544. while wait(.35) do
  545. if not dancing then break end
  546. local robux = Instance.new("Part",Torso)
  547. robux.CFrame = robuxpile.CFrame * CFrame.Angles(math.rad(0),math.rad(90),math.rad(90))
  548. robux.Anchored = false
  549. robux.CanCollide = true
  550. robux.Size = Vector3.new(1,1,1)
  551. removeuseless:AddItem(robux,4)
  552. mrobux = Instance.new("SpecialMesh", robux)
  553. mrobux.MeshType = "FileMesh"
  554. mrobux.Scale = Vector3.new(1.25, 1.25, 1.25)
  555. mrobux.MeshId,mrobux.TextureId = 'http://www.roblox.com/asset/?id=667285348','http://www.roblox.com/asset/?id=665939136'
  556. bov = Instance.new("BodyVelocity",robux)
  557. bov.maxForce = Vector3.new(99999,99999,99999)
  558. robux.CFrame = CFrame.new(robux.Position,mouse.Hit.p)
  559. bov.velocity = robux.CFrame.lookVector*45
  560. removeuseless:AddItem(bov,.1)
  561. end
  562. end)()
  563. while dancing do
  564. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4)
  565. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(0,-.3,0) * CFrame.Angles(math.rad(20),math.rad(0 * math.sin(sine/8)),math.rad(0)),.25)
  566. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,.5 + .5 * math.sin(sine/2),.5) * CFrame.Angles(math.rad(-97),math.rad(40 - 20 * math.sin(sine/2)),math.rad(0)), 0.25)
  567. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1,.5,.5) * CFrame.Angles(math.rad(-87),math.rad(-20),math.rad(0)), 0.25)
  568. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 , .5) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-10)), 0.25)
  569. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, .5) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.25)
  570. swait()
  571. end
  572. ws = 14
  573. removeuseless:AddItem(g1,.001)
  574. robuxpile:Remove()
  575. attacking = false
  576. end)()
  577. end
  578. end
  579. end)
  580.  
  581. mouse.KeyDown:connect(function(Press)
  582. Press=Press:lower()
  583. if Press=='m' then
  584. if dancing then
  585. dancing = false
  586. else
  587. dancing = true
  588. ws = 3
  589. change = .5
  590. attacking = true
  591. g1 = Instance.new("BodyGyro", Root)
  592. g1.D = 175
  593. g1.P = 20000
  594. g1.MaxTorque = Vector3.new(0,9000,0)
  595. herecomesthemoney = Instance.new("Sound",Torso)
  596. herecomesthemoney.Pitch = 2
  597. herecomesthemoney.SoundId = "rbxassetid://1383666704"
  598. herecomesthemoney.Volume = 8
  599. herecomesthemoney.Looped = true
  600. herecomesthemoney:Play()
  601. robuxpile = Instance.new("Part",Torso)
  602. robuxpile.Size = Vector3.new(1,1,1)
  603. robuxpile.CFrame = LeftArm.CFrame
  604. robuxpile.CanCollide = false
  605. robuxpileweld = Instance.new("Weld",robuxpile)
  606. robuxpileweld.Part0 = robuxpile
  607. robuxpileweld.Part1 = Torso
  608. robuxpileweld.C0 = robuxpile.CFrame:inverse() * LeftArm.CFrame * CFrame.new(1,-.7,1.4)
  609. mrobuxpile = Instance.new("SpecialMesh", robuxpile)
  610. mrobuxpile.MeshType = "FileMesh"
  611. mrobuxpile.Scale = Vector3.new(1.25, 1.25, 1.25)
  612. mrobuxpile.MeshId,mrobuxpile.TextureId = 'http://www.roblox.com/asset/?id=143518445','http://www.roblox.com/asset/?id=143499030'
  613. coroutine.wrap(function()
  614. coroutine.wrap(function()
  615. while wait(.35) do
  616. if not dancing then break end
  617. local robux = Instance.new("Part",Torso)
  618. robux.CFrame = robuxpile.CFrame * CFrame.Angles(math.rad(0),math.rad(90),math.rad(90))
  619. robux.Anchored = false
  620. robux.CanCollide = true
  621. robux.Size = Vector3.new(1,1,1)
  622. removeuseless:AddItem(robux,4)
  623. mrobux = Instance.new("SpecialMesh", robux)
  624. mrobux.MeshType = "FileMesh"
  625. mrobux.Scale = Vector3.new(1.25, 1.25, 1.25)
  626. mrobux.MeshId,mrobux.TextureId = 'http://www.roblox.com/asset/?id=143518445','http://www.roblox.com/asset/?id=143499030'
  627. bov = Instance.new("BodyVelocity",robux)
  628. bov.maxForce = Vector3.new(99999,99999,99999)
  629. robux.CFrame = CFrame.new(robux.Position,mouse.Hit.p)
  630. bov.velocity = robux.CFrame.lookVector*45
  631. removeuseless:AddItem(bov,.1)
  632. end
  633. end)()
  634. while dancing do
  635. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4)
  636. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(0,-.3,0) * CFrame.Angles(math.rad(20),math.rad(0 * math.sin(sine/8)),math.rad(0)),.25)
  637. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,.5 + .5 * math.sin(sine/2),.5) * CFrame.Angles(math.rad(-97),math.rad(40 - 20 * math.sin(sine/2)),math.rad(0)), 0.25)
  638. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1,.5,.5) * CFrame.Angles(math.rad(-87),math.rad(-20),math.rad(0)), 0.25)
  639. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 , .5) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-10)), 0.25)
  640. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, .5) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.25)
  641. swait()
  642. end
  643. ws = 14
  644. removeuseless:AddItem(g1,.001)
  645. robuxpile:Remove()
  646. attacking = false
  647. end)()
  648. end
  649. end
  650. end)
  651.  
  652. mouse.KeyDown:connect(function(Press)
  653. Press=Press:lower()
  654. if Press=='n' then
  655. if dancing then
  656. dancing = false
  657. else
  658. dancing = true
  659. ws = 3
  660. change = .5
  661. attacking = true
  662. g1 = Instance.new("BodyGyro", Root)
  663. g1.D = 175
  664. g1.P = 20000
  665. g1.MaxTorque = Vector3.new(0,9000,0)
  666. herecomesthemoney = Instance.new("Sound",Torso)
  667. herecomesthemoney.Pitch = 1
  668. herecomesthemoney.SoundId = "rbxassetid://371641587"
  669. herecomesthemoney.Volume = 8
  670. herecomesthemoney.Looped = true
  671. herecomesthemoney:Play()
  672. robuxpile = Instance.new("Part",Torso)
  673. robuxpile.Size = Vector3.new(1,1,1)
  674. robuxpile.CFrame = LeftArm.CFrame
  675. robuxpile.CanCollide = false
  676. robuxpileweld = Instance.new("Weld",robuxpile)
  677. robuxpileweld.Part0 = robuxpile
  678. robuxpileweld.Part1 = Torso
  679. robuxpileweld.C0 = robuxpile.CFrame:inverse() * LeftArm.CFrame * CFrame.new(1,-.7,1.4)
  680. mrobuxpile = Instance.new("SpecialMesh", robuxpile)
  681. mrobuxpile.MeshType = "FileMesh"
  682. mrobuxpile.Scale = Vector3.new(1.25, 1.25, 1.25)
  683. mrobuxpile.MeshId,mrobuxpile.TextureId = 'http://www.roblox.com/asset/?id=19106014','http://www.roblox.com/asset/?id=20978669'
  684. coroutine.wrap(function()
  685. coroutine.wrap(function()
  686. while wait(.35) do
  687. if not dancing then break end
  688. local robux = Instance.new("Part",Torso)
  689. robux.CFrame = robuxpile.CFrame * CFrame.Angles(math.rad(0),math.rad(90),math.rad(90))
  690. robux.Anchored = false
  691. robux.CanCollide = true
  692. robux.Size = Vector3.new(1,1,1)
  693. removeuseless:AddItem(robux,4)
  694. mrobux = Instance.new("SpecialMesh", robux)
  695. mrobux.MeshType = "FileMesh"
  696. mrobux.Scale = Vector3.new(1.25, 1.25, 1.25)
  697. mrobux.MeshId,mrobux.TextureId = 'http://www.roblox.com/asset/?id=19106014','http://www.roblox.com/asset/?id=20978669'
  698. bov = Instance.new("BodyVelocity",robux)
  699. bov.maxForce = Vector3.new(99999,99999,99999)
  700. robux.CFrame = CFrame.new(robux.Position,mouse.Hit.p)
  701. bov.velocity = robux.CFrame.lookVector*45
  702. removeuseless:AddItem(bov,.1)
  703. end
  704. end)()
  705. while dancing do
  706. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4)
  707. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(0,-.3,0) * CFrame.Angles(math.rad(20),math.rad(0 * math.sin(sine/8)),math.rad(0)),.25)
  708. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,.5 + .5 * math.sin(sine/2),.5) * CFrame.Angles(math.rad(-97),math.rad(40 - 20 * math.sin(sine/2)),math.rad(0)), 0.25)
  709. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1,.5,.5) * CFrame.Angles(math.rad(-87),math.rad(-20),math.rad(0)), 0.25)
  710. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 , .5) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-10)), 0.25)
  711. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, .5) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.25)
  712. swait()
  713. end
  714. ws = 14
  715. removeuseless:AddItem(g1,.001)
  716. robuxpile:Remove()
  717. attacking = false
  718. end)()
  719. end
  720. end
  721. end)
  722.  
  723. mouse.KeyDown:connect(function(Press)
  724. Press=Press:lower()
  725. if Press=='b' then
  726. if dancing then
  727. dancing = false
  728. else
  729. dancing = true
  730. ws = 3
  731. change = .5
  732. attacking = true
  733. g1 = Instance.new("BodyGyro", Root)
  734. g1.D = 175
  735. g1.P = 20000
  736. g1.MaxTorque = Vector3.new(0,9000,0)
  737. herecomesthemoney = Instance.new("Sound",Torso)
  738. herecomesthemoney.Pitch = 1.295
  739. herecomesthemoney.SoundId = "rbxassetid://1383666704"
  740. herecomesthemoney.Volume = 8
  741. herecomesthemoney.Looped = true
  742. herecomesthemoney:Play()
  743. robuxpile = Instance.new("Part",Torso)
  744. robuxpile.Size = Vector3.new(1,1,1)
  745. robuxpile.CFrame = LeftArm.CFrame
  746. robuxpile.CanCollide = false
  747. robuxpileweld = Instance.new("Weld",robuxpile)
  748. robuxpileweld.Part0 = robuxpile
  749. robuxpileweld.Part1 = Torso
  750. robuxpileweld.C0 = robuxpile.CFrame:inverse() * LeftArm.CFrame * CFrame.new(1,-.7,1.4)
  751. mrobuxpile = Instance.new("SpecialMesh", robuxpile)
  752. mrobuxpile.MeshType = "FileMesh"
  753. mrobuxpile.Scale = Vector3.new(1.25, 1.25, 1.25)
  754. mrobuxpile.MeshId,mrobuxpile.TextureId = 'http://www.roblox.com/asset/?id=19106014','http://www.roblox.com/asset/?id=561499996'
  755. coroutine.wrap(function()
  756. coroutine.wrap(function()
  757. while wait(.35) do
  758. if not dancing then break end
  759. local robux = Instance.new("Part",Torso)
  760. robux.CFrame = robuxpile.CFrame * CFrame.Angles(math.rad(0),math.rad(90),math.rad(90))
  761. robux.Anchored = false
  762. robux.CanCollide = true
  763. robux.Size = Vector3.new(1,1,1)
  764. removeuseless:AddItem(robux,4)
  765. mrobux = Instance.new("SpecialMesh", robux)
  766. mrobux.MeshType = "FileMesh"
  767. mrobux.Scale = Vector3.new(1.25, 1.25, 1.25)
  768. mrobux.MeshId,mrobux.TextureId = 'http://www.roblox.com/asset/?id=19106014','http://www.roblox.com/asset/?id=561499996'
  769. bov = Instance.new("BodyVelocity",robux)
  770. bov.maxForce = Vector3.new(99999,99999,99999)
  771. robux.CFrame = CFrame.new(robux.Position,mouse.Hit.p)
  772. bov.velocity = robux.CFrame.lookVector*45
  773. removeuseless:AddItem(bov,.1)
  774. end
  775. end)()
  776. while dancing do
  777. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4)
  778. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(0,-.3,0) * CFrame.Angles(math.rad(20),math.rad(0 * math.sin(sine/8)),math.rad(0)),.25)
  779. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,.5 + .5 * math.sin(sine/2),.5) * CFrame.Angles(math.rad(-97),math.rad(40 - 20 * math.sin(sine/2)),math.rad(0)), 0.25)
  780. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1,.5,.5) * CFrame.Angles(math.rad(-87),math.rad(-20),math.rad(0)), 0.25)
  781. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 , .5) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-10)), 0.25)
  782. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, .5) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.25)
  783. swait()
  784. end
  785. ws = 14
  786. removeuseless:AddItem(g1,.001)
  787. robuxpile:Remove()
  788. attacking = false
  789. end)()
  790. end
  791. end
  792. end)
  793.  
  794. mouse.KeyDown:connect(function(Press)
  795. Press=Press:lower()
  796. if Press=='h' then
  797. if dancing then
  798. dancing = false
  799. else
  800. dancing = true
  801. ws = 0
  802. change = .5
  803. attacking = true
  804. jellyfishjam = Instance.new("Sound",Torso)
  805. jellyfishjam.SoundId = "rbxassetid://439926316"
  806. jellyfishjam.Volume = 8
  807. jellyfishjam.Looped = true
  808. jellyfishjam.TimePosition = 14.8
  809. jellyfishjam:Play()
  810. coroutine.wrap(function()
  811. while dancing do
  812. for i = 1, 15 do
  813. if not dancing then break end
  814. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(.5,-.4 + .1 * math.sin(sine/4),0) * CFrame.Angles(math.rad(0),math.rad(20 * math.sin(sine/8)),math.rad(20)),.25)
  815. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(50 + 3 * math.sin(sine/12)),math.rad(3 - 1 * math.sin(sine/12))),.3)
  816. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(-50 - 3 * math.sin(sine/12)),math.rad(-3 + 1 * math.sin(sine/12))), .3)
  817. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(0.25, 2.05,-0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-35)), 0.25)
  818. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.31, 2.05,-0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(14)), 0.25)
  819. swait()
  820. end
  821. for i = 1, 15 do
  822. if not dancing then break end
  823. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(0,-.1 * math.sin(sine/4),0) * CFrame.Angles(math.rad(0),math.rad(20 * math.sin(sine/8)),math.rad(0)),.25)
  824. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(50 + 3 * math.sin(sine/12)),math.rad(3 - 1 * math.sin(sine/12))),.3)
  825. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(-50 - 3 * math.sin(sine/12)),math.rad(-3 + 1 * math.sin(sine/12))), .3)
  826. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.25, .7,1.5) * CFrame.Angles(math.rad(72), math.rad(25), math.rad(-2)), 0.25)
  827. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(0, math.rad(0), math.rad(10)), 0.25)
  828. swait()
  829. end
  830. for i = 1, 15 do
  831. if not dancing then break end
  832. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(-.5,-.4 + .1 * math.sin(sine/4),0) * CFrame.Angles(math.rad(0),math.rad(20 * math.sin(sine/8)),math.rad(-20)),.25)
  833. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(50 + 3 * math.sin(sine/12)),math.rad(3 - 1 * math.sin(sine/12))),.3)
  834. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(-50 - 3 * math.sin(sine/12)),math.rad(-3 + 1 * math.sin(sine/12))), .3)
  835. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 , 0) * CFrame.Angles(0, math.rad(0), math.rad(-10)), 0.25)
  836. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(-0.25, 2.05,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(35)), 0.25)
  837. swait()
  838. end
  839. for i = 1, 15 do
  840. if not dancing then break end
  841. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(-.5,-.1,0) * CFrame.Angles(math.rad(0),math.rad(20 * math.sin(sine/8)),math.rad(0)),.25)
  842. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(50 + 3 * math.sin(sine/12)),math.rad(3 - 1 * math.sin(sine/12))),.3)
  843. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(-50 - 3 * math.sin(sine/12)),math.rad(-3 + 1 * math.sin(sine/12))), .3)
  844. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.31, 2.05,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-14)), 0.3)
  845. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.25, .7,1.5) * CFrame.Angles(math.rad(72), math.rad(-25), math.rad(-2)), 0.25)
  846. swait()
  847. end
  848. swait()
  849. end
  850. ws = 14
  851. attacking = false
  852. end)()
  853. end
  854. end
  855. end)
  856.  
  857. mouse.KeyDown:connect(function(Press)
  858. Press=Press:lower()
  859. if Press=='g' then
  860. if dancing then
  861. dancing = false
  862. else
  863. dancing = true
  864. ws = 0
  865. change = .5
  866. attacking = true
  867. deadmau7 = Instance.new("Sound",Torso)
  868. deadmau7.SoundId = "rbxassetid://168166611"
  869. deadmau7.Volume = 8
  870. deadmau7.Looped = true
  871. deadmau7:Play()
  872. coroutine.wrap(function()
  873. coroutine.wrap(function()
  874. while dancing do
  875. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(2 * math.sin(sine/9),-.4 + .1 * math.sin(sine/3),0) * CFrame.Angles(math.rad(0),math.rad(20 * math.sin(sine/9)),0),.25)
  876. swait()
  877. end
  878. end)()
  879. while dancing do
  880. for i = 1, 28 do
  881. if not dancing then break end
  882. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(50 + 3 * math.sin(sine/12)),math.rad(3 - 1 * math.sin(sine/12))),.2)
  883. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.2,1.5,0) * CFrame.Angles(math.rad(180 - 7 * math.sin(sine/3)),math.rad(7 * math.sin(sine/3)),math.rad(7*math.sin(sine/3))), 0.2)
  884. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, .7,1) * CFrame.Angles(math.rad(75 - 10 * math.sin(sine/2)), math.rad(0), math.rad(0)), 0.25)
  885. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.31, 2.05,-.1) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-2)), 0.3)
  886. swait()
  887. end
  888. for i = 1, 28 do
  889. if not dancing then break end
  890. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(50 + 3 * math.sin(sine/12)),math.rad(3 - 1 * math.sin(sine/12))),.2)
  891. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.2,1.5,0) * CFrame.Angles(math.rad(180 - 7 * math.sin(sine/3)),math.rad(7 * math.sin(sine/3)),math.rad(7*math.sin(sine/3))), 0.2)
  892. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.31, 2.05,.1) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-8)), 0.25)
  893. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, .7,1.1) * CFrame.Angles(math.rad(75 - 10 * math.sin(sine/2)), math.rad(0), math.rad(-2)), 0.25)
  894. swait()
  895. end
  896. swait()
  897. end
  898. ws = 14
  899. deadmau7:Remove()
  900. attacking = false
  901. end)()
  902. end
  903. end
  904. end)
  905.  
  906. mouse.KeyDown:connect(function(Press)
  907. Press=Press:lower()
  908. if Press=='f' then
  909. if dancing then
  910. dancing = false
  911. else
  912. dancing = true
  913. ws = 6
  914. change = .5
  915. attacking = true
  916. bennyhill = Instance.new("Sound",Torso)
  917. bennyhill.SoundId = "rbxassetid://764878915"
  918. bennyhill.Volume = 8
  919. bennyhill.Looped = true
  920. bennyhill:Play()
  921. coroutine.wrap(function()
  922. while dancing do
  923. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(0,-.4,0) * CFrame.Angles(math.rad(20 + 5 * math.sin(sine/2)),math.rad(10 * math.sin(sine/4)),0),.25)
  924. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.89 - .4 * -math.sin(sine/2),.49) * CFrame.Angles(math.rad(-70 + 20 * -math.sin(sine/2)),0,math.rad(0)),.25)
  925. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.89 - .4 * math.sin(sine/2),.49) * CFrame.Angles(math.rad(-70 + 20 * math.sin(sine/2)),0,math.rad(0)),.25)
  926. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.33, 2, -.2 + .3 * math.sin(sine/2)) * CFrame.Angles(math.rad(-20 - 20 * -math.sin(sine/2)), math.rad(0), math.rad(-8)), 0.25)
  927. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.33, 2.0,-.2 - .3 * math.sin(sine/2)) * CFrame.Angles(math.rad(-20 - 20 * math.sin(sine/2)), math.rad(0), math.rad(8)), 0.25)
  928. swait()
  929. end
  930. ws = 14
  931. bennyhill:Remove()
  932. attacking = false
  933. end)()
  934. end
  935. end
  936. end)
  937.  
  938. mouse.KeyDown:connect(function(Press)
  939. Press=Press:lower()
  940. if Press=='p' then
  941. if dancing then
  942. dancing = false
  943. else
  944. dancing = true
  945. ws = 0
  946. change = .5
  947. attacking = true
  948. barrelspin = 0
  949. barrelrollsound = Instance.new("Sound",Torso)
  950. barrelrollsound.SoundId = "rbxassetid://505320170"
  951. barrelrollsound.Volume = 8
  952. barrelrollsound.Looped = true
  953. barrelrollsound:Play()
  954. barrol = Instance.new("Part",Torso)
  955. barrol.Size = Vector3.new(1,1,1)
  956. barrol.CFrame = Torso.CFrame
  957. barrol.CanCollide = false
  958. barrolweld = Instance.new("Weld",barrol)
  959. barrolweld.Part0 = barrol
  960. barrolweld.Part1 = Torso
  961. barrolweld.C0 = barrol.CFrame:inverse() * Torso.CFrame * CFrame.new(0,0,0)
  962. mbarrol = Instance.new("SpecialMesh", barrol)
  963. mbarrol.MeshType = "FileMesh"
  964. mbarrol.Scale = Vector3.new(1.05, .95, 1.05)
  965. mbarrol.MeshId,mbarrol.TextureId = 'http://www.roblox.com/asset/?id=29873142','http://www.roblox.com/asset/?id=31082268'
  966. coroutine.wrap(function()
  967. while dancing do
  968. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(5 * math.sin(sine/8),-1.8,0) * CFrame.Angles(math.rad(-90),math.rad(180 * math.sin(sine/8)),0),.25)
  969. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,1.5,0) * CFrame.Angles(math.rad(180),0,math.rad(0)),.25)
  970. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,1.5,0) * CFrame.Angles(math.rad(180),0,math.rad(0)),.25)
  971. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(.5,2,0) * CFrame.Angles(0,0,0),.25)
  972. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.5,2,0) * CFrame.Angles(0,0,0),.25)
  973. swait()
  974. end
  975. ws = 14
  976. barrol:Remove()
  977. attacking = false
  978. end)()
  979. end
  980. end
  981. end)
  982.  
  983. mouse.KeyDown:connect(function(Press)
  984. Press=Press:lower()
  985. if Press=='q' then
  986. if dancing then
  987. dancing = false
  988. else
  989. dancing = true
  990. ws = 0
  991. change = .5
  992. spinningmove = 0
  993. dbwouldlovethis = Instance.new("Sound",Torso)
  994. dbwouldlovethis.SoundId = "rbxassetid://1532157598"
  995. dbwouldlovethis.Volume = 8
  996. dbwouldlovethis.Looped = true
  997. dbwouldlovethis:Play()
  998. attacking = true
  999. coroutine.wrap(function()
  1000. while dancing do
  1001. spinningmove = spinningmove + 10
  1002. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.52, 1.9, -.35) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)),.2)
  1003. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.52, 1.9, .35) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)),.2)
  1004. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(.2 * math.sin(sine/3), -.52, .2 * math.sin(sine/4)) * CFrame.Angles(math.rad(180),math.rad(spinningmove),math.rad(15 * math.sin(sine/9))),.2)
  1005. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,1.45,0) * CFrame.Angles(math.rad(180),math.rad(-1),math.rad(-3 * math.sin(sine/2))),0.3)
  1006. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.4,1.45,0) * CFrame.Angles(math.rad(180),math.rad(1),math.rad(3 * math.sin(sine/2))), 0.3)
  1007. swait()
  1008. end
  1009. ws = 14
  1010. dbwouldlovethis:Remove()
  1011. attacking = false
  1012. end)()
  1013. end
  1014. end
  1015. end)
  1016.  
  1017.  
  1018. mouse.KeyDown:connect(function(Press)
  1019. Press=Press:lower()
  1020. if Press=='u' then
  1021. if dancing then
  1022. dancing = false
  1023. else
  1024. dancing = true
  1025. ws = 6
  1026. change = .5
  1027. attacking = true
  1028. slavdance = Instance.new("Sound",Torso)
  1029. slavdance.SoundId = "rbxassetid://1064109642"
  1030. slavdance.Volume = 6
  1031. slavdance.Looped = true
  1032. slavdance:Play()
  1033. coroutine.wrap(function()
  1034. while dancing do
  1035. for i = 1, 17 do
  1036. if not dancing then break end
  1037. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.52, 1.5, -.5) * CFrame.Angles(math.rad(-60), math.rad(0), math.rad(0)),.2)
  1038. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.52, 1.2, .55) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)),.2)
  1039. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.8 + .1 * math.sin(sine/3), 0) * CFrame.Angles(math.rad(22 - 2 * math.sin(sine/3)),math.rad(0),math.rad(0)),.2)
  1040. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-87 + .01 * math.sin(sine/9)),math.rad(80 - 3 * math.sin(sine/9)),math.rad(0)), 0.3)
  1041. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.7,-.2,.4) * CFrame.Angles(math.rad(-87 - .01 * math.sin(sine/9)),math.rad(-88 + .7 * math.sin(sine/9)),math.rad(0)), 0.3)
  1042. swait()
  1043. end
  1044. for i = 1, 17 do
  1045. if not dancing then break end
  1046. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.52, 1.2, .55) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)),.2)
  1047. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.52, 1.5, -.5) * CFrame.Angles(math.rad(-60), math.rad(0), math.rad(0)),.2)
  1048. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.8 + .1 * math.sin(sine/3), 0) * CFrame.Angles(math.rad(22 - 2 * math.sin(sine/3)),math.rad(0),math.rad(0)),.2)
  1049. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-87 + .01 * math.sin(sine/9)),math.rad(80 - 3 * math.sin(sine/9)),math.rad(0)), 0.3)
  1050. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.7,-.2,.4) * CFrame.Angles(math.rad(-87 - .01 * math.sin(sine/9)),math.rad(-88 + .7 * math.sin(sine/9)),math.rad(0)), 0.3)
  1051. swait()
  1052. end
  1053. swait()
  1054. end
  1055. ws = 14
  1056. slavdance:Remove()
  1057. attacking = false
  1058. end)()
  1059. end
  1060. end
  1061. end)
  1062.  
  1063. mouse.KeyDown:connect(function(Press)
  1064. Press=Press:lower()
  1065. if Press=='y' then
  1066. if dancing then
  1067. dancing = false
  1068. else
  1069. dancing = true
  1070. ws = 0
  1071. change = .5
  1072. walkforward = 0
  1073. walkrotation = 0
  1074. attacking = true
  1075. truelegend = Instance.new("Sound",Torso)
  1076. truelegend.SoundId = "rbxassetid://487872908"
  1077. truelegend.TimePosition = 13.98
  1078. truelegend.Volume = 8
  1079. truelegend.Looped = true
  1080. truelegend:Play()
  1081. coroutine.wrap(function()
  1082. while dancing do
  1083. for i = 1, 100 do
  1084. if not dancing then break end
  1085. walkforward = walkforward + .1
  1086. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.31, 2.05 , .1 * math.sin(sine/4)) * CFrame.Angles(math.rad(10 * math.sin(sine/4)), math.rad(0), math.rad(-8)), 0.3)
  1087. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.31, 2.05, -.15 * math.sin(sine/4)) * CFrame.Angles(math.rad(-10 * math.sin(sine/4)), math.rad(0), math.rad(8)), 0.3)
  1088. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, walkforward) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1089. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(0,0,math.rad(0)),.3)
  1090. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,0,0) * CFrame.Angles(0,0,math.rad(0)),.3)
  1091. swait()
  1092. end
  1093. for i = 1, 50 do
  1094. if not dancing then break end
  1095. walkrotation = walkrotation + 15
  1096. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, walkforward) * CFrame.Angles(math.rad(0),math.rad(walkrotation),math.rad(-0)),.2)
  1097. swait()
  1098. end
  1099. walkrotation = 0
  1100. for i = 1, 100 do
  1101. if not dancing then break end
  1102. walkforward = walkforward - .1
  1103. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.31, 2 , .1 * math.sin(sine/4)) * CFrame.Angles(math.rad(10 * math.sin(sine/4)), math.rad(0), math.rad(-8)), 0.3)
  1104. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.31, 2, -.15 * math.sin(sine/4)) * CFrame.Angles(math.rad(-10 * math.sin(sine/4)), math.rad(0), math.rad(8)), 0.3)
  1105. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, walkforward) * CFrame.Angles(math.rad(0),math.rad(-180),math.rad(-0)),.2)
  1106. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,.7,.2) * CFrame.Angles(math.rad(220),math.rad(0),math.rad(-30)), 0.4)
  1107. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,0,0) * CFrame.Angles(0,0,math.rad(0)),.3)
  1108. swait()
  1109. end
  1110. for i = 1, 50 do
  1111. if not dancing then break end
  1112. walkrotation = walkrotation + 15
  1113. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(0,0,math.rad(0)),.1)
  1114. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, walkforward) * CFrame.Angles(math.rad(0),math.rad(walkrotation),math.rad(-0)),.2)
  1115. swait()
  1116. end
  1117. walkrotation = 0
  1118. swait()
  1119. end
  1120. ws = 14
  1121. truelegend:Remove()
  1122. attacking = false
  1123. end)()
  1124. end
  1125. end
  1126. end)
  1127.  
  1128. mouse.KeyDown:connect(function(Press)
  1129. Press=Press:lower()
  1130. if Press=='t' then
  1131. if dancing then
  1132. dancing = false
  1133. else
  1134. dancing = true
  1135. ws = 0
  1136. change = .5
  1137. attacking = true
  1138. plummusic = Instance.new("Sound",Torso)
  1139. plummusic.Volume = 8
  1140. plummusic.Looped = true
  1141. plummusic.SoundId = "rbxassetid://3315125329"
  1142. plummusic:Play()
  1143. coroutine.wrap(function()
  1144. while dancing do
  1145. for i = 1, 20 do
  1146. if not dancing then break end
  1147. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.33, 2 , .05) * CFrame.Angles(math.rad(3), math.rad(0), math.rad(-8)), 0.2)
  1148. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.33, 2.0, -.05) * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(8)), 0.2)
  1149. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0),math.rad(0*math.sin(sine/4)),math.rad(15)),.2)
  1150. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(.5,1.98,.05) * CFrame.Angles(0,0,math.rad(-140)),.2)
  1151. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,1.3,.05) * CFrame.Angles(0,0,math.rad(50)),.2)
  1152. swait()
  1153. end
  1154. for i = 1, 20 do
  1155. if not dancing then break end
  1156. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.33, 2, .05) * CFrame.Angles(math.rad(3), math.rad(0), math.rad(-8)), 0.2)
  1157. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.33, 2.0, -.05) * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(8)), 0.2)
  1158. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0),math.rad(0*math.sin(sine/4)),math.rad(-15)),.2)
  1159. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1,1.4,.05) * CFrame.Angles(0,0,math.rad(-50)),.2)
  1160. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(-.6,2,.05) * CFrame.Angles(0,0,math.rad(140)),.2)
  1161. swait()
  1162. end
  1163. swait()
  1164. end
  1165. ws = 14
  1166. plummusic:Remove()
  1167. attacking = false
  1168. end)()
  1169. end
  1170. end
  1171. end)
  1172.  
  1173. mouse.KeyDown:connect(function(Press)
  1174. Press=Press:lower()
  1175. if Press=='e' then
  1176. if dancing then
  1177. dancing = false
  1178. else
  1179. dancing = true
  1180. ws = 0
  1181. change = .5
  1182. attacking = true
  1183. mrozo = Instance.new("Sound",Torso)
  1184. mrozo.Volume = 8
  1185. mrozo.SoundId = "rbxassetid://335701357"
  1186. mrozo.Looped = true
  1187. mrozo.TimePosition = 10
  1188. mrozo:Play()
  1189. coroutine.wrap(function()
  1190. while dancing do
  1191. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 , 0) * CFrame.Angles(0, math.rad(0), math.rad(-10)), 0.1)
  1192. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(0, math.rad(0), math.rad(10)), 0.1)
  1193. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0),math.rad(0*math.sin(sine/4)),math.rad(15*math.sin(sine/4))),.2)
  1194. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3 + .3 * math.sin(sine/3.5),.5 * -math.sin(sine/3.5),.1) * CFrame.Angles(math.rad(0 * math.sin(sine/2)),0,math.rad(30 * math.sin(sine/3.5))),.2)
  1195. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3 + .3 * math.sin(sine/3.5),.5 * math.sin(sine/3.5),.1) * CFrame.Angles(math.rad(0 * math.sin(sine/2)),0,math.rad(30 * math.sin(sine/3.5))),.2)
  1196. swait()
  1197. end
  1198. mrozo:Remove()
  1199. ws = 14
  1200. attacking = false
  1201. end)()
  1202. end
  1203. end
  1204. end)
  1205.  
  1206. mouse.KeyDown:connect(function(Press)
  1207. Press=Press:lower()
  1208. if Press=='r' then
  1209. if dancing then
  1210. dancing = false
  1211. else
  1212. ws = 6
  1213. recordbaby = 0
  1214. dancing = true
  1215. change = .5
  1216. attacking = true
  1217. spinme = Instance.new("Sound",Torso)
  1218. spinme.Volume = 8
  1219. spinme.SoundId = "rbxassetid://145799973"
  1220. spinme.Looped = true
  1221. spinme:Play()
  1222. coroutine.wrap(function()
  1223. while dancing do
  1224. recordbaby = recordbaby + 10
  1225. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.27, 2 , .1 * math.sin(sine/4)) * CFrame.Angles(math.rad(10 * math.sin(sine/4)), math.rad(0), math.rad(-8)), 0.3)
  1226. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.27, 2.0, -.1 * math.sin(sine/4)) * CFrame.Angles(math.rad(-10 * math.sin(sine/4)), math.rad(0), math.rad(8)), 0.3)
  1227. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(.5 * math.sin(sine/5), -.2, .5 * math.sin(sine/4)) * CFrame.Angles(math.rad(0),math.rad(recordbaby),math.rad(0)),.3)
  1228. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.5,1.98,0) * CFrame.Angles(0,0,math.rad(-90)),.3)
  1229. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.5,1.98,0) * CFrame.Angles(0,0,math.rad(90)),.3)
  1230. swait()
  1231. end
  1232. spinme:Remove()
  1233. ws = 14
  1234. attacking = false
  1235. end)()
  1236. end
  1237. end
  1238. end)
  1239.  
  1240. function ray(pos, dir, rang, ignoredesc)
  1241. return workspace:FindPartOnRay(Ray.new(pos, dir.unit * rang), ignoredesc)
  1242. end
  1243.  
  1244. function ray2(startpos, endpos, distance, ignore)
  1245. local dir = CFrame.new(startpos,endpos).lookVector
  1246. return ray(startpos, dir, distance, ignore)
  1247. end
  1248.  
  1249. checks1 = coroutine.wrap(function() -------Checks
  1250. while true do
  1251. hf = ray(Root.Position,(CFrame.new(Root.Position,Root.Position+Vector3.new(0,-1,0))).lookVector,3*3,Character)
  1252. if Root.Velocity.y > 1 then
  1253. position = "Jump"
  1254. elseif Root.Velocity.y < -1 then
  1255. position = "Falling"
  1256. elseif Root.Velocity.Magnitude < 2 then
  1257. position = "Idle"
  1258. elseif Root.Velocity.Magnitude > 2 then
  1259. position = "Walking"
  1260. elseif Root.Velocity.Magnitude > 20 then
  1261. position = "Running"
  1262. else
  1263. end
  1264. wait()
  1265. end
  1266. end)
  1267. checks1()
  1268.  
  1269. function ray(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1270. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1271. end
  1272.  
  1273. function ray2(StartPos, EndPos, Distance, Ignore)
  1274. local DIRECTION = CFrame.new(StartPos,EndPos).lookVector
  1275. return ray(StartPos, DIRECTION, Distance, Ignore)
  1276. end
  1277.  
  1278. OrgnC0 = Neck.C0
  1279. local movelimbs = coroutine.wrap(function()
  1280. while RunSrv.RenderStepped:wait() do
  1281. TrsoLV = Torso.CFrame.lookVector
  1282. Dist = nil
  1283. Diff = nil
  1284. if not MseGuide then
  1285. print("Failed to recognize")
  1286. else
  1287. local _, Point = Workspace:FindPartOnRay(Ray.new(Head.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
  1288. Dist = (Head.CFrame.p-Point).magnitude
  1289. Diff = Head.CFrame.Y-Point.Y
  1290. local _, Point2 = Workspace:FindPartOnRay(Ray.new(LeftArm.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
  1291. Dist2 = (LeftArm.CFrame.p-Point).magnitude
  1292. Diff2 = LeftArm.CFrame.Y-Point.Y
  1293. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1294. Neck.C0 = Neck.C0:lerp(OrgnC0*CFrame.Angles((math.tan(Diff/Dist)*1), 0, (((Head.CFrame.p-Point).Unit):Cross(Torso.CFrame.lookVector)).Y*1), .1)
  1295. end
  1296. end
  1297. end)
  1298. movelimbs()
  1299. immortal = {}
  1300. for i,v in pairs(Character:GetDescendants()) do
  1301. if v:IsA("BasePart") and v.Name ~= "lmagic" and v.Name ~= "rmagic" then
  1302. if v ~= Root and v ~= Torso and v ~= Head and v ~= RightArm and v ~= LeftArm and v ~= RightLeg and v.Name ~= "lmagic" and v.Name ~= "rmagic" and v ~= LeftLeg then
  1303. v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1304. end
  1305. table.insert(immortal,{v,v.Parent,v.Material,v.Color,v.Transparency})
  1306. elseif v:IsA("JointInstance") then
  1307. table.insert(immortal,{v,v.Parent,nil,nil,nil})
  1308. end
  1309. end
  1310. for e = 1, #immortal do
  1311. if immortal[e] ~= nil then
  1312. local STUFF = immortal[e]
  1313. local PART = STUFF[1]
  1314. local PARENT = STUFF[2]
  1315. local MATERIAL = STUFF[3]
  1316. local COLOR = STUFF[4]
  1317. local TRANSPARENCY = STUFF[5]
  1318. if levitate then
  1319. if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= eyo1 and PART.Name ~= eyo2 and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
  1320. PART.Material = MATERIAL
  1321. PART.Color = COLOR
  1322. PART.Transparency = TRANSPARENCY
  1323. end
  1324. PART.AncestryChanged:connect(function()
  1325. PART.Parent = PARENT
  1326. end)
  1327. else
  1328. if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
  1329. PART.Material = MATERIAL
  1330. PART.Color = COLOR
  1331. PART.Transparency = TRANSPARENCY
  1332. end
  1333. PART.AncestryChanged:connect(function()
  1334. PART.Parent = PARENT
  1335. end)
  1336. end
  1337. end
  1338. end
  1339. function immortality()
  1340. for e = 1, #immortal do
  1341. if immortal[e] ~= nil then
  1342. local STUFF = immortal[e]
  1343. local PART = STUFF[1]
  1344. local PARENT = STUFF[2]
  1345. local MATERIAL = STUFF[3]
  1346. local COLOR = STUFF[4]
  1347. local TRANSPARENCY = STUFF[5]
  1348. if PART.ClassName == "Part" and PART == Root then
  1349. PART.Material = MATERIAL
  1350. PART.Color = COLOR
  1351. PART.Transparency = TRANSPARENCY
  1352. end
  1353. if PART.Parent ~= PARENT then
  1354. hum:Remove()
  1355. PART.Parent = PARENT
  1356. hum = Instance.new("Humanoid",Character)
  1357. hum.Name = "noneofurbusiness"
  1358. end
  1359. end
  1360. end
  1361. end
  1362. coroutine.wrap(function()
  1363. while true do
  1364. if hum.Health < .1 then
  1365. deadsound = Instance.new("Sound", Torso)
  1366. deadsound.Volume = 6
  1367. deadsound.SoundId = "rbxassetid://1411352723"
  1368. deadsound:Play()
  1369. immortality()
  1370. end
  1371. wait()
  1372. end
  1373. end)()
  1374.  
  1375. local anims = coroutine.wrap(function()
  1376. while true do
  1377. settime = 0.05
  1378. sine = sine + change
  1379. if position == "Jump" and attacking == false then
  1380. change = 1
  1381. spin = false
  1382. for i,v in pairs(Torso:GetChildren()) do if v:IsA("Sound") then v:Remove() end end
  1383. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  1384. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  1385. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  1386. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  1387. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(-3),math.rad(-4)), 0.2)
  1388. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.2)
  1389. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.2)
  1390. elseif position == "Falling" and attacking == false then
  1391. change = 1
  1392. spin = false
  1393. for i,v in pairs(Torso:GetChildren()) do if v:IsA("Sound") then v:Remove() end end
  1394. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.15)
  1395. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  1396. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  1397. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  1398. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2)
  1399. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(-4), math.rad(0)), 0.2)
  1400. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.94 + .02 * math.sin(sine/12),-0) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(45)), 0.2)
  1401. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.94 + .02 * math.sin(sine/12),-0) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(-45)), 0.2)
  1402. elseif position == "Walking" and attacking == false and running == false then
  1403. change = 1.2
  1404. walking = true
  1405. spin = false
  1406. for i,v in pairs(Torso:GetChildren()) do if v:IsA("Sound") then v:Remove() end end
  1407. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5 + Root.RotVelocity.Y / 85,.35,-.5*math.sin(sine/11)) * CFrame.Angles(math.rad(35*math.sin(sine/11)),math.rad(0*math.sin(sine/11)),math.rad(-10 + Root.RotVelocity.Y / 10, math.sin(-20 * math.sin(sine/4)))),.3)
  1408. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5 + Root.RotVelocity.Y / 85,.45,.5*math.sin(sine/11)) * CFrame.Angles(math.rad(-55*math.sin(sine/11)),math.rad(-5*math.sin(sine/8)),math.rad(10 + Root.RotVelocity.Y / 10, math.sin(20 * math.sin(sine/4)))),.3)
  1409. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.15 * 0.6*-math.sin(sine/5.5), 0) * CFrame.Angles(math.rad(10), math.rad(12 * -math.sin(sine/11)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/10))), 0.3)
  1410. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.92 - 0.35 * math.cos(sine/11)/2.8, -.2 + 0.2 - math.sin(sine/11)/3.4) * CFrame.Angles(math.rad(25 - 25) + -math.sin(sine/11)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0), math.cos(-15 * 25 * math.cos(sine/11))), 0.3)
  1411. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.92 + 0.35 * math.cos(sine/11)/2.8, -.2 + 0.2 + math.sin(sine/11)/3.4) * CFrame.Angles(math.rad(25 - 25) - -math.sin(sine/11)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) , math.cos(-15 * 25 * math.cos(sine/11))), 0.3)
  1412. elseif position == "Idle" and attacking == false and running == false then
  1413. change = .5
  1414. spin = true
  1415. for i,v in pairs(Torso:GetChildren()) do if v:IsA("Sound") then v:Remove() end end
  1416. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(6 * -math.sin(sine/12)),math.rad(0),math.rad(0)),.1)
  1417. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.27 + .02 * math.sin(sine/12),.20 * -math.sin(sine/12)) * CFrame.Angles(math.rad(20 * math.sin(sine/12)),math.rad(0),math.rad(10)), 0.1)
  1418. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.27 + .02 * math.sin(sine/12),.20 * -math.sin(sine/12)) * CFrame.Angles(math.rad(20 * math.sin(sine/12)),math.rad(0),math.rad(-10)), 0.1)
  1419. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(6 * -math.sin(sine/12)), math.rad(0), math.rad(-10)), 0.1)
  1420. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(6 * -math.sin(sine/12)), math.rad(0), math.rad(10)), 0.1)
  1421. elseif position == "Running" and attacking == false then
  1422. change = 1
  1423. for i,v in pairs(Torso:GetChildren()) do if v:IsA("Sound") then v:Remove() end end
  1424. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(0, .5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.3)
  1425. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(-1.24+.6*math.sin(sine/4)/1.4, 0.54, 0-0.8*math.sin(sine/4))*CFrame.Angles(math.rad(6+140*math.sin(sine/4)/1.2), math.rad(0), math.rad(20+70*math.sin(sine/4))), 0.3)
  1426. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1427. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(-20 - 0 * math.sin(sine/4)), math.rad(0 + 6 * math.sin(sine/4)), math.rad(0) + Root.RotVelocity.Y / 30, math.sin(10 * math.sin(sine/4))), 0.3)
  1428. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*-math.sin(sine/4)),.3)
  1429. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.6+0.1*math.sin(sine/4),.7*-math.sin(sine/4)) * CFrame.Angles(math.rad(15+ -50 * math.sin(sine/4)),0,0),.3)
  1430. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*math.sin(sine/4)),.3)
  1431. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.6-0.1*math.sin(sine/4),.7*math.sin(sine/4)) * CFrame.Angles(math.rad(15 + 50 * math.sin(sine/4)),0,0),.3)
  1432. end
  1433. swait()
  1434. end
  1435. end)
  1436. anims()
  1437. warn("Back from the past to dance the dance. Made by Supr14(Credits to Krystalteam).")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement