Advertisement
ReisenBunny

Untitled

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