Nightcore400

Elio Angelic

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