Advertisement
samuelrichter66

Big storms, BIG <===8

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