Advertisement
GodOfDuckz

a bad le nub edit

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