Advertisement
Guest User

Untitled

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