Advertisement
The_God_M8

Skull

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