degesak

ok

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