Advertisement
Vzurxy

School Shooter Script (Creepy Music)

Oct 7th, 2017
3,543
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.20 KB | None | 0 0
  1. --School Shooter script by DMS ok bye but edited.Press q to begin the gun.CREEPY MUSIC ALERT
  2.  
  3. p = game.Players.LocalPlayer
  4. char = p.Character
  5. torso = char.Torso
  6. neck = char.Torso.Neck
  7. hum = char.Humanoid
  8.  
  9. CV="Maroon"
  10.  
  11. local txt = Instance.new("BillboardGui", char)
  12. txt.Adornee = char .Head
  13. txt.Name = "_status"
  14. txt.Size = UDim2.new(2, 0, 1.2, 0)
  15. txt.StudsOffset = Vector3.new(-9, 8, 0)
  16. local text = Instance.new("TextLabel", txt)
  17. text.Size = UDim2.new(10, 0, 7, 0)
  18. text.FontSize = "Size24"
  19. text.TextScaled = true
  20. text.TextTransparency = 0
  21. text.BackgroundTransparency = 1
  22. text.TextTransparency = 0
  23. text.TextStrokeTransparency = 0
  24. text.Font = "SciFi"
  25. text.TextStrokeColor3 = BrickColor.Black().Color
  26.  
  27. v=Instance.new("Part")
  28. v.Name = "ColorBrick"
  29. v.Parent=p.Character
  30. v.FormFactor="Symmetric"
  31. v.Anchored=true
  32. v.CanCollide=false
  33. v.BottomSurface="Smooth"
  34. v.TopSurface="Smooth"
  35. v.Size=Vector3.new(10,5,3)
  36. v.Transparency=1
  37. v.CFrame=char.Torso.CFrame
  38. v.BrickColor=BrickColor.new(CV)
  39. v.Transparency=1
  40. text.TextColor3 = BrickColor.Black().Color
  41. v.Shape="Block"
  42. text.Text = "I'm Coming..."
  43. o1 = Instance.new("Model")
  44. o1.Name = "Vest"
  45. o2 = Instance.new("Part")
  46. o2.Name = "Middle"
  47. o2.Parent = o1
  48. o2.BrickColor = BrickColor.new("Brick yellow")
  49. o2.Transparency = 1
  50. o2.Position = Vector3.new(0.139906004, 1.05800402, -11.1099901)
  51. o2.Anchored = true
  52. o2.CFrame = CFrame.new(0.139906004, 1.05800402, -11.1099901, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  53. o2.CanCollide = false
  54. o2.FormFactor = Enum.FormFactor.Symmetric
  55. o2.Size = Vector3.new(2, 2, 1)
  56. o2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  57. o2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  58. o2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  59. o2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  60. o2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  61. o2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  62. o2.Color = Color3.new(0.843137, 0.772549, 0.603922)
  63. o3 = Instance.new("Part")
  64. o3.Name = "Pack"
  65. o3.Parent = o1
  66. o3.BrickColor = BrickColor.new("Dark stone grey")
  67. o3.Position = Vector3.new(0.139907002, 1.07000601, -10.3049936)
  68. o3.Rotation = Vector3.new(-180, 0, -180)
  69. o3.Anchored = true
  70. o3.CFrame = CFrame.new(0.139907002, 1.07000601, -10.3049936, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  71. o3.CanCollide = false
  72. o3.FormFactor = Enum.FormFactor.Custom
  73. o3.Size = Vector3.new(1.65999985, 1.80000019, 0.630000472)
  74. o3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  75. o3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  76. o3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  77. o3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  78. o3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  79. o3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  80. o3.Color = Color3.new(0.388235, 0.372549, 0.384314)
  81. o4 = Instance.new("Part")
  82. o4.Name = "Strap"
  83. o4.Parent = o1
  84. o4.BrickColor = BrickColor.new("Black")
  85. o4.Position = Vector3.new(0.66991502, 1.05500698, -11.1149797)
  86. o4.Anchored = true
  87. o4.CFrame = CFrame.new(0.66991502, 1.05500698, -11.1149797, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  88. o4.CanCollide = false
  89. o4.FormFactor = Enum.FormFactor.Custom
  90. o4.Size = Vector3.new(0.259999752, 2.11000037, 1.15000045)
  91. o4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  92. o4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  93. o4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  94. o4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  95. o4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  96. o4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  97. o4.Color = Color3.new(0.105882, 0.164706, 0.207843)
  98. o5 = Instance.new("Part")
  99. o5.Name = "Flap"
  100. o5.Parent = o1
  101. o5.BrickColor = BrickColor.new("Black")
  102. o5.Position = Vector3.new(0.139905006, 1.85000098, -10.2900219)
  103. o5.Anchored = true
  104. o5.CFrame = CFrame.new(0.139905006, 1.85000098, -10.2900219, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  105. o5.CanCollide = false
  106. o5.FormFactor = Enum.FormFactor.Custom
  107. o5.Size = Vector3.new(1.71999979, 0.400000006, 0.639999866)
  108. o5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  109. o5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  110. o5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  111. o5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  112. o5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  113. o5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  114. o5.Color = Color3.new(0.105882, 0.164706, 0.207843)
  115. o6 = Instance.new("Part")
  116. o6.Name = "Pocket"
  117. o6.Parent = o1
  118. o6.BrickColor = BrickColor.new("Black")
  119. o6.Position = Vector3.new(0.149883002, 0.860005975, -10.0399857)
  120. o6.Rotation = Vector3.new(-0, 0, -90)
  121. o6.Anchored = true
  122. o6.CFrame = CFrame.new(0.149883002, 0.860005975, -10.0399857, 0, 1, 0, -1, 0, 0, 0, 0, 1)
  123. o6.CanCollide = false
  124. o6.FormFactor = Enum.FormFactor.Custom
  125. o6.Size = Vector3.new(0.600000024, 0.800000131, 0.200000003)
  126. o6.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  127. o6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  128. o6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  129. o6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  130. o6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  131. o6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  132. o6.Color = Color3.new(0.105882, 0.164706, 0.207843)
  133. o7 = Instance.new("Part")
  134. o7.Name = "Pocket"
  135. o7.Parent = o1
  136. o7.BrickColor = BrickColor.new("Black")
  137. o7.Position = Vector3.new(0.139600992, 1.10000801, -10.3099718)
  138. o7.Rotation = Vector3.new(-90, 90, 0)
  139. o7.Anchored = true
  140. o7.CFrame = CFrame.new(0.139600992, 1.10000801, -10.3099718, 0, 0, 1, -1, 0, 0, 0, -1, 0)
  141. o7.CanCollide = false
  142. o7.FormFactor = Enum.FormFactor.Custom
  143. o7.Size = Vector3.new(0.600000024, 0.400000155, 1.70000005)
  144. o7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  145. o7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  146. o7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  147. o7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  148. o7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  149. o7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  150. o7.Color = Color3.new(0.105882, 0.164706, 0.207843)
  151. o8 = Instance.new("Part")
  152. o8.Name = "Strap"
  153. o8.Parent = o1
  154. o8.BrickColor = BrickColor.new("Black")
  155. o8.Position = Vector3.new(-0.37014699, 1.05500698, -11.1149921)
  156. o8.Anchored = true
  157. o8.CFrame = CFrame.new(-0.37014699, 1.05500698, -11.1149921, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  158. o8.CanCollide = false
  159. o8.FormFactor = Enum.FormFactor.Custom
  160. o8.Size = Vector3.new(0.259999752, 2.11000037, 1.15000045)
  161. o8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  162. o8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  163. o8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  164. o8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  165. o8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  166. o8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  167. o8.Color = Color3.new(0.105882, 0.164706, 0.207843)
  168. o9 = Instance.new("Part")
  169. o9.Parent = o1
  170. o9.BrickColor = BrickColor.new("Really black")
  171. o9.Reflectance = 0.10000000149012
  172. o9.Position = Vector3.new(0.173590899, 4.00173569, -9.98207664)
  173. o9.Rotation = Vector3.new(2.9181666e-009, -3.48279983e-008, -8.55249798e-019)
  174. o9.Anchored = true
  175. o9.CFrame = CFrame.new(0.173590899, 4.00173569, -9.98207664, 0.999998331, 1.49269007e-020, -6.07863204e-010, 1.49269007e-020, 1, -5.09317831e-011, -6.07863204e-010, -5.09317831e-011, 1.00000334)
  176. o9.FormFactor = Enum.FormFactor.Plate
  177. o9.Size = Vector3.new(2, 4.80000019, 2)
  178. o9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  179. o9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  180. o9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  181. o9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  182. o9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  183. o9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  184. o9.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  185. o10 = Instance.new("SpecialMesh")
  186. o10.Parent = o9
  187. o10.Scale = Vector3.new(0.600000024, 1, 0.600000024)
  188. o10.MeshType = Enum.MeshType.Brick
  189. o11 = Instance.new("Part")
  190. o11.Parent = o1
  191. o11.BrickColor = BrickColor.new("Mid gray")
  192. o11.Reflectance = 0.20000000298023
  193. o11.Position = Vector3.new(0.173592806, 4.10173273, -11.1821489)
  194. o11.Rotation = Vector3.new(-180, 89.8953247, -90)
  195. o11.Anchored = true
  196. o11.CFrame = CFrame.new(0.173592806, 4.10173273, -11.1821489, -1.49269007e-020, 6.07863204e-010, 0.999998331, -1, 5.09317831e-011, 1.49269007e-020, 5.09317831e-011, -1.00000334, -6.07863204e-010)
  197. o11.FormFactor = Enum.FormFactor.Plate
  198. o11.Size = Vector3.new(1, 0.400000006, 2)
  199. o11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  200. o11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  201. o11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  202. o11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  203. o11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  204. o11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  205. o11.Color = Color3.new(0.803922, 0.803922, 0.803922)
  206. o12 = Instance.new("CylinderMesh")
  207. o12.Parent = o11
  208. o12.Offset = Vector3.new(0, -0.600000024, 0)
  209. o12.Scale = Vector3.new(0.5, 0.100000001, 0.5)
  210. o13 = Instance.new("Part")
  211. o13.Parent = o1
  212. o13.BrickColor = BrickColor.new("Mid gray")
  213. o13.Reflectance = 0.20000000298023
  214. o13.Position = Vector3.new(0.173592806, 5.60169125, -11.1821489)
  215. o13.Rotation = Vector3.new(1.40697509e-009, -89.8953247, -90)
  216. o13.Anchored = true
  217. o13.CFrame = CFrame.new(0.173592806, 5.60169125, -11.1821489, 1.49269007e-020, 6.07863204e-010, -0.999998331, 1, 5.09317831e-011, -1.49269007e-020, -5.09317831e-011, -1.00000334, 6.07863204e-010)
  218. o13.FormFactor = Enum.FormFactor.Plate
  219. o13.Size = Vector3.new(2, 0.400000006, 2)
  220. o13.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  221. o13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  222. o13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  223. o13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  224. o13.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  225. o13.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  226. o13.Color = Color3.new(0.803922, 0.803922, 0.803922)
  227. o14 = Instance.new("CylinderMesh")
  228. o14.Parent = o13
  229. o14.Offset = Vector3.new(0, -0.600000024, 0)
  230. o14.Scale = Vector3.new(0.5, 0.100000001, 0.5)
  231. o15 = Instance.new("Part")
  232. o15.Parent = o1
  233. o15.BrickColor = BrickColor.new("Mid gray")
  234. o15.Reflectance = 0.20000000298023
  235. o15.Position = Vector3.new(0.173592806, 2.60173273, -11.1821489)
  236. o15.Rotation = Vector3.new(-180, 89.8953247, -90)
  237. o15.Anchored = true
  238. o15.CFrame = CFrame.new(0.173592806, 2.60173273, -11.1821489, -1.49269007e-020, 6.07863204e-010, 0.999998331, -1, 5.09317831e-011, 1.49269007e-020, 5.09317831e-011, -1.00000334, -6.07863204e-010)
  239. o15.FormFactor = Enum.FormFactor.Plate
  240. o15.Size = Vector3.new(2, 0.400000006, 2)
  241. o15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  242. o15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  243. o15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  244. o15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  245. o15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  246. o15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  247. o15.Color = Color3.new(0.803922, 0.803922, 0.803922)
  248. o16 = Instance.new("CylinderMesh")
  249. o16.Parent = o15
  250. o16.Offset = Vector3.new(0, -0.600000024, 0)
  251. o16.Scale = Vector3.new(0.5, 0.100000001, 0.5)
  252. myears = Instance.new('Sound')
  253. myears.Parent = game.Players.LocalPlayer.Character.Head
  254. myears.Looped = true
  255. myears.Name = "Ruski"
  256. myears.Playing = true
  257. myears.SoundId = "rbxassetid://1079061394"
  258. myears.Volume = 100
  259. myears.TimePosition = 0
  260. local g = o1:clone()
  261. g.Parent = game.Players.LocalPlayer.Character
  262. local C = g:GetChildren()
  263. for i=1, #C do
  264. if C[i].className == "Part" then
  265. local W = Instance.new("Weld")
  266. W.Part0 = g.Middle
  267. W.Part1 = C[i]
  268. local CJ = CFrame.new(g.Middle.Position)
  269. local C0 = g.Middle.CFrame:inverse()*CJ
  270. local C1 = C[i].CFrame:inverse()*CJ
  271. W.C0 = C0
  272. W.C1 = C1
  273. W.Parent = g.Middle
  274. end
  275. local Y = Instance.new("Weld")
  276. Y.Part0 = game.Players.LocalPlayer.Character.Torso
  277. Y.Part1 = g.Middle
  278. Y.C0 = CFrame.new(0, 0, 0)
  279. Y.Parent = Y.Part0
  280. end
  281.  
  282. local h = g:GetChildren()
  283. for i = 1, # h do
  284. h[i].Anchored = false
  285. h[i].CanCollide = false
  286. end
  287.  
  288. debounce = 0;
  289.  
  290. local player = game.Players.LocalPlayer
  291. repeat wait() until player.Character.Humanoid
  292. local humanoid = player.Character.Humanoid
  293. local mouse = player:GetMouse()
  294. --game.Players.LocalPlayer.Character.Shirt.ShirtTemplate='rbxassetid://473465498'
  295.  
  296.  
  297. local player=game.Players.LocalPlayer;
  298. local char=game.Players.LocalPlayer.Character;
  299. local humanoid = player.Character.Humanoid;
  300. Tool=Instance.new('Tool', game.Players.LocalPlayer.Backpack);
  301. Tool.GripRight=Vector3.new(0.865, 0.105, -0.49);
  302. Tool.GripUp=Vector3.new(-0.023, 0.985, 0.171);
  303. Tool.GripPos=Vector3.new(0.064, -0.3, 0.9);
  304. Tool.GripForward=Vector3.new(0.485, 0.14, -0.863); --0.485, 0.14, -0.863
  305. Tool.Name='Tec 9';
  306. Handle=Instance.new('Part', Tool);
  307. Handle.Name = 'Handle';
  308. Handle.BrickColor=BrickColor.new('Really black')
  309. Handle.Size=Vector3.new(0.26, 1.11, 4.85);
  310. Handle.Position=Vector3.new(-5.112, 1.837, -3.734)
  311. gunfire=Instance.new('Part', Tool)
  312. gunfire.Name='GunFire'
  313. gunfire.Size=Vector3.new(0.2, 0.2, 0.2)
  314. gunfire.Transparency=1
  315. gunfire.Position=Vector3.new(-5.142, 2.582, -5.059)
  316. gunfirefx=Instance.new('BillboardGui', gunfire)
  317. gunfirefx.Enabled=false
  318. gunfirefx.Adornee = gunfire
  319. gunfirefx.Size=UDim2.new(1.1, 0, 1.1, 0)
  320. gunfirefx2=Instance.new('ImageLabel', gunfirefx)
  321. gunfirefx2.Image='http://www.roblox.com/asset/?id=117472237'
  322. gunfirefx2.BackgroundTransparency=1
  323. gunfirefx2.Size=UDim2.new(1.2, 0, 1.2, 0)
  324.  
  325.  
  326. c4mesh=Instance.new('SpecialMesh', Handle);
  327. c4mesh.MeshType = 'FileMesh';
  328. c4mesh.MeshId='http://www.roblox.com/asset/?id=430355386';
  329. c4mesh.TextureId='http://www.roblox.com/asset/?id=430355390';
  330. c4mesh.Scale=Vector3.new(0.075, 0.075, 0.075);
  331. light=Instance.new('PointLight', Handle);
  332. light.Color = Color3.new(255, 255, 0)
  333. light.Range=10;
  334. light.Enabled=false;
  335.  
  336. --Weld Connector
  337. local prev
  338. local parts = Tool:GetChildren()
  339. for i = 1,#parts do
  340. if (parts[i].className == "Part") then
  341. if (prev ~= nil)then
  342. local weld = Instance.new("Weld")
  343. weld.Part0 = prev
  344. weld.Part1 = parts[i]
  345. weld.C0 = prev.CFrame:inverse()
  346. weld.C1 = parts[i].CFrame:inverse()
  347. weld.Parent = prev
  348. end
  349. prev = parts[i]
  350. end
  351. end
  352. --end
  353. local Prepare=Instance.new("Animation", player.Character);
  354. Prepare.AnimationId="http://www.roblox.com/asset?id=168086975";
  355. local playAnim = humanoid:LoadAnimation(Prepare)
  356.  
  357. local Prepare3=Instance.new("Animation", player.Character);
  358. Prepare3.AnimationId="http://www.roblox.com/asset?id=95383474";
  359. local Prepare2Play = humanoid:LoadAnimation(Prepare3)
  360.  
  361. local Prepare2=Instance.new("Animation", player.Character);
  362. Prepare2.AnimationId="http://www.roblox.com/asset?id=95383474";
  363. local playAnim6 = humanoid:LoadAnimation(Prepare)
  364. standed=true
  365. local shoot=Instance.new("Animation", player.Character);
  366. shoot.AnimationId="http://www.roblox.com/Asset?ID=94332152";
  367. local playAnim2 = humanoid:LoadAnimation(shoot)
  368. local reload=Instance.new("Animation", player.Character);
  369. reload.AnimationId="http://www.roblox.com/Asset?ID=95390631";
  370. local playAnim3 = humanoid:LoadAnimation(reload)
  371. reloadsound=Instance.new('Sound', char.Torso)
  372. reloadsound.Volume=4
  373. reloadsound.SoundId='rbxassetid://266147528'
  374.  
  375. equip=Instance.new('Sound', char.Torso)
  376. equip.Volume=4
  377. equip.SoundId='rbxassetid://131045401'
  378.  
  379. equip2=Instance.new('Sound', char.Torso)
  380. equip2.Volume=4
  381. equip2.SoundId='rbxassetid://131045429'
  382. function equipped(mouse)
  383. function Shoot()
  384. if standed==false then
  385. if debounce == 0 then
  386. debounce = 1
  387. if mouse.Target ~= nil then
  388. if mouse.Target.Parent:findFirstChild("Humanoid") ~= nil and mouse.Target.Name ~= "Head" then
  389. mouse.Target.Parent.Humanoid:TakeDamage(99999999999999999999)
  390. hit=Instance.new('Sound', mouse.Target.Parent.Torso)
  391.  
  392. hit.Volume=100
  393. hit.SoundId='rbxassetid://159970596'
  394. hit:Play()
  395. elseif mouse.Target.Parent.Parent:findFirstChild("Humanoid") ~= nil then
  396. mouse.Target.Parent.Parent.Humanoid:TakeDamage(99999999999999999999999)
  397.  
  398. hit=Instance.new('Sound', mouse.Target.Parent.Parent.Torso)
  399. hit.Volume=100
  400. hit.SoundId='rbxassetid://1079061394'
  401. hit:Play()
  402. elseif mouse.Target.Name == "Part" then
  403. Hit = mouse.hit
  404. if Hit==nil then return end
  405. I = Instance.new("Part")
  406. I.Parent = game.Workspace
  407. I.CFrame = Hit
  408. I.Anchored=true
  409. I.Transparency=1
  410. I.Anchored=true
  411. I.CanCollide=false
  412. Pa=Instance.new('ParticleEmitter', I)
  413. Pa.Size = NumberSequence.new(0.2)
  414. Pa.Speed = NumberRange.new(40)
  415. Pa.Lifetime=NumberRange.new(0.4)
  416. Pa.RotSpeed = NumberRange.new(-255, 250)
  417. Pa.Texture = 'rbxassetid://316915922'
  418. Pa.LightEmission = 0
  419. Pa.EmissionDirection='Back'
  420. Pa.VelocitySpread = 250
  421. Pa.Rate = 500
  422. --
  423. Pa2=Instance.new('ParticleEmitter', I)
  424. Pa2.Size = NumberSequence.new(0.2)
  425. Pa2.Speed = NumberRange.new(40)
  426. Pa2.Lifetime=NumberRange.new(0.4)
  427. Pa2.RotSpeed = NumberRange.new(-255, 250)
  428. Pa2.Texture = 'rbxassetid://316915922'
  429. Pa2.LightEmission = 0
  430. Pa2.EmissionDirection='Back'
  431. Pa2.VelocitySpread = 250
  432. Pa2.Rate = 1000
  433. --
  434. Pa3=Instance.new('ParticleEmitter', I)
  435. Pa3.Size = NumberSequence.new(0.2)
  436. Pa3.Speed = NumberRange.new(40)
  437. Pa3.Lifetime=NumberRange.new(0.4)
  438. Pa3.RotSpeed = NumberRange.new(-255, 250)
  439. Pa3.Texture = 'rbxassetid://316915922'
  440. Pa3.LightEmission = 0
  441. Pa3.EmissionDirection='Back'
  442. Pa3.VelocitySpread = 250
  443. Pa3.Rate = 1000
  444.  
  445. --
  446. Pa4=Instance.new('ParticleEmitter', I)
  447. Pa4.Size = NumberSequence.new(0.4)
  448. Pa4.Speed = NumberRange.new(40)
  449. Pa4.Lifetime=NumberRange.new(0.4)
  450. Pa4.RotSpeed = NumberRange.new(-255, 250)
  451. Pa4.Texture = 'rbxassetid://316915922'
  452. Pa4.LightEmission = 0
  453. Pa4.EmissionDirection='Back'
  454. Pa4.VelocitySpread = 250
  455. Pa4.Rate = 1000
  456.  
  457. wait(0.1)
  458. Pa.Enabled=false
  459. Pa2.Enabled=false
  460. Pa3.Enabled=false
  461. Pa4.Enabled=false
  462.  
  463. hit=Instance.new('Sound', I)
  464. hit.Volume=100
  465. hit.SoundId='rbxassetid://159970596'
  466. hit:Play()
  467.  
  468. hit2=Instance.new('Sound', I)
  469. hit2.Volume=100
  470. hit2.SoundId='rbxassetid://516789356'
  471. hit2:Play()
  472. end
  473. end
  474.  
  475. playAnim2:Play()
  476. Prepare2Play:Stop()
  477. light.Enabled=true;
  478. gunfirefx.Enabled=true
  479. shootsound=Instance.new('Sound', char.Torso)
  480. shootsound.Volume=100
  481. shootsound.SoundId='rbxassetid://149355375'
  482. shootsound:Play()
  483. wait(0.01)
  484. light.Enabled=false;
  485. gunfirefx.Enabled=false
  486.  
  487. wait(0.001)
  488. Prepare2Play:Play()
  489. debounce = 0
  490. end
  491. end end
  492. mouse.Button1Down:connect(Shoot)
  493. end
  494.  
  495. Tool.Equipped:connect(equipped)
  496.  
  497. local player = game.Players.LocalPlayer
  498. repeat wait() until player.Character.Humanoid
  499. local humanoid = player.Character.Humanoid
  500. local mouse = player:GetMouse()
  501.  
  502. local reload=Instance.new("Animation", player.Character);
  503. reload.AnimationId="http://www.roblox.com/Asset?ID=95384819";
  504. local playAnim3 = humanoid:LoadAnimation(reload)
  505. reloading=false
  506. mouse.KeyDown:connect(function(key)
  507. if key == "r" then
  508. if reloading==true then
  509. playAnim3:Play()
  510. reloadsound:Play()
  511. wait(2)
  512. playAnim3:Stop()
  513. end end
  514. end)
  515. mouse.KeyDown:connect(function(key)
  516. if key == "q" then
  517. if reloading==true then
  518. if standed==false then
  519. standed=true
  520. Prepare2Play:Stop()
  521. equip2:Play()
  522. wait()
  523. playAnim:Play()
  524. Tool.GripForward=Vector3.new(0.485, 0.14, -0.863); --0.485, 0.14, -0.863
  525. elseif standed==true then
  526. standed=false
  527. playAnim:Stop()
  528. wait()
  529. Prepare2Play:Play()
  530. equip:Play()
  531. Tool.GripForward=Vector3.new(-0.501, 0.137, -0.855);
  532. end end end
  533. end)
  534. stfu=false
  535. function equipped()
  536. wait()
  537. stfu=true
  538. wait()
  539. playAnim:Play()
  540. equip:Play()
  541. reloading=true
  542. end
  543.  
  544. function unequipped()
  545. wait()
  546. playAnim:Stop()
  547. reloading=false
  548. Prepare2Play:Stop()
  549. stfu=false
  550. end
  551.  
  552. Tool.Equipped:connect(equipped)
  553. Tool.Unequipped:connect(unequipped)
  554.  
  555.  
  556. --STFU
  557. stfuu=Instance.new('Sound', char.Torso)
  558. stfuu.Volume=100
  559. stfuu.Pitch=6.8
  560. stfuu.SoundId='rbxassetid://261303790'
  561. mouse.KeyDown:connect(function(key)
  562. if key == "z" then
  563. if stfu==true then
  564. stfuu:Play()
  565. game:GetService("Chat"):Chat(char.Head, "SHUT THE FUCK UP U CUNT", Enum.ChatColor.Red)
  566. wait(2)
  567. end end
  568. end)
  569.  
  570.  
  571. ---
  572.  
  573. --Masked
  574. local player = game.Players.LocalPlayer
  575. repeat wait() until player.Character.Humanoid
  576. local humanoid = player.Character.Humanoid
  577. local mouse = player:GetMouse()
  578. equipsound = Instance.new('Sound', player.Character.Torso)
  579. equipsound.Volume=100
  580. equipsound.SoundId='rbxassetid://153647514'
  581.  
  582. local anim5 = Instance.new("Animation", player.Character)
  583. anim5.AnimationId = "http://www.roblox.com/asset/?id=28492456"
  584. local playAnim10 = humanoid:LoadAnimation(anim5)
  585. plyr = player
  586. --p = game:GetService("InsertService"):LoadAsset(304085055)
  587. --p.Name='IsMasked'
  588. --p.Parent = game.Workspace
  589. ismasked=false
  590. maskhat=Instance.new('Hat', game.Workspace)
  591. maskhat.Name='IsMasked'
  592. maskhat.AttachmentForward=Vector3.new(0, 0, 0.1);
  593. maskhat.AttachmentPos=Vector3.new(0, 0.8, -0.05);
  594. maskhat.AttachmentRight=Vector3.new(1, 0, 0);
  595. maskhat.AttachmentUp=Vector3.new(0, 1, 0);
  596. maskhandle=Instance.new('Part', maskhat)
  597. maskhandle.Name='Handle';
  598. maskhandle.Anchored=false
  599. maskhandle.Size=Vector3.new(1.33, 1, 1.7)
  600. maskmeshh=Instance.new('SpecialMesh', maskhandle)
  601. maskmeshh.MeshType='FileMesh'
  602. maskmeshh.MeshId='http://www.roblox.com/asset/?id=304084512'
  603. maskmeshh.TextureId='http://www.roblox.com/asset/?id=304083165'
  604. wait(0.001)
  605. game.Workspace.IsMasked.Parent = plyr.Character
  606.  
  607. maskhandle.Transparency=1
  608. mouse.KeyDown:connect(function(key)
  609. if key == "f" then
  610. if ismasked==false then
  611. ismasked=true
  612. Handle.Transparency=1
  613. playAnim10:Play()
  614. wait(0.5)
  615. playAnim10:Stop()
  616. equipsound:Play()
  617. Handle.Transparency=0
  618. player.Character.Humanoid.DisplayDistanceType='None'
  619. maskhandle.Transparency=0
  620.  
  621. elseif ismasked==true then
  622. ismasked=false
  623. Handle.Transparency=1
  624. playAnim10:Play()
  625. wait(0.5)
  626. playAnim10:Stop()
  627. equipsound:Play()
  628. player.Character.Humanoid.DisplayDistanceType='Viewer'
  629. maskhandle.Transparency=1
  630. Handle.Transparency=0
  631. end
  632. end
  633.  
  634. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement