Advertisement
faef

fe elio blasio

Mar 27th, 2021
1,544
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 32.78 KB | None | 0 0
  1. --// SETTINGS \\ --
  2.  
  3. local Fling = true --// Recommended: true
  4. local FlingBlockInvisible = true --// Recommended: false (So you can see the flinging block)
  5. local HighlightFlingBlock = true --// Recommended: true
  6. local FlingHighlightColor = Color3.fromRGB(55,55,255) --// First is R, Second is G, Third is B
  7. local GunHatId = 5410674378 -- // (https://www.roblox.com/catalog/5410674378/METAL-x-LIGHTSEER-77)
  8. --// GunHatId is the HatId you will use as the gun for the script, you must have the hat equipped.
  9.  
  10.  
  11.  
  12.  
  13. -- // MAIN \\ --
  14.  
  15. local HAT_NAME = game:GetObjects("rbxassetid://"..tostring(GunHatId))[1].Name
  16.  
  17. -- // Uses Mizt's bypass \\ --
  18.  
  19. Bypass = "death"
  20. loadstring(game:GetObjects("rbxassetid://5325226148")[1].Source)()
  21.  
  22. local IsDead = false
  23. local StateMover = true
  24.  
  25. local playerss = workspace.non
  26. local bbv,bullet
  27. if Bypass == "death" then
  28.     bullet = game.Players.LocalPlayer.Character["HumanoidRootPart"]
  29.     bullet.Transparency = (FlingBlockInvisible ~= true and 0 or 1)
  30.     bullet.Massless = true
  31.     if bullet:FindFirstChildOfClass("Attachment") then
  32.         for _,v in pairs(bullet:GetChildren()) do
  33.             if v:IsA("Attachment") then
  34.                 v:Destroy()
  35.             end
  36.         end
  37.     end
  38.  
  39.     bbv = Instance.new("BodyPosition",bullet)
  40.     bbv.Position = playerss.Torso.CFrame.p
  41. end
  42.  
  43. if Bypass == "death" then
  44. coroutine.wrap(function()
  45.     while true do
  46.         if not playerss or not playerss:FindFirstChildOfClass("Humanoid") or playerss:FindFirstChildOfClass("Humanoid").Health <= 0 then IsDead = true; return end
  47.         if StateMover then
  48.             bbv.Position = playerss.Torso.CFrame.p
  49.             bullet.Position = playerss.Torso.CFrame.p
  50.         end
  51.         game:GetService("RunService").RenderStepped:wait()
  52.     end
  53. end)()
  54. end
  55.  
  56. --[[local force = Instance.new("BodyForce",bullet)
  57. force.Force = Vector3.new(800,800,800)]]--
  58.  
  59. if HighlightFlingBlock ~= false then
  60.     local Highlight = Instance.new("SelectionBox")
  61.     Highlight.Adornee = bullet
  62.     Highlight.Color3 = (typeof(FlingHighlightColor)=="Color3" and FlingHighlightColor) or (Color3.fromRGB(55,55,255))
  63.     Highlight.Parent = bullet
  64.     Highlight.Name = "HighlightBox"
  65. end
  66.  
  67. bbav = Instance.new("BodyAngularVelocity",bullet)
  68.     bbav.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
  69.     bbav.P = 100000000000000000000000000000
  70.     bbav.AngularVelocity = Vector3.new(10000000000000000000000000000000,100000000000000000000000000,100000000000000000)
  71.  
  72. local CDDF = {}
  73. local DamageFling = function(DmgPer)
  74.     if Fling ~= true then return end
  75.     if IsDead or Bypass ~= "death" or (DmgPer.Name == playerss.Name and DmgPer.Name == "non") or CDDF[DmgPer] or not DmgPer or not DmgPer:FindFirstChildOfClass("Humanoid") or DmgPer:FindFirstChildOfClass("Humanoid").Health <= 0 then return end
  76.     CDDF[DmgPer] = true; StateMover = false
  77.     local PosFling = (DmgPer:FindFirstChild("HumanoidRootPart") and DmgPer:FindFirstChild("HumanoidRootPart") .CFrame.p) or (DmgPer:FindFirstChildOfClass("Part") and DmgPer:FindFirstChildOfClass("Part").CFrame.p)
  78.     bullet.Rotation = playerss.Torso.Rotation
  79.     bbav = Instance.new("BodyAngularVelocity",bullet)
  80.     bbav.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
  81.     bbav.P = 100000000000000000000000000000
  82.     bbav.AngularVelocity = Vector3.new(10000000000000000000000000000000,100000000000000000000000000,100000000000000000)
  83.  
  84.     for _=1,15 do
  85.         bbv.Position = PosFling
  86.         bullet.Position = PosFling
  87.         wait(0.03)
  88.     end
  89.     bbav:Destroy()
  90.     bbv.Position = playerss.Torso.CFrame.p
  91.     bullet.Position = playerss.Torso.CFrame.p
  92.     CDDF[DmgPer] = false; StateMover = true
  93. end
  94.  
  95. wait(.2)
  96.  
  97.  
  98. local Aligns = 0
  99. function Align(Part0,Part1,Position,Rotation)
  100.     Aligns = Aligns + 1
  101.     local a0,a1 = Instance.new("Attachment",Part0), Instance.new("Attachment",Part1)
  102.     a1.Position = Position or Vector3.new()
  103.     a1.Rotation = Rotation or Vector3.new()
  104.     local ap = Instance.new("AlignPosition", Part0)
  105.     ap.Attachment0 = a0
  106.     ap.Attachment1 = a1
  107.     local ao = Instance.new("AlignOrientation", Part0)
  108.     ao.Name = "AO-"..Aligns
  109.     ap.Name = "AP-"..Aligns
  110.     ao.Attachment0 = a0
  111.     ao.Attachment1 = a1
  112.     ap.ApplyAtCenterOfMass = true;
  113.     ap.MaxForce = 67752;
  114.     ap.MaxVelocity = math.huge/9e110;
  115.     ap.ReactionForceEnabled = false;
  116.     ap.Responsiveness = 200;
  117.     ap.RigidityEnabled = false;
  118.     ao.MaxAngularVelocity = math.huge/9e110;
  119.     ao.MaxTorque = 67752;
  120.     ao.PrimaryAxisOnly = false;
  121.     ao.ReactionTorqueEnabled = false;
  122.     ao.Responsiveness = 200;
  123.     ao.RigidityEnabled = false;
  124.     return a1
  125. end
  126.  
  127. local HumanoidIsDead = false
  128.  
  129. local Player=game.Players.LocalPlayer
  130. local Character=workspace.non
  131. local Gun = Character[HAT_NAME]
  132. local GunHandle = Gun.Handle
  133. GunHandle.AccessoryWeld:Destroy()
  134. GunHandle.SpecialMesh:Destroy()
  135. wait()
  136. GunHandle.Parent=workspace
  137. local hum = Character.Humanoid
  138. local LeftArm=Character["Left Arm"]
  139. local LeftLeg=Character["Left Leg"]
  140. local RightArm=Character["Right Arm"]
  141. local RightLeg=Character["Right Leg"]
  142. local Root=Character["HumanoidRootPart"]
  143. local Head=Character["Head"]
  144. local Torso=Character["Torso"]
  145. local Neck=Torso["Neck"]
  146. local mouse = Player:GetMouse()
  147. local walking = false
  148. local jumping = false
  149. local attacking = false
  150. local firsttime = false
  151. local tauntdebounce = false
  152. local position = nil
  153. local MseGuide = true
  154. local running = false
  155. local settime = 0
  156. local sine = 0
  157. local t = 0
  158. local ws = 18
  159. local change = 1
  160. local combo1 = true
  161. local equip = false
  162. local dgs = 75
  163. local combo2 = false
  164. local switch1 = true
  165. local switch2 = false
  166. local firsttime2 = false
  167. local combo3 = false
  168. local gunallowance = false
  169. local shooting = false
  170. local RunSrv = game:GetService("RunService")
  171. local RenderStepped = game:GetService("RunService").RenderStepped
  172. local removeuseless = game:GetService("Debris")
  173.  
  174. coroutine.wrap(function()
  175.     while true do
  176.         wait()
  177.         if not Character or not Character:FindFirstChild("Humanoid") or Character:FindFirstChild("Humanoid").Health <= 0 then
  178.             HumanoidIsDead = true
  179.             break
  180.         end
  181.     end
  182. end)()
  183.  
  184. local HEADLERP = Instance.new("ManualWeld")
  185. HEADLERP.Parent = Head
  186. HEADLERP.Part0 = Head
  187. HEADLERP.Part1 = Head
  188. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  189.  
  190. local TORSOLERP = Instance.new("ManualWeld")
  191. TORSOLERP.Parent = Root
  192. TORSOLERP.Part0 = Torso
  193. TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  194.  
  195. local ROOTLERP = Instance.new("ManualWeld")
  196. ROOTLERP.Parent = Root
  197. ROOTLERP.Part0 = Root
  198. ROOTLERP.Part1 = Torso
  199. ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  200.  
  201. local RIGHTARMLERP = Instance.new("ManualWeld")
  202. RIGHTARMLERP.Parent = RightArm
  203. RIGHTARMLERP.Part0 = RightArm
  204. RIGHTARMLERP.Part1 = Torso
  205. RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  206.  
  207. local LEFTARMLERP = Instance.new("ManualWeld")
  208. LEFTARMLERP.Parent = LeftArm
  209. LEFTARMLERP.Part0 = LeftArm
  210. LEFTARMLERP.Part1 = Torso
  211. LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  212.  
  213. local RIGHTLEGLERP = Instance.new("ManualWeld")
  214. RIGHTLEGLERP.Parent = RightLeg
  215. RIGHTLEGLERP.Part0 = RightLeg
  216. RIGHTLEGLERP.Part1 = Torso
  217. RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  218.  
  219. local LEFTLEGLERP = Instance.new("ManualWeld")
  220. LEFTLEGLERP.Parent = LeftLeg
  221. LEFTLEGLERP.Part0 = LeftLeg
  222. LEFTLEGLERP.Part1 = Torso
  223. LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  224.  
  225. local function weldBetween(a, b)
  226.     local weld = Instance.new("ManualWeld", a)
  227.     weld.Part0 = a
  228.     weld.Part1 = b
  229.     weld.C0 = a.CFrame:inverse() * b.CFrame
  230.     return weld
  231. end
  232.  
  233. function MAKETRAIL(PARENT,POSITION1,POSITION2,LIFETIME,COLOR)
  234. A = Instance.new("Attachment", PARENT)
  235. A.Position = POSITION1
  236. A.Name = "A"
  237. B = Instance.new("Attachment", PARENT)
  238. B.Position = POSITION2
  239. B.Name = "B"
  240. tr1 = Instance.new("Trail", PARENT)
  241. tr1.Attachment0 = A
  242. tr1.Attachment1 = B
  243. tr1.Enabled = true
  244. tr1.Lifetime = LIFETIME
  245. tr1.TextureMode = "Static"
  246. tr1.LightInfluence = 0
  247. tr1.Color = COLOR
  248. tr1.Transparency = NumberSequence.new(0, 1)
  249. end
  250.  
  251. tommygun = Instance.new("Part",Character)
  252. tommygun.Size = Vector3.new(2,2,2)
  253. tommygun.CFrame = RightArm.CFrame
  254. tommygun.CanCollide = false
  255. tommygun.Transparency=1
  256. tommygunweld = Instance.new("Weld",tommygun)
  257. GUN_A1=Align(GunHandle,tommygun,Vector3.new(),Vector3.new(115,-100,90))
  258. tommygunweld.Part0 = tommygun
  259. tommygunweld.Part1 = RightArm
  260. tommygunweld.C0 = tommygun.CFrame:inverse() * RightArm.CFrame * CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0)
  261. mtommygun = Instance.new("SpecialMesh", tommygun)
  262. mtommygun.MeshType = "FileMesh"
  263. mtommygun.Scale = Vector3.new(1, 1, 1)
  264. mtommygun.MeshId,mtommygun.TextureId = 'http://www.roblox.com/asset/?id=116679805','http://www.roblox.com/asset/?id=116679995'
  265. shootbox = Instance.new("Part",Character)
  266. shootbox.Size = Vector3.new(.2,.2,.2)
  267. shootbox.Transparency=1
  268. shootbox.CanCollide = false
  269. shootbox.Transparency = 1
  270. shootbox.CFrame = tommygun.CFrame
  271. shootboxweld = weldBetween(shootbox,tommygun)
  272. shootboxweld.C0 = CFrame.new(0,-.05,2.62)
  273. light = Instance.new("PointLight", shootbox)
  274. light.Color = BrickColor.new("Bright yellow").Color
  275. light.Range = 5
  276. light.Brightness = 11
  277. light.Enabled = false
  278. particlemiter1 = Instance.new("ParticleEmitter", shootbox)
  279. particlemiter1.Enabled = false
  280. particlemiter1.Texture = "rbxassetid://461242617"
  281. particlemiter1.Lifetime = NumberRange.new(.1)
  282. particlemiter1.Size = NumberSequence.new(1,0)
  283. particlemiter1.Rate = 20
  284. particlemiter1.RotSpeed = NumberRange.new(0)
  285. particlemiter1.Speed = NumberRange.new(0)
  286. tommygunammo = Instance.new("Part",Character)
  287. tommygunammo.Size = Vector3.new(2,2,2)
  288. tommygunammo.CFrame = tommygun.CFrame
  289. tommygunammo.CanCollide = false
  290. tommygunammoweld = Instance.new("Weld",tommygunammo)
  291. tommygunammoweld.Part0 = tommygunammo
  292. tommygunammoweld.Part1 = tommygun
  293. tommygunammo.Transparency = 1
  294. tommygunammoweld.C0 = tommygun.CFrame:inverse() * tommygun.CFrame * CFrame.new(0,.4,.25) * CFrame.Angles(math.rad(0),math.rad(0),0)
  295. mtommygunammo = Instance.new("SpecialMesh", tommygunammo)
  296. mtommygunammo.MeshType = "FileMesh"
  297. mtommygunammo.Scale = Vector3.new(1, 1, 1)
  298. mtommygunammo.MeshId,mtommygunammo.TextureId = 'http://www.roblox.com/asset/?id=116740155','http://www.roblox.com/asset/?id=116679995'
  299.  
  300.  
  301. coroutine.wrap(function()
  302. for i,v in pairs(Character:GetChildren()) do
  303. if v.Name == "Animate" then v:Remove()
  304. end
  305. end
  306. end)()
  307.  
  308. function damagealll(Radius,Position)       
  309.     local Returning = {}       
  310.     for _,v in pairs(workspace:GetChildren()) do       
  311.         if v~=Character and v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Torso') or v:FindFirstChild('UpperTorso') then
  312. if v:FindFirstChild("Torso") then      
  313.             local Mag = (v.Torso.Position - Position).magnitude    
  314.             if Mag < Radius then       
  315.                 table.insert(Returning,v)      
  316.             end
  317. elseif v:FindFirstChild("UpperTorso") then 
  318.             local Mag = (v.UpperTorso.Position - Position).magnitude       
  319.             if Mag < Radius then       
  320.                 table.insert(Returning,v)      
  321.             end
  322. end
  323.         end    
  324.     end    
  325.     return Returning       
  326. end
  327.  
  328. function swait(num)
  329.     if num == 0 or num == nil then
  330.         game:service("RunService").Stepped:wait(0)
  331.     else
  332.         for i = 0, num do
  333.             game:service("RunService").Stepped:wait(0)
  334.         end
  335.     end
  336. end
  337.  
  338. doomtheme = Instance.new("Sound", Torso)
  339. doomtheme.Volume = 1
  340. doomtheme.Name = "doomtheme"
  341. doomtheme.Looped = true
  342. doomtheme.SoundId = "rbxassetid://318812395"
  343. doomtheme:Play()
  344.  
  345. Torso.ChildRemoved:connect(function(removed)
  346. if removed.Name == "doomtheme" then
  347.  
  348. doomtheme = Instance.new("Sound", Torso)
  349. doomtheme.Volume = 1
  350. doomtheme.Name = "doomtheme"
  351. doomtheme.Looped = true
  352. doomtheme.SoundId = "rbxassetid://318812395"
  353. doomtheme:Play()
  354. end
  355. end)
  356.  
  357. function SOUND(PARENT,ID,VOL,LOOP,REMOVE)
  358. so = Instance.new("Sound")
  359. so.Parent = PARENT
  360. so.SoundId = "rbxassetid://"..ID
  361. so.Volume = VOL
  362. so.Looped = LOOP
  363. so:Play()
  364. removeuseless:AddItem(so,REMOVE)
  365. end
  366.  
  367. mouse.KeyDown:connect(function(Press)
  368. Press=Press:lower()
  369. if Press=='t' then
  370. if tauntdebounce then return end
  371. tauntdebounce = true
  372. local b1 = Instance.new("BillboardGui",Head)
  373. b1.Size = UDim2.new(0,4,0,1.6)
  374. b1.StudsOffset = Vector3.new(0,0,0)
  375. b1.Name = "laff"
  376. b1.AlwaysOnTop = true
  377. b1.StudsOffset = Vector3.new(0,2,0)
  378. b1.Adornee = Head
  379. removeuseless:AddItem(b1,3)
  380. local b2 = Instance.new("TextLabel",b1)
  381. b2.BackgroundTransparency = 1
  382. b2.Text = "HeHeHeHeHeHeHe..."
  383. b2.Font = "Garamond"
  384. b2.TextSize = 30
  385. b2.Name = "lafftext"
  386. b2.TextStrokeTransparency = 0
  387. b2.TextColor3 = BrickColor.new("Grey").Color
  388. b2.TextStrokeColor3 = Color3.new(0,0,0)
  389. b2.Size = UDim2.new(1,0,.5,0)
  390. laff = Instance.new("Sound",Head)
  391. laff.SoundId = "rbxassetid://2126502539"
  392. laff.Volume = 5
  393. laff:Play()
  394. wait(5)
  395. laff:Remove()
  396. tauntdebounce = false
  397. end
  398. end)
  399.  
  400. mouse.KeyDown:connect(function(Press)
  401. Press=Press:lower()
  402. if Press=='e' then
  403. if debounce then return end
  404. if equip then
  405. g1:Remove()
  406. light.Enabled = false
  407. pcall(function()
  408. temmy:Remove()
  409. end)
  410. for i,v in pairs(tommygun:GetDescendants()) do
  411. if v.Name == "temmy" then v:Remove()
  412. end
  413. end
  414. light.Enabled = false
  415. particlemiter1.Enabled = false
  416. hum.CameraOffset = Vector3.new(0,0,0)
  417. attacking = false
  418. equip = false
  419. shooting = false
  420. gunallowance = false
  421. ws = 18
  422. else
  423. g1 = Instance.new("BodyGyro", Root)
  424. g1.D = 175
  425. g1.P = 20000
  426. g1.MaxTorque = Vector3.new(0,9000,0)
  427. g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p)
  428. attacking = true
  429. debounce = true
  430. equip = true
  431. coroutine.wrap(function()
  432. while equip do
  433. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.1)
  434. ws = 10
  435. swait()
  436. if Root.Velocity.y > 1 then
  437. position = "Jump3"
  438. elseif Root.Velocity.y < -1 then
  439. position = "Falling3"
  440. elseif Root.Velocity.Magnitude > 2 and running == false and attacking == true then
  441. position = "Walk3"
  442. elseif Root.Velocity.Magnitude < 2 and running == false and attacking == true then
  443. position = "Idle4"
  444. end
  445. end
  446. end)()
  447. coroutine.wrap(function()
  448. while equip do
  449. swait()
  450. settime = 0.05
  451. sine = sine + change
  452. if position == "Jump3" and attacking and not running then
  453. change = .65
  454. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  455. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4)
  456. elseif position == "Falling3" and attacking and not running then
  457. change = .65
  458. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.4)
  459. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(14), math.rad(-4), math.rad(0)), 0.4)
  460. elseif position == "Walk3" and attacking == true and running == false then
  461. change = .65
  462. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0.05*math.sin(sine/4), 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(0)),.2)
  463. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.92 - 0.35 * math.cos(sine/8)/2.8, 0.2 - math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) + -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0), math.cos(25 * math.cos(sine/8))), 0.1)
  464. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.92 + 0.35 * math.cos(sine/8)/2.8, 0.2 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) - -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) , math.cos(25 * math.cos(sine/8))), 0.1)
  465. elseif position == "Idle4" and attacking == true and running == false then
  466. change = .65
  467. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/25), 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(0)),.1)
  468. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  469. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/25), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.1)
  470. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  471. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/25), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
  472. end
  473. end
  474. end)()
  475. SOUND(RightArm,898163129,6,false,2)
  476. for i = 1, 30 do
  477. tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.68,1.25) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(-12)),.25)
  478. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1, 0.1, 0.4) * CFrame.Angles(math.rad(-90), math.rad(-60), math.rad(0)), 0.25)
  479. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)), 0.25)
  480. swait()
  481. end
  482. gunallowance = true
  483. mouse.Button1Down:connect(function()
  484. if gunallowance then
  485. particlemiter1.Enabled = true
  486. temmy = Instance.new("Sound",tommygun)
  487. temmy.SoundId = "rbxassetid://2204318084"
  488. temmy.Volume = 6
  489. temmy.Name = "temmy"
  490. temmy.Looped = true
  491. temmy:Play()
  492. shooting = true
  493. end
  494. end)
  495. mouse.Button1Up:connect(function()
  496. if gunallowance then
  497. hum.CameraOffset = Vector3.new(0,0,0)
  498. light.Enabled = false
  499. particlemiter1.Enabled = false
  500. pcall(function()
  501. temmy:Remove()
  502. end)
  503. for i,v in pairs(tommygun:GetDescendants()) do
  504. if v.Name == "temmy" then v:Remove()
  505. end
  506. end
  507. shooting = false
  508. end
  509. end)
  510. coroutine.wrap(function()
  511. if firsttime2 then return end
  512. firsttime2 = true
  513. while true do
  514. swait(3)
  515. if shooting then
  516. if switch1 then
  517. switch1 = false
  518. switch2 = true
  519. light.Enabled = true
  520. elseif switch2 then
  521. switch1 = true
  522. switch2 = false
  523. light.Enabled = false
  524. end
  525. pcall(function()
  526. if mouse.Target.Parent:FindFirstChildOfClass("Humanoid") then
  527. DamageFling(mouse.Target.Parent)
  528. end
  529. end)
  530. end
  531. end
  532. end)()
  533. coroutine.wrap(function()
  534. if firsttime then return end
  535. firsttime = true
  536. while true do
  537. if shooting then
  538.     pcall(function()
  539. if mouse.Target.Parent:FindFirstChildOfClass("Humanoid") then
  540. DamageFling(mouse.Target.Parent)
  541. end
  542. end)
  543. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-90), math.rad(0 - 10 * math.sin(sine)), math.rad(0)), 0.25)
  544. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1, 0.1 + .4 * math.sin(sine), 0.4) * CFrame.Angles(math.rad(-90), math.rad(-60), math.rad(0)), 0.25)
  545. elseif not shooting then
  546. end
  547. swait()
  548. end
  549. end)()
  550. debounce = false
  551. end
  552. end
  553. end)
  554.  
  555. mouse.KeyDown:connect(function(Press)
  556. Press=Press:lower()
  557. if Press=='z' then
  558. print("Music switched to 1")
  559. id = 2199374985
  560. doomtheme.SoundId = "rbxassetid://"..id
  561. doomtheme:Play()
  562. end
  563. end)
  564.  
  565. mouse.KeyDown:connect(function(Press)
  566. Press=Press:lower()
  567. if Press=='v' then
  568. print("Music switched to 4")
  569. id = 2111948183
  570. doomtheme.SoundId = "rbxassetid://"..id
  571. doomtheme:Play()
  572. end
  573. end)
  574.  
  575. mouse.KeyDown:connect(function(Press)
  576. Press=Press:lower()
  577. if Press=='x' then
  578. print("Music switched to 2")
  579. id = 318812395
  580. doomtheme.SoundId = "rbxassetid://"..id
  581. doomtheme:Play()
  582. end
  583. end)
  584.  
  585. mouse.KeyDown:connect(function(Press)
  586. Press=Press:lower()
  587. if Press=='c' then
  588. print("Music switched to 3")
  589. id = 180337897
  590. doomtheme.SoundId = "rbxassetid://"..id
  591. doomtheme:Play()
  592. end
  593. end)
  594.  
  595. mouse.KeyDown:connect(function(Press)
  596. Press=Press:lower()
  597. if Press=='b' then
  598. print("Music switched to 5")
  599. id = 649148458
  600. doomtheme.SoundId = "rbxassetid://"..id
  601. doomtheme:Play()
  602. end
  603. end)
  604.  
  605.  
  606. checks1 = coroutine.wrap(function() -------Checks
  607. while true do
  608. if HumanoidIsDead then break end
  609. if Root.Velocity.y > 1 then
  610. position = "Jump"
  611. elseif Root.Velocity.y < -1 then
  612. position = "Falling"
  613. elseif Root.Velocity.Magnitude < 2 then
  614. position = "Idle"
  615. elseif Root.Velocity.Magnitude < 20 then
  616. position = "Walking"
  617. elseif Root.Velocity.Magnitude > 20 then
  618. position = "Running"
  619. else
  620. end
  621. wait()
  622. end
  623. end)
  624. checks1()
  625.  
  626. function ray(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  627.     return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  628. end
  629.  
  630. function ray2(StartPos, EndPos, Distance, Ignore)
  631. local DIRECTION = CFrame.new(StartPos,EndPos).lookVector
  632. return ray(StartPos, DIRECTION, Distance, Ignore)
  633. end
  634.  
  635. OrgnC0 = Neck.C0
  636. local movelimbs = coroutine.wrap(function()
  637. while RunSrv.RenderStepped:wait() do
  638. if HumanoidIsDead then break end
  639. TrsoLV = Torso.CFrame.lookVector
  640. Dist = nil
  641. Diff = nil
  642. if not MseGuide then
  643. print("Failed to recognize")
  644. else
  645. local _, Point = Workspace:FindPartOnRay(Ray.new(Head.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
  646. Dist = (Head.CFrame.p-Point).magnitude
  647. Diff = Head.CFrame.Y-Point.Y
  648. local _, Point2 = Workspace:FindPartOnRay(Ray.new(LeftArm.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
  649. Dist2 = (LeftArm.CFrame.p-Point).magnitude
  650. Diff2 = LeftArm.CFrame.Y-Point.Y
  651. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  652. 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)
  653. end
  654. end
  655. end)
  656. movelimbs()
  657. immortal = {}
  658. for i,v in pairs(Character:GetDescendants()) do
  659.     if v:IsA("BasePart") and v.Name ~= "lmagic" and v.Name ~= "rmagic" then
  660.         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
  661.             v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  662.         end
  663.         table.insert(immortal,{v,v.Parent,v.Material,v.Color,v.Transparency})
  664.     elseif v:IsA("JointInstance") then
  665.         table.insert(immortal,{v,v.Parent,nil,nil,nil})
  666.     end
  667. end
  668. for e = 1, #immortal do
  669.     if immortal[e] ~= nil then
  670.         local STUFF = immortal[e]
  671.         local PART = STUFF[1]
  672.         local PARENT = STUFF[2]
  673.         local MATERIAL = STUFF[3]
  674.         local COLOR = STUFF[4]
  675.         local TRANSPARENCY = STUFF[5]
  676. if levitate then
  677.         if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= eyo1 and PART.Name ~= eyo2 and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
  678.             PART.Material = MATERIAL
  679.             PART.Color = COLOR
  680.             PART.Transparency = TRANSPARENCY
  681.         end
  682.         PART.AncestryChanged:connect(function()
  683.             PART.Parent = PARENT
  684.         end)
  685. else
  686.         if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
  687.             PART.Material = MATERIAL
  688.             PART.Color = COLOR
  689.             PART.Transparency = TRANSPARENCY
  690.         end
  691.         PART.AncestryChanged:connect(function()
  692.             PART.Parent = PARENT
  693.         end)
  694. end
  695.     end
  696. end
  697. coroutine.wrap(function()
  698. while true do
  699. if HumanoidIsDead then break end
  700. if hum.Health < .1 then
  701. deadsound = Instance.new("Sound", Torso)
  702. deadsound.Volume = 6
  703. deadsound.SoundId = "rbxassetid://1411352723"
  704. deadsound:Play()
  705. end
  706. wait()
  707. end
  708. end)()
  709.  
  710. local anims = coroutine.wrap(function()
  711. while true do
  712. if HumanoidIsDead then break end
  713. settime = 0.05
  714. sine = sine + change
  715. if position == "Jump" and attacking == false then
  716. change = 1
  717. tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0),.25)
  718. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  719. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  720. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  721. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  722. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(-3),math.rad(-4)), 0.4)
  723. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  724. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4)
  725. elseif position == "Jump2" and attacking == false then
  726. change = 1
  727. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(10 * math.cos(sine/10))), 0.3)
  728. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
  729. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
  730. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - .1 * math.sin(sine/12)),math.rad(40 - .5 * math.sin(sine/12))), 0.3)
  731. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + .1 * math.sin(sine/12)),math.rad(-40 + .5 * math.sin(sine/12))), 0.3)
  732. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
  733. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.3)
  734. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.3)
  735. elseif position == "Falling" and attacking == false then
  736. change = 1
  737. tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0),.25)
  738. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  739. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  740. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  741. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2)
  742. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(14), math.rad(-4), math.rad(0)), 0.2)
  743. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.2)
  744. elseif position == "Falling2" and attacking == false then
  745. change = 1
  746. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(10 * math.cos(sine/10))), 0.3)
  747. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
  748. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
  749. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - .1 * math.sin(sine/12)),math.rad(40 - .5 * math.sin(sine/12))), 0.3)
  750. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + .1 * math.sin(sine/12)),math.rad(-40 + .5 * math.sin(sine/12))), 0.3)
  751. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
  752. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.3)
  753. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.3)
  754. elseif position == "Walking" and attacking == false and running == false then
  755. change = 1.2
  756. walking = true
  757. tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0),.25)
  758. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,1,0) * CFrame.Angles(math.rad(180),math.rad(1),math.rad(10)), 0.1)
  759. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  760. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  761. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5 + Root.RotVelocity.Y / 85,.35,.5*math.sin(sine/8)) * CFrame.Angles(math.rad(-35*math.sin(sine/8)),math.rad(0*math.sin(sine/8)),math.rad(10 + Root.RotVelocity.Y / 10, math.sin(20 * math.sin(sine/4)))),.3)
  762. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0.05*math.sin(sine/4), 0) * CFrame.Angles(math.rad(-10), math.rad(5 * math.cos(sine/7)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/10))), 0.1)
  763. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.92 - 0.35 * math.cos(sine/8)/2.8, 0.2 - math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) + -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0), math.cos(25 * math.cos(sine/8))), 0.3)
  764. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.92 + 0.35 * math.cos(sine/8)/2.8, 0.2 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) - -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) , math.cos(25 * math.cos(sine/8))), 0.3)
  765. elseif position == "Idle" and attacking == false and running == false then
  766. change = .5
  767. tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0),.25)
  768. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(25),math.rad(0)),.1)
  769. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3 + .1 * math.sin(sine/12),1 + .1 * math.sin(sine/12),0) * CFrame.Angles(math.rad(180),math.rad(1),math.rad(8 + 5 * math.sin(sine/12))), 0.1)
  770. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.59 - .05 * math.sin(sine/12), 0.1 -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(-2), math.rad(2), math.rad(8  - 6 * math.sin(sine/12))), .2)
  771. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  772. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.1)
  773. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  774. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
  775. elseif position == "Idle2" and attacking == false and running == false then
  776. change = .75
  777. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0 - 3 * math.sin(sine/9)),0,0),.1)
  778. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  779. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(-.2,.2,0) * CFrame.Angles(0,0,0),.1)
  780. LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  781. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.8 - .1 * math.sin(sine/9), 0) * CFrame.Angles(math.rad(0), math.rad(0 + 3 * math.sin(sine/9)), math.rad(35 - 5 * math.sin(sine/9))), 0.4)
  782. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.6, 0.8 - .1 * math.sin(sine/9), 0) * CFrame.Angles(math.rad(0), math.rad(0 - 3 * math.sin(sine/9)), math.rad(-35 + 5 * math.sin(sine/9))), 0.4)
  783. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.4)
  784. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2.0,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10 + 2 * math.sin(sine/9))), 0.4)
  785. elseif position == "Walking2" and attacking == false and running == false then
  786. ws = 50
  787. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(10 * math.cos(sine/10))), 0.3)
  788. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
  789. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
  790. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - .1 * math.sin(sine/12)),math.rad(40 - .5 * math.sin(sine/12))), 0.3)
  791. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + .1 * math.sin(sine/12)),math.rad(-40 + .5 * math.sin(sine/12))), 0.3)
  792. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
  793. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.3)
  794. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.3)
  795. elseif position == "Running" and attacking == false then
  796. change = 1
  797. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(0, .5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.3)
  798. 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)
  799. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  800. 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)
  801. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*-math.sin(sine/4)),.3)
  802. 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)
  803. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*math.sin(sine/4)),.3)
  804. 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)
  805. end
  806. swait()
  807. end
  808. end)
  809. anims()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement