Advertisement
PersonsadminTeam

Tec 9 (updated)

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