Advertisement
Cute_Sylveon

xd

Sep 7th, 2018
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 38.95 KB | None | 0 0
  1. -----------//Elio Blasio\\-----------
  2. --[[Movelist
  3. E = Equip/Unequip, click to shoot, hold to spray
  4. T = Taunt
  5. ---------]]
  6. --Credits to Shackluster for the refit/anti-breakjoints function, he's a cool guy/great scripter.--
  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 = 18
  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=1123249914"
  267. Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=1839310233"
  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=18987684'
  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. --
  306. tommygun2 = Instance.new("Part",Character)
  307. tommygun2.Size = Vector3.new(2,2,2)
  308. tommygun2.CFrame = LeftArm.CFrame
  309. tommygun2.CanCollide = false
  310. tommygun2weld = Instance.new("Weld",tommygun2)
  311. tommygun2weld.Part0 = tommygun2
  312. tommygun2weld.Part1 = LeftArm
  313. tommygun2weld.C0 = tommygun2.CFrame:inverse() * LeftArm.CFrame * CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0)
  314. mtommygun2 = Instance.new("SpecialMesh", tommygun2)
  315. mtommygun2.MeshType = "FileMesh"
  316. mtommygun2.Scale = Vector3.new(1, 1, 1)
  317. mtommygun2.MeshId,mtommygun2.TextureId = 'http://www.roblox.com/asset/?id=116679805','http://www.roblox.com/asset/?id=116679995'
  318.  
  319. shootbox = Instance.new("Part",Character)
  320. shootbox.Size = Vector3.new(.2,.2,.2)
  321. shootbox.CanCollide = false
  322. shootbox.Transparency = 1
  323. shootbox.CFrame = tommygun.CFrame
  324. shootboxweld = weldBetween(shootbox,tommygun)
  325. shootboxweld.C0 = CFrame.new(0,-.05,2.62)
  326. light = Instance.new("PointLight", shootbox)
  327. light.Color = BrickColor.new("Bright yellow").Color
  328. light.Range = 5
  329. light.Brightness = 11
  330. light.Enabled = false
  331. particlemiter1 = Instance.new("ParticleEmitter", shootbox)
  332. particlemiter1.Enabled = false
  333. particlemiter1.Texture = "rbxassetid://461242617"
  334. particlemiter1.Lifetime = NumberRange.new(.1)
  335. particlemiter1.Size = NumberSequence.new(1,0)
  336. particlemiter1.Rate = 20
  337. particlemiter1.RotSpeed = NumberRange.new(0)
  338. particlemiter1.Speed = NumberRange.new(0)
  339. tommygunammo = Instance.new("Part",Character)
  340. tommygunammo.Size = Vector3.new(2,2,2)
  341. tommygunammo.CFrame = tommygun.CFrame
  342. tommygunammo.CanCollide = false
  343. tommygunammoweld = Instance.new("Weld",tommygunammo)
  344. tommygunammoweld.Part0 = tommygunammo
  345. tommygunammoweld.Part1 = tommygun
  346. tommygunammoweld.C0 = tommygun.CFrame:inverse() * tommygun.CFrame * CFrame.new(0,.4,.25) * CFrame.Angles(math.rad(0),math.rad(0),0)
  347. mtommygunammo = Instance.new("SpecialMesh", tommygunammo)
  348. mtommygunammo.MeshType = "FileMesh"
  349. mtommygunammo.Scale = Vector3.new(1, 1, 1)
  350. mtommygunammo.MeshId,mtommygunammo.TextureId = 'http://www.roblox.com/asset/?id=116740155','http://www.roblox.com/asset/?id=116679995'
  351. mask = Instance.new("Part",Character)
  352. mask.Size = Vector3.new(2,2,2)
  353. mask.CFrame = Head.CFrame
  354. mask.CanCollide = false
  355. maskweld = Instance.new("Weld",mask)
  356. maskweld.Part0 = mask
  357. maskweld.Part1 = Head
  358. maskweld.C0 = mask.CFrame:inverse() * Head.CFrame * CFrame.new(-.2,0,.62) * CFrame.Angles(math.rad(0),math.rad(10),math.rad(0))
  359. mmask = Instance.new("SpecialMesh", mask)
  360. mmask.MeshType = "FileMesh"
  361. mmask.Scale = Vector3.new(1.25, 1.25, 1.25)
  362. mmask.MeshId,mmask.TextureId = 'http://www.roblox.com/asset/?id=12470186','http://www.roblox.com/asset/?id=12470201'
  363.  
  364.  
  365.  
  366. coroutine.wrap(function()
  367. while wait() do
  368. hum.WalkSpeed = ws
  369. LeftArm.BrickColor = BrickColor.new("Really black")
  370. RightArm.BrickColor = BrickColor.new("Really black")
  371. Head.BrickColor = BrickColor.new("Really black")
  372. end
  373. end)()
  374. godmode = coroutine.wrap(function()
  375. for i,v in pairs(Character:GetChildren()) do
  376. if v:IsA("BasePart") and v ~= Root then
  377. v.Anchored = false
  378. end
  379. end
  380. while true do
  381. hum.MaxHealth = math.huge
  382. wait(0.0000001)
  383. hum.Health = math.huge
  384. wait()
  385. end
  386. end)
  387. godmode()
  388. ff = Instance.new("ForceField", Character)
  389. ff.Visible = false
  390.  
  391. coroutine.wrap(function()
  392. for i,v in pairs(Character:GetChildren()) do
  393. if v.Name == "Animate" then v:Remove()
  394. end
  395. end
  396. end)()
  397.  
  398. function damagealll(Radius,Position)
  399. local Returning = {}
  400. for _,v in pairs(workspace:GetChildren()) do
  401. if v~=Character and v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Torso') or v:FindFirstChild('UpperTorso') then
  402. if v:FindFirstChild("Torso") then
  403. local Mag = (v.Torso.Position - Position).magnitude
  404. if Mag < Radius then
  405. table.insert(Returning,v)
  406. end
  407. elseif v:FindFirstChild("UpperTorso") then
  408. local Mag = (v.UpperTorso.Position - Position).magnitude
  409. if Mag < Radius then
  410. table.insert(Returning,v)
  411. end
  412. end
  413. end
  414. end
  415. return Returning
  416. end
  417.  
  418. ArtificialHB = Instance.new("BindableEvent", script)
  419. ArtificialHB.Name = "Heartbeat"
  420. script:WaitForChild("Heartbeat")
  421.  
  422. frame = 1 / 60
  423. tf = 0
  424. allowframeloss = false
  425. tossremainder = false
  426.  
  427.  
  428. lastframe = tick()
  429. script.Heartbeat:Fire()
  430.  
  431.  
  432. game:GetService("RunService").Heartbeat:connect(function(s, p)
  433. tf = tf + s
  434. if tf >= frame then
  435. if allowframeloss then
  436. script.Heartbeat:Fire()
  437. lastframe = tick()
  438. else
  439. for i = 1, math.floor(tf / frame) do
  440. script.Heartbeat:Fire()
  441. end
  442. lastframe = tick()
  443. end
  444. if tossremainder then
  445. tf = 0
  446. else
  447. tf = tf - frame * math.floor(tf / frame)
  448. end
  449. end
  450. end)
  451.  
  452. function swait(num)
  453. if num == 0 or num == nil then
  454. game:service("RunService").Stepped:wait(0)
  455. else
  456. for i = 0, num do
  457. game:service("RunService").Stepped:wait(0)
  458. end
  459. end
  460. end
  461.  
  462. doomtheme = Instance.new("Sound", Torso)
  463. doomtheme.Volume = 1
  464. doomtheme.Name = "doomtheme"
  465. doomtheme.Looped = true
  466. doomtheme.SoundId = "rbxassetid://318812395"
  467. doomtheme:Play()
  468.  
  469. Torso.ChildRemoved:connect(function(removed)
  470. if removed.Name == "doomtheme" then
  471.  
  472. doomtheme = Instance.new("Sound", Torso)
  473. doomtheme.Volume = 1
  474. doomtheme.Name = "doomtheme"
  475. doomtheme.Looped = true
  476. doomtheme.SoundId = "rbxassetid://318812395"
  477. doomtheme:Play()
  478. end
  479. end)
  480.  
  481. for _,n in pairs(Character:GetChildren()) do
  482. if n:IsA("Accessory") then n:Remove() end
  483. end
  484. for _,x in pairs(Character:GetChildren()) do
  485. if x:IsA("Decal") then x:Remove() end
  486. end
  487.  
  488. function SOUND(PARENT,ID,VOL,LOOP,REMOVE)
  489. so = Instance.new("Sound")
  490. so.Parent = PARENT
  491. so.SoundId = "rbxassetid://"..ID
  492. so.Volume = VOL
  493. so.Looped = LOOP
  494. so:Play()
  495. removeuseless:AddItem(so,REMOVE)
  496. end
  497.  
  498. mouse.KeyDown:connect(function(Press)
  499. Press=Press:lower()
  500. if Press=='t' then
  501. if tauntdebounce then return end
  502. tauntdebounce = true
  503. local b1 = Instance.new("BillboardGui",Head)
  504. b1.Size = UDim2.new(0,4,0,1.6)
  505. b1.StudsOffset = Vector3.new(0,0,0)
  506. b1.Name = "laff"
  507. b1.AlwaysOnTop = true
  508. b1.StudsOffset = Vector3.new(0,2,0)
  509. b1.Adornee = Head
  510. removeuseless:AddItem(b1,3)
  511. local b2 = Instance.new("TextLabel",b1)
  512. b2.BackgroundTransparency = 1
  513. b2.Text = "HeHeHeHeHeHeHe..."
  514. b2.Font = "Garamond"
  515. b2.TextSize = 30
  516. b2.Name = "lafftext"
  517. b2.TextStrokeTransparency = 0
  518. b2.TextColor3 = BrickColor.new("Grey").Color
  519. b2.TextStrokeColor3 = Color3.new(0,0,0)
  520. b2.Size = UDim2.new(1,0,.5,0)
  521. laff = Instance.new("Sound",Head)
  522. laff.SoundId = "rbxassetid://2126502539"
  523. laff.Volume = 5
  524. laff:Play()
  525. wait(5)
  526. laff:Remove()
  527. tauntdebounce = false
  528. end
  529. end)
  530.  
  531. mouse.KeyDown:connect(function(Press)
  532. Press=Press:lower()
  533. if Press=='e' then
  534. if debounce then return end
  535. if equip then
  536. g1:Remove()
  537. light.Enabled = false
  538. pcall(function()
  539. temmy:Remove()
  540. end)
  541. for i,v in pairs(tommygun:GetDescendants()) do
  542. if v.Name == "temmy" then v:Remove()
  543. end
  544. end
  545. light.Enabled = false
  546. particlemiter1.Enabled = false
  547. hum.CameraOffset = Vector3.new(0,0,0)
  548. attacking = false
  549. equip = false
  550. shooting = false
  551. gunallowance = false
  552. ws = 18
  553. else
  554. g1 = Instance.new("BodyGyro", Root)
  555. g1.D = 175
  556. g1.P = 20000
  557. g1.MaxTorque = Vector3.new(0,9000,0)
  558. g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p)
  559. attacking = true
  560. debounce = true
  561. equip = true
  562. coroutine.wrap(function()
  563. while equip do
  564. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.1)
  565. ws = 10
  566. swait()
  567. if Root.Velocity.y > 1 then
  568. position = "Jump3"
  569. elseif Root.Velocity.y < -1 then
  570. position = "Falling3"
  571. elseif Root.Velocity.Magnitude > 2 and running == false and attacking == true then
  572. position = "Walk3"
  573. elseif Root.Velocity.Magnitude < 2 and running == false and attacking == true then
  574. position = "Idle4"
  575. end
  576. end
  577. end)()
  578. coroutine.wrap(function()
  579. while equip do
  580. swait()
  581. settime = 0.05
  582. sine = sine + change
  583. if position == "Jump3" and attacking and not running then
  584. change = .65
  585. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  586. 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)
  587. elseif position == "Falling3" and attacking and not running then
  588. change = .65
  589. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.4)
  590. 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)
  591. elseif position == "Walk3" and attacking == true and running == false then
  592. change = .65
  593. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  594. 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)
  595. 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)
  596. elseif position == "Idle4" and attacking == true and running == false then
  597. change = .65
  598. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  599. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  600. 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)
  601. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  602. 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)
  603. end
  604. end
  605. end)()
  606. SOUND(RightArm,898163129,6,false,2)
  607. for i = 1, 30 do
  608. tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.68,1.25) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(-12)),.25)
  609. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1, 0.1, 0.4) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)), 0.25)
  610. 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)
  611. swait()
  612. end
  613. gunallowance = true
  614. mouse.Button1Down:connect(function()
  615. if gunallowance then
  616. particlemiter1.Enabled = true
  617. temmy = Instance.new("Sound",tommygun)
  618. temmy.SoundId = "rbxassetid://2204318084"
  619. temmy.Volume = 1
  620. temmy.Name = "temmy"
  621. temmy.Looped = true
  622. temmy:Play()
  623. shooting = true
  624. end
  625. end)
  626. mouse.Button1Up:connect(function()
  627. if gunallowance then
  628. hum.CameraOffset = Vector3.new(0,0,0)
  629. light.Enabled = false
  630. particlemiter1.Enabled = false
  631. pcall(function()
  632. temmy:Remove()
  633. end)
  634. for i,v in pairs(tommygun:GetDescendants()) do
  635. if v.Name == "temmy" then v:Remove()
  636. end
  637. end
  638. shooting = false
  639. end
  640. end)
  641. coroutine.wrap(function()
  642. if firsttime2 then return end
  643. firsttime2 = true
  644. while true do
  645. swait(3)
  646. if shooting then
  647. if switch1 then
  648. switch1 = false
  649. switch2 = true
  650. light.Enabled = true
  651. elseif switch2 then
  652. switch1 = true
  653. switch2 = false
  654. light.Enabled = false
  655. end
  656. pcall(function()
  657. if mouse.Target.Parent:FindFirstChildOfClass("Humanoid") then
  658. mouse.Target.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(3,7))
  659. end
  660. end)
  661. end
  662. end
  663. end)()
  664. coroutine.wrap(function()
  665. if firsttime then return end
  666. firsttime = true
  667. while true do
  668. if shooting then
  669. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35 + .4 * math.sin(sine), 0.4) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)), 0.25)
  670. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1, 0.4 + .4 * math.sin(sine), 0.4) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)), 0.25)
  671. pcall(function()
  672. if mouse.Target.Parent:FindFirstChildOfClass("Humanoid") then
  673. mouse.Target.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(1)
  674. end
  675. end)
  676. elseif not shooting then
  677. end
  678. swait()
  679. end
  680. end)()
  681. debounce = false
  682. end
  683. end
  684. end)
  685.  
  686. mouse.KeyDown:connect(function(Press)
  687. Press=Press:lower()
  688. if Press=='z' then
  689. print("Music switched to 1")
  690. id = 2199374985
  691. doomtheme.SoundId = "rbxassetid://"..id
  692. doomtheme:Play()
  693. end
  694. end)
  695.  
  696. mouse.KeyDown:connect(function(Press)
  697. Press=Press:lower()
  698. if Press=='v' then
  699. print("Music switched to 4")
  700. id = 2111948183
  701. doomtheme.SoundId = "rbxassetid://"..id
  702. doomtheme:Play()
  703. end
  704. end)
  705.  
  706. mouse.KeyDown:connect(function(Press)
  707. Press=Press:lower()
  708. if Press=='x' then
  709. print("Music switched to 2")
  710. id = 318812395
  711. doomtheme.SoundId = "rbxassetid://"..id
  712. doomtheme:Play()
  713. end
  714. end)
  715.  
  716. mouse.KeyDown:connect(function(Press)
  717. Press=Press:lower()
  718. if Press=='c' then
  719. print("Music switched to 3")
  720. id = 180337897
  721. doomtheme.SoundId = "rbxassetid://"..id
  722. doomtheme:Play()
  723. end
  724. end)
  725.  
  726. mouse.KeyDown:connect(function(Press)
  727. Press=Press:lower()
  728. if Press=='b' then
  729. print("Music switched to 5")
  730. id = 649148458
  731. doomtheme.SoundId = "rbxassetid://"..id
  732. doomtheme:Play()
  733. end
  734. end)
  735.  
  736.  
  737. checks1 = coroutine.wrap(function() -------Checks
  738. while true do
  739. if Root.Velocity.y > 1 then
  740. position = "Jump"
  741. elseif Root.Velocity.y < -1 then
  742. position = "Falling"
  743. elseif Root.Velocity.Magnitude < 2 then
  744. position = "Idle"
  745. elseif Root.Velocity.Magnitude < 20 then
  746. position = "Walking"
  747. elseif Root.Velocity.Magnitude > 20 then
  748. position = "Running"
  749. else
  750. end
  751. wait()
  752. end
  753. end)
  754. checks1()
  755.  
  756. function ray(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  757. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  758. end
  759.  
  760. function ray2(StartPos, EndPos, Distance, Ignore)
  761. local DIRECTION = CFrame.new(StartPos,EndPos).lookVector
  762. return ray(StartPos, DIRECTION, Distance, Ignore)
  763. end
  764.  
  765. OrgnC0 = Neck.C0
  766. local movelimbs = coroutine.wrap(function()
  767. while RunSrv.RenderStepped:wait() do
  768. TrsoLV = Torso.CFrame.lookVector
  769. Dist = nil
  770. Diff = nil
  771. if not MseGuide then
  772. print("Failed to recognize")
  773. else
  774. local _, Point = Workspace:FindPartOnRay(Ray.new(Head.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
  775. Dist = (Head.CFrame.p-Point).magnitude
  776. Diff = Head.CFrame.Y-Point.Y
  777. local _, Point2 = Workspace:FindPartOnRay(Ray.new(LeftArm.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
  778. Dist2 = (LeftArm.CFrame.p-Point).magnitude
  779. Diff2 = LeftArm.CFrame.Y-Point.Y
  780. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  781. 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)
  782. end
  783. end
  784. end)
  785. movelimbs()
  786. immortal = {}
  787. for i,v in pairs(Character:GetDescendants()) do
  788. if v:IsA("BasePart") and v.Name ~= "lmagic" and v.Name ~= "rmagic" then
  789. 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
  790. v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  791. end
  792. table.insert(immortal,{v,v.Parent,v.Material,v.Color,v.Transparency})
  793. elseif v:IsA("JointInstance") then
  794. table.insert(immortal,{v,v.Parent,nil,nil,nil})
  795. end
  796. end
  797. for e = 1, #immortal do
  798. if immortal[e] ~= nil then
  799. local STUFF = immortal[e]
  800. local PART = STUFF[1]
  801. local PARENT = STUFF[2]
  802. local MATERIAL = STUFF[3]
  803. local COLOR = STUFF[4]
  804. local TRANSPARENCY = STUFF[5]
  805. if levitate then
  806. if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= eyo1 and PART.Name ~= eyo2 and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
  807. PART.Material = MATERIAL
  808. PART.Color = COLOR
  809. PART.Transparency = TRANSPARENCY
  810. end
  811. PART.AncestryChanged:connect(function()
  812. PART.Parent = PARENT
  813. end)
  814. else
  815. if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
  816. PART.Material = MATERIAL
  817. PART.Color = COLOR
  818. PART.Transparency = TRANSPARENCY
  819. end
  820. PART.AncestryChanged:connect(function()
  821. PART.Parent = PARENT
  822. end)
  823. end
  824. end
  825. end
  826. function immortality()
  827. for e = 1, #immortal do
  828. if immortal[e] ~= nil then
  829. local STUFF = immortal[e]
  830. local PART = STUFF[1]
  831. local PARENT = STUFF[2]
  832. local MATERIAL = STUFF[3]
  833. local COLOR = STUFF[4]
  834. local TRANSPARENCY = STUFF[5]
  835. if PART.ClassName == "Part" and PART == Root then
  836. PART.Material = MATERIAL
  837. PART.Color = COLOR
  838. PART.Transparency = TRANSPARENCY
  839. end
  840. if PART.Parent ~= PARENT then
  841. hum:Remove()
  842. PART.Parent = PARENT
  843. hum = Instance.new("Humanoid",Character)
  844. hum.Name = "noneofurbusiness"
  845. end
  846. end
  847. end
  848. end
  849. coroutine.wrap(function()
  850. while true do
  851. if hum.Health < .1 then
  852. deadsound = Instance.new("Sound", Torso)
  853. deadsound.Volume = 6
  854. deadsound.SoundId = "rbxassetid://1411352723"
  855. deadsound:Play()
  856. immortality()
  857. end
  858. wait()
  859. end
  860. end)()
  861.  
  862. local anims = coroutine.wrap(function()
  863. while true do
  864. settime = 0.05
  865. sine = sine + change
  866. if position == "Jump" and attacking == false then
  867. change = 1
  868. tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0),.25)
  869. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  870. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  871. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  872. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  873. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(-3),math.rad(-4)), 0.4)
  874. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  875. 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)
  876. elseif position == "Jump2" and attacking == false then
  877. change = 1
  878. 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)
  879. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
  880. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
  881. 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)
  882. 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)
  883. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
  884. 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)
  885. 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)
  886. elseif position == "Falling" and attacking == false then
  887. change = 1
  888. tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0),.25)
  889. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  890. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  891. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  892. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2)
  893. 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)
  894. 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)
  895. elseif position == "Falling2" and attacking == false then
  896. change = 1
  897. 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)
  898. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
  899. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
  900. 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)
  901. 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)
  902. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
  903. 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)
  904. 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)
  905. elseif position == "Walking" and attacking == false and running == false then
  906. change = 1.2
  907. walking = true
  908. tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0),.25)
  909. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,1,0) * CFrame.Angles(math.rad(180),math.rad(1),math.rad(10)), 0.1)
  910. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  911. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  912. 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)
  913. 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)
  914. 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)
  915. 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)
  916. elseif position == "Idle" and attacking == false and running == false then
  917. change = .5
  918. tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0),.25)
  919. 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)
  920. 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)
  921. LEFTARMLERP.C0 = LEFTARMLERP.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)
  922. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  923. 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)
  924. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  925. 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)
  926. elseif position == "Idle2" and attacking == false and running == false then
  927. change = .75
  928. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0 - 3 * math.sin(sine/9)),0,0),.1)
  929. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  930. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(-.2,.2,0) * CFrame.Angles(0,0,0),.1)
  931. LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  932. 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)
  933. 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)
  934. 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)
  935. 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)
  936. elseif position == "Walking2" and attacking == false and running == false then
  937. ws = 50
  938. 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)
  939. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
  940. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
  941. 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)
  942. 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)
  943. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
  944. 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)
  945. 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)
  946. elseif position == "Running" and attacking == false then
  947. change = 1
  948. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(0, .5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.3)
  949. 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)
  950. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  951. 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)
  952. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*-math.sin(sine/4)),.3)
  953. 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)
  954. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*math.sin(sine/4)),.3)
  955. 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)
  956. end
  957. swait()
  958. end
  959. end)
  960. anims()
  961. warn("Risen from hell, ready to prove his reputation. Made by Supr14")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement