doryna2281337

Untitled

Jul 25th, 2019
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 43.95 KB | None | 0 0
  1. -----------//Elio Blasio\\-----------
  2. --[[Movelist
  3. E = Equip/Unequip, click to shoot, hold to spray
  4. T = Taunt
  5. ---------]]
  6.  
  7. --Ayy i'm not dead yet, take that haters, if i even had any to begin with.--
  8. --Keeping this script small since big ones will cause major lag & exceed script limits--
  9. --Using a FE converter because i'm way too lazy to create remotes for it--
  10.  
  11. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
  12. do
  13. script.Parent = owner.Character
  14. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  15. local function NewFakeEvent()
  16. local Bind = Instance.new("BindableEvent")
  17. local Fake;Fake = {Connections = {},
  18. fakeEvent=true;
  19. Connect=function(self,Func)
  20. Bind.Event:connect(Func)
  21. self.Connections[Bind] = true
  22. return setmetatable({Connected = true},{
  23. __index = function (self,Index)
  24. if Index:lower() == "disconnect" then
  25. return function() Fake.Connections[Bind] = false;self.Connected = false end
  26. end
  27. return Fake[Index]
  28. end;
  29. __tostring = function() return "Connection" end;
  30. })
  31. end}
  32. Fake.connect = Fake.Connect;return Fake;
  33. end
  34. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  35. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  36. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  37. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  38. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  39. local function TriggerEvent(self,Event,...)
  40. local Trigger = Mouse[Event]
  41. if Trigger and Trigger.fakeEvent and Trigger.Connections then
  42. for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  43. end
  44. end
  45. Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  46. Event.OnServerEvent:Connect(function(FiredBy,Input)
  47. if FiredBy.Name ~= owner.Name then return end
  48. if Input.MouseEvent then
  49. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  50. else
  51. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  52. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  53. for _,Action in pairs(ContextActionService.Actions) do
  54. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  55. end
  56. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  57. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  58. end
  59. end)
  60. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  61. Event.Parent = NLS([[
  62. local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  63. local Input = function(Input,gameProcessedEvent)
  64. if gameProcessedEvent then return end
  65. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  66. end
  67. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  68. local Hit,Target
  69. while wait(1/30) do
  70. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  71. Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  72. end
  73. end
  74. ]],owner.Character)
  75. end
  76. RealGame = game;game = setmetatable({},{
  77. __index = function (self,Index)
  78. local Sandbox = function (Thing)
  79. if Thing:IsA("Player") then
  80. local RealPlayer = Thing
  81. return setmetatable({},{
  82. __index = function (self,Index)
  83. local Type = type(RealPlayer[Index])
  84. if Type == "function" then
  85. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  86. return function (self)return InternalData["Mouse"] end
  87. end
  88. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  89. end
  90. return RealPlayer[Index]
  91. end;
  92. __tostring = function(self) return RealPlayer.Name end
  93. })
  94. end
  95. end
  96. if RealGame[Index] then
  97. local Type = type(RealGame[Index])
  98. if Type == "function" then
  99. if Index:lower() == "getservice" or Index:lower() == "service" then
  100. return function (self,Service)
  101. local FakeServices = {
  102. ["players"] = function()
  103. return setmetatable({},{
  104. __index = function (self2,Index2)
  105. local RealService = RealGame:GetService(Service)
  106. local Type2 = type(Index2)
  107. if Type2 == "function" then
  108. return function (self,...) return RealService[Index2](RealService,...)end
  109. else
  110. if Index2:lower() == "localplayer" then return Sandbox(owner) end
  111. return RealService[Index2]
  112. end
  113. end;
  114. __tostring = function(self) return RealGame:GetService(Service).Name end
  115. })
  116. end;
  117. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  118. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  119. ["runservice"] = function()
  120. return setmetatable({},{
  121. __index = function(self2,Index2)
  122. local RealService = RealGame:GetService(Service)
  123. local Type2 = type(Index2)
  124. if Type2 == "function" then
  125. return function (self,...) return RealService[Index2](RealService,...) end
  126. else
  127. local RunServices = {
  128. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  129. ["renderstepped"] = function() return RealService["Stepped"] end
  130. }
  131. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  132. return RealService[Index2]
  133. end
  134. end
  135. })
  136. end
  137. }
  138. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  139. return RealGame:GetService(Service)
  140. end
  141. end
  142. return function (self,...) return RealGame[Index](RealGame,...) end
  143. else
  144. if game:GetService(Index) then return game:GetService(Index) end
  145. return RealGame[Index]
  146. end
  147. end
  148. return nil
  149. end
  150. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
  151.  
  152. Player=game.Players.LocalPlayer
  153. Character=Player.Character
  154. Character.Humanoid.Name = "noneofurbusiness"
  155. hum = Character.noneofurbusiness
  156. LeftArm=Character["Left Arm"]
  157. LeftLeg=Character["Left Leg"]
  158. RightArm=Character["Right Arm"]
  159. RightLeg=Character["Right Leg"]
  160. Root=Character["HumanoidRootPart"]
  161. Head=Character["Head"]
  162. Torso=Character["Torso"]
  163. Neck=Torso["Neck"]
  164. mouse = Player:GetMouse()
  165. walking = false
  166. jumping = false
  167. attacking = false
  168. firsttime = false
  169. tauntdebounce = false
  170. position = nil
  171. MseGuide = true
  172. running = false
  173. settime = 0
  174. sine = 0
  175. t = 0
  176. ws = 100
  177. change = 1
  178. combo1 = true
  179. equip = false
  180. dgs = 75
  181. combo2 = false
  182. switch1 = true
  183. switch2 = false
  184. firsttime2 = false
  185. combo3 = false
  186. gunallowance = false
  187. shooting = false
  188. RunSrv = game:GetService("RunService")
  189. RenderStepped = game:GetService("RunService").RenderStepped
  190. removeuseless = game:GetService("Debris")
  191.  
  192. local naeeym2 = IT("BillboardGui",char)
  193. naeeym2.AlwaysOnTop = true
  194. naeeym2.Size = UDim2.new(5,35,2,15)
  195. naeeym2.StudsOffset = Vector3.new(0,2,0)
  196. naeeym2.MaxDistance = 75
  197. naeeym2.Adornee = hed
  198. naeeym2.Name = "Name"
  199. --naeeym2.PlayerToHideFrom = Player
  200. local tecks2 = IT("TextLabel",naeeym2)
  201. tecks2.BackgroundTransparency = 10
  202. tecks2.TextScaled = true
  203. tecks2.BorderSizePixel = 0
  204. tecks2.Text = "Hell security"
  205. tecks2.Font = "Fantasy"
  206. tecks2.TextSize = 100
  207. tecks2.TextStrokeTransparency = 0
  208. tecks2.TextColor3 = Color3.new(1,1,1)
  209. tecks2.TextStrokeColor3 = Color3.fromRGB(123, 157, 205)
  210. tecks2.Size = UDim2.new(1,0,0.5,0)
  211. tecks2.Parent = naeeym2
  212.  
  213. screenGui = Instance.new("ScreenGui")
  214. screenGui.Parent = script.Parent
  215.  
  216. local HEADLERP = Instance.new("ManualWeld")
  217. HEADLERP.Parent = Head
  218. HEADLERP.Part0 = Head
  219. HEADLERP.Part1 = Head
  220. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  221.  
  222. local TORSOLERP = Instance.new("ManualWeld")
  223. TORSOLERP.Parent = Root
  224. TORSOLERP.Part0 = Torso
  225. TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  226.  
  227. local ROOTLERP = Instance.new("ManualWeld")
  228. ROOTLERP.Parent = Root
  229. ROOTLERP.Part0 = Root
  230. ROOTLERP.Part1 = Torso
  231. ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  232.  
  233. local RIGHTARMLERP = Instance.new("ManualWeld")
  234. RIGHTARMLERP.Parent = RightArm
  235. RIGHTARMLERP.Part0 = RightArm
  236. RIGHTARMLERP.Part1 = Torso
  237. RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  238.  
  239. local LEFTARMLERP = Instance.new("ManualWeld")
  240. LEFTARMLERP.Parent = LeftArm
  241. LEFTARMLERP.Part0 = LeftArm
  242. LEFTARMLERP.Part1 = Torso
  243. LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  244.  
  245. local RIGHTLEGLERP = Instance.new("ManualWeld")
  246. RIGHTLEGLERP.Parent = RightLeg
  247. RIGHTLEGLERP.Part0 = RightLeg
  248. RIGHTLEGLERP.Part1 = Torso
  249. RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  250.  
  251. local LEFTLEGLERP = Instance.new("ManualWeld")
  252. LEFTLEGLERP.Parent = LeftLeg
  253. LEFTLEGLERP.Part0 = LeftLeg
  254. LEFTLEGLERP.Part1 = Torso
  255. LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  256.  
  257. local function weldBetween(a, b)
  258. local weld = Instance.new("ManualWeld", a)
  259. weld.Part0 = a
  260. weld.Part1 = b
  261. weld.C0 = a.CFrame:inverse() * b.CFrame
  262. return weld
  263. end
  264.  
  265. function MAKETRAIL(PARENT,POSITION1,POSITION2,LIFETIME,COLOR)
  266. A = Instance.new("Attachment", PARENT)
  267. A.Position = POSITION1
  268. A.Name = "A"
  269. B = Instance.new("Attachment", PARENT)
  270. B.Position = POSITION2
  271. B.Name = "B"
  272. tr1 = Instance.new("Trail", PARENT)
  273. tr1.Attachment0 = A
  274. tr1.Attachment1 = B
  275. tr1.Enabled = true
  276. tr1.Lifetime = LIFETIME
  277. tr1.TextureMode = "Static"
  278. tr1.LightInfluence = 0
  279. tr1.Color = COLOR
  280. tr1.Transparency = NumberSequence.new(0, 1)
  281. end
  282.  
  283. shirt = Instance.new("Shirt", Character)
  284. shirt.Name = "Shirt"
  285. pants = Instance.new("Pants", Character)
  286. pants.Name = "Pants"
  287. Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=2278030537"
  288. Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=2278030537"
  289.  
  290. skull = Instance.new("Part",Character)
  291. skull.Size = Vector3.new(2,2,2)
  292. skull.CFrame = Head.CFrame
  293. skull.CanCollide = false
  294. skullweld = Instance.new("Weld",skull)
  295. skullweld.Part0 = skull
  296. skullweld.Part1 = Head
  297. skullweld.C0 = skull.CFrame:inverse() * Head.CFrame
  298. mskull = Instance.new("SpecialMesh", skull)
  299. mskull.MeshType = "FileMesh"
  300. mskull.Scale = Vector3.new(1.12, 1.12, 1.12)
  301. mskull.MeshId,mskull.TextureId = 'http://www.roblox.com/asset/?id=181343290','http://www.roblox.com/asset/?id=181343313'
  302. fedora = Instance.new("Part",Character)
  303. fedora.Size = Vector3.new(2,2,2)
  304. fedora.CFrame = Head.CFrame
  305. fedora.CanCollide = false
  306. fedoraweld = Instance.new("Weld",fedora)
  307. fedoraweld.Part0 = fedora
  308. fedoraweld.Part1 = Head
  309. fedoraweld.C0 = fedora.CFrame:inverse() * Head.CFrame * CFrame.new(0,-.8,0)
  310. mfedora = Instance.new("SpecialMesh", fedora)
  311. mfedora.MeshType = "FileMesh"
  312. mfedora.Scale = Vector3.new(1.1, 1.1, 1.1)
  313. mfedora.MeshId,mfedora.TextureId = 'http://www.roblox.com/asset/?id=13640868','http://www.roblox.com/asset/?id=431036192'
  314. tommygun = Instance.new("Part",Character)
  315. tommygun.Size = Vector3.new(2,2,2)
  316. tommygun.CFrame = RightArm.CFrame
  317. tommygun.CanCollide = false
  318. tommygunweld = Instance.new("Weld",tommygun)
  319. tommygunweld.Part0 = tommygun
  320. tommygunweld.Part1 = RightArm
  321. tommygunweld.C0 = tommygun.CFrame:inverse() * RightArm.CFrame * CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0)
  322. mtommygun = Instance.new("SpecialMesh", tommygun)
  323. mtommygun.MeshType = "FileMesh"
  324. mtommygun.Scale = Vector3.new(1, 1, 1)
  325. mtommygun.MeshId,mtommygun.TextureId = 'http://www.roblox.com/asset/?id=116679805','http://www.roblox.com/asset/?id=116679995'
  326. shootbox = Instance.new("Part",Character)
  327. shootbox.Size = Vector3.new(.2,.2,.2)
  328. shootbox.CanCollide = false
  329. shootbox.Transparency = 1
  330. shootbox.CFrame = tommygun.CFrame
  331. shootboxweld = weldBetween(shootbox,tommygun)
  332. shootboxweld.C0 = CFrame.new(0,-.05,2.62)
  333. light = Instance.new("PointLight", shootbox)
  334. light.Color = BrickColor.new("Bright yellow").Color
  335. light.Range = 5
  336. light.Brightness = 11
  337. light.Enabled = false
  338. particlemiter1 = Instance.new("ParticleEmitter", shootbox)
  339. particlemiter1.Enabled = false
  340. particlemiter1.Texture = "rbxassetid://461242617"
  341. particlemiter1.Lifetime = NumberRange.new(.1)
  342. particlemiter1.Size = NumberSequence.new(1,0)
  343. particlemiter1.Rate = 20
  344. particlemiter1.RotSpeed = NumberRange.new(0)
  345. particlemiter1.Speed = NumberRange.new(0)
  346. tommygunammo = Instance.new("Part",Character)
  347. tommygunammo.Size = Vector3.new(2,2,2)
  348. tommygunammo.CFrame = tommygun.CFrame
  349. tommygunammo.CanCollide = false
  350. tommygunammoweld = Instance.new("Weld",tommygunammo)
  351. tommygunammoweld.Part0 = tommygunammo
  352. tommygunammoweld.Part1 = tommygun
  353. tommygunammoweld.C0 = tommygun.CFrame:inverse() * tommygun.CFrame * CFrame.new(0,.4,.25) * CFrame.Angles(math.rad(0),math.rad(0),0)
  354. mtommygunammo = Instance.new("SpecialMesh", tommygunammo)
  355. mtommygunammo.MeshType = "FileMesh"
  356. mtommygunammo.Scale = Vector3.new(1, 1, 1)
  357. mtommygunammo.MeshId,mtommygunammo.TextureId = 'http://www.roblox.com/asset/?id=116740155','http://www.roblox.com/asset/?id=116679995'
  358. mask = Instance.new("Part",Character)
  359. mask.Size = Vector3.new(2,2,2)
  360. mask.CFrame = Head.CFrame
  361. mask.CanCollide = false
  362. maskweld = Instance.new("Weld",mask)
  363. maskweld.Part0 = mask
  364. maskweld.Part1 = Head
  365. maskweld.C0 = mask.CFrame:inverse() * Head.CFrame * CFrame.new(-.2,0,.62) * CFrame.Angles(math.rad(0),math.rad(10),math.rad(0))
  366. mmask = Instance.new("SpecialMesh", mask)
  367. mmask.MeshType = "FileMesh"
  368. mmask.Scale = Vector3.new(1.25, 1.25, 1.25)
  369. mmask.MeshId,mmask.TextureId = 'http://www.roblox.com/asset/?id=12470186','http://www.roblox.com/asset/?id=12470201'
  370.  
  371.  
  372.  
  373. coroutine.wrap(function()
  374. while wait() do
  375. hum.WalkSpeed = ws
  376. LeftArm.BrickColor = BrickColor.new("Really black")
  377. RightArm.BrickColor = BrickColor.new("Really black")
  378. Head.BrickColor = BrickColor.new("Really black")
  379. end
  380. end)()
  381. godmode = coroutine.wrap(function()
  382. for i,v in pairs(Character:GetChildren()) do
  383. if v:IsA("BasePart") and v ~= Root then
  384. v.Anchored = false
  385. end
  386. end
  387. while true do
  388. hum.MaxHealth = math.huge
  389. wait(0.0000001)
  390. hum.Health = math.huge
  391. wait()
  392. end
  393. end)
  394. godmode()
  395. ff = Instance.new("ForceField", Character)
  396. ff.Visible = false
  397.  
  398. coroutine.wrap(function()
  399. for i,v in pairs(Character:GetChildren()) do
  400. if v.Name == "Animate" then v:Remove()
  401. end
  402. end
  403. end)()
  404.  
  405. function damagealll(Radius,Position)
  406. local Returning = {}
  407. for _,v in pairs(workspace:GetChildren()) do
  408. if v~=Character and v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Torso') or v:FindFirstChild('UpperTorso') then
  409. if v:FindFirstChild("Torso") then
  410. local Mag = (v.Torso.Position - Position).magnitude
  411. if Mag < Radius then
  412. table.insert(Returning,v)
  413. end
  414. elseif v:FindFirstChild("UpperTorso") then
  415. local Mag = (v.UpperTorso.Position - Position).magnitude
  416. if Mag < Radius then
  417. table.insert(Returning,v)
  418. end
  419. end
  420. end
  421. end
  422. return Returning
  423. end
  424.  
  425. ArtificialHB = Instance.new("BindableEvent", script)
  426. ArtificialHB.Name = "Heartbeat"
  427. script:WaitForChild("Heartbeat")
  428.  
  429. frame = 1 / 60
  430. tf = 0
  431. allowframeloss = false
  432. tossremainder = false
  433.  
  434.  
  435. lastframe = tick()
  436. script.Heartbeat:Fire()
  437.  
  438.  
  439. game:GetService("RunService").Heartbeat:connect(function(s, p)
  440. tf = tf + s
  441. if tf >= frame then
  442. if allowframeloss then
  443. script.Heartbeat:Fire()
  444. lastframe = tick()
  445. else
  446. for i = 1, math.floor(tf / frame) do
  447. script.Heartbeat:Fire()
  448. end
  449. lastframe = tick()
  450. end
  451. if tossremainder then
  452. tf = 0
  453. else
  454. tf = tf - frame * math.floor(tf / frame)
  455. end
  456. end
  457. end)
  458.  
  459. function swait(num)
  460. if num == 0 or num == nil then
  461. game:service("RunService").Stepped:wait(0)
  462. else
  463. for i = 0, num do
  464. game:service("RunService").Stepped:wait(0)
  465. end
  466. end
  467. end
  468.  
  469. doomtheme = Instance.new("Sound", Torso)
  470. doomtheme.Volume = 1
  471. doomtheme.Name = "doomtheme"
  472. doomtheme.Looped = true
  473. doomtheme.SoundId = "rbxassetid://318812395"
  474. doomtheme:Play()
  475.  
  476. Torso.ChildRemoved:connect(function(removed)
  477. if removed.Name == "doomtheme" then
  478.  
  479. doomtheme = Instance.new("Sound", Torso)
  480. doomtheme.Volume = 1
  481. doomtheme.Name = "doomtheme"
  482. doomtheme.Looped = true
  483. doomtheme.SoundId = "rbxassetid://318812395"
  484. doomtheme:Play()
  485. end
  486. end)
  487.  
  488. for _,n in pairs(Character:GetChildren()) do
  489. if n:IsA("Accessory") then n:Remove() end
  490. end
  491. for _,x in pairs(Character:GetChildren()) do
  492. if x:IsA("Decal") then x:Remove() end
  493. end
  494.  
  495. function SOUND(PARENT,ID,VOL,LOOP,REMOVE)
  496. so = Instance.new("Sound")
  497. so.Parent = PARENT
  498. so.SoundId = "rbxassetid://"..ID
  499. so.Volume = VOL
  500. so.Looped = LOOP
  501. so:Play()
  502. removeuseless:AddItem(so,REMOVE)
  503. end
  504.  
  505. mouse.KeyDown:connect(function(Press)
  506. Press=Press:lower()
  507. if Press=='t' then
  508. if tauntdebounce then return end
  509. tauntdebounce = true
  510. local b1 = Instance.new("BillboardGui",Head)
  511. b1.Size = UDim2.new(0,4,0,1.6)
  512. b1.StudsOffset = Vector3.new(0,0,0)
  513. b1.Name = "laff"
  514. b1.AlwaysOnTop = true
  515. b1.StudsOffset = Vector3.new(0,2,0)
  516. b1.Adornee = Head
  517. removeuseless:AddItem(b1,3)
  518. local b2 = Instance.new("TextLabel",b1)
  519. b2.BackgroundTransparency = 1
  520. b2.Text = "HeHeHeHeHeHeHe..."
  521. b2.Font = "Garamond"
  522. b2.TextSize = 30
  523. b2.Name = "lafftext"
  524. b2.TextStrokeTransparency = 0
  525. b2.TextColor3 = BrickColor.new("Grey").Color
  526. b2.TextStrokeColor3 = Color3.new(0,0,0)
  527. b2.Size = UDim2.new(1,0,.5,0)
  528. laff = Instance.new("Sound",Head)
  529. laff.SoundId = "rbxassetid://2126502539"
  530. laff.Volume = 5
  531. laff:Play()
  532. wait(5)
  533. laff:Remove()
  534. tauntdebounce = false
  535. end
  536. end)
  537.  
  538. mouse.KeyDown:connect(function(Press)
  539. Press=Press:lower()
  540. if Press=='e' then
  541. Mode = 25
  542. tecks2.Text = "punisher"
  543. tecks2.TextColor3 = Color3.fromRGB(0, 0, 255)
  544. tecks2.TextStrokeColor3 = Color3.fromRGB(255, 89, 89)
  545. if debounce then return end
  546. if equip then
  547. g1:Remove()
  548. light.Enabled = false
  549. pcall(function()
  550. temmy:Remove()
  551. end)
  552. for i,v in pairs(tommygun:GetDescendants()) do
  553. if v.Name == "temmy" then v:Remove()
  554. end
  555. end
  556. light.Enabled = false
  557. particlemiter1.Enabled = false
  558. hum.CameraOffset = Vector3.new(0,0,0)
  559. attacking = false
  560. equip = false
  561. shooting = false
  562. gunallowance = false
  563. ws = 100
  564. else
  565. g1 = Instance.new("BodyGyro", Root)
  566. g1.D = 175
  567. g1.P = 20000
  568. g1.MaxTorque = Vector3.new(0,9000,0)
  569. g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p)
  570. attacking = true
  571. debounce = true
  572. equip = true
  573. coroutine.wrap(function()
  574. while equip do
  575. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.1)
  576. ws = 100
  577. swait()
  578. if Root.Velocity.y > 1 then
  579. position = "Jump3"
  580. elseif Root.Velocity.y < -1 then
  581. position = "Falling3"
  582. elseif Root.Velocity.Magnitude > 2 and running == false and attacking == true then
  583. position = "Walk3"
  584. elseif Root.Velocity.Magnitude < 2 and running == false and attacking == true then
  585. position = "Idle4"
  586. end
  587. end
  588. end)()
  589. coroutine.wrap(function()
  590. while equip do
  591. swait()
  592. settime = 0.05
  593. sine = sine + change
  594. if position == "Jump3" and attacking and not running then
  595. change = .65
  596. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  597. 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)
  598. elseif position == "Falling3" and attacking and not running then
  599. change = .65
  600. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.4)
  601. 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)
  602. elseif position == "Walk3" and attacking == true and running == false then
  603. change = .65
  604. 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)
  605. 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)
  606. 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)
  607. elseif position == "Idle4" and attacking == true and running == false then
  608. change = .65
  609. 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)
  610. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  611. 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)
  612. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  613. 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)
  614. end
  615. end
  616. end)()
  617. SOUND(RightArm,898163129,6,false,2)
  618. for i = 1, 30 do
  619. tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.68,1.25) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(-12)),.25)
  620. 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)
  621. 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)
  622. swait()
  623. end
  624. gunallowance = true
  625. mouse.Button1Down:connect(function()
  626. if gunallowance then
  627. particlemiter1.Enabled = true
  628. temmy = Instance.new("Sound",tommygun)
  629. temmy.SoundId = "rbxassetid://2950778256"
  630. temmy.Volume = 6
  631. temmy.Name = "temmy"
  632. temmy.Looped = true
  633. temmy:Play()
  634. shooting = true
  635. end
  636. end)
  637. mouse.Button1Up:connect(function()
  638. if gunallowance then
  639. hum.CameraOffset = Vector3.new(0,0,0)
  640. light.Enabled = false
  641. particlemiter1.Enabled = false
  642. pcall(function()
  643. temmy:Remove()
  644. end)
  645. for i,v in pairs(tommygun:GetDescendants()) do
  646. if v.Name == "temmy" then v:Remove()
  647. end
  648. end
  649. shooting = false
  650. end
  651. end)
  652. coroutine.wrap(function()
  653. if firsttime2 then return end
  654. firsttime2 = true
  655. while true do
  656. swait(3)
  657. if shooting then
  658. if switch1 then
  659. switch1 = false
  660. switch2 = true
  661. light.Enabled = true
  662. elseif switch2 then
  663. switch1 = true
  664. switch2 = false
  665. light.Enabled = false
  666. end
  667. pcall(function()
  668. if mouse.Target.Parent:FindFirstChildOfClass("Humanoid") then
  669. mouse.Target.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(3,7))
  670. end
  671. end)
  672. end
  673. end
  674. end)()
  675. coroutine.wrap(function()
  676. if firsttime then return end
  677. firsttime = true
  678. while true do
  679. if shooting then
  680. 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)
  681. 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)
  682. pcall(function()
  683. if mouse.Target.Parent:FindFirstChildOfClass("Humanoid") then
  684. mouse.Target.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(100)
  685. end
  686. end)
  687. elseif not shooting then
  688. end
  689. swait()
  690. end
  691. end)()
  692. debounce = false
  693. end
  694. end
  695. end)
  696.  
  697. mouse.KeyDown:connect(function(Press)
  698. Press=Press:lower()
  699. if Press=='z' then
  700. print("Music switched to 1")
  701. id = 2111948183
  702. doomtheme.SoundId = "rbxassetid://"..id
  703. doomtheme:Play()
  704. end
  705. end)
  706.  
  707. mouse.KeyDown:connect(function(Press)
  708. Press=Press:lower()
  709. if Press=='v' then
  710. print("Music switched to 4")
  711. id = 2146634037
  712. doomtheme.SoundId = "rbxassetid://"..id
  713. doomtheme:Play()
  714. end
  715. end)
  716.  
  717. mouse.KeyDown:connect(function(Press)
  718. Press=Press:lower()
  719. if Press=='x' then
  720. print("Music switched to 2")
  721. id = 1494152209
  722. doomtheme.SoundId = "rbxassetid://"..id
  723. doomtheme:Play()
  724. end
  725. end)
  726.  
  727. mouse.KeyDown:connect(function(Press)
  728. Press=Press:lower()
  729. if Press=='c' then
  730. print("Music switched to 3")
  731. id = 2502570386
  732. doomtheme.SoundId = "rbxassetid://"..id
  733. doomtheme:Play()
  734. end
  735. end)
  736.  
  737. mouse.KeyDown:connect(function(Press)
  738. Press=Press:lower()
  739. if Press=='b' then
  740. print("Music switched to 5")
  741. id = 3518913974
  742. doomtheme.SoundId = "rbxassetid://"..id
  743. doomtheme:Play()
  744. end
  745. end)
  746.  
  747. mouse.KeyDown:connect(function(Press)
  748. Press=Press:lower()
  749. if Press=='q' then
  750. ATTACK = true
  751. Rooted = false
  752. local GYRO =g1 ("BodyGyro",RootPart)
  753. GYRO.D = 100
  754. GYRO.P = 2000
  755. GYRO.MaxTorque = VT(0,4000000,0)
  756. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  757. CreateSound("93724183", RightArm, 5, 1, false)
  758. for i=1, 35 do
  759. Swait()
  760. WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.25, CFrame = RightArm.CFrame*CF(0,-5,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
  761. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  762. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
  763. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  764. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(90), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  765. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  766. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  767. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  768. end
  769. local BEAM = CreatePart(3, Effects, "Neon", 0, 1, "Lime green", "Lazer", VT(0,0,0))
  770. local LOOP = CreateSound("415700134", RightArm, 5, 1, false)
  771. local TOCH = BEAM.Touched:Connect(function(hit)
  772. if hit.Anchored == false and hit.Parent ~= Head and hit.Parent ~= Character and hit.Parent ~= Effects then
  773. Kill(hit)
  774. end
  775. end)
  776. local I = 0
  777. repeat
  778. Swait()
  779. I = I + 1
  780. if I <= 10 then
  781. BEAM.Transparency = BEAM.Transparency - 0.1
  782. end
  783. local STARTPOS = RightArm.CFrame*CF(0,-4,0).p
  784. local ENDHIT,ENDPOS = CastProperRay(STARTPOS,Mouse.Hit.p,650,Character)
  785. local DISTANCE = (STARTPOS - ENDPOS).Magnitude
  786. BEAM.CFrame = CF(STARTPOS,ENDPOS)*CF(0,0,-DISTANCE/2)*ANGLES(RAD(0),RAD(0),RAD(I*5))
  787. BEAM.Size = VT(2,2,DISTANCE)
  788. WACKYEFFECT({Time = 5, EffectType = "Box", Size = VT(1,1,1), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = CF(ENDPOS), MoveToPos = CF(ENDPOS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,15,0).p, RotationX = MRANDOM(-5,5), RotationY = MRANDOM(-5,5), RotationZ = MRANDOM(-5,5), Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  789. WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.25, CFrame = RightArm.CFrame*CF(0,-4,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
  790. WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.25, CFrame = CF(ENDPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
  791. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  792. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
  793. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  794. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(90), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  795. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  796. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  797. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  798. if ENDHIT ~= nil then
  799. if ENDHIT.Anchored == false and ENDHIT.Parent ~= Effects then
  800. Banish(ENDHIT)
  801. end
  802. end
  803. until LOOP.Playing == false
  804. GYRO:remove()
  805. BEAM:remove()
  806. ATTACK = false
  807. Rooted = false
  808. end
  809. end)
  810.  
  811.  
  812.  
  813. checks1 = coroutine.wrap(function() -------Checks
  814. while true do
  815. if Root.Velocity.y > 1 then
  816. position = "Jump"
  817. elseif Root.Velocity.y < -1 then
  818. position = "Falling"
  819. elseif Root.Velocity.Magnitude < 2 then
  820. position = "Idle"
  821. elseif Root.Velocity.Magnitude < 20 then
  822. position = "Walking"
  823. elseif Root.Velocity.Magnitude > 20 then
  824. position = "Running"
  825. else
  826. end
  827. wait()
  828. end
  829. end)
  830. checks1()
  831.  
  832. function ray(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  833. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  834. end
  835.  
  836. function ray2(StartPos, EndPos, Distance, Ignore)
  837. local DIRECTION = CFrame.new(StartPos,EndPos).lookVector
  838. return ray(StartPos, DIRECTION, Distance, Ignore)
  839. end
  840.  
  841. OrgnC0 = Neck.C0
  842. local movelimbs = coroutine.wrap(function()
  843. while RunSrv.RenderStepped:wait() do
  844. TrsoLV = Torso.CFrame.lookVector
  845. Dist = nil
  846. Diff = nil
  847. if not MseGuide then
  848. print("Failed to recognize")
  849. else
  850. local _, Point = Workspace:FindPartOnRay(Ray.new(Head.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
  851. Dist = (Head.CFrame.p-Point).magnitude
  852. Diff = Head.CFrame.Y-Point.Y
  853. local _, Point2 = Workspace:FindPartOnRay(Ray.new(LeftArm.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
  854. Dist2 = (LeftArm.CFrame.p-Point).magnitude
  855. Diff2 = LeftArm.CFrame.Y-Point.Y
  856. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  857. 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)
  858. end
  859. end
  860. end)
  861. movelimbs()
  862. immortal = {}
  863. for i,v in pairs(Character:GetDescendants()) do
  864. if v:IsA("BasePart") and v.Name ~= "lmagic" and v.Name ~= "rmagic" then
  865. 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
  866. v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  867. end
  868. table.insert(immortal,{v,v.Parent,v.Material,v.Color,v.Transparency})
  869. elseif v:IsA("JointInstance") then
  870. table.insert(immortal,{v,v.Parent,nil,nil,nil})
  871. end
  872. end
  873. for e = 1, #immortal do
  874. if immortal[e] ~= nil then
  875. local STUFF = immortal[e]
  876. local PART = STUFF[1]
  877. local PARENT = STUFF[2]
  878. local MATERIAL = STUFF[3]
  879. local COLOR = STUFF[4]
  880. local TRANSPARENCY = STUFF[5]
  881. if levitate then
  882. if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= eyo1 and PART.Name ~= eyo2 and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
  883. PART.Material = MATERIAL
  884. PART.Color = COLOR
  885. PART.Transparency = TRANSPARENCY
  886. end
  887. PART.AncestryChanged:connect(function()
  888. PART.Parent = PARENT
  889. end)
  890. else
  891. if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
  892. PART.Material = MATERIAL
  893. PART.Color = COLOR
  894. PART.Transparency = TRANSPARENCY
  895. end
  896. PART.AncestryChanged:connect(function()
  897. PART.Parent = PARENT
  898. end)
  899. end
  900. end
  901. end
  902. function immortality()
  903. for e = 1, #immortal do
  904. if immortal[e] ~= nil then
  905. local STUFF = immortal[e]
  906. local PART = STUFF[1]
  907. local PARENT = STUFF[2]
  908. local MATERIAL = STUFF[3]
  909. local COLOR = STUFF[4]
  910. local TRANSPARENCY = STUFF[5]
  911. if PART.ClassName == "Part" and PART == Root then
  912. PART.Material = MATERIAL
  913. PART.Color = COLOR
  914. PART.Transparency = TRANSPARENCY
  915. end
  916. if PART.Parent ~= PARENT then
  917. hum:Remove()
  918. PART.Parent = PARENT
  919. hum = Instance.new("Humanoid",Character)
  920. hum.Name = "noneofurbusiness"
  921. end
  922. end
  923. end
  924. end
  925. coroutine.wrap(function()
  926. while true do
  927. if hum.Health < .1 then
  928. deadsound = Instance.new("Sound", Torso)
  929. deadsound.Volume = 6
  930. deadsound.SoundId = "rbxassetid://1411352723"
  931. deadsound:Play()
  932. immortality()
  933. end
  934. wait()
  935. end
  936. end)()
  937.  
  938. local anims = coroutine.wrap(function()
  939. while true do
  940. settime = 0.05
  941. sine = sine + change
  942. if position == "Jump" and attacking == false then
  943. change = 1
  944. tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0),.25)
  945. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  946. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  947. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  948. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  949. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(-3),math.rad(-4)), 0.4)
  950. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  951. 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)
  952. elseif position == "Jump2" and attacking == false then
  953. change = 1
  954. 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)
  955. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
  956. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
  957. 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)
  958. 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)
  959. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
  960. 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)
  961. 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)
  962. elseif position == "Falling" and attacking == false then
  963. change = 1
  964. tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0),.25)
  965. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  966. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  967. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  968. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2)
  969. 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)
  970. 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)
  971. elseif position == "Falling2" and attacking == false then
  972. change = 1
  973. 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)
  974. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
  975. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
  976. 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)
  977. 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)
  978. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
  979. 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)
  980. 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)
  981. elseif position == "Walking" and attacking == false and running == false then
  982. change = 1.2
  983. walking = true
  984. tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0),.25)
  985. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,1,0) * CFrame.Angles(math.rad(180),math.rad(1),math.rad(10)), 0.1)
  986. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  987. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  988. 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)
  989. 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)
  990. 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)
  991. 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)
  992. elseif position == "Idle" and attacking == false and running == false then
  993. change = .5
  994. tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0),.25)
  995. 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)
  996. 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)
  997. 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)
  998. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  999. 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)
  1000. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  1001. 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)
  1002. elseif position == "Idle2" and attacking == false and running == false then
  1003. change = .75
  1004. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0 - 3 * math.sin(sine/9)),0,0),.1)
  1005. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  1006. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(-.2,.2,0) * CFrame.Angles(0,0,0),.1)
  1007. LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  1008. 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)
  1009. 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)
  1010. 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)
  1011. 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)
  1012. elseif position == "Walking2" and attacking == false and running == false then
  1013. ws = 100
  1014. 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)
  1015. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
  1016. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
  1017. 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)
  1018. 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)
  1019. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
  1020. 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)
  1021. 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)
  1022. elseif position == "Running" and attacking == false then
  1023. change = 1
  1024. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(0, .5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.3)
  1025. 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)
  1026. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1027. 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)
  1028. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*-math.sin(sine/4)),.3)
  1029. 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)
  1030. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*math.sin(sine/4)),.3)
  1031. 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)
  1032. end
  1033. swait()
  1034. end
  1035. end)
  1036. anims()
  1037. warn("Risen from hell, ready to prove his reputation. Made by Supr14")
Advertisement
Add Comment
Please, Sign In to add comment