Advertisement
Guest User

Guest Dance

a guest
Nov 19th, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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://236146895"
  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=46834172','http://www.roblox.com/asset/?id=47991609'
  294.  
  295. or i,v in pairs(Character:GetChildren()) do
  296. if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "Hat" or v.ClassName == "CharacterMesh" or v.ClassName == "Shirt Graphic" then
  297. v:Remove()
  298. end
  299. end
  300.  
  301. coroutine.wrap(function()
  302. while wait() do
  303. Head.face.Texture = "rbxasset://textures/face.png"
  304. hum.WalkSpeed = ws
  305. LeftArm.BrickColor = BrickColor.new("Black")
  306. RightArm.BrickColor = BrickColor.new("Black")
  307. Head.BrickColor = BrickColor.new("White")
  308. Torso.BrickColor = BrickColor.new("Dark stone grey")
  309. LeftLeg.BrickColor = BrickColor.new("Black")
  310. RightLeg.BrickColor = BrickColor.new("Black")
  311. end
  312. end)()
  313. godmode = coroutine.wrap(function()
  314. for i,v in pairs(Character:GetChildren()) do
  315. if v:IsA("BasePart") and v ~= Root then
  316. v.Anchored = false
  317. end
  318. end
  319. while true do
  320. hum.MaxHealth = math.huge
  321. wait(0.0000001)
  322. hum.Health = math.huge
  323. wait()
  324. end
  325. end)
  326. godmode()
  327. ff = Instance.new("ForceField", Character)
  328. ff.Visible = false
  329.  
  330. coroutine.wrap(function()
  331. for i,v in pairs(Character:GetChildren()) do
  332. if v.Name == "Animate" then v:Remove()
  333. end
  334. end
  335. end)()
  336.  
  337. function damagealll(Radius,Position)
  338. local Returning = {}
  339. for _,v in pairs(workspace:GetChildren()) do
  340. if v~=Character and v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Torso') or v:FindFirstChild('UpperTorso') then
  341. if v:FindFirstChild("Torso") then
  342. local Mag = (v.Torso.Position - Position).magnitude
  343. if Mag < Radius then
  344. table.insert(Returning,v)
  345. end
  346. elseif v:FindFirstChild("UpperTorso") then
  347. local Mag = (v.UpperTorso.Position - Position).magnitude
  348. if Mag < Radius then
  349. table.insert(Returning,v)
  350. end
  351. end
  352. end
  353. end
  354. return Returning
  355. end
  356.  
  357. ArtificialHB = Instance.new("BindableEvent", script)
  358. ArtificialHB.Name = "Heartbeat"
  359. script:WaitForChild("Heartbeat")
  360.  
  361. frame = 1 / 60
  362. tf = 0
  363. allowframeloss = false
  364. tossremainder = false
  365.  
  366.  
  367. lastframe = tick()
  368. script.Heartbeat:Fire()
  369.  
  370.  
  371. game:GetService("RunService").Heartbeat:connect(function(s, p)
  372. tf = tf + s
  373. if tf >= frame then
  374. if allowframeloss then
  375. script.Heartbeat:Fire()
  376. lastframe = tick()
  377. else
  378. for i = 1, math.floor(tf / frame) do
  379. script.Heartbeat:Fire()
  380. end
  381. lastframe = tick()
  382. end
  383. if tossremainder then
  384. tf = 0
  385. else
  386. tf = tf - frame * math.floor(tf / frame)
  387. end
  388. end
  389. end)
  390.  
  391. function swait(num)
  392. if num == 0 or num == nil then
  393. game:service("RunService").Stepped:wait(0)
  394. else
  395. for i = 0, num do
  396. game:service("RunService").Stepped:wait(0)
  397. end
  398. end
  399. end
  400.  
  401. for _,n in pairs(Character:GetChildren()) do
  402. if n:IsA("Accessory") then n:Remove() end
  403. end
  404. for _,x in pairs(Character:GetChildren()) do
  405. if x:IsA("Decal") then x:Remove() end
  406. end
  407.  
  408. intro = true
  409. ws = 0
  410.  
  411. bigfedora = Instance.new("Part",Character)
  412. bigfedora.Size = Vector3.new(2,2,2)
  413. 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)
  414. bigfedora.CanCollide = false
  415. bigfedora.Anchored = true
  416. bigfedora.Name = "mbigf"
  417. mbigfedora = Instance.new("SpecialMesh", bigfedora)
  418. mbigfedora.MeshType = "FileMesh"
  419. mbigfedora.Scale = Vector3.new(6, 7, 7)
  420. mbigfedora.MeshId,mbigfedora.TextureId = 'http://www.roblox.com/asset/?id=13640868','http://www.roblox.com/asset/?id=18987684'
  421. for i,v in pairs(Character:GetDescendants()) do
  422. if v:IsA("Part") and v.Name ~= "mbigf" then v.Transparency = 1
  423. end
  424. end
  425. for i = 1, 60 do
  426. 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)
  427. swait()
  428. end
  429. wait(.25)
  430. for i,v in pairs(Character:GetDescendants()) do
  431. if v:IsA("Part") and v.Name ~= "mbigf" and v.Name ~= "HumanoidRootPart" then v.Transparency = 0
  432. end
  433. end
  434. for i = 1, 50 do
  435. bigfedora.CFrame = bigfedora.CFrame:lerp(CFrame.new(fedora.Position),.05)
  436. swait()
  437. end
  438. zmc = 0
  439. for i = 1, 29 do
  440. zmc = zmc + 2
  441. mbigfedora.Scale = mbigfedora.Scale - Vector3.new(.25,.25,.25)
  442. bigfedora.CFrame = bigfedora.CFrame * CFrame.Angles(math.rad(0),math.rad(zmc),0)
  443. swait()
  444. end
  445. bigfedora:Remove()
  446.  
  447. ws = 14
  448.  
  449. function SOUND(PARENT,ID,VOL,LOOP,REMOVE)
  450. so = Instance.new("Sound")
  451. so.Parent = PARENT
  452. so.SoundId = "rbxassetid://"..ID
  453. so.Volume = VOL
  454. so.Looped = LOOP
  455.  
  456. so:Play()
  457. removeuseless:AddItem(so,REMOVE)
  458. end
  459.  
  460. mouse.KeyDown:connect(function(Press)
  461. Press=Press:lower()
  462. if Press=='k' then
  463. if dancing then
  464. dancing = false
  465. else
  466. dancing = true
  467. ws = 0
  468. change = .5
  469. attacking = true
  470. jam = Instance.new("Sound",Torso)
  471. jam.SoundId = "rbxassetid://585799776"
  472. jam.Volume = 8
  473. jam.Looped = true
  474. jam.TimePosition = 22.3
  475. jam:Play()
  476. lol90 = 0
  477. coroutine.wrap(function()
  478. while dancing do
  479. lol90 = lol90 + 11
  480. 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)
  481. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0 * math.sin(sine/14),0,0) * CFrame.Angles(math.rad(0),math.rad(lol90),0),.25)
  482. 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)
  483. 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)
  484. 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)
  485. 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)
  486. swait()
  487. end
  488. ws = 14
  489. jam:Remove()
  490. ROOTLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  491. attacking = false
  492. end)()
  493. end
  494. end
  495. end)
  496.  
  497. mouse.KeyDown:connect(function(Press)
  498. Press=Press:lower()
  499. if Press=='j' then
  500. if dancing then
  501. dancing = false
  502. else
  503. dancing = true
  504. ws = 3
  505. change = .5
  506. attacking = true
  507. g1 = Instance.new("BodyGyro", Root)
  508. g1.D = 175
  509. g1.P = 20000
  510. g1.MaxTorque = Vector3.new(0,9000,0)
  511. herecomesthemoney = Instance.new("Sound",Torso)
  512. herecomesthemoney.Pitch = 1
  513. herecomesthemoney.SoundId = "rbxassetid://2426693638"
  514. herecomesthemoney.Volume = 8
  515. herecomesthemoney.Looped = true
  516. herecomesthemoney:Play()
  517. robuxpile = Instance.new("Part",Torso)
  518. robuxpile.Size = Vector3.new(1,1,1)
  519. robuxpile.CFrame = LeftArm.CFrame
  520. robuxpile.CanCollide = false
  521. robuxpileweld = Instance.new("Weld",robuxpile)
  522. robuxpileweld.Part0 = robuxpile
  523. robuxpileweld.Part1 = Torso
  524. robuxpileweld.C0 = robuxpile.CFrame:inverse() * LeftArm.CFrame * CFrame.new(1,-.7,1.4)
  525. mrobuxpile = Instance.new("SpecialMesh", robuxpile)
  526. mrobuxpile.MeshType = "FileMesh"
  527. mrobuxpile.Scale = Vector3.new(0.85, .85, .85)
  528. mrobuxpile.MeshId,mrobuxpile.TextureId = 'http://www.roblox.com/asset/?id=1285245','http://www.roblox.com/asset/?id=8587344'
  529. coroutine.wrap(function()
  530. coroutine.wrap(function()
  531. while wait(.35) do
  532. if not dancing then break end
  533. local robux = Instance.new("Part",Torso)
  534. robux.CFrame = robuxpile.CFrame * CFrame.Angles(math.rad(0),math.rad(90),math.rad(90))
  535. robux.Anchored = false
  536. robux.CanCollide = true
  537. robux.Size = Vector3.new(1,1,1)
  538. removeuseless:AddItem(robux,4)
  539. mrobux = Instance.new("SpecialMesh", robux)
  540. mrobux.MeshType = "FileMesh"
  541. mrobux.Scale = Vector3.new(1.25, 1.25, 1.25)
  542. mrobux.MeshId,mrobux.TextureId = 'http://www.roblox.com/asset/?id=667285348','http://www.roblox.com/asset/?id=665939136'
  543. bov = Instance.new("BodyVelocity",robux)
  544. bov.maxForce = Vector3.new(99999,99999,99999)
  545. robux.CFrame = CFrame.new(robux.Position,mouse.Hit.p)
  546. bov.velocity = robux.CFrame.lookVector*45
  547. removeuseless:AddItem(bov,.1)
  548. end
  549. end)()
  550. while dancing do
  551. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4)
  552. 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)
  553. 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)
  554. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1,.5,.5) * CFrame.Angles(math.rad(-87),math.rad(-20),math.rad(0)), 0.25)
  555. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 , .5) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-10)), 0.25)
  556. 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)
  557. swait()
  558. end
  559. ws = 14
  560. removeuseless:AddItem(g1,.001)
  561. robuxpile:Remove()
  562. attacking = false
  563. end)()
  564. end
  565. end
  566. end)
  567.  
  568. mouse.KeyDown:connect(function(Press)
  569. Press=Press:lower()
  570. if Press=='h' then
  571. if dancing then
  572. dancing = false
  573. else
  574. dancing = true
  575. ws = 0
  576. change = .5
  577. attacking = true
  578. jellyfishjam = Instance.new("Sound",Torso)
  579. jellyfishjam.SoundId = "rbxassetid://2694148776"
  580. jellyfishjam.Volume = 8
  581. jellyfishjam.Looped = true
  582. jellyfishjam.TimePosition = 14.8
  583. jellyfishjam:Play()
  584. coroutine.wrap(function()
  585. while dancing do
  586. for i = 1, 15 do
  587. if not dancing then break end
  588. 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)
  589. 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)
  590. 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)
  591. 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)
  592. 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)
  593. swait()
  594. end
  595. for i = 1, 15 do
  596. if not dancing then break end
  597. 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)
  598. 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)
  599. 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)
  600. 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)
  601. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(0, math.rad(0), math.rad(10)), 0.25)
  602. swait()
  603. end
  604. for i = 1, 15 do
  605. if not dancing then break end
  606. 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)
  607. 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)
  608. 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)
  609. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 , 0) * CFrame.Angles(0, math.rad(0), math.rad(-10)), 0.25)
  610. 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)
  611. swait()
  612. end
  613. for i = 1, 15 do
  614. if not dancing then break end
  615. 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)
  616. 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)
  617. 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)
  618. 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)
  619. 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)
  620. swait()
  621. end
  622. swait()
  623. end
  624. ws = 14
  625. attacking = false
  626. end)()
  627. end
  628. end
  629. end)
  630.  
  631. mouse.KeyDown:connect(function(Press)
  632. Press=Press:lower()
  633. if Press=='g' then
  634. if dancing then
  635. dancing = false
  636. else
  637. dancing = true
  638. ws = 0
  639. change = .5
  640. attacking = true
  641. deadmau7 = Instance.new("Sound",Torso)
  642. deadmau7.SoundId = "rbxassetid://3225507391"
  643. deadmau7.Volume = 8
  644. deadmau7.Looped = true
  645. deadmau7:Play()
  646. coroutine.wrap(function()
  647. coroutine.wrap(function()
  648. while dancing do
  649. 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)
  650. swait()
  651. end
  652. end)()
  653. while dancing do
  654. for i = 1, 28 do
  655. if not dancing then break end
  656. 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)
  657. 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)
  658. 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)
  659. 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)
  660. swait()
  661. end
  662. for i = 1, 28 do
  663. if not dancing then break end
  664. 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)
  665. 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)
  666. 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)
  667. 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)
  668. swait()
  669. end
  670. swait()
  671. end
  672. ws = 14
  673. deadmau7:Remove()
  674. attacking = false
  675. end)()
  676. end
  677. end
  678. end)
  679.  
  680. mouse.KeyDown:connect(function(Press)
  681. Press=Press:lower()
  682. if Press=='f' then
  683. if dancing then
  684. dancing = false
  685. else
  686. dancing = true
  687. ws = 6
  688. change = .5
  689. attacking = true
  690. bennyhill = Instance.new("Sound",Torso)
  691. bennyhill.SoundId = "rbxassetid://2849628381"
  692. bennyhill.Volume = 8
  693. bennyhill.Looped = true
  694. bennyhill:Play()
  695. coroutine.wrap(function()
  696. while dancing do
  697. 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)
  698. 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)
  699. 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)
  700. 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)
  701. 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)
  702. swait()
  703. end
  704. ws = 14
  705. bennyhill:Remove()
  706. attacking = false
  707. end)()
  708. end
  709. end
  710. end)
  711.  
  712. mouse.KeyDown:connect(function(Press)
  713. Press=Press:lower()
  714. if Press=='p' then
  715. if dancing then
  716. dancing = false
  717. else
  718. dancing = true
  719. ws = 0
  720. change = .5
  721. attacking = true
  722. barrelspin = 0
  723. barrelrollsound = Instance.new("Sound",Torso)
  724. barrelrollsound.SoundId = "rbxassetid://505320170"
  725. barrelrollsound.Volume = 8
  726. barrelrollsound.Looped = true
  727. barrelrollsound:Play()
  728. barrol = Instance.new("Part",Torso)
  729. barrol.Size = Vector3.new(1,1,1)
  730. barrol.CFrame = Torso.CFrame
  731. barrol.CanCollide = false
  732. barrolweld = Instance.new("Weld",barrol)
  733. barrolweld.Part0 = barrol
  734. barrolweld.Part1 = Torso
  735. barrolweld.C0 = barrol.CFrame:inverse() * Torso.CFrame * CFrame.new(0,0,0)
  736. mbarrol = Instance.new("SpecialMesh", barrol)
  737. mbarrol.MeshType = "FileMesh"
  738. mbarrol.Scale = Vector3.new(1.05, .95, 1.05)
  739. mbarrol.MeshId,mbarrol.TextureId = 'http://www.roblox.com/asset/?id=29873142','http://www.roblox.com/asset/?id=31082268'
  740. coroutine.wrap(function()
  741. while dancing do
  742. 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)
  743. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,1.5,0) * CFrame.Angles(math.rad(180),0,math.rad(0)),.25)
  744. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,1.5,0) * CFrame.Angles(math.rad(180),0,math.rad(0)),.25)
  745. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(.5,2,0) * CFrame.Angles(0,0,0),.25)
  746. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.5,2,0) * CFrame.Angles(0,0,0),.25)
  747. swait()
  748. end
  749. ws = 14
  750. barrol:Remove()
  751. attacking = false
  752. end)()
  753. end
  754. end
  755. end)
  756.  
  757. mouse.KeyDown:connect(function(Press)
  758. Press=Press:lower()
  759. if Press=='q' then
  760. if dancing then
  761. dancing = false
  762. else
  763. dancing = true
  764. ws = 0
  765. change = .5
  766. spinningmove = 0
  767. dbwouldlovethis = Instance.new("Sound",Torso)
  768. dbwouldlovethis.SoundId = "rbxassetid://2849628381"
  769. dbwouldlovethis.Volume = 8
  770. dbwouldlovethis.Looped = true
  771. dbwouldlovethis:Play()
  772. attacking = true
  773. coroutine.wrap(function()
  774. while dancing do
  775. spinningmove = spinningmove + 10
  776. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.52, 1.9, -.35) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)),.2)
  777. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.52, 1.9, .35) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)),.2)
  778. 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)
  779. 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)
  780. 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)
  781. swait()
  782. end
  783. ws = 14
  784. dbwouldlovethis:Remove()
  785. attacking = false
  786. end)()
  787. end
  788. end
  789. end)
  790.  
  791.  
  792. mouse.KeyDown:connect(function(Press)
  793. Press=Press:lower()
  794. if Press=='u' then
  795. if dancing then
  796. dancing = false
  797. else
  798. dancing = true
  799. ws = 6
  800. change = .5
  801. attacking = true
  802. slavdance = Instance.new("Sound",Torso)
  803. slavdance.SoundId = "rbxassetid://2341226836"
  804. slavdance.Volume = 6
  805. slavdance.Looped = true
  806. slavdance:Play()
  807. coroutine.wrap(function()
  808. while dancing do
  809. for i = 1, 17 do
  810. if not dancing then break end
  811. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.52, 1.5, -.5) * CFrame.Angles(math.rad(-60), math.rad(0), math.rad(0)),.2)
  812. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.52, 1.2, .55) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)),.2)
  813. 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)
  814. 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)
  815. 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)
  816. swait()
  817. end
  818. for i = 1, 17 do
  819. if not dancing then break end
  820. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.52, 1.2, .55) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)),.2)
  821. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.52, 1.5, -.5) * CFrame.Angles(math.rad(-60), math.rad(0), math.rad(0)),.2)
  822. 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)
  823. 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)
  824. 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)
  825. swait()
  826. end
  827. swait()
  828. end
  829. ws = 14
  830. slavdance:Remove()
  831. attacking = false
  832. end)()
  833. end
  834. end
  835. end)
  836.  
  837. mouse.KeyDown:connect(function(Press)
  838. Press=Press:lower()
  839. if Press=='y' then
  840. if dancing then
  841. dancing = false
  842. else
  843. dancing = true
  844. ws = 0
  845. change = .5
  846. walkforward = 0
  847. walkrotation = 0
  848. attacking = true
  849. truelegend = Instance.new("Sound",Torso)
  850. truelegend.SoundId = "rbxassetid://487872908"
  851. truelegend.TimePosition = 13.98
  852. truelegend.Volume = 8
  853. truelegend.Looped = true
  854. truelegend:Play()
  855. coroutine.wrap(function()
  856. while dancing do
  857. for i = 1, 100 do
  858. if not dancing then break end
  859. walkforward = walkforward + .1
  860. 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)
  861. 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)
  862. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, walkforward) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  863. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(0,0,math.rad(0)),.3)
  864. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,0,0) * CFrame.Angles(0,0,math.rad(0)),.3)
  865. swait()
  866. end
  867. for i = 1, 50 do
  868. if not dancing then break end
  869. walkrotation = walkrotation + 15
  870. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, walkforward) * CFrame.Angles(math.rad(0),math.rad(walkrotation),math.rad(-0)),.2)
  871. swait()
  872. end
  873. walkrotation = 0
  874. for i = 1, 100 do
  875. if not dancing then break end
  876. walkforward = walkforward - .1
  877. 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)
  878. 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)
  879. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, walkforward) * CFrame.Angles(math.rad(0),math.rad(-180),math.rad(-0)),.2)
  880. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,.7,.2) * CFrame.Angles(math.rad(220),math.rad(0),math.rad(-30)), 0.4)
  881. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,0,0) * CFrame.Angles(0,0,math.rad(0)),.3)
  882. swait()
  883. end
  884. for i = 1, 50 do
  885. if not dancing then break end
  886. walkrotation = walkrotation + 15
  887. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(0,0,math.rad(0)),.1)
  888. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, walkforward) * CFrame.Angles(math.rad(0),math.rad(walkrotation),math.rad(-0)),.2)
  889. swait()
  890. end
  891. walkrotation = 0
  892. swait()
  893. end
  894. ws = 14
  895. truelegend:Remove()
  896. attacking = false
  897. end)()
  898. end
  899. end
  900. end)
  901.  
  902. mouse.KeyDown:connect(function(Press)
  903. Press=Press:lower()
  904. if Press=='t' then
  905. if dancing then
  906. dancing = false
  907. else
  908. dancing = true
  909. ws = 0
  910. change = .5
  911. attacking = true
  912. plummusic = Instance.new("Sound",Torso)
  913. plummusic.Volume = 8
  914. plummusic.Looped = true
  915. plummusic.SoundId = "rbxassetid://2526093213"
  916. plummusic:Play()
  917. coroutine.wrap(function()
  918. while dancing do
  919. for i = 1, 20 do
  920. if not dancing then break end
  921. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.33, 2 , .05) * CFrame.Angles(math.rad(3), math.rad(0), math.rad(-8)), 0.2)
  922. 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)
  923. 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)
  924. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(.5,1.98,.05) * CFrame.Angles(0,0,math.rad(-140)),.2)
  925. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,1.3,.05) * CFrame.Angles(0,0,math.rad(50)),.2)
  926. swait()
  927. end
  928. for i = 1, 20 do
  929. if not dancing then break end
  930. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.33, 2, .05) * CFrame.Angles(math.rad(3), math.rad(0), math.rad(-8)), 0.2)
  931. 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)
  932. 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)
  933. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1,1.4,.05) * CFrame.Angles(0,0,math.rad(-50)),.2)
  934. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(-.6,2,.05) * CFrame.Angles(0,0,math.rad(140)),.2)
  935. swait()
  936. end
  937. swait()
  938. end
  939. ws = 14
  940. plummusic:Remove()
  941. attacking = false
  942. end)()
  943. end
  944. end
  945. end)
  946.  
  947. mouse.KeyDown:connect(function(Press)
  948. Press=Press:lower()
  949. if Press=='e' then
  950. if dancing then
  951. dancing = false
  952. else
  953. dancing = true
  954. ws = 0
  955. change = .5
  956. attacking = true
  957. mrozo = Instance.new("Sound",Torso)
  958. mrozo.Volume = 8
  959. mrozo.SoundId = "rbxassetid://335701357"
  960. mrozo.Looped = true
  961. mrozo.TimePosition = 10
  962. mrozo:Play()
  963. coroutine.wrap(function()
  964. while dancing do
  965. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 , 0) * CFrame.Angles(0, math.rad(0), math.rad(-10)), 0.1)
  966. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(0, math.rad(0), math.rad(10)), 0.1)
  967. 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)
  968. 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)
  969. 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)
  970. swait()
  971. end
  972. mrozo:Remove()
  973. ws = 14
  974. attacking = false
  975. end)()
  976. end
  977. end
  978. end)
  979.  
  980. mouse.KeyDown:connect(function(Press)
  981. Press=Press:lower()
  982. if Press=='r' then
  983. if dancing then
  984. dancing = false
  985. else
  986. ws = 6
  987. recordbaby = 0
  988. dancing = true
  989. change = .5
  990. attacking = true
  991. spinme = Instance.new("Sound",Torso)
  992. spinme.Volume = 8
  993. spinme.SoundId = "rbxassetid://145799973"
  994. spinme.Looped = true
  995. spinme:Play()
  996. coroutine.wrap(function()
  997. while dancing do
  998. recordbaby = recordbaby + 10
  999. 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)
  1000. 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)
  1001. 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)
  1002. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.5,1.98,0) * CFrame.Angles(0,0,math.rad(-90)),.3)
  1003. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.5,1.98,0) * CFrame.Angles(0,0,math.rad(90)),.3)
  1004. swait()
  1005. end
  1006. spinme:Remove()
  1007. ws = 14
  1008. attacking = false
  1009. end)()
  1010. end
  1011. end
  1012. end)
  1013.  
  1014. function ray(pos, dir, rang, ignoredesc)
  1015. return workspace:FindPartOnRay(Ray.new(pos, dir.unit * rang), ignoredesc)
  1016. end
  1017.  
  1018. function ray2(startpos, endpos, distance, ignore)
  1019. local dir = CFrame.new(startpos,endpos).lookVector
  1020. return ray(startpos, dir, distance, ignore)
  1021. end
  1022.  
  1023. checks1 = coroutine.wrap(function() -------Checks
  1024. while true do
  1025. hf = ray(Root.Position,(CFrame.new(Root.Position,Root.Position+Vector3.new(0,-1,0))).lookVector,3*3,Character)
  1026. if Root.Velocity.y > 1 then
  1027. position = "Jump"
  1028. elseif Root.Velocity.y < -1 then
  1029. position = "Falling"
  1030. elseif Root.Velocity.Magnitude < 2 then
  1031. position = "Idle"
  1032. elseif Root.Velocity.Magnitude > 2 then
  1033. position = "Walking"
  1034. elseif Root.Velocity.Magnitude > 20 then
  1035. position = "Running"
  1036. else
  1037. end
  1038. wait()
  1039. end
  1040. end)
  1041. checks1()
  1042.  
  1043. function ray(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1044. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1045. end
  1046.  
  1047. function ray2(StartPos, EndPos, Distance, Ignore)
  1048. local DIRECTION = CFrame.new(StartPos,EndPos).lookVector
  1049. return ray(StartPos, DIRECTION, Distance, Ignore)
  1050. end
  1051.  
  1052. OrgnC0 = Neck.C0
  1053. local movelimbs = coroutine.wrap(function()
  1054. while RunSrv.RenderStepped:wait() do
  1055. TrsoLV = Torso.CFrame.lookVector
  1056. Dist = nil
  1057. Diff = nil
  1058. if not MseGuide then
  1059. print("Failed to recognize")
  1060. else
  1061. local _, Point = Workspace:FindPartOnRay(Ray.new(Head.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
  1062. Dist = (Head.CFrame.p-Point).magnitude
  1063. Diff = Head.CFrame.Y-Point.Y
  1064. local _, Point2 = Workspace:FindPartOnRay(Ray.new(LeftArm.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
  1065. Dist2 = (LeftArm.CFrame.p-Point).magnitude
  1066. Diff2 = LeftArm.CFrame.Y-Point.Y
  1067. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1068. 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)
  1069. end
  1070. end
  1071. end)
  1072. movelimbs()
  1073. immortal = {}
  1074. for i,v in pairs(Character:GetDescendants()) do
  1075. if v:IsA("BasePart") and v.Name ~= "lmagic" and v.Name ~= "rmagic" then
  1076. 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
  1077. v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1078. end
  1079. table.insert(immortal,{v,v.Parent,v.Material,v.Color,v.Transparency})
  1080. elseif v:IsA("JointInstance") then
  1081. table.insert(immortal,{v,v.Parent,nil,nil,nil})
  1082. end
  1083. end
  1084. for e = 1, #immortal do
  1085. if immortal[e] ~= nil then
  1086. local STUFF = immortal[e]
  1087. local PART = STUFF[1]
  1088. local PARENT = STUFF[2]
  1089. local MATERIAL = STUFF[3]
  1090. local COLOR = STUFF[4]
  1091. local TRANSPARENCY = STUFF[5]
  1092. if levitate then
  1093. if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= eyo1 and PART.Name ~= eyo2 and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
  1094. PART.Material = MATERIAL
  1095. PART.Color = COLOR
  1096. PART.Transparency = TRANSPARENCY
  1097. end
  1098. PART.AncestryChanged:connect(function()
  1099. PART.Parent = PARENT
  1100. end)
  1101. else
  1102. if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
  1103. PART.Material = MATERIAL
  1104. PART.Color = COLOR
  1105. PART.Transparency = TRANSPARENCY
  1106. end
  1107. PART.AncestryChanged:connect(function()
  1108. PART.Parent = PARENT
  1109. end)
  1110. end
  1111. end
  1112. end
  1113. function immortality()
  1114. for e = 1, #immortal do
  1115. if immortal[e] ~= nil then
  1116. local STUFF = immortal[e]
  1117. local PART = STUFF[1]
  1118. local PARENT = STUFF[2]
  1119. local MATERIAL = STUFF[3]
  1120. local COLOR = STUFF[4]
  1121. local TRANSPARENCY = STUFF[5]
  1122. if PART.ClassName == "Part" and PART == Root then
  1123. PART.Material = MATERIAL
  1124. PART.Color = COLOR
  1125. PART.Transparency = TRANSPARENCY
  1126. end
  1127. if PART.Parent ~= PARENT then
  1128. hum:Remove()
  1129. PART.Parent = PARENT
  1130. hum = Instance.new("Humanoid",Character)
  1131. hum.Name = "noneofurbusiness"
  1132. end
  1133. end
  1134. end
  1135. end
  1136. coroutine.wrap(function()
  1137. while true do
  1138. if hum.Health < .1 then
  1139. deadsound = Instance.new("Sound", Torso)
  1140. deadsound.Volume = 6
  1141. deadsound.SoundId = "rbxassetid://1411352723"
  1142. deadsound:Play()
  1143. immortality()
  1144. end
  1145. wait()
  1146. end
  1147. end)()
  1148.  
  1149. local anims = coroutine.wrap(function()
  1150. while true do
  1151. settime = 0.05
  1152. sine = sine + change
  1153. if position == "Jump" and attacking == false then
  1154. change = 1
  1155. spin = false
  1156. for i,v in pairs(Torso:GetChildren()) do if v:IsA("Sound") then v:Remove() end end
  1157. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  1158. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  1159. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  1160. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  1161. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(-3),math.rad(-4)), 0.2)
  1162. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.2)
  1163. 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)
  1164. elseif position == "Falling" and attacking == false then
  1165. change = 1
  1166. spin = false
  1167. for i,v in pairs(Torso:GetChildren()) do if v:IsA("Sound") then v:Remove() end end
  1168. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.15)
  1169. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  1170. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  1171. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  1172. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2)
  1173. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(-4), math.rad(0)), 0.2)
  1174. 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)
  1175. 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)
  1176. elseif position == "Walking" and attacking == false and running == false then
  1177. change = 1.2
  1178. walking = true
  1179. spin = false
  1180. for i,v in pairs(Torso:GetChildren()) do if v:IsA("Sound") then v:Remove() end end
  1181. 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)
  1182. 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)
  1183. 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)
  1184. 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)
  1185. 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)
  1186. elseif position == "Idle" and attacking == false and running == false then
  1187. change = .5
  1188. spin = true
  1189. for i,v in pairs(Torso:GetChildren()) do if v:IsA("Sound") then v:Remove() end end
  1190. 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)
  1191. 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)
  1192. 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)
  1193. 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)
  1194. 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)
  1195. elseif position == "Running" and attacking == false then
  1196. change = 1
  1197. for i,v in pairs(Torso:GetChildren()) do if v:IsA("Sound") then v:Remove() end end
  1198. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(0, .5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.3)
  1199. 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)
  1200. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1201. 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)
  1202. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*-math.sin(sine/4)),.3)
  1203. 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)
  1204. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*math.sin(sine/4)),.3)
  1205. 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)
  1206. end
  1207. swait()
  1208. end
  1209. end)
  1210. anims()
  1211. 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