Advertisement
SynapseXploit

FE Weapon

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