PasterXIV

Untitled

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