daily pastebin goal
95%
SHARE
TWEET

Elio Blasio

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