Advertisement
XxJokester

GROOT

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