SHARE
TWEET

krysssssstole

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