SHARE
TWEET

aqwertyjhgfd

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