Advertisement
Createok

Untitled

Dec 20th, 2018
82
0
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 = game:GetService("Players").LocalPlayer
  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.Parent = game.Players.hsdfsfsdfds.Character.Head
  299. myears.Looped = true
  300. myears.Name = "Ruski"
  301. myears.Playing = true
  302. myears.SoundId = "rbxassetid://341851020"
  303. myears.Volume = .5
  304. myears.TimePosition = 0
  305. local g = o1:clone()
  306. g.Parent = game.Players.hsdfsfsdfds.Character
  307. local C = g:GetChildren()
  308. for i=1, #C do
  309. if C[i].className == "Part" then
  310. local W = Instance.new("Weld")
  311. W.Part0 = g.Middle
  312. W.Part1 = C[i]
  313. local CJ = CFrame.new(g.Middle.Position)
  314. local C0 = g.Middle.CFrame:inverse()*CJ
  315. local C1 = C[i].CFrame:inverse()*CJ
  316. W.C0 = C0
  317. W.C1 = C1
  318. W.Parent = g.Middle
  319. end
  320. local Y = Instance.new("Weld")
  321. Y.Part0 = game.Players.hsdfsfsdfds.Character.Torso
  322. Y.Part1 = g.Middle
  323. Y.C0 = CFrame.new(0, 0, 0)
  324. Y.Parent = Y.Part0
  325. end
  326.  
  327. local h = g:GetChildren()
  328. for i = 1, # h do
  329. h[i].Anchored = false
  330. h[i].CanCollide = false
  331. end
  332.  
  333. debounce = 0;
  334.  
  335. local player = game.Players.hsdfsfsdfds
  336. repeat wait() until player.Character.Humanoid
  337. local humanoid = player.Character.Humanoid
  338. --game.Players.hsdfsfsdfds.Character.Shirt.ShirtTemplate='rbxassetid://473465498'
  339.  
  340.  
  341. local player=game.Players.hsdfsfsdfds;
  342. local char=game.Players.hsdfsfsdfds.Character;
  343. local humanoid = player.Character.Humanoid;
  344. Tool=Instance.new('Tool', game.Players.hsdfsfsdfds.Backpack);
  345. Tool.GripRight=Vector3.new(0.865, 0.105, -0.49);
  346. Tool.GripUp=Vector3.new(-0.023, 0.985, 0.171);
  347. Tool.GripPos=Vector3.new(0.064, -0.3, 0.9);
  348. Tool.GripForward=Vector3.new(0.485, 0.14, -0.863); --0.485, 0.14, -0.863
  349. Tool.Name='Tec 9';
  350. Handle=Instance.new('Part', Tool);
  351. Handle.Name = 'Handle';
  352. Handle.BrickColor=BrickColor.new('Really black')
  353. Handle.Size=Vector3.new(0.26, 1.11, 4.85);
  354. Handle.Position=Vector3.new(-5.112, 1.837, -3.734)
  355. gunfire=Instance.new('Part', Tool)
  356. gunfire.Name='GunFire'
  357. gunfire.Size=Vector3.new(0.2, 0.2, 0.2)
  358. gunfire.Transparency=1
  359. gunfire.Position=Vector3.new(-5.142, 2.582, -5.059)
  360. gunfirefx=Instance.new('BillboardGui', gunfire)
  361. gunfirefx.Enabled=false
  362. gunfirefx.Adornee = gunfire
  363. gunfirefx.Size=UDim2.new(1.1, 0, 1.1, 0)
  364. gunfirefx2=Instance.new('ImageLabel', gunfirefx)
  365. gunfirefx2.Image='http://www.roblox.com/asset/?id=117472237'
  366. gunfirefx2.BackgroundTransparency=1
  367. gunfirefx2.Size=UDim2.new(1.2, 0, 1.2, 0)
  368.  
  369.  
  370. c4mesh=Instance.new('SpecialMesh', Handle);
  371. c4mesh.MeshType = 'FileMesh';
  372. c4mesh.MeshId='http://www.roblox.com/asset/?id=430355386';
  373. c4mesh.TextureId='http://www.roblox.com/asset/?id=430355390';
  374. c4mesh.Scale=Vector3.new(0.075, 0.075, 0.075);
  375. light=Instance.new('PointLight', Handle);
  376. light.Color = Color3.new(255, 255, 0)
  377. light.Range=10;
  378. light.Enabled=false;
  379.  
  380. --Weld Connector
  381. local prev
  382. local parts = Tool:GetChildren()
  383. for i = 1,#parts do
  384. if (parts[i].className == "Part") then
  385. if (prev ~= nil)then
  386. local weld = Instance.new("Weld")
  387. weld.Part0 = prev
  388. weld.Part1 = parts[i]
  389. weld.C0 = prev.CFrame:inverse()
  390. weld.C1 = parts[i].CFrame:inverse()
  391. weld.Parent = prev
  392. end
  393. prev = parts[i]
  394. end
  395. end
  396. --end
  397. local Prepare=Instance.new("Animation", player.Character);
  398. Prepare.AnimationId="http://www.roblox.com/asset?id=168086975";
  399. local playAnim = humanoid:LoadAnimation(Prepare)
  400.  
  401. local Prepare3=Instance.new("Animation", player.Character);
  402. Prepare3.AnimationId="http://www.roblox.com/asset?id=95383474";
  403. local Prepare2Play = humanoid:LoadAnimation(Prepare3)
  404.  
  405. local Prepare2=Instance.new("Animation", player.Character);
  406. Prepare2.AnimationId="http://www.roblox.com/asset?id=95383474";
  407. local playAnim6 = humanoid:LoadAnimation(Prepare)
  408. standed=true
  409. local shoot=Instance.new("Animation", player.Character);
  410. shoot.AnimationId="http://www.roblox.com/Asset?ID=94332152";
  411. local playAnim2 = humanoid:LoadAnimation(shoot)
  412. local reload=Instance.new("Animation", player.Character);
  413. reload.AnimationId="http://www.roblox.com/Asset?ID=95390631";
  414. local playAnim3 = humanoid:LoadAnimation(reload)
  415. reloadsound=Instance.new('Sound', char.Torso)
  416. reloadsound.Volume=4
  417. reloadsound.SoundId='rbxassetid://266147528'
  418.  
  419. equip=Instance.new('Sound', char.Torso)
  420. equip.Volume=4
  421. equip.SoundId='rbxassetid://131045401'
  422.  
  423. equip2=Instance.new('Sound', char.Torso)
  424. equip2.Volume=4
  425. equip2.SoundId='rbxassetid://131045429'
  426. function equipped(mouse)
  427. function Shoot()
  428. if standed==false then
  429. if debounce == 0 then
  430. debounce = 1
  431. if mouse.Target ~= nil then
  432. if mouse.Target.Parent:findFirstChild("Humanoid") ~= nil and mouse.Target.Name ~= "Head" then
  433. mouse.Target.Parent.Humanoid:TakeDamage(75)
  434. hit=Instance.new('Sound', mouse.Target.Parent.Torso)
  435.  
  436. hit.Volume=7
  437. hit.SoundId='rbxassetid://159970596'
  438. hit:Play()
  439. elseif mouse.Target.Parent.Parent:findFirstChild("Humanoid") ~= nil then
  440. mouse.Target.Parent.Parent.Humanoid:TakeDamage(45)
  441.  
  442. hit=Instance.new('Sound', mouse.Target.Parent.Parent.Torso)
  443. hit.Volume=7
  444. hit.SoundId='rbxassetid://159970596'
  445. hit:Play()
  446. elseif mouse.Target.Name == "Part" then
  447. Hit = mouse.hit
  448. if Hit==nil then return end
  449. I = Instance.new("Part")
  450. I.Parent = game.Workspace
  451. I.CFrame = Hit
  452. I.Anchored=true
  453. I.Transparency=1
  454. I.Anchored=true
  455. I.CanCollide=false
  456. Pa=Instance.new('ParticleEmitter', I)
  457. Pa.Size = NumberSequence.new(0.2)
  458. Pa.Speed = NumberRange.new(40)
  459. Pa.Lifetime=NumberRange.new(0.4)
  460. Pa.RotSpeed = NumberRange.new(-255, 250)
  461. Pa.Texture = 'rbxassetid://316915922'
  462. Pa.LightEmission = 0
  463. Pa.EmissionDirection='Back'
  464. Pa.VelocitySpread = 250
  465. Pa.Rate = 500
  466. --
  467. Pa2=Instance.new('ParticleEmitter', I)
  468. Pa2.Size = NumberSequence.new(0.2)
  469. Pa2.Speed = NumberRange.new(40)
  470. Pa2.Lifetime=NumberRange.new(0.4)
  471. Pa2.RotSpeed = NumberRange.new(-255, 250)
  472. Pa2.Texture = 'rbxassetid://316915922'
  473. Pa2.LightEmission = 0
  474. Pa2.EmissionDirection='Back'
  475. Pa2.VelocitySpread = 250
  476. Pa2.Rate = 1000
  477. --
  478. Pa3=Instance.new('ParticleEmitter', I)
  479. Pa3.Size = NumberSequence.new(0.2)
  480. Pa3.Speed = NumberRange.new(40)
  481. Pa3.Lifetime=NumberRange.new(0.4)
  482. Pa3.RotSpeed = NumberRange.new(-255, 250)
  483. Pa3.Texture = 'rbxassetid://316915922'
  484. Pa3.LightEmission = 0
  485. Pa3.EmissionDirection='Back'
  486. Pa3.VelocitySpread = 250
  487. Pa3.Rate = 1000
  488.  
  489. --
  490. Pa4=Instance.new('ParticleEmitter', I)
  491. Pa4.Size = NumberSequence.new(0.4)
  492. Pa4.Speed = NumberRange.new(40)
  493. Pa4.Lifetime=NumberRange.new(0.4)
  494. Pa4.RotSpeed = NumberRange.new(-255, 250)
  495. Pa4.Texture = 'rbxassetid://316915922'
  496. Pa4.LightEmission = 0
  497. Pa4.EmissionDirection='Back'
  498. Pa4.VelocitySpread = 250
  499. Pa4.Rate = 1000
  500.  
  501. wait(0.1)
  502. Pa.Enabled=false
  503. Pa2.Enabled=false
  504. Pa3.Enabled=false
  505. Pa4.Enabled=false
  506.  
  507. hit=Instance.new('Sound', I)
  508. hit.Volume=5
  509. hit.SoundId='rbxassetid://159970596'
  510. hit:Play()
  511.  
  512. hit2=Instance.new('Sound', I)
  513. hit2.Volume=14
  514. hit2.SoundId='rbxassetid://516789356'
  515. hit2:Play()
  516. end
  517. end
  518.  
  519. playAnim2:Play()
  520. Prepare2Play:Stop()
  521. light.Enabled=true;
  522. gunfirefx.Enabled=true
  523. shootsound=Instance.new('Sound', char.Torso)
  524. shootsound.Volume=3
  525. shootsound.SoundId='rbxassetid://149355375'
  526. shootsound:Play()
  527. wait(0.01)
  528. light.Enabled=false;
  529. gunfirefx.Enabled=false
  530.  
  531. wait(0.001)
  532. Prepare2Play:Play()
  533. debounce = 0
  534. end
  535. end end
  536. mouse.Button1Down:connect(Shoot)
  537. end
  538.  
  539. Tool.Equipped:connect(equipped)
  540.  
  541. local player = game.Players.hsdfsfsdfds
  542. repeat wait() until player.Character.Humanoid
  543. local humanoid = player.Character.Humanoid
  544. local reload=Instance.new("Animation", player.Character);
  545. reload.AnimationId="http://www.roblox.com/Asset?ID=95384819";
  546. local playAnim3 = humanoid:LoadAnimation(reload)
  547. reloading=false
  548. mouse.KeyDown:connect(function(key)
  549. if key == "r" then
  550. if reloading==true then
  551. playAnim3:Play()
  552. reloadsound:Play()
  553. wait(2)
  554. playAnim3:Stop()
  555. end end
  556. end)
  557. mouse.KeyDown:connect(function(key)
  558. if key == "q" then
  559. if reloading==true then
  560. if standed==false then
  561. standed=true
  562. Prepare2Play:Stop()
  563. equip2:Play()
  564. wait()
  565. playAnim:Play()
  566. Tool.GripForward=Vector3.new(0.485, 0.14, -0.863); --0.485, 0.14, -0.863
  567. elseif standed==true then
  568. standed=false
  569. playAnim:Stop()
  570. wait()
  571. Prepare2Play:Play()
  572. equip:Play()
  573. Tool.GripForward=Vector3.new(-0.501, 0.137, -0.855);
  574. end end end
  575. end)
  576. stfu=false
  577. function equipped()
  578. wait()
  579. stfu=true
  580. wait()
  581. playAnim:Play()
  582. equip:Play()
  583. reloading=true
  584. end
  585.  
  586. function unequipped()
  587. wait()
  588. playAnim:Stop()
  589. reloading=false
  590. Prepare2Play:Stop()
  591. stfu=false
  592. end
  593.  
  594. Tool.Equipped:connect(equipped)
  595. Tool.Unequipped:connect(unequipped)
  596.  
  597.  
  598. --STFU
  599. stfuu=Instance.new('Sound', char.Torso)
  600. stfuu.Volume=3
  601. stfuu.Pitch=6.8
  602. stfuu.SoundId='rbxassetid://261303790'
  603. mouse.KeyDown:connect(function(key)
  604. if key == "z" then
  605. if stfu==true then
  606. stfuu:Play()
  607. game:GetService("Chat"):Chat(char.Head, "SHUT THE FUCK UP U CUNT", Enum.ChatColor.Red)
  608. wait(2)
  609. end end
  610. end)
  611.  
  612.  
  613. ---
  614.  
  615. --Masked
  616. local player = game.Players.hsdfsfsdfds
  617. repeat wait() until player.Character.Humanoid
  618. local humanoid = player.Character.Humanoid
  619. equipsound = Instance.new('Sound', player.Character.Torso)
  620. equipsound.Volume=3
  621. equipsound.SoundId='rbxassetid://153647514'
  622.  
  623. local anim5 = Instance.new("Animation", player.Character)
  624. anim5.AnimationId = "http://www.roblox.com/asset/?id=28492456"
  625. local playAnim10 = humanoid:LoadAnimation(anim5)
  626. plyr = player
  627. --p = game:GetService("InsertService"):LoadAsset(304085055)
  628. --p.Name='IsMasked'
  629. --p.Parent = game.Workspace
  630. ismasked=false
  631. maskhat=Instance.new('Hat', game.Workspace)
  632. maskhat.Name='IsMasked'
  633. maskhat.AttachmentForward=Vector3.new(0, 0, 0.1);
  634. maskhat.AttachmentPos=Vector3.new(0, 0.8, -0.05);
  635. maskhat.AttachmentRight=Vector3.new(1, 0, 0);
  636. maskhat.AttachmentUp=Vector3.new(0, 1, 0);
  637. maskhandle=Instance.new('Part', maskhat)
  638. maskhandle.Name='Handle';
  639. maskhandle.Anchored=false
  640. maskhandle.Size=Vector3.new(1.33, 1, 1.7)
  641. maskmeshh=Instance.new('SpecialMesh', maskhandle)
  642. maskmeshh.MeshType='FileMesh'
  643. maskmeshh.MeshId='http://www.roblox.com/asset/?id=304084512'
  644. maskmeshh.TextureId='http://www.roblox.com/asset/?id=304083165'
  645. wait(0.001)
  646. game.Workspace.IsMasked.Parent = plyr.Character
  647.  
  648. maskhandle.Transparency=1
  649. mouse.KeyDown:connect(function(key)
  650. if key == "f" then
  651. if ismasked==false then
  652. ismasked=true
  653. Handle.Transparency=1
  654. playAnim10:Play()
  655. wait(0.5)
  656. playAnim10:Stop()
  657. equipsound:Play()
  658. Handle.Transparency=0
  659. player.Character.Humanoid.DisplayDistanceType='None'
  660. maskhandle.Transparency=0
  661.  
  662. elseif ismasked==true then
  663. ismasked=false
  664. Handle.Transparency=1
  665. playAnim10:Play()
  666. wait(0.5)
  667. playAnim10:Stop()
  668. equipsound:Play()
  669. player.Character.Humanoid.DisplayDistanceType='Viewer'
  670. maskhandle.Transparency=1
  671. Handle.Transparency=0
  672. end
  673. end
  674.  
  675. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement