Advertisement
Guest User

Untitled

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