Advertisement
aaaay63746

meme

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