Advertisement
doryna2281337

Untitled

Jul 25th, 2019
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 43.18 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. screenGui = Instance.new("ScreenGui")
  193. screenGui.Parent = script.Parent
  194.  
  195. local HEADLERP = Instance.new("ManualWeld")
  196. HEADLERP.Parent = Head
  197. HEADLERP.Part0 = Head
  198. HEADLERP.Part1 = Head
  199. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  200.  
  201. local TORSOLERP = Instance.new("ManualWeld")
  202. TORSOLERP.Parent = Root
  203. TORSOLERP.Part0 = Torso
  204. TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  205.  
  206. local ROOTLERP = Instance.new("ManualWeld")
  207. ROOTLERP.Parent = Root
  208. ROOTLERP.Part0 = Root
  209. ROOTLERP.Part1 = Torso
  210. ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  211.  
  212. local RIGHTARMLERP = Instance.new("ManualWeld")
  213. RIGHTARMLERP.Parent = RightArm
  214. RIGHTARMLERP.Part0 = RightArm
  215. RIGHTARMLERP.Part1 = Torso
  216. RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  217.  
  218. local LEFTARMLERP = Instance.new("ManualWeld")
  219. LEFTARMLERP.Parent = LeftArm
  220. LEFTARMLERP.Part0 = LeftArm
  221. LEFTARMLERP.Part1 = Torso
  222. LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  223.  
  224. local RIGHTLEGLERP = Instance.new("ManualWeld")
  225. RIGHTLEGLERP.Parent = RightLeg
  226. RIGHTLEGLERP.Part0 = RightLeg
  227. RIGHTLEGLERP.Part1 = Torso
  228. RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  229.  
  230. local LEFTLEGLERP = Instance.new("ManualWeld")
  231. LEFTLEGLERP.Parent = LeftLeg
  232. LEFTLEGLERP.Part0 = LeftLeg
  233. LEFTLEGLERP.Part1 = Torso
  234. LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  235.  
  236. local function weldBetween(a, b)
  237. local weld = Instance.new("ManualWeld", a)
  238. weld.Part0 = a
  239. weld.Part1 = b
  240. weld.C0 = a.CFrame:inverse() * b.CFrame
  241. return weld
  242. end
  243.  
  244. function MAKETRAIL(PARENT,POSITION1,POSITION2,LIFETIME,COLOR)
  245. A = Instance.new("Attachment", PARENT)
  246. A.Position = POSITION1
  247. A.Name = "A"
  248. B = Instance.new("Attachment", PARENT)
  249. B.Position = POSITION2
  250. B.Name = "B"
  251. tr1 = Instance.new("Trail", PARENT)
  252. tr1.Attachment0 = A
  253. tr1.Attachment1 = B
  254. tr1.Enabled = true
  255. tr1.Lifetime = LIFETIME
  256. tr1.TextureMode = "Static"
  257. tr1.LightInfluence = 0
  258. tr1.Color = COLOR
  259. tr1.Transparency = NumberSequence.new(0, 1)
  260. end
  261.  
  262. shirt = Instance.new("Shirt", Character)
  263. shirt.Name = "Shirt"
  264. pants = Instance.new("Pants", Character)
  265. pants.Name = "Pants"
  266. Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=2278030537"
  267. Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=2278030537"
  268.  
  269. skull = Instance.new("Part",Character)
  270. skull.Size = Vector3.new(2,2,2)
  271. skull.CFrame = Head.CFrame
  272. skull.CanCollide = false
  273. skullweld = Instance.new("Weld",skull)
  274. skullweld.Part0 = skull
  275. skullweld.Part1 = Head
  276. skullweld.C0 = skull.CFrame:inverse() * Head.CFrame
  277. mskull = Instance.new("SpecialMesh", skull)
  278. mskull.MeshType = "FileMesh"
  279. mskull.Scale = Vector3.new(1.12, 1.12, 1.12)
  280. mskull.MeshId,mskull.TextureId = 'http://www.roblox.com/asset/?id=181343290','http://www.roblox.com/asset/?id=181343313'
  281. fedora = Instance.new("Part",Character)
  282. fedora.Size = Vector3.new(2,2,2)
  283. fedora.CFrame = Head.CFrame
  284. fedora.CanCollide = false
  285. fedoraweld = Instance.new("Weld",fedora)
  286. fedoraweld.Part0 = fedora
  287. fedoraweld.Part1 = Head
  288. fedoraweld.C0 = fedora.CFrame:inverse() * Head.CFrame * CFrame.new(0,-.8,0)
  289. mfedora = Instance.new("SpecialMesh", fedora)
  290. mfedora.MeshType = "FileMesh"
  291. mfedora.Scale = Vector3.new(1.1, 1.1, 1.1)
  292. mfedora.MeshId,mfedora.TextureId = 'http://www.roblox.com/asset/?id=13640868','http://www.roblox.com/asset/?id=431036192'
  293. tommygun = Instance.new("Part",Character)
  294. tommygun.Size = Vector3.new(2,2,2)
  295. tommygun.CFrame = RightArm.CFrame
  296. tommygun.CanCollide = false
  297. tommygunweld = Instance.new("Weld",tommygun)
  298. tommygunweld.Part0 = tommygun
  299. tommygunweld.Part1 = RightArm
  300. tommygunweld.C0 = tommygun.CFrame:inverse() * RightArm.CFrame * CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0)
  301. mtommygun = Instance.new("SpecialMesh", tommygun)
  302. mtommygun.MeshType = "FileMesh"
  303. mtommygun.Scale = Vector3.new(1, 1, 1)
  304. mtommygun.MeshId,mtommygun.TextureId = 'http://www.roblox.com/asset/?id=116679805','http://www.roblox.com/asset/?id=116679995'
  305. shootbox = Instance.new("Part",Character)
  306. shootbox.Size = Vector3.new(.2,.2,.2)
  307. shootbox.CanCollide = false
  308. shootbox.Transparency = 1
  309. shootbox.CFrame = tommygun.CFrame
  310. shootboxweld = weldBetween(shootbox,tommygun)
  311. shootboxweld.C0 = CFrame.new(0,-.05,2.62)
  312. light = Instance.new("PointLight", shootbox)
  313. light.Color = BrickColor.new("Bright yellow").Color
  314. light.Range = 5
  315. light.Brightness = 11
  316. light.Enabled = false
  317. particlemiter1 = Instance.new("ParticleEmitter", shootbox)
  318. particlemiter1.Enabled = false
  319. particlemiter1.Texture = "rbxassetid://461242617"
  320. particlemiter1.Lifetime = NumberRange.new(.1)
  321. particlemiter1.Size = NumberSequence.new(1,0)
  322. particlemiter1.Rate = 20
  323. particlemiter1.RotSpeed = NumberRange.new(0)
  324. particlemiter1.Speed = NumberRange.new(0)
  325. tommygunammo = Instance.new("Part",Character)
  326. tommygunammo.Size = Vector3.new(2,2,2)
  327. tommygunammo.CFrame = tommygun.CFrame
  328. tommygunammo.CanCollide = false
  329. tommygunammoweld = Instance.new("Weld",tommygunammo)
  330. tommygunammoweld.Part0 = tommygunammo
  331. tommygunammoweld.Part1 = tommygun
  332. tommygunammoweld.C0 = tommygun.CFrame:inverse() * tommygun.CFrame * CFrame.new(0,.4,.25) * CFrame.Angles(math.rad(0),math.rad(0),0)
  333. mtommygunammo = Instance.new("SpecialMesh", tommygunammo)
  334. mtommygunammo.MeshType = "FileMesh"
  335. mtommygunammo.Scale = Vector3.new(1, 1, 1)
  336. mtommygunammo.MeshId,mtommygunammo.TextureId = 'http://www.roblox.com/asset/?id=116740155','http://www.roblox.com/asset/?id=116679995'
  337. mask = Instance.new("Part",Character)
  338. mask.Size = Vector3.new(2,2,2)
  339. mask.CFrame = Head.CFrame
  340. mask.CanCollide = false
  341. maskweld = Instance.new("Weld",mask)
  342. maskweld.Part0 = mask
  343. maskweld.Part1 = Head
  344. maskweld.C0 = mask.CFrame:inverse() * Head.CFrame * CFrame.new(-.2,0,.62) * CFrame.Angles(math.rad(0),math.rad(10),math.rad(0))
  345. mmask = Instance.new("SpecialMesh", mask)
  346. mmask.MeshType = "FileMesh"
  347. mmask.Scale = Vector3.new(1.25, 1.25, 1.25)
  348. mmask.MeshId,mmask.TextureId = 'http://www.roblox.com/asset/?id=12470186','http://www.roblox.com/asset/?id=12470201'
  349.  
  350.  
  351.  
  352. coroutine.wrap(function()
  353. while wait() do
  354. hum.WalkSpeed = ws
  355. LeftArm.BrickColor = BrickColor.new("Really black")
  356. RightArm.BrickColor = BrickColor.new("Really black")
  357. Head.BrickColor = BrickColor.new("Really black")
  358. end
  359. end)()
  360. godmode = coroutine.wrap(function()
  361. for i,v in pairs(Character:GetChildren()) do
  362. if v:IsA("BasePart") and v ~= Root then
  363. v.Anchored = false
  364. end
  365. end
  366. while true do
  367. hum.MaxHealth = math.huge
  368. wait(0.0000001)
  369. hum.Health = math.huge
  370. wait()
  371. end
  372. end)
  373. godmode()
  374. ff = Instance.new("ForceField", Character)
  375. ff.Visible = false
  376.  
  377. coroutine.wrap(function()
  378. for i,v in pairs(Character:GetChildren()) do
  379. if v.Name == "Animate" then v:Remove()
  380. end
  381. end
  382. end)()
  383.  
  384. function damagealll(Radius,Position)
  385. local Returning = {}
  386. for _,v in pairs(workspace:GetChildren()) do
  387. if v~=Character and v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Torso') or v:FindFirstChild('UpperTorso') then
  388. if v:FindFirstChild("Torso") then
  389. local Mag = (v.Torso.Position - Position).magnitude
  390. if Mag < Radius then
  391. table.insert(Returning,v)
  392. end
  393. elseif v:FindFirstChild("UpperTorso") then
  394. local Mag = (v.UpperTorso.Position - Position).magnitude
  395. if Mag < Radius then
  396. table.insert(Returning,v)
  397. end
  398. end
  399. end
  400. end
  401. return Returning
  402. end
  403.  
  404. ArtificialHB = Instance.new("BindableEvent", script)
  405. ArtificialHB.Name = "Heartbeat"
  406. script:WaitForChild("Heartbeat")
  407.  
  408. frame = 1 / 60
  409. tf = 0
  410. allowframeloss = false
  411. tossremainder = false
  412.  
  413.  
  414. lastframe = tick()
  415. script.Heartbeat:Fire()
  416.  
  417.  
  418. game:GetService("RunService").Heartbeat:connect(function(s, p)
  419. tf = tf + s
  420. if tf >= frame then
  421. if allowframeloss then
  422. script.Heartbeat:Fire()
  423. lastframe = tick()
  424. else
  425. for i = 1, math.floor(tf / frame) do
  426. script.Heartbeat:Fire()
  427. end
  428. lastframe = tick()
  429. end
  430. if tossremainder then
  431. tf = 0
  432. else
  433. tf = tf - frame * math.floor(tf / frame)
  434. end
  435. end
  436. end)
  437.  
  438. function swait(num)
  439. if num == 0 or num == nil then
  440. game:service("RunService").Stepped:wait(0)
  441. else
  442. for i = 0, num do
  443. game:service("RunService").Stepped:wait(0)
  444. end
  445. end
  446. end
  447.  
  448. doomtheme = Instance.new("Sound", Torso)
  449. doomtheme.Volume = 1
  450. doomtheme.Name = "doomtheme"
  451. doomtheme.Looped = true
  452. doomtheme.SoundId = "rbxassetid://318812395"
  453. doomtheme:Play()
  454.  
  455. Torso.ChildRemoved:connect(function(removed)
  456. if removed.Name == "doomtheme" then
  457.  
  458. doomtheme = Instance.new("Sound", Torso)
  459. doomtheme.Volume = 1
  460. doomtheme.Name = "doomtheme"
  461. doomtheme.Looped = true
  462. doomtheme.SoundId = "rbxassetid://318812395"
  463. doomtheme:Play()
  464. end
  465. end)
  466.  
  467. for _,n in pairs(Character:GetChildren()) do
  468. if n:IsA("Accessory") then n:Remove() end
  469. end
  470. for _,x in pairs(Character:GetChildren()) do
  471. if x:IsA("Decal") then x:Remove() end
  472. end
  473.  
  474. function SOUND(PARENT,ID,VOL,LOOP,REMOVE)
  475. so = Instance.new("Sound")
  476. so.Parent = PARENT
  477. so.SoundId = "rbxassetid://"..ID
  478. so.Volume = VOL
  479. so.Looped = LOOP
  480. so:Play()
  481. removeuseless:AddItem(so,REMOVE)
  482. end
  483.  
  484. mouse.KeyDown:connect(function(Press)
  485. Press=Press:lower()
  486. if Press=='t' then
  487. ws = 100
  488. end
  489. end)
  490.  
  491. mouse.KeyDown:connect(function(Press)
  492. Press=Press:lower()
  493. if Press=='e' then
  494. ws = 20
  495. if debounce then return end
  496. if equip then
  497. g1:Remove()
  498. light.Enabled = false
  499. pcall(function()
  500. temmy:Remove()
  501. end)
  502. for i,v in pairs(tommygun:GetDescendants()) do
  503. if v.Name == "temmy" then v:Remove()
  504. end
  505. end
  506. light.Enabled = false
  507. particlemiter1.Enabled = false
  508. hum.CameraOffset = Vector3.new(0,0,0)
  509. attacking = false
  510. equip = false
  511. shooting = false
  512. gunallowance = false
  513. ws = 20
  514. else
  515. g1 = Instance.new("BodyGyro", Root)
  516. g1.D = 175
  517. g1.P = 20000
  518. g1.MaxTorque = Vector3.new(0,9000,0)
  519. g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p)
  520. attacking = true
  521. debounce = true
  522. equip = true
  523. coroutine.wrap(function()
  524. while equip do
  525. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.1)
  526. ws = 20
  527. swait()
  528. if Root.Velocity.y > 1 then
  529. position = "Jump3"
  530. elseif Root.Velocity.y < -1 then
  531. position = "Falling3"
  532. elseif Root.Velocity.Magnitude > 2 and running == false and attacking == true then
  533. position = "Walk3"
  534. elseif Root.Velocity.Magnitude < 2 and running == false and attacking == true then
  535. position = "Idle4"
  536. end
  537. end
  538. end)()
  539. coroutine.wrap(function()
  540. while equip do
  541. swait()
  542. settime = 0.05
  543. sine = sine + change
  544. if position == "Jump3" and attacking and not running then
  545. change = .65
  546. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  547. 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)
  548. elseif position == "Falling3" and attacking and not running then
  549. change = .65
  550. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.4)
  551. 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)
  552. elseif position == "Walk3" and attacking == true and running == false then
  553. change = .65
  554. 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)
  555. 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)
  556. 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)
  557. elseif position == "Idle4" and attacking == true and running == false then
  558. change = .65
  559. 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)
  560. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  561. 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)
  562. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  563. 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)
  564. end
  565. end
  566. end)()
  567. SOUND(RightArm,898163129,6,false,2)
  568. for i = 1, 30 do
  569. tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.68,1.25) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(-12)),.25)
  570. 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)
  571. 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)
  572. swait()
  573. end
  574. gunallowance = true
  575. mouse.Button1Down:connect(function()
  576. if gunallowance then
  577. particlemiter1.Enabled = true
  578. temmy = Instance.new("Sound",tommygun)
  579. temmy.SoundId = "rbxassetid://2950778256"
  580. temmy.Volume = 6
  581. temmy.Name = "temmy"
  582. temmy.Looped = true
  583. temmy:Play()
  584. shooting = true
  585. end
  586. end)
  587. mouse.Button1Up:connect(function()
  588. if gunallowance then
  589. hum.CameraOffset = Vector3.new(0,0,0)
  590. light.Enabled = false
  591. particlemiter1.Enabled = false
  592. pcall(function()
  593. temmy:Remove()
  594. end)
  595. for i,v in pairs(tommygun:GetDescendants()) do
  596. if v.Name == "temmy" then v:Remove()
  597. end
  598. end
  599. shooting = false
  600. end
  601. end)
  602. coroutine.wrap(function()
  603. if firsttime2 then return end
  604. firsttime2 = true
  605. while true do
  606. swait(3)
  607. if shooting then
  608. if switch1 then
  609. switch1 = false
  610. switch2 = true
  611. light.Enabled = true
  612. elseif switch2 then
  613. switch1 = true
  614. switch2 = false
  615. light.Enabled = false
  616. end
  617. pcall(function()
  618. if mouse.Target.Parent:FindFirstChildOfClass("Humanoid") then
  619. mouse.Target.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(3,7))
  620. end
  621. end)
  622. end
  623. end
  624. end)()
  625. coroutine.wrap(function()
  626. if firsttime then return end
  627. firsttime = true
  628. while true do
  629. if shooting then
  630. 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)
  631. 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)
  632. pcall(function()
  633. if mouse.Target.Parent:FindFirstChildOfClass("Humanoid") then
  634. mouse.Target.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(100)
  635. end
  636. end)
  637. elseif not shooting then
  638. end
  639. swait()
  640. end
  641. end)()
  642. debounce = false
  643. end
  644. end
  645. end)
  646.  
  647. mouse.KeyDown:connect(function(Press)
  648. Press=Press:lower()
  649. if Press=='z' then
  650. ws = 100
  651. if tauntdebounce then return end
  652. tauntdebounce = true
  653. local b1 = Instance.new("BillboardGui",Head)
  654. b1.Size = UDim2.new(0,4,0,1.6)
  655. b1.StudsOffset = Vector3.new(0,0,0)
  656. b1.Name = "laff"
  657. b1.AlwaysOnTop = true
  658. b1.StudsOffset = Vector3.new(0,2,0)
  659. b1.Adornee = Head
  660. removeuseless:AddItem(b1,3)
  661. local b2 = Instance.new("TextLabel",b1)
  662. b2.BackgroundTransparency = 1
  663. b2.Text = "I will show you the pain..."
  664. b2.Font = "Garamond"
  665. b2.TextSize = 30
  666. b2.Name = "lafftext"
  667. b2.TextStrokeTransparency = 0
  668. b2.TextColor3 = BrickColor.new("Grey").Color
  669. b2.TextStrokeColor3 = Color3.new(0,0,0)
  670. b2.Size = UDim2.new(1,0,.5,0)
  671. laff = Instance.new("Sound",Head)
  672. laff.SoundId = "rbxassetid://2126502539"
  673. laff.Volume = 5
  674. laff:Play()
  675. wait(5)
  676. laff:Remove()
  677. tauntdebounce = false
  678. print("Music switched to 1")
  679. id = 2111948183
  680. doomtheme.SoundId = "rbxassetid://"..id
  681. doomtheme:Play()
  682. end
  683. end)
  684.  
  685. mouse.KeyDown:connect(function(Press)
  686. Press=Press:lower()
  687. if Press=='v' then
  688. print("Music switched to 4")
  689. id = 2146634037
  690. doomtheme.SoundId = "rbxassetid://"..id
  691. doomtheme:Play()
  692. end
  693. end)
  694.  
  695. mouse.KeyDown:connect(function(Press)
  696. Press=Press:lower()
  697. if Press=='x' then
  698. print("Music switched to 2")
  699. id = 1494152209
  700. doomtheme.SoundId = "rbxassetid://"..id
  701. doomtheme:Play()
  702. end
  703. end)
  704.  
  705. mouse.KeyDown:connect(function(Press)
  706. Press=Press:lower()
  707. if Press=='c' then
  708. print("Music switched to 3")
  709. id = 2502570386
  710. doomtheme.SoundId = "rbxassetid://"..id
  711. doomtheme:Play()
  712. end
  713. end)
  714.  
  715. mouse.KeyDown:connect(function(Press)
  716. Press=Press:lower()
  717. if Press=='b' then
  718. print("Music switched to 5")
  719. id = 3518913974
  720. doomtheme.SoundId = "rbxassetid://"..id
  721. doomtheme:Play()
  722. end
  723. end)
  724.  
  725. mouse.KeyDown:connect(function(Press)
  726. Press=Press:lower()
  727. if Press=='q' then
  728. ATTACK = true
  729. Rooted = false
  730. local GYRO =g1 ("BodyGyro",RootPart)
  731. GYRO.D = 100
  732. GYRO.P = 2000
  733. GYRO.MaxTorque = VT(0,4000000,0)
  734. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  735. CreateSound("93724183", RightArm, 5, 1, false)
  736. for i=1, 35 do
  737. Swait()
  738. 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})
  739. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  740. 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)
  741. 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)
  742. 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)
  743. 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)
  744. 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)
  745. 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)
  746. end
  747. local BEAM = CreatePart(3, Effects, "Neon", 0, 1, "Lime green", "Lazer", VT(0,0,0))
  748. local LOOP = CreateSound("415700134", RightArm, 5, 1, false)
  749. local TOCH = BEAM.Touched:Connect(function(hit)
  750. if hit.Anchored == false and hit.Parent ~= Head and hit.Parent ~= Character and hit.Parent ~= Effects then
  751. Kill(hit)
  752. end
  753. end)
  754. local I = 0
  755. repeat
  756. Swait()
  757. I = I + 1
  758. if I <= 10 then
  759. BEAM.Transparency = BEAM.Transparency - 0.1
  760. end
  761. local STARTPOS = RightArm.CFrame*CF(0,-4,0).p
  762. local ENDHIT,ENDPOS = CastProperRay(STARTPOS,Mouse.Hit.p,650,Character)
  763. local DISTANCE = (STARTPOS - ENDPOS).Magnitude
  764. BEAM.CFrame = CF(STARTPOS,ENDPOS)*CF(0,0,-DISTANCE/2)*ANGLES(RAD(0),RAD(0),RAD(I*5))
  765. BEAM.Size = VT(2,2,DISTANCE)
  766. 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})
  767. 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})
  768. 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})
  769. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  770. 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)
  771. 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)
  772. 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)
  773. 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)
  774. 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)
  775. 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)
  776. if ENDHIT ~= nil then
  777. if ENDHIT.Anchored == false and ENDHIT.Parent ~= Effects then
  778. Banish(ENDHIT)
  779. end
  780. end
  781. until LOOP.Playing == false
  782. GYRO:remove()
  783. BEAM:remove()
  784. ATTACK = false
  785. Rooted = false
  786. end
  787. end)
  788.  
  789.  
  790.  
  791. checks1 = coroutine.wrap(function() -------Checks
  792. while true do
  793. if Root.Velocity.y > 1 then
  794. position = "Jump"
  795. elseif Root.Velocity.y < -1 then
  796. position = "Falling"
  797. elseif Root.Velocity.Magnitude < 2 then
  798. position = "Idle"
  799. elseif Root.Velocity.Magnitude < 20 then
  800. position = "Walking"
  801. elseif Root.Velocity.Magnitude > 20 then
  802. position = "Running"
  803. else
  804. end
  805. wait()
  806. end
  807. end)
  808. checks1()
  809.  
  810. function ray(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  811. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  812. end
  813.  
  814. function ray2(StartPos, EndPos, Distance, Ignore)
  815. local DIRECTION = CFrame.new(StartPos,EndPos).lookVector
  816. return ray(StartPos, DIRECTION, Distance, Ignore)
  817. end
  818.  
  819. OrgnC0 = Neck.C0
  820. local movelimbs = coroutine.wrap(function()
  821. while RunSrv.RenderStepped:wait() do
  822. TrsoLV = Torso.CFrame.lookVector
  823. Dist = nil
  824. Diff = nil
  825. if not MseGuide then
  826. print("Failed to recognize")
  827. else
  828. local _, Point = Workspace:FindPartOnRay(Ray.new(Head.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
  829. Dist = (Head.CFrame.p-Point).magnitude
  830. Diff = Head.CFrame.Y-Point.Y
  831. local _, Point2 = Workspace:FindPartOnRay(Ray.new(LeftArm.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
  832. Dist2 = (LeftArm.CFrame.p-Point).magnitude
  833. Diff2 = LeftArm.CFrame.Y-Point.Y
  834. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  835. 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)
  836. end
  837. end
  838. end)
  839. movelimbs()
  840. immortal = {}
  841. for i,v in pairs(Character:GetDescendants()) do
  842. if v:IsA("BasePart") and v.Name ~= "lmagic" and v.Name ~= "rmagic" then
  843. 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
  844. v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  845. end
  846. table.insert(immortal,{v,v.Parent,v.Material,v.Color,v.Transparency})
  847. elseif v:IsA("JointInstance") then
  848. table.insert(immortal,{v,v.Parent,nil,nil,nil})
  849. end
  850. end
  851. for e = 1, #immortal do
  852. if immortal[e] ~= nil then
  853. local STUFF = immortal[e]
  854. local PART = STUFF[1]
  855. local PARENT = STUFF[2]
  856. local MATERIAL = STUFF[3]
  857. local COLOR = STUFF[4]
  858. local TRANSPARENCY = STUFF[5]
  859. if levitate then
  860. if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= eyo1 and PART.Name ~= eyo2 and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
  861. PART.Material = MATERIAL
  862. PART.Color = COLOR
  863. PART.Transparency = TRANSPARENCY
  864. end
  865. PART.AncestryChanged:connect(function()
  866. PART.Parent = PARENT
  867. end)
  868. else
  869. if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
  870. PART.Material = MATERIAL
  871. PART.Color = COLOR
  872. PART.Transparency = TRANSPARENCY
  873. end
  874. PART.AncestryChanged:connect(function()
  875. PART.Parent = PARENT
  876. end)
  877. end
  878. end
  879. end
  880. function immortality()
  881. for e = 1, #immortal do
  882. if immortal[e] ~= nil then
  883. local STUFF = immortal[e]
  884. local PART = STUFF[1]
  885. local PARENT = STUFF[2]
  886. local MATERIAL = STUFF[3]
  887. local COLOR = STUFF[4]
  888. local TRANSPARENCY = STUFF[5]
  889. if PART.ClassName == "Part" and PART == Root then
  890. PART.Material = MATERIAL
  891. PART.Color = COLOR
  892. PART.Transparency = TRANSPARENCY
  893. end
  894. if PART.Parent ~= PARENT then
  895. hum:Remove()
  896. PART.Parent = PARENT
  897. hum = Instance.new("Humanoid",Character)
  898. hum.Name = "noneofurbusiness"
  899. end
  900. end
  901. end
  902. end
  903. coroutine.wrap(function()
  904. while true do
  905. if hum.Health < .1 then
  906. deadsound = Instance.new("Sound", Torso)
  907. deadsound.Volume = 6
  908. deadsound.SoundId = "rbxassetid://1411352723"
  909. deadsound:Play()
  910. immortality()
  911. end
  912. wait()
  913. end
  914. end)()
  915.  
  916. local anims = coroutine.wrap(function()
  917. while true do
  918. settime = 0.05
  919. sine = sine + change
  920. if position == "Jump" and attacking == false then
  921. change = 1
  922. tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0),.25)
  923. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  924. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  925. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  926. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  927. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(-3),math.rad(-4)), 0.4)
  928. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  929. 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)
  930. elseif position == "Jump2" and attacking == false then
  931. change = 1
  932. 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)
  933. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
  934. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
  935. 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)
  936. 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)
  937. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
  938. 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)
  939. 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)
  940. elseif position == "Falling" and attacking == false then
  941. change = 1
  942. tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0),.25)
  943. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  944. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  945. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  946. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2)
  947. 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)
  948. 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)
  949. elseif position == "Falling2" and attacking == false then
  950. change = 1
  951. 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)
  952. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
  953. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
  954. 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)
  955. 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)
  956. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
  957. 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)
  958. 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)
  959. elseif position == "Walking" and attacking == false and running == false then
  960. change = 1.2
  961. walking = true
  962. tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0),.25)
  963. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,1,0) * CFrame.Angles(math.rad(180),math.rad(1),math.rad(10)), 0.1)
  964. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  965. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  966. 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)
  967. 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)
  968. 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)
  969. 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)
  970. elseif position == "Idle" and attacking == false and running == false then
  971. change = .5
  972. tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0),.25)
  973. 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)
  974. 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)
  975. 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)
  976. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  977. 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)
  978. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  979. 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)
  980. elseif position == "Idle2" and attacking == false and running == false then
  981. change = .75
  982. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0 - 3 * math.sin(sine/9)),0,0),.1)
  983. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  984. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(-.2,.2,0) * CFrame.Angles(0,0,0),.1)
  985. LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  986. 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)
  987. 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)
  988. 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)
  989. 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)
  990. elseif position == "Walking2" and attacking == false and running == false then
  991. ws = 20
  992. 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)
  993. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
  994. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
  995. 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)
  996. 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)
  997. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
  998. 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)
  999. 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)
  1000. elseif position == "Running" and attacking == false then
  1001. change = 1
  1002. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(0, .5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.3)
  1003. 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)
  1004. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1005. 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)
  1006. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*-math.sin(sine/4)),.3)
  1007. 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)
  1008. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*math.sin(sine/4)),.3)
  1009. 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)
  1010. end
  1011. swait()
  1012. end
  1013. end)
  1014. anims()
  1015. warn("Risen from hell, ready to prove his reputation. Made by Supr14")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement