Advertisement
realoneofu

krystalmodv2

Apr 27th, 2020
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 49.05 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://1569281181"
  278. introsound.Volume = 8
  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 = "rbxasset://textures/face.png"
  317. hum.WalkSpeed = ws
  318. LeftArm.BrickColor = BrickColor.new("Beige")
  319. RightArm.BrickColor = BrickColor.new("Beige")
  320. Head.BrickColor = BrickColor.new("Beige")
  321. Torso.BrickColor = BrickColor.new("White")
  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://665751753"
  485. jam.Volume = 8
  486. jam.Looped = true
  487. jam.TimePosition = 0
  488. jam:Play()
  489. lol90 = 0
  490. coroutine.wrap(function()
  491. wait(22.3)
  492. while dancing do
  493. lol90 = lol90 + 11
  494. 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)
  495. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0 * math.sin(sine/14),0,0) * CFrame.Angles(math.rad(0),math.rad(lol90),0),.25)
  496. 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)
  497. 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)
  498. 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)
  499. 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)
  500. swait()
  501. end
  502. ws = 14
  503. jam:Remove()
  504. ROOTLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  505. attacking = false
  506. end)()
  507. end
  508. end
  509. end)
  510.  
  511. mouse.KeyDown:connect(function(Press)
  512. Press=Press:lower()
  513. if Press=='j' then
  514. if dancing then
  515. dancing = false
  516. else
  517. dancing = true
  518. ws = 3
  519. change = .5
  520. attacking = true
  521. g1 = Instance.new("BodyGyro", Root)
  522. g1.D = 175
  523. g1.P = 20000
  524. g1.MaxTorque = Vector3.new(0,9000,0)
  525. herecomesthemoney = Instance.new("Sound",Torso)
  526. herecomesthemoney.Pitch = 1
  527. herecomesthemoney.SoundId = "rbxassetid://2426693638"
  528. herecomesthemoney.Volume = 8
  529. herecomesthemoney.Looped = true
  530. herecomesthemoney:Play()
  531. robuxpile = Instance.new("Part",Torso)
  532. robuxpile.Size = Vector3.new(1,1,1)
  533. robuxpile.CFrame = LeftArm.CFrame
  534. robuxpile.CanCollide = false
  535. robuxpileweld = Instance.new("Weld",robuxpile)
  536. robuxpileweld.Part0 = robuxpile
  537. robuxpileweld.Part1 = Torso
  538. robuxpileweld.C0 = robuxpile.CFrame:inverse() * LeftArm.CFrame * CFrame.new(1,-.7,1.4)
  539. mrobuxpile = Instance.new("SpecialMesh", robuxpile)
  540. mrobuxpile.MeshType = "FileMesh"
  541. mrobuxpile.Scale = Vector3.new(0.85, .85, .85)
  542. mrobuxpile.MeshId,mrobuxpile.TextureId = 'http://www.roblox.com/asset/?id=1285245','http://www.roblox.com/asset/?id=8587344'
  543. coroutine.wrap(function()
  544. coroutine.wrap(function()
  545. while wait(.35) do
  546. if not dancing then break end
  547. local robux = Instance.new("Part",Torso)
  548. robux.CFrame = robuxpile.CFrame * CFrame.Angles(math.rad(0),math.rad(90),math.rad(90))
  549. robux.Anchored = false
  550. robux.CanCollide = true
  551. robux.Size = Vector3.new(1,1,1)
  552. removeuseless:AddItem(robux,4)
  553. mrobux = Instance.new("SpecialMesh", robux)
  554. mrobux.MeshType = "FileMesh"
  555. mrobux.Scale = Vector3.new(1.25, 1.25, 1.25)
  556. mrobux.MeshId,mrobux.TextureId = 'http://www.roblox.com/asset/?id=667285348','http://www.roblox.com/asset/?id=665939136'
  557. bov = Instance.new("BodyVelocity",robux)
  558. bov.maxForce = Vector3.new(99999,99999,99999)
  559. robux.CFrame = CFrame.new(robux.Position,mouse.Hit.p)
  560. bov.velocity = robux.CFrame.lookVector*45
  561. removeuseless:AddItem(bov,.1)
  562. end
  563. end)()
  564. while dancing do
  565. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4)
  566. 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)
  567. 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)
  568. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1,.5,.5) * CFrame.Angles(math.rad(-87),math.rad(-20),math.rad(0)), 0.25)
  569. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 , .5) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-10)), 0.25)
  570. 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)
  571. swait()
  572. end
  573. ws = 14
  574. removeuseless:AddItem(g1,.001)
  575. robuxpile:Remove()
  576. attacking = false
  577. end)()
  578. end
  579. end
  580. end)
  581.  
  582. mouse.KeyDown:connect(function(Press)
  583. Press=Press:lower()
  584. if Press=='h' then
  585. if dancing then
  586. dancing = false
  587. else
  588. dancing = true
  589. ws = 0
  590. change = .5
  591. attacking = true
  592. jellyfishjam = Instance.new("Sound",Torso)
  593. jellyfishjam.SoundId = "rbxassetid://4829832440"
  594. jellyfishjam.Volume = 8
  595. jellyfishjam.Looped = true
  596. jellyfishjam.TimePosition = 14.8
  597. jellyfishjam:Play()
  598. coroutine.wrap(function()
  599. while dancing do
  600. for i = 1, 15 do
  601. if not dancing then break end
  602. 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)
  603. 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)
  604. 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)
  605. 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)
  606. 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)
  607. swait()
  608. end
  609. for i = 1, 15 do
  610. if not dancing then break end
  611. 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)
  612. 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)
  613. 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)
  614. 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)
  615. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(0, math.rad(0), math.rad(10)), 0.25)
  616. swait()
  617. end
  618. for i = 1, 15 do
  619. if not dancing then break end
  620. 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)
  621. 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)
  622. 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)
  623. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 , 0) * CFrame.Angles(0, math.rad(0), math.rad(-10)), 0.25)
  624. 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)
  625. swait()
  626. end
  627. for i = 1, 15 do
  628. if not dancing then break end
  629. 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)
  630. 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)
  631. 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)
  632. 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)
  633. 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)
  634. swait()
  635. end
  636. swait()
  637. end
  638. ws = 14
  639. attacking = false
  640. end)()
  641. end
  642. end
  643. end)
  644.  
  645. mouse.KeyDown:connect(function(Press)
  646. Press=Press:lower()
  647. if Press=='g' then
  648. if dancing then
  649. dancing = false
  650. else
  651. dancing = true
  652. ws = 0
  653. change = .5
  654. attacking = true
  655. deadmau7 = Instance.new("Sound",Torso)
  656. deadmau7.SoundId = "rbxassetid://3951847031"
  657. deadmau7.Volume = 8
  658. deadmau7.Looped = true
  659. deadmau7:Play()
  660. coroutine.wrap(function()
  661. coroutine.wrap(function()
  662. while dancing do
  663. 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)
  664. swait()
  665. end
  666. end)()
  667. while dancing do
  668. for i = 1, 28 do
  669. if not dancing then break end
  670. 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)
  671. 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)
  672. 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)
  673. 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)
  674. swait()
  675. end
  676. for i = 1, 28 do
  677. if not dancing then break end
  678. 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)
  679. 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)
  680. 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)
  681. 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)
  682. swait()
  683. end
  684. swait()
  685. end
  686. ws = 14
  687. deadmau7:Remove()
  688. attacking = false
  689. end)()
  690. end
  691. end
  692. end)
  693.  
  694. mouse.KeyDown:connect(function(Press)
  695. Press=Press:lower()
  696. if Press=='f' then
  697. if dancing then
  698. dancing = false
  699. else
  700. dancing = true
  701. ws = 6
  702. change = .5
  703. attacking = true
  704. bennyhill = Instance.new("Sound",Torso)
  705. bennyhill.SoundId = "rbxassetid://138211362"
  706. bennyhill.Volume = 8
  707. bennyhill.Looped = true
  708. bennyhill:Play()
  709. coroutine.wrap(function()
  710. while dancing do
  711. 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)
  712. 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)
  713. 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)
  714. 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)
  715. 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)
  716. swait()
  717. end
  718. ws = 14
  719. bennyhill:Remove()
  720. attacking = false
  721. end)()
  722. end
  723. end
  724. end)
  725.  
  726. mouse.KeyDown:connect(function(Press)
  727. Press=Press:lower()
  728. if Press=='p' then
  729. if dancing then
  730. dancing = false
  731. else
  732. dancing = true
  733. ws = 0
  734. change = .5
  735. attacking = true
  736. barrelspin = 0
  737. barrelrollsound = Instance.new("Sound",Torso)
  738. barrelrollsound.SoundId = "rbxassetid://505320170"
  739. barrelrollsound.Volume = 8
  740. barrelrollsound.Looped = true
  741. barrelrollsound:Play()
  742. barrol = Instance.new("Part",Torso)
  743. barrol.Size = Vector3.new(1,1,1)
  744. barrol.CFrame = Torso.CFrame
  745. barrol.CanCollide = false
  746. barrolweld = Instance.new("Weld",barrol)
  747. barrolweld.Part0 = barrol
  748. barrolweld.Part1 = Torso
  749. barrolweld.C0 = barrol.CFrame:inverse() * Torso.CFrame * CFrame.new(0,0,0)
  750. mbarrol = Instance.new("SpecialMesh", barrol)
  751. mbarrol.MeshType = "FileMesh"
  752. mbarrol.Scale = Vector3.new(1.05, .95, 1.05)
  753. mbarrol.MeshId,mbarrol.TextureId = 'http://www.roblox.com/asset/?id=29873142','http://www.roblox.com/asset/?id=31082268'
  754. coroutine.wrap(function()
  755. while dancing do
  756. 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)
  757. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,1.5,0) * CFrame.Angles(math.rad(180),0,math.rad(0)),.25)
  758. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,1.5,0) * CFrame.Angles(math.rad(180),0,math.rad(0)),.25)
  759. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(.5,2,0) * CFrame.Angles(0,0,0),.25)
  760. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.5,2,0) * CFrame.Angles(0,0,0),.25)
  761. swait()
  762. end
  763. ws = 14
  764. barrol:Remove()
  765. attacking = false
  766. end)()
  767. end
  768. end
  769. end)
  770.  
  771. mouse.KeyDown:connect(function(Press)
  772. Press=Press:lower()
  773. if Press=='q' then
  774. if dancing then
  775. dancing = false
  776. else
  777. dancing = true
  778. ws = 0
  779. change = .5
  780. spinningmove = 0
  781. dbwouldlovethis = Instance.new("Sound",Torso)
  782. dbwouldlovethis.SoundId = "rbxassetid://4880965453"
  783. dbwouldlovethis.Volume = 8
  784. dbwouldlovethis.Looped = true
  785. dbwouldlovethis:Play()
  786. attacking = true
  787. coroutine.wrap(function()
  788. wait(17.5)
  789. while dancing do
  790. spinningmove = spinningmove + 10
  791. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.52, 1.9, -.35) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)),.2)
  792. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.52, 1.9, .35) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)),.2)
  793. 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)
  794. 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)
  795. 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)
  796. swait()
  797. end
  798. ws = 14
  799. dbwouldlovethis:Remove()
  800. attacking = false
  801. end)()
  802. end
  803. end
  804. end)
  805.  
  806.  
  807. mouse.KeyDown:connect(function(Press)
  808. Press=Press:lower()
  809. if Press=='u' then
  810. if dancing then
  811. dancing = false
  812. else
  813. dancing = true
  814. ws = 6
  815. change = .5
  816. attacking = true
  817. slavdance = Instance.new("Sound",Torso)
  818. slavdance.SoundId = "rbxassetid://1170161310"
  819. slavdance.Volume = 6
  820. slavdance.Looped = true
  821. slavdance:Play()
  822. coroutine.wrap(function()
  823. while dancing do
  824. for i = 1, 17 do
  825. if not dancing then break end
  826. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.52, 1.5, -.5) * CFrame.Angles(math.rad(-60), math.rad(0), math.rad(0)),.2)
  827. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.52, 1.2, .55) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)),.2)
  828. 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)
  829. 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)
  830. 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)
  831. swait()
  832. end
  833. for i = 1, 17 do
  834. if not dancing then break end
  835. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.52, 1.2, .55) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)),.2)
  836. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.52, 1.5, -.5) * CFrame.Angles(math.rad(-60), math.rad(0), math.rad(0)),.2)
  837. 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)
  838. 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)
  839. 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)
  840. swait()
  841. end
  842. swait()
  843. end
  844. ws = 14
  845. slavdance:Remove()
  846. attacking = false
  847. end)()
  848. end
  849. end
  850. end)
  851.  
  852. mouse.KeyDown:connect(function(Press)
  853. Press=Press:lower()
  854. if Press=='y' then
  855. if dancing then
  856. dancing = false
  857. else
  858. dancing = true
  859. ws = 0
  860. change = .5
  861. walkforward = 0
  862. walkrotation = 0
  863. attacking = true
  864. truelegend = Instance.new("Sound",Torso)
  865. truelegend.SoundId = "rbxassetid://362846090"
  866. truelegend.TimePosition = 0
  867. truelegend.Volume = 10
  868. truelegend.Looped = true
  869. truelegend:Play()
  870. coroutine.wrap(function()
  871. while dancing do
  872. for i = 1, 100 do
  873. if not dancing then break end
  874. walkforward = walkforward + .1
  875. 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)
  876. 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)
  877. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, walkforward) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  878. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(0,0,math.rad(0)),.3)
  879. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,0,0) * CFrame.Angles(0,0,math.rad(0)),.3)
  880. swait()
  881. end
  882. for i = 1, 50 do
  883. if not dancing then break end
  884. walkrotation = walkrotation + 15
  885. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, walkforward) * CFrame.Angles(math.rad(0),math.rad(walkrotation),math.rad(-0)),.2)
  886. swait()
  887. end
  888. walkrotation = 0
  889. for i = 1, 100 do
  890. if not dancing then break end
  891. walkforward = walkforward - .1
  892. 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)
  893. 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)
  894. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, walkforward) * CFrame.Angles(math.rad(0),math.rad(-180),math.rad(-0)),.2)
  895. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,.7,.2) * CFrame.Angles(math.rad(220),math.rad(0),math.rad(-30)), 0.4)
  896. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,0,0) * CFrame.Angles(0,0,math.rad(0)),.3)
  897. swait()
  898. end
  899. for i = 1, 50 do
  900. if not dancing then break end
  901. walkrotation = walkrotation + 15
  902. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(0,0,math.rad(0)),.1)
  903. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, walkforward) * CFrame.Angles(math.rad(0),math.rad(walkrotation),math.rad(-0)),.2)
  904. swait()
  905. end
  906. walkrotation = 0
  907. swait()
  908. end
  909. ws = 14
  910. truelegend:Remove()
  911. attacking = false
  912. end)()
  913. end
  914. end
  915. end)
  916.  
  917. mouse.KeyDown:connect(function(Press)
  918. Press=Press:lower()
  919. if Press=='t' then
  920. if dancing then
  921. dancing = false
  922. else
  923. dancing = true
  924. ws = 0
  925. change = .5
  926. attacking = true
  927. plummusic = Instance.new("Sound",Torso)
  928. plummusic.Volume = 8
  929. plummusic.Looped = true
  930. plummusic.SoundId = "rbxassetid://1305251774"
  931. plummusic:Play()
  932. coroutine.wrap(function()
  933. while dancing do
  934. for i = 1, 20 do
  935. if not dancing then break end
  936. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.33, 2 , .05) * CFrame.Angles(math.rad(3), math.rad(0), math.rad(-8)), 0.2)
  937. 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)
  938. 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)
  939. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(.5,1.98,.05) * CFrame.Angles(0,0,math.rad(-140)),.2)
  940. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,1.3,.05) * CFrame.Angles(0,0,math.rad(50)),.2)
  941. swait()
  942. end
  943. for i = 1, 20 do
  944. if not dancing then break end
  945. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.33, 2, .05) * CFrame.Angles(math.rad(3), math.rad(0), math.rad(-8)), 0.2)
  946. 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)
  947. 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)
  948. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1,1.4,.05) * CFrame.Angles(0,0,math.rad(-50)),.2)
  949. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(-.6,2,.05) * CFrame.Angles(0,0,math.rad(140)),.2)
  950. swait()
  951. end
  952. swait()
  953. end
  954. ws = 14
  955. plummusic:Remove()
  956. attacking = false
  957. end)()
  958. end
  959. end
  960. end)
  961.  
  962. mouse.KeyDown:connect(function(Press)
  963. Press=Press:lower()
  964. if Press=='e' then
  965. if dancing then
  966. dancing = false
  967. else
  968. dancing = true
  969. ws = 0
  970. change = .5
  971. attacking = true
  972. mrozo = Instance.new("Sound",Torso)
  973. mrozo.Volume = 8
  974. mrozo.SoundId = "rbxassetid://335701357"
  975. mrozo.Looped = true
  976. mrozo.TimePosition = 10
  977. mrozo:Play()
  978. coroutine.wrap(function()
  979. while dancing do
  980. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 , 0) * CFrame.Angles(0, math.rad(0), math.rad(-10)), 0.1)
  981. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(0, math.rad(0), math.rad(10)), 0.1)
  982. 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)
  983. 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)
  984. 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)
  985. swait()
  986. end
  987. mrozo:Remove()
  988. ws = 14
  989. attacking = false
  990. end)()
  991. end
  992. end
  993. end)
  994.  
  995. mouse.KeyDown:connect(function(Press)
  996. Press=Press:lower()
  997. if Press=='r' then
  998. if dancing then
  999. dancing = false
  1000. else
  1001. ws = 6
  1002. recordbaby = 0
  1003. dancing = true
  1004. change = .5
  1005. attacking = true
  1006. spinme = Instance.new("Sound",Torso)
  1007. spinme.Volume = 8
  1008. spinme.SoundId = "rbxassetid://145799973"
  1009. spinme.Looped = true
  1010. spinme:Play()
  1011. coroutine.wrap(function()
  1012. while dancing do
  1013. recordbaby = recordbaby + 10
  1014. 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)
  1015. 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)
  1016. 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)
  1017. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.5,1.98,0) * CFrame.Angles(0,0,math.rad(-90)),.3)
  1018. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.5,1.98,0) * CFrame.Angles(0,0,math.rad(90)),.3)
  1019. swait()
  1020. end
  1021. spinme:Remove()
  1022. ws = 14
  1023. attacking = false
  1024. end)()
  1025. end
  1026. end
  1027. end)
  1028.  
  1029. function ray(pos, dir, rang, ignoredesc)
  1030. return workspace:FindPartOnRay(Ray.new(pos, dir.unit * rang), ignoredesc)
  1031. end
  1032.  
  1033. function ray2(startpos, endpos, distance, ignore)
  1034. local dir = CFrame.new(startpos,endpos).lookVector
  1035. return ray(startpos, dir, distance, ignore)
  1036. end
  1037.  
  1038. checks1 = coroutine.wrap(function() -------Checks
  1039. while true do
  1040. hf = ray(Root.Position,(CFrame.new(Root.Position,Root.Position+Vector3.new(0,-1,0))).lookVector,3*3,Character)
  1041. if Root.Velocity.y > 1 then
  1042. position = "Jump"
  1043. elseif Root.Velocity.y < -1 then
  1044. position = "Falling"
  1045. elseif Root.Velocity.Magnitude < 2 then
  1046. position = "Idle"
  1047. elseif Root.Velocity.Magnitude > 2 then
  1048. position = "Walking"
  1049. elseif Root.Velocity.Magnitude > 20 then
  1050. position = "Running"
  1051. else
  1052. end
  1053. wait()
  1054. end
  1055. end)
  1056. checks1()
  1057.  
  1058. function ray(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1059. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1060. end
  1061.  
  1062. function ray2(StartPos, EndPos, Distance, Ignore)
  1063. local DIRECTION = CFrame.new(StartPos,EndPos).lookVector
  1064. return ray(StartPos, DIRECTION, Distance, Ignore)
  1065. end
  1066.  
  1067. OrgnC0 = Neck.C0
  1068. local movelimbs = coroutine.wrap(function()
  1069. while RunSrv.RenderStepped:wait() do
  1070. TrsoLV = Torso.CFrame.lookVector
  1071. Dist = nil
  1072. Diff = nil
  1073. if not MseGuide then
  1074. print("Failed to recognize")
  1075. else
  1076. local _, Point = Workspace:FindPartOnRay(Ray.new(Head.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
  1077. Dist = (Head.CFrame.p-Point).magnitude
  1078. Diff = Head.CFrame.Y-Point.Y
  1079. local _, Point2 = Workspace:FindPartOnRay(Ray.new(LeftArm.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
  1080. Dist2 = (LeftArm.CFrame.p-Point).magnitude
  1081. Diff2 = LeftArm.CFrame.Y-Point.Y
  1082. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1083. 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)
  1084. end
  1085. end
  1086. end)
  1087. movelimbs()
  1088. immortal = {}
  1089. for i,v in pairs(Character:GetDescendants()) do
  1090. if v:IsA("BasePart") and v.Name ~= "lmagic" and v.Name ~= "rmagic" then
  1091. 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
  1092. v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1093. end
  1094. table.insert(immortal,{v,v.Parent,v.Material,v.Color,v.Transparency})
  1095. elseif v:IsA("JointInstance") then
  1096. table.insert(immortal,{v,v.Parent,nil,nil,nil})
  1097. end
  1098. end
  1099. for e = 1, #immortal do
  1100. if immortal[e] ~= nil then
  1101. local STUFF = immortal[e]
  1102. local PART = STUFF[1]
  1103. local PARENT = STUFF[2]
  1104. local MATERIAL = STUFF[3]
  1105. local COLOR = STUFF[4]
  1106. local TRANSPARENCY = STUFF[5]
  1107. if levitate then
  1108. if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= eyo1 and PART.Name ~= eyo2 and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
  1109. PART.Material = MATERIAL
  1110. PART.Color = COLOR
  1111. PART.Transparency = TRANSPARENCY
  1112. end
  1113. PART.AncestryChanged:connect(function()
  1114. PART.Parent = PARENT
  1115. end)
  1116. else
  1117. if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
  1118. PART.Material = MATERIAL
  1119. PART.Color = COLOR
  1120. PART.Transparency = TRANSPARENCY
  1121. end
  1122. PART.AncestryChanged:connect(function()
  1123. PART.Parent = PARENT
  1124. end)
  1125. end
  1126. end
  1127. end
  1128. function immortality()
  1129. for e = 1, #immortal do
  1130. if immortal[e] ~= nil then
  1131. local STUFF = immortal[e]
  1132. local PART = STUFF[1]
  1133. local PARENT = STUFF[2]
  1134. local MATERIAL = STUFF[3]
  1135. local COLOR = STUFF[4]
  1136. local TRANSPARENCY = STUFF[5]
  1137. if PART.ClassName == "Part" and PART == Root then
  1138. PART.Material = MATERIAL
  1139. PART.Color = COLOR
  1140. PART.Transparency = TRANSPARENCY
  1141. end
  1142. if PART.Parent ~= PARENT then
  1143. hum:Remove()
  1144. PART.Parent = PARENT
  1145. hum = Instance.new("Humanoid",Character)
  1146. hum.Name = "noneofurbusiness"
  1147. end
  1148. end
  1149. end
  1150. end
  1151. coroutine.wrap(function()
  1152. while true do
  1153. if hum.Health < .1 then
  1154. deadsound = Instance.new("Sound", Torso)
  1155. deadsound.Volume = 6
  1156. deadsound.SoundId = "rbxassetid://1411352723"
  1157. deadsound:Play()
  1158. immortality()
  1159. end
  1160. wait()
  1161. end
  1162. end)()
  1163.  
  1164. local anims = coroutine.wrap(function()
  1165. while true do
  1166. settime = 0.05
  1167. sine = sine + change
  1168. if position == "Jump" and attacking == false then
  1169. change = 1
  1170. spin = false
  1171. for i,v in pairs(Torso:GetChildren()) do if v:IsA("Sound") then v:Remove() end end
  1172. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  1173. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  1174. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  1175. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  1176. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(-3),math.rad(-4)), 0.2)
  1177. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.2)
  1178. 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)
  1179. elseif position == "Falling" and attacking == false then
  1180. change = 1
  1181. spin = false
  1182. for i,v in pairs(Torso:GetChildren()) do if v:IsA("Sound") then v:Remove() end end
  1183. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.15)
  1184. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  1185. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  1186. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  1187. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2)
  1188. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(-4), math.rad(0)), 0.2)
  1189. 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)
  1190. 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)
  1191. elseif position == "Walking" and attacking == false and running == false then
  1192. change = 1.2
  1193. walking = true
  1194. spin = false
  1195. for i,v in pairs(Torso:GetChildren()) do if v:IsA("Sound") then v:Remove() end end
  1196. 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)
  1197. 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)
  1198. 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)
  1199. 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)
  1200. 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)
  1201. elseif position == "Idle" and attacking == false and running == false then
  1202. change = .5
  1203. spin = true
  1204. for i,v in pairs(Torso:GetChildren()) do if v:IsA("Sound") then v:Remove() end end
  1205. 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)
  1206. 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)
  1207. 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)
  1208. 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)
  1209. 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)
  1210. elseif position == "Running" and attacking == false then
  1211. change = 1
  1212. for i,v in pairs(Torso:GetChildren()) do if v:IsA("Sound") then v:Remove() end end
  1213. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(0, .5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.3)
  1214. 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)
  1215. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1216. 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)
  1217. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*-math.sin(sine/4)),.3)
  1218. 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)
  1219. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*math.sin(sine/4)),.3)
  1220. 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)
  1221. end
  1222. swait()
  1223. end
  1224. end)
  1225. anims()
  1226. 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