Advertisement
DarkScriptZEditors

MLG

Dec 20th, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.75 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,game,owner = owner,game
  3. local RealPlayer = Player
  4. do
  5. print("FE Compatibility code by Mokiros")
  6. local rp = RealPlayer
  7. script.Parent = rp.Character
  8.  
  9. --RemoteEvent for communicating
  10. local Event = Instance.new("RemoteEvent")
  11. Event.Name = "UserInput_Event"
  12.  
  13. --Fake event to make stuff like Mouse.KeyDown work
  14. local function fakeEvent()
  15. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  16. t.connect = t.Connect
  17. return t
  18. end
  19.  
  20. --Creating fake input objects with fake variables
  21. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  22. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  23. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  24. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  25. end}
  26. --Merged 2 functions into one by checking amount of arguments
  27. CAS.UnbindAction = CAS.BindAction
  28.  
  29. --This function will trigger the events that have been :Connect()'ed
  30. local function te(self,ev,...)
  31. local t = m[ev]
  32. if t and t._fakeEvent then
  33. for _,f in pairs(t.Functions) do
  34. f(...)
  35. end
  36. end
  37. end
  38. m.TrigEvent = te
  39. UIS.TrigEvent = te
  40.  
  41. Event.OnServerEvent:Connect(function(plr,io)
  42. if plr~=rp then return end
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. if not io.isMouse then
  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. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  51. return m:TrigEvent(b and "Button2Down" or "Button2Up")
  52. end
  53. for _,t in pairs(CAS.Actions) do
  54. for _,k in pairs(t.Keys) do
  55. if k==io.KeyCode then
  56. t.Function(t.Name,io.UserInputState,io)
  57. end
  58. end
  59. end
  60. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  61. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  62. end
  63. end)
  64. Event.Parent = NLS([==[
  65. local Player = game:GetService("Players").LocalPlayer
  66. local Event = script:WaitForChild("UserInput_Event")
  67. local Mouse = Player:GetMouse()
  68. local UIS = game:GetService("UserInputService")
  69. local input = function(io,a)
  70. if a then return end
  71. --Since InputObject is a client-side instance, we create and pass table instead
  72. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  73. end
  74. UIS.InputBegan:Connect(input)
  75. UIS.InputEnded:Connect(input)
  76. local h,t
  77. --Give the server mouse data 30 times every second, but only if the values changed
  78. --If player is not moving their mouse, client won't fire events
  79. while wait(1/30) do
  80. if h~=Mouse.Hit or t~=Mouse.Target then
  81. h,t=Mouse.Hit,Mouse.Target
  82. Event:FireServer({isMouse=true,Target=t,Hit=h})
  83. end
  84. end]==],Player.Character)
  85.  
  86. ----Sandboxed game object that allows the usage of client-side methods and services
  87. --Real game object
  88. local _rg = game
  89.  
  90. --Metatable for fake service
  91. local fsmt = {
  92. __index = function(self,k)
  93. local s = rawget(self,"_RealService")
  94. if s then
  95. return typeof(s[k])=="function"
  96. and function(_,...)return s[k](s,...)end or s[k]
  97. end
  98. end,
  99. __newindex = function(self,k,v)
  100. local s = rawget(self,"_RealService")
  101. if s then s[k]=v end
  102. end
  103. }
  104. local function FakeService(t,RealService)
  105. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  106. return setmetatable(t,fsmt)
  107. end
  108.  
  109. --Fake game object
  110. local g = {
  111. GetService = function(self,s)
  112. return rawget(self,s) or _rg:GetService(s)
  113. end,
  114. Players = FakeService({
  115. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  116. },"Players"),
  117. UserInputService = FakeService(UIS,"UserInputService"),
  118. ContextActionService = FakeService(CAS,"ContextActionService"),
  119. RunService = FakeService({
  120. _btrs = {},
  121. RenderStepped = _rg:GetService("RunService").Heartbeat,
  122. BindToRenderStep = function(self,name,_,fun)
  123. self._btrs[name] = self.Heartbeat:Connect(fun)
  124. end,
  125. UnbindFromRenderStep = function(self,name)
  126. self._btrs[name]:Disconnect()
  127. end,
  128. },"RunService")
  129. }
  130. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  131. g.service = g.GetService
  132. FakeService(g,game)
  133. --Changing owner to fake player object to support owner:GetMouse()
  134. game,owner = g,g.Players.LocalPlayer
  135. end
  136. ---CREATED BY SoIHeardYouLikeMemes/Kidd_Anonymouse/Teen_Anonymouse/Adult_Anonymouse/FetusAnonymouse---
  137. ---those are all my alts btw.---
  138. local you = game.Players.LocalPlayer
  139. local char = you.Character
  140. local mouse = you:GetMouse()
  141. local firing = false
  142.  
  143. local m = Instance.new("Model",char)
  144. local illum = Instance.new("Part",m)
  145. illum.CanCollide = false
  146. illum.BottomSurface = "Smooth"
  147. illum.TopSurface = "Smooth"
  148. illum.Size = Vector3.new(0.2, 0.2, 0.2)
  149. illum.Anchored = true
  150.  
  151. local s = Instance.new("Sound",m)
  152. s.SoundId = "rbxassetid://185492305"
  153. s.Volume = 0.8
  154. s.Looped = true
  155. s:Play()
  156. local SP = Instance.new("SpecialMesh",illum)
  157. SP.MeshId = "rbxassetid://438530093"
  158. SP.TextureId = "rbxassetid://438530120"
  159. SP.Scale = Vector3.new(0.2, 0.2, 0.2)
  160. SP.Offset = Vector3.new(0.5, 8, 0.03)
  161.  
  162.  
  163. local MousePart = Instance.new("Part",m)
  164. MousePart.CanCollide = false
  165. MousePart.BottomSurface = "Smooth"
  166. MousePart.TopSurface = "Smooth"
  167. MousePart.Size = Vector3.new(0.2, 0.2, 0.2)
  168. MousePart.Anchored = true
  169.  
  170.  
  171. local TipPart = Instance.new("Part",m)
  172. TipPart.CanCollide = false
  173. TipPart.BottomSurface = "Smooth"
  174. TipPart.TopSurface = "Smooth"
  175. TipPart.BrickColor = BrickColor.new("Lime green")
  176. TipPart.Material = "Neon"
  177. TipPart.FormFactor = "Custom"
  178. TipPart.Shape = "Ball"
  179. TipPart.Size = Vector3.new(2, 2, 2)
  180. TipPart.Anchored = true
  181. TipPart.Locked = true
  182. TipPart.CanCollide = false
  183. TipPart.Transparency = 0.5
  184.  
  185. local PE1 = Instance.new("ParticleEmitter",TipPart) -- dorritoes
  186. PE1.Texture = "rbxassetid://686815657"
  187. PE1.LightEmission = 0.3
  188. PE1.Acceleration = Vector3.new(0,-2,0)
  189. PE1.Lifetime = NumberRange.new(5,7)
  190. PE1.Speed = NumberRange.new(3,5)
  191. PE1.Rate = 30
  192. PE1.VelocitySpread = 50
  193.  
  194. local PE2 = Instance.new("ParticleEmitter",TipPart) --illuminati
  195. PE2.Texture = "rbxassetid://686815657"
  196. PE2.LightEmission = 1
  197. PE2.Acceleration = Vector3.new(0,-2,0)
  198. PE2.Lifetime = NumberRange.new(5,7)
  199. PE2.Speed = NumberRange.new(3,5)
  200. PE2.Rate = 10
  201. PE2.VelocitySpread = 50
  202.  
  203. local PE3 = Instance.new("ParticleEmitter",TipPart) --HitMarkers
  204. PE3.Texture = "rbxassetid://686815657"
  205. PE3.LightEmission = 1
  206. PE3.Acceleration = Vector3.new(0,-2,0)
  207. PE3.Lifetime = NumberRange.new(5,7)
  208. PE3.Speed = NumberRange.new(3,5)
  209. PE3.Rate = 10
  210. PE3.VelocitySpread = 50
  211.  
  212. local PE4 = Instance.new("ParticleEmitter",MousePart) -- dorritoes
  213. PE4.Texture = "rbxassetid://484383135"
  214. PE4.Acceleration = Vector3.new(0,-10,0)
  215. PE4.Lifetime = NumberRange.new(2,4)
  216. PE4.Speed = NumberRange.new(8,10)
  217. PE4.Rate = 100
  218. PE4.VelocitySpread = 50
  219.  
  220. local PE5 = Instance.new("ParticleEmitter",MousePart) --illuminati
  221. PE5.Texture = "rbxassetid://686815657"
  222. PE5.Acceleration = Vector3.new(0,-10,0)
  223. PE5.Lifetime = NumberRange.new(2,4)
  224. PE5.Speed = NumberRange.new(8,10)
  225. PE5.Rate = 100
  226. PE5.VelocitySpread = 50
  227.  
  228. local PE6 = Instance.new("ParticleEmitter",MousePart) --HitMarkers
  229. PE6.Texture = "rbxassetid://644165701"
  230. PE6.Acceleration = Vector3.new(0,-10,0)
  231. PE6.Lifetime = NumberRange.new(2,4)
  232. PE6.Speed = NumberRange.new(8,10)
  233. PE6.Rate = 100
  234. PE6.VelocitySpread = 50
  235.  
  236. PE1.Enabled = false
  237. PE2.Enabled = false
  238. PE3.Enabled = false
  239. PE4.Enabled = false
  240. PE5.Enabled = false
  241. PE6.Enabled = false
  242.  
  243. function drawlazer(p1,p2)
  244. part = Instance.new("Part", m)
  245. part.Name = "Location"
  246. part.BottomSurface = 0
  247. part.TopSurface = 0
  248. part.BrickColor = BrickColor.new("Lime green")
  249. part.Material = "Neon"
  250. part.FormFactor = "Custom"
  251. part.Shape = "Ball"
  252. part.Size = Vector3.new(4, 4, 4)
  253. part.Anchored = true
  254. part.Locked = true
  255. part.CanCollide = false
  256. part.Transparency = 0.5
  257. part.CFrame = CFrame.new(p1.Position.x,p1.Position.y,p1.Position.z)
  258.  
  259. obj = part
  260. local lastPos = obj.CFrame.p
  261. objC = obj:Clone()
  262. objC.Name = "Line"
  263. objC.Parent = m
  264. objC.Shape = "Ball"
  265. objC.Anchored = true
  266. local distance = (p2.Position- obj.CFrame.p).magnitude
  267. objC.Size = Vector3.new(10,10,distance)
  268. objC.CFrame = CFrame.new(p2.Position,obj.Position)*CFrame.new(0,0,-distance/2)
  269. lastPos = obj.CFrame.p
  270. objCC1 = objC:Clone()
  271. objCC1.Parent = objC
  272. objCC1.CFrame = CFrame.new(p2.Position,obj.Position)*CFrame.new(0,0,-distance/2.5)
  273. objCC1.Size = Vector3.new(4,4,distance/2)
  274. objCC1.Name = "LineC1"
  275.  
  276. objCC2 = objC:Clone()
  277. objCC2.Parent = objC
  278. objCC2.CFrame = CFrame.new(p2.Position,obj.Position)*CFrame.new(0,0,-distance/1.5)
  279. objCC2.Size = Vector3.new(4,4,distance/2)
  280. objCC2.Name = "LineC2"
  281. objCC2:ClearAllChildren()
  282.  
  283. end
  284.  
  285. function drawlazer2(p1,p2)
  286. part = m:FindFirstChild("Location")
  287. part.CFrame = CFrame.new(p1.Position.x,p1.Position.y,p1.Position.z)
  288. obj = part
  289. local distance = (p2.Position- obj.CFrame.p).magnitude
  290. objC = m.Line:Clone()
  291. objC.Name = "Line2"
  292. objC.Parent = m
  293. objC.Size = Vector3.new(4,4,distance)
  294. objC.CFrame = CFrame.new(p2.Position,obj.Position)*CFrame.new(0,0,-distance/2)
  295.  
  296. objCC1 = objC.LineC1
  297.  
  298. objCC1.CFrame = CFrame.new(p2.Position,obj.Position)*CFrame.new(0,0,-distance/2.5)
  299. objCC1.Size = Vector3.new(4,4,distance/2)
  300.  
  301.  
  302. objCC2 = objC.LineC2
  303.  
  304. objCC2.CFrame = CFrame.new(p2.Position,obj.Position)*CFrame.new(0,0,-distance/1.5)
  305. objCC2.Size = Vector3.new(4,4,distance/2)
  306.  
  307.  
  308. m.Line:remove()
  309.  
  310. objC.Name = "Line"
  311. for _,v in pairs(game.Players:GetPlayers()) do
  312.  
  313. if v ~= you then
  314. local d = (part.Position- v.Character:WaitForChild("Torso").CFrame.p).magnitude
  315. if d <= 5 then
  316. v.Character:FindFirstChildOfClass("Humanoid"):TakeDamage(5)
  317. end
  318. end
  319. --wait()
  320. end
  321.  
  322. end
  323.  
  324.  
  325. function despawn1(part1,part2,length)
  326.  
  327. for i = 10,1,-1 do
  328.  
  329. part1.Transparency = part1.Transparency + 0.1
  330. part1.Size = part1.Size + Vector3.new(0.2,0.2,length)
  331. part1.Size = Vector3.new(part1.Size.X,part1.Size.Y,length)
  332.  
  333. wait(0.01)
  334. end
  335. part1:remove()
  336.  
  337. for i = 10,1,-1 do
  338.  
  339. part2.Transparency = part2.Transparency + 0.1
  340.  
  341. wait(0.01)
  342. end
  343. part2:remove()
  344.  
  345. end
  346.  
  347. function despawn2(part1,length)
  348.  
  349. for i = 10,1,-1 do
  350.  
  351. part1.Transparency = part1.Transparency + 0.1
  352. part1.Size = part1.Size + Vector3.new(0.2,0,length)
  353. part1.Size = Vector3.new(part1.Size.X,part1.Size.Y,length)
  354.  
  355. wait(0.01)
  356. end
  357. part1:remove()
  358. end
  359.  
  360.  
  361.  
  362. function snipe(T)
  363.  
  364. part = Instance.new("Part", m)
  365. part.Name = "Sniper"
  366. part.BottomSurface = 0
  367. part.TopSurface = 0
  368. part.BrickColor = BrickColor.new("Really black")
  369. part.Material = "Neon"
  370. part.FormFactor = "Custom"
  371. part.Size = Vector3.new(1, 1, 3)
  372. part.Anchored = true
  373. part.Locked = true
  374. part.CanCollide = false
  375. part.Transparency = 0
  376.  
  377. local SP = Instance.new("SpecialMesh",part)
  378. SP.MeshId = "rbxassetid://685827900"
  379. SP.Scale = Vector3.new(0.05, 0.05, 0.05)
  380. SP.Offset = Vector3.new(0, -0.3, 3.05)
  381.  
  382. local S=part
  383.  
  384. part.Position = char.Torso.Position + Vector3.new(math.random(-5,5),math.random(3,8),math.random(-5,5))
  385. part.CFrame = CFrame.new(part.Position,T.Position)
  386.  
  387.  
  388. obj = part
  389. local lastPos = obj.CFrame.p
  390. objC = obj:Clone()
  391. objC.Mesh:remove()
  392. wait(0.05)
  393. objC.Parent = part
  394. objC.Shape = "Ball"
  395. objC.FormFactor = "Custom"
  396. objC.Anchored = true
  397. objC.BrickColor = BrickColor.new("New Yeller")
  398. local distance = (T.Position- obj.CFrame.p).magnitude
  399. objC.Size = Vector3.new(0.2,0.2,distance)
  400. objC.CFrame = CFrame.new(T.Position,obj.Position)*CFrame.new(0,0,-distance/2)
  401. local s = Instance.new("Sound",part)
  402. s.SoundId = "rbxassetid://680140087"
  403. s.Volume = 1
  404. s.PlayOnRemove = true
  405. s:remove()
  406. despawn1(objC,part,distance)
  407. if mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  408. mouse.Target.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(20)
  409. local PETemp = Instance.new("ParticleEmitter",mouse.Target) --HitMarkers
  410. PETemp.Texture = "rbxassetid://644165701"
  411. PETemp.Acceleration = Vector3.new(0,-10,0)
  412. PETemp.Lifetime = NumberRange.new(2,4)
  413. PETemp.Speed = NumberRange.new(8,10)
  414. PETemp.Rate = 100
  415. PETemp.VelocitySpread = 50
  416. PETemp.Enabled = true
  417. wait(0.1)
  418. PETemp.Enabled = false
  419. end
  420. end
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427. function ThrowDorito(a,b)
  428. if m:FindFirstChild("Throw") == nil then
  429. local animation=Instance.new("Animation",char:FindFirstChildOfClass("Humanoid"))
  430. animation.Name="Throw"
  431. animation.AnimationId="http://www.roblox.com/asset/?id=207107855"
  432. anim=char:FindFirstChildOfClass("Humanoid"):LoadAnimation(animation)
  433. anim:Play()
  434. else
  435. local animation=char:FindFirstChildOfClass("Humanoid").Throw
  436. anim=char:FindFirstChildOfClass("Humanoid"):LoadAnimation(animation)
  437. anim:Play()
  438. end
  439.  
  440. part = Instance.new("Part", m)
  441. part.Name = "Dorito"
  442. part.BottomSurface = 0
  443. part.TopSurface = 0
  444. part.BrickColor = BrickColor.new("Neon orange")
  445. part.Material = "Neon"
  446. part.FormFactor = "Custom"
  447. part.Shape = "Ball"
  448. part.Size = Vector3.new(1,0.2,1)
  449. part.Anchored = true
  450. part.Locked = true
  451. part.CanCollide = false
  452. part.Transparency = 0
  453. part.CFrame = CFrame.new(a.Position.x,a.Position.y,a.Position.z)
  454. local SP = Instance.new("SpecialMesh",part)
  455. SP.MeshId = "rbxassetid://627995517"
  456. SP.Scale = Vector3.new(1, 1, 1)
  457.  
  458.  
  459. obj = part
  460. local lastPos = obj.CFrame.p
  461. objC = obj:Clone()
  462. objC.Name = "DoritoTrail"
  463. objC.Mesh:remove()
  464. objC.Parent = m
  465. objC.FormFactor = "Custom"
  466. objC.Anchored = true
  467. objC.Transparency = 0.5
  468. objC.BrickColor = BrickColor.new("CGA brown")
  469.  
  470. local distance = (b.Position- obj.CFrame.p).magnitude
  471. objC.Size = Vector3.new(1,0.2,distance)
  472. objC.CFrame = CFrame.new(b.Position,obj.Position)*CFrame.new(0,0,-distance/2)
  473. lastPos = obj.CFrame.p
  474. obj.CFrame = CFrame.new(b.Position,obj.Position)*CFrame.new(0,0,-distance)
  475. obj.CFrame = obj.CFrame * CFrame.fromEulerAnglesXYZ(0,math.random(1,99),0)
  476. objC.Size = Vector3.new(1,0.2,distance)
  477. print(distance)
  478. local target = mouse.Target
  479. local weld = Instance.new("ManualWeld")
  480. weld.Part0 = part
  481. weld.Part1 = target
  482. weld.C0 = CFrame.new()
  483. weld.C1 = target.CFrame:inverse() * part.CFrame
  484. weld.Parent = part
  485. part.Anchored = false
  486. if target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  487. target.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(5)
  488. end
  489. despawn2(objC,distance)
  490. end
  491.  
  492.  
  493.  
  494.  
  495.  
  496.  
  497.  
  498.  
  499.  
  500. function shoot()
  501. print("FIRE!")
  502. TipPart.Transparency = 0.5
  503. if m:FindFirstChild("Line") == nil then
  504.  
  505. drawlazer(MousePart,TipPart)
  506. else
  507. drawlazer2(MousePart,TipPart)
  508. end
  509. local s = Instance.new("Sound",TipPart)
  510. s.SoundId = "rbxassetid://705502934"
  511. s.Volume = 2.5
  512. s.PlayOnRemove = true
  513. s:remove()
  514. wait()
  515. end
  516.  
  517. --.KEYS....KEYS....KEYSKEYSKEYS....KEYS....KEYS....KEYSKEYSKEYS......--
  518. --.KEYS....KEYS....KEYSKEYSKEYS....KEYS....KEYS..KEYSKEYS..KEYSKEYS..--
  519. --.KEYS..KEYS......KEYS..............KEYSKEYS...KEYS...........KEYS..--
  520. --.KEYS..KEYS......KEYS..............KEYSKEYS...KEYSKEYS.............--
  521. --.KEYSKEYS........KEYSKEYS............KEYS........KEYSKEYS..........--
  522. --.KEYSKEYS........KEYSKEYS............KEYS............KEYSKEYS......--
  523. --.KEYS..KEYS......KEYS..............KEYS..................KEYSKEYS..--
  524. --.KEYS..KEYS......KEYS..............KEYS.......KEYS...........KEYS..--
  525. --.KEYS....KEYS....KEYSKEYSKEYS....KEYS.........KEYSKEYS..KEYSKEYS...--
  526. --.KEYS....KEYS....KEYSKEYSKEYS....KEYS............KEYSKEYSKEYS......--
  527. mouse.Button1Up:connect(function()
  528. firing = false
  529. print("Stop")
  530. PE1.Enabled = false
  531. PE2.Enabled = false
  532. PE3.Enabled = false
  533. PE4.Enabled = false
  534. PE5.Enabled = false
  535. PE6.Enabled = false
  536. if m:FindFirstChild("Line") ~= nil then
  537. m.Line:remove()
  538. m.Location:remove()
  539. end
  540. TipPart.Transparency = 1
  541. repeat illum.CFrame = illum.CFrame * CFrame.fromEulerAnglesXYZ(0,0.05,0) illum.Position = char.Torso.Position + Vector3.new(0,.01,0) if m:FindFirstChild("Line") ~= nil then m:FindFirstChild("Line"):remove() end if m:FindFirstChild("Location") ~= nil then m:FindFirstChild("Location"):remove() end wait()
  542. until firing == true
  543. end)
  544.  
  545. mouse.Button1Down:connect(function()
  546. firing = true
  547. PE1.Enabled = true
  548. --PE2.Enabled = true
  549. --PE3.Enabled = true
  550. PE4.Enabled = true
  551. PE5.Enabled = true
  552. PE6.Enabled = true
  553. repeat MousePart.CFrame = CFrame.new(mouse.Hit.p) TipPart.Position = char.Head.Position + Vector3.new(0,9,0) illum.CFrame = illum.CFrame * CFrame.fromEulerAnglesXYZ(0,0.05,0) illum.Position = char.Torso.Position + Vector3.new(0,.01,0) shoot() wait()
  554. until firing == false
  555.  
  556. end)
  557.  
  558. mouse.KeyDown:connect(function(key)
  559. if key == "q" and firing == false then
  560. MousePart.CFrame = CFrame.new(mouse.Hit.p)
  561. snipe(MousePart)
  562. print("Snipe")
  563. elseif key == "e" and firing == false then
  564. MousePart.CFrame = CFrame.new(mouse.Hit.p)
  565. ThrowDorito(MousePart,char:FindFirstChild("Right Arm"))
  566. print("Dorito")
  567. end
  568.  
  569. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement