Advertisement
Guest User

Untitled

a guest
Mar 26th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.40 KB | None | 0 0
  1. --Windows95/FR34KY @V3rm
  2. debounce = 0;
  3.  
  4.  
  5.  
  6.  
  7. local player = game.Players.LocalPlayer
  8. repeat wait() until player.Character.Humanoid
  9. local humanoid = player.Character.Humanoid
  10. local mouse = player:GetMouse()
  11. --game.Players.LocalPlayer.Character.Shirt.ShirtTemplate='rbxassetid://473465498'
  12.  
  13.  
  14. local player=game.Players.LocalPlayer;
  15. local char=game.Players.LocalPlayer.Character;
  16. local humanoid = player.Character.Humanoid;
  17. Tool=Instance.new('Tool', game.Players.LocalPlayer.Backpack);
  18. Tool.GripRight=Vector3.new(0.865, 0.105, -0.49);
  19. Tool.GripUp=Vector3.new(-0.023, 0.985, 0.171);
  20. Tool.GripPos=Vector3.new(0.064, -0.3, 0.9);
  21. Tool.GripForward=Vector3.new(0.485, 0.14, -0.863); --0.485, 0.14, -0.863
  22. Tool.Name='Tec 9';
  23. Handle=Instance.new('Part', Tool);
  24. Handle.Name = 'Handle';
  25. Handle.BrickColor=BrickColor.new('Really black')
  26. Handle.Size=Vector3.new(0.26, 1.11, 4.85);
  27. Handle.Position=Vector3.new(-5.112, 1.837, -3.734)
  28. gunfire=Instance.new('Part', Tool)
  29. gunfire.Name='GunFire'
  30. gunfire.Size=Vector3.new(0.2, 0.2, 0.2)
  31. gunfire.Transparency=1
  32. gunfire.Position=Vector3.new(-5.142, 2.582, -5.059)
  33. gunfirefx=Instance.new('BillboardGui', gunfire)
  34. gunfirefx.Enabled=false
  35. gunfirefx.Adornee = gunfire
  36. gunfirefx.Size=UDim2.new(1.1, 0, 1.1, 0)
  37. gunfirefx2=Instance.new('ImageLabel', gunfirefx)
  38. gunfirefx2.Image='http://www.roblox.com/asset/?id=117472237'
  39. gunfirefx2.BackgroundTransparency=1
  40. gunfirefx2.Size=UDim2.new(1.2, 0, 1.2, 0)
  41.  
  42.  
  43. c4mesh=Instance.new('SpecialMesh', Handle);
  44. c4mesh.MeshType = 'FileMesh';
  45. c4mesh.MeshId='http://www.roblox.com/asset/?id=430355386';
  46. c4mesh.TextureId='http://www.roblox.com/asset/?id=430355390';
  47. c4mesh.Scale=Vector3.new(0.075, 0.075, 0.075);
  48. light=Instance.new('PointLight', Handle);
  49. light.Color = Color3.new(255, 255, 0)
  50. light.Range=10;
  51. light.Enabled=false;
  52.  
  53. --Weld Connector
  54. local prev
  55. local parts = Tool:GetChildren()
  56. for i = 1,#parts do
  57. if (parts[i].className == "Part") then
  58. if (prev ~= nil)then
  59. local weld = Instance.new("Weld")
  60. weld.Part0 = prev
  61. weld.Part1 = parts[i]
  62. weld.C0 = prev.CFrame:inverse()
  63. weld.C1 = parts[i].CFrame:inverse()
  64. weld.Parent = prev
  65. end
  66. prev = parts[i]
  67. end
  68. end
  69. --end
  70. local Prepare=Instance.new("Animation", player.Character);
  71. Prepare.AnimationId="http://www.roblox.com/asset?id=168086975";
  72. local playAnim = humanoid:LoadAnimation(Prepare)
  73.  
  74. local Prepare3=Instance.new("Animation", player.Character);
  75. Prepare3.AnimationId="http://www.roblox.com/asset?id=95383474";
  76. local Prepare2Play = humanoid:LoadAnimation(Prepare3)
  77.  
  78. local Prepare2=Instance.new("Animation", player.Character);
  79. Prepare2.AnimationId="http://www.roblox.com/asset?id=95383474";
  80. local playAnim6 = humanoid:LoadAnimation(Prepare)
  81. standed=true
  82. local shoot=Instance.new("Animation", player.Character);
  83. shoot.AnimationId="http://www.roblox.com/Asset?ID=94332152";
  84. local playAnim2 = humanoid:LoadAnimation(shoot)
  85. local reload=Instance.new("Animation", player.Character);
  86. reload.AnimationId="http://www.roblox.com/Asset?ID=95390631";
  87. local playAnim3 = humanoid:LoadAnimation(reload)
  88. reloadsound=Instance.new('Sound', char.Torso)
  89. reloadsound.Volume=4
  90. reloadsound.SoundId='rbxassetid://266147528'
  91.  
  92. equip=Instance.new('Sound', char.Torso)
  93. equip.Volume=4
  94. equip.SoundId='rbxassetid://131045401'
  95.  
  96. equip2=Instance.new('Sound', char.Torso)
  97. equip2.Volume=4
  98. equip2.SoundId='rbxassetid://131045429'
  99. function equipped(mouse)
  100. function Shoot()
  101. if standed==false then
  102. if debounce == 0 then
  103. debounce = 1
  104. if mouse.Target ~= nil then
  105. if mouse.Target.Parent:findFirstChild("Humanoid") ~= nil and mouse.Target.Name ~= "Head" then
  106. mouse.Target.Parent.Humanoid:TakeDamage(75)
  107. hit=Instance.new('Sound', mouse.Target.Parent.Torso)
  108.  
  109. hit.Volume=7
  110. hit.SoundId='rbxassetid://159970596'
  111. hit:Play()
  112. elseif mouse.Target.Parent.Parent:findFirstChild("Humanoid") ~= nil then
  113. mouse.Target.Parent.Parent.Humanoid:TakeDamage(45)
  114.  
  115. hit=Instance.new('Sound', mouse.Target.Parent.Parent.Torso)
  116. hit.Volume=7
  117. hit.SoundId='rbxassetid://159970596'
  118. hit:Play()
  119. elseif mouse.Target.Name == "Part" then
  120. Hit = mouse.hit
  121. if Hit==nil then return end
  122. I = Instance.new("Part")
  123. I.Parent = game.Workspace
  124. I.CFrame = Hit
  125. I.Anchored=true
  126. I.Transparency=1
  127. I.Anchored=true
  128. I.CanCollide=false
  129. Pa=Instance.new('ParticleEmitter', I)
  130. Pa.Size = NumberSequence.new(0.2)
  131. Pa.Speed = NumberRange.new(40)
  132. Pa.Lifetime=NumberRange.new(0.4)
  133. Pa.RotSpeed = NumberRange.new(-255, 250)
  134. Pa.Texture = 'rbxassetid://316915922'
  135. Pa.LightEmission = 0
  136. Pa.EmissionDirection='Back'
  137. Pa.VelocitySpread = 250
  138. Pa.Rate = 500
  139. --
  140. Pa2=Instance.new('ParticleEmitter', I)
  141. Pa2.Size = NumberSequence.new(0.2)
  142. Pa2.Speed = NumberRange.new(40)
  143. Pa2.Lifetime=NumberRange.new(0.4)
  144. Pa2.RotSpeed = NumberRange.new(-255, 250)
  145. Pa2.Texture = 'rbxassetid://316915922'
  146. Pa2.LightEmission = 0
  147. Pa2.EmissionDirection='Back'
  148. Pa2.VelocitySpread = 250
  149. Pa2.Rate = 1000
  150. --
  151. Pa3=Instance.new('ParticleEmitter', I)
  152. Pa3.Size = NumberSequence.new(0.2)
  153. Pa3.Speed = NumberRange.new(40)
  154. Pa3.Lifetime=NumberRange.new(0.4)
  155. Pa3.RotSpeed = NumberRange.new(-255, 250)
  156. Pa3.Texture = 'rbxassetid://316915922'
  157. Pa3.LightEmission = 0
  158. Pa3.EmissionDirection='Back'
  159. Pa3.VelocitySpread = 250
  160. Pa3.Rate = 1000
  161.  
  162. --
  163. Pa4=Instance.new('ParticleEmitter', I)
  164. Pa4.Size = NumberSequence.new(0.4)
  165. Pa4.Speed = NumberRange.new(40)
  166. Pa4.Lifetime=NumberRange.new(0.4)
  167. Pa4.RotSpeed = NumberRange.new(-255, 250)
  168. Pa4.Texture = 'rbxassetid://316915922'
  169. Pa4.LightEmission = 0
  170. Pa4.EmissionDirection='Back'
  171. Pa4.VelocitySpread = 250
  172. Pa4.Rate = 1000
  173.  
  174. wait(0.1)
  175. Pa.Enabled=false
  176. Pa2.Enabled=false
  177. Pa3.Enabled=false
  178. Pa4.Enabled=false
  179.  
  180. hit=Instance.new('Sound', I)
  181. hit.Volume=5
  182. hit.SoundId='rbxassetid://159970596'
  183. hit:Play()
  184.  
  185. hit2=Instance.new('Sound', I)
  186. hit2.Volume=14
  187. hit2.SoundId='rbxassetid://516789356'
  188. hit2:Play()
  189. end
  190. end
  191.  
  192. playAnim2:Play()
  193. Prepare2Play:Stop()
  194. light.Enabled=true;
  195. gunfirefx.Enabled=true
  196. shootsound=Instance.new('Sound', char.Torso)
  197. shootsound.Volume=3
  198. shootsound.SoundId='rbxassetid://149355375'
  199. shootsound:Play()
  200. wait(0.01)
  201. light.Enabled=false;
  202. gunfirefx.Enabled=false
  203.  
  204. wait(0.001)
  205. Prepare2Play:Play()
  206. debounce = 0
  207. end
  208. end end
  209. mouse.Button1Down:connect(Shoot)
  210. end
  211.  
  212. Tool.Equipped:connect(equipped)
  213.  
  214. local player = game.Players.LocalPlayer
  215. repeat wait() until player.Character.Humanoid
  216. local humanoid = player.Character.Humanoid
  217. local mouse = player:GetMouse()
  218.  
  219. local reload=Instance.new("Animation", player.Character);
  220. reload.AnimationId="http://www.roblox.com/Asset?ID=95384819";
  221. local playAnim3 = humanoid:LoadAnimation(reload)
  222. reloading=false
  223. mouse.KeyDown:connect(function(key)
  224. if key == "r" then
  225. if reloading==true then
  226. playAnim3:Play()
  227. reloadsound:Play()
  228. wait(2)
  229. playAnim3:Stop()
  230. end end
  231. end)
  232. mouse.KeyDown:connect(function(key)
  233. if key == "q" then
  234. if reloading==true then
  235. if standed==false then
  236. standed=true
  237. Prepare2Play:Stop()
  238. equip2:Play()
  239. wait()
  240. playAnim:Play()
  241. Tool.GripForward=Vector3.new(0.485, 0.14, -0.863); --0.485, 0.14, -0.863
  242. elseif standed==true then
  243. standed=false
  244. playAnim:Stop()
  245. wait()
  246. Prepare2Play:Play()
  247. equip:Play()
  248. Tool.GripForward=Vector3.new(-0.501, 0.137, -0.855);
  249. end end end
  250. end)
  251. stfu=false
  252. function equipped()
  253. wait()
  254. stfu=true
  255. wait()
  256. playAnim:Play()
  257. equip:Play()
  258. reloading=true
  259. end
  260.  
  261. function unequipped()
  262. wait()
  263. playAnim:Stop()
  264. reloading=false
  265. Prepare2Play:Stop()
  266. stfu=false
  267. end
  268.  
  269. Tool.Equipped:connect(equipped)
  270. Tool.Unequipped:connect(unequipped)
  271.  
  272.  
  273. --STFU
  274. mouse.KeyDown:connect(function(key)
  275. if key == "z" then
  276. if stfu==true then
  277. stfuu:Play()
  278. game:GetService("Chat"):Chat(char.Head, "SHUT THE FUCK UP U CUNT", Enum.ChatColor.Red)
  279. wait(2)
  280. end end
  281. end)
  282.  
  283.  
  284. ---
  285.  
  286. --Masked
  287. local player = game.Players.LocalPlayer
  288. repeat wait() until player.Character.Humanoid
  289. local humanoid = player.Character.Humanoid
  290. local mouse = player:GetMouse()
  291. equipsound = Instance.new('Sound', player.Character.Torso)
  292. equipsound.Volume=3
  293. equipsound.SoundId='rbxassetid://153647514'
  294.  
  295. local anim5 = Instance.new("Animation", player.Character)
  296. anim5.AnimationId = "http://www.roblox.com/asset/?id=28492456"
  297. local playAnim10 = humanoid:LoadAnimation(anim5)
  298. plyr = player
  299. --p = game:GetService("InsertService"):LoadAsset(304085055)
  300. --p.Name='IsMasked'
  301. --p.Parent = game.Workspace
  302. ismasked=false
  303. maskhat=Instance.new('Hat', game.Workspace)
  304. maskhat.Name='IsMasked'
  305. maskhat.AttachmentForward=Vector3.new(0, 0, 0.1);
  306. maskhat.AttachmentPos=Vector3.new(0, 0.8, -0.05);
  307. maskhat.AttachmentRight=Vector3.new(1, 0, 0);
  308. maskhat.AttachmentUp=Vector3.new(0, 1, 0);
  309. maskhandle=Instance.new('Part', maskhat)
  310. maskhandle.Name='Handle';
  311. maskhandle.Anchored=false
  312. maskhandle.Size=Vector3.new(1.33, 1, 1.7)
  313. maskmeshh=Instance.new('SpecialMesh', maskhandle)
  314. maskmeshh.MeshType='FileMesh'
  315. maskmeshh.MeshId='http://www.roblox.com/asset/?id=304084512'
  316. maskmeshh.TextureId='http://www.roblox.com/asset/?id=304083165'
  317. wait(0.001)
  318. game.Workspace.IsMasked.Parent = plyr.Character
  319.  
  320. maskhandle.Transparency=1
  321. mouse.KeyDown:connect(function(key)
  322. if key == "f" then
  323. if ismasked==false then
  324. ismasked=true
  325. Handle.Transparency=1
  326. playAnim10:Play()
  327. wait(0.5)
  328. playAnim10:Stop()
  329. equipsound:Play()
  330. Handle.Transparency=0
  331. player.Character.Humanoid.DisplayDistanceType='None'
  332. maskhandle.Transparency=0
  333.  
  334. elseif ismasked==true then
  335. ismasked=false
  336. Handle.Transparency=1
  337. playAnim10:Play()
  338. wait(0.5)
  339. playAnim10:Stop()
  340. equipsound:Play()
  341. player.Character.Humanoid.DisplayDistanceType='Viewer'
  342. maskhandle.Transparency=1
  343. Handle.Transparency=0
  344. end
  345. end
  346.  
  347. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement