Advertisement
ReisenBunny

Untitled

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