Advertisement
fusionfriends

flaregunner

Mar 5th, 2019
547
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 16.88 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,Mouse,mouse,UserInputService,ContextActionService = owner
  3. do
  4.     print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  5.     script.Parent = Player.Character
  6.  
  7.     --RemoteEvent for communicating
  8.     local Event = Instance.new("RemoteEvent")
  9.     Event.Name = "UserInput_Event"
  10.  
  11.     --Fake event to make stuff like Mouse.KeyDown work
  12.     local function fakeEvent()
  13.         local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  14.         t.connect = t.Connect
  15.         return t
  16.     end
  17.  
  18.     --Creating fake input objects with fake variables
  19.     local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  20.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  21.     local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  22.         CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  23.     end}
  24.     --Merged 2 functions into one by checking amount of arguments
  25.     CAS.UnbindAction = CAS.BindAction
  26.  
  27.     --This function will trigger the events that have been :Connect()'ed
  28.     local function te(self,ev,...)
  29.         local t = m[ev]
  30.         if t and t._fakeEvent and t.Function then
  31.             t.Function(...)
  32.         end
  33.     end
  34.     m.TrigEvent = te
  35.     UIS.TrigEvent = te
  36.  
  37.     Event.OnServerEvent:Connect(function(plr,io)
  38.         if plr~=Player then return end
  39.         if io.isMouse then
  40.             m.Target = io.Target
  41.             m.Hit = io.Hit
  42.         else
  43.             local b = io.UserInputState == Enum.UserInputState.Begin
  44.             if io.UserInputType == Enum.UserInputType.MouseButton1 then
  45.                 return m:TrigEvent(b and "Button1Down" or "Button1Up")
  46.             end
  47.             for _,t in pairs(CAS.Actions) do
  48.                 for _,k in pairs(t.Keys) do
  49.                     if k==io.KeyCode then
  50.                         t.Function(t.Name,io.UserInputState,io)
  51.                     end
  52.                 end
  53.             end
  54.             m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  55.             UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  56.         end
  57.     end)
  58.     Event.Parent = NLS([==[
  59.     local Player = game:GetService("Players").LocalPlayer
  60.     local Event = script:WaitForChild("UserInput_Event")
  61.  
  62.     local UIS = game:GetService("UserInputService")
  63.     local input = function(io,a)
  64.         if a then return end
  65.         --Since InputObject is a client-side instance, we create and pass table instead
  66.         Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  67.     end
  68.     UIS.InputBegan:Connect(input)
  69.     UIS.InputEnded:Connect(input)
  70.  
  71.     local Mouse = Player:GetMouse()
  72.     local h,t
  73.     --Give the server mouse data 30 times every second, but only if the values changed
  74.     --If player is not moving their mouse, client won't fire events
  75.     while wait(1/30) do
  76.         if h~=Mouse.Hit or t~=Mouse.Target then
  77.             h,t=Mouse.Hit,Mouse.Target
  78.             Event:FireServer({isMouse=true,Target=t,Hit=h})
  79.         end
  80.     end]==],Player.Character)
  81.     Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  82. end
  83. local Player = owner
  84. local UIS = game:GetService("UserInputService")
  85. local Character = Player.Character
  86. local Humanoid = Character.Humanoid
  87. local Torso = Character.Torso
  88. local LeftPart = Character["Left Arm"]
  89. local RightPart = Character["Right Arm"]
  90. local LeftArm = Torso["Left Shoulder"]
  91. local RightArm = Torso["Right Shoulder"]
  92. local LeftLeg = Torso["Left Hip"]
  93. local RightLeg = Torso["Right Hip"]
  94. local RootPart = Character.HumanoidRootPart
  95. local RootJoint = RootPart.RootJoint
  96.  
  97. Character:WaitForChild("Animate"):Remove()
  98. Character.Humanoid:ClearAllChildren()
  99.  
  100. Humanoid.WalkSpeed = 20
  101.  
  102. local flare = Instance.new("Part",LeftPart)
  103. local flaremesh = Instance.new("SpecialMesh",flare)
  104. local flare2 = Instance.new("Part",RightPart)
  105. local flare2mesh = Instance.new("SpecialMesh",flare2)
  106.  
  107. local Weld = Instance.new("Weld",flare)
  108. local Weld2 = Instance.new("Weld",flare2)
  109.  
  110. local flaregunfire = Instance.new("Sound",Torso)
  111.  
  112. local theme = Instance.new("Sound",Torso)
  113. theme.SoundId = "rbxassetid://163010314"
  114. theme.Volume = 1000
  115. theme:Play()
  116.  
  117. flare.Size = Vector3.new(0.25,1,1.75)
  118. flare.CanCollide = false
  119.  
  120. flaremesh.Scale = Vector3.new(0.015,0.015,0.015)
  121. flaremesh.MeshId = "rbxassetid://443983595"
  122. flaremesh.TextureId = "rbxassetid://443983604"
  123.  
  124. flare2.Size = Vector3.new(0.25,1,1.75)
  125. flare2.CanCollide = false
  126.  
  127. flare2mesh.Scale = Vector3.new(0.015,0.015,0.015)
  128. flare2mesh.MeshId = "rbxassetid://443983595"
  129. flare2mesh.TextureId = "rbxassetid://443983604"
  130.  
  131. Weld.Part1 = flare
  132. Weld.Part0 = LeftPart
  133. Weld.C0 = CFrame.new(0,-1.25,-.25)*CFrame.Angles(-190,0,0)
  134.  
  135. Weld2.Part1 = flare2
  136. Weld2.Part0 = RightPart
  137. Weld2.C0 = CFrame.new(0,-1.25,-.25)*CFrame.Angles(-190,0,0)
  138.  
  139. flaregunfire.SoundId = "rbxassetid://168114845"
  140. flaregunfire.Volume = .3
  141. flaregunfire.Looped = false
  142.  
  143. speed = .4
  144. sine = 1
  145. change = 1
  146. stage = 1
  147. action = false
  148. inair = false
  149. fireleft = false
  150. fireright = false
  151. fireleft2 = false
  152. fireright2 = false
  153.  
  154. spawn(function()
  155.     while true do
  156.         sine = sine+change
  157.         wait()
  158.         local Velocity = RootPart.Velocity.Magnitude
  159.         if Velocity > 0.01 then
  160.             if not inair then
  161.                 if not action then
  162.                     LeftArm.C0 = LeftArm.C0:lerp(CFrame.new(-.9,.5,0)*CFrame.Angles(math.rad(0),math.rad(-90),math.rad(230-10*math.sin(sine/10))),speed)
  163.                     RightArm.C0 = RightArm.C0:Lerp(CFrame.new(.9,.5,0)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(-240+10*math.sin(sine/10))),speed)
  164.                     LeftLeg.C0 = LeftLeg.C0:Lerp(CFrame.new(-.5,-.95,-.6)*CFrame.Angles(math.rad(0-60*math.sin(sine/3)),math.rad(180),math.rad(0)),speed)
  165.                     RightLeg.C0 = RightLeg.C0:Lerp(CFrame.new(.5,-.95,-.6)*CFrame.Angles(math.rad(0+60*math.sin(sine/3)),math.rad(180),math.rad(0)),speed)
  166.                     RootJoint.C0 = RootJoint.C0:Lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(-100),math.rad(0),math.rad(180)),speed)
  167.                 end
  168.             end
  169.         elseif Velocity < 0.01 then
  170.             if not inair then
  171.                 if not action then
  172.                     LeftArm.C0 = LeftArm.C0:lerp(CFrame.new(-.9,.5,0)*CFrame.Angles(math.rad(0),math.rad(-90),math.rad(230-10*math.sin(sine/10))),speed)
  173.                     RightArm.C0 = RightArm.C0:Lerp(CFrame.new(.9,.5,0)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(-240+10*math.sin(sine/10))),speed)
  174.                     LeftLeg.C0 = LeftLeg.C0:Lerp(CFrame.new(-.5,-.95-.15*math.sin(sine/10),-.5)*CFrame.Angles(math.rad(0),math.rad(180),math.rad(0)),speed)
  175.                     RightLeg.C0 = RightLeg.C0:Lerp(CFrame.new(.5,-.95-.15*math.sin(sine/10),-.5)*CFrame.Angles(math.rad(0),math.rad(180),math.rad(0)),speed)
  176.                     RootJoint.C0 = RootJoint.C0:Lerp(CFrame.new(0,0+.15*math.sin(sine/10),0)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(180)),speed)
  177.                 end
  178.             end
  179.         end
  180.         if Humanoid:GetState() == Enum.HumanoidStateType.Freefall then
  181.             if not action then
  182.                 inair = true
  183.                 LeftArm.C0 = LeftArm.C0:lerp(CFrame.new(-.9,.5,0)*CFrame.Angles(math.rad(0),math.rad(-90),math.rad(230-10*math.sin(sine/5))),speed)
  184.                 RightArm.C0 = RightArm.C0:Lerp(CFrame.new(.9,.5,0)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(-240+10*math.sin(sine/5))),speed)
  185.                 LeftLeg.C0 = LeftLeg.C0:Lerp(CFrame.new(-.5,-.7,-1)*CFrame.Angles(math.rad(-15),math.rad(180),math.rad(0)),speed)
  186.                 RightLeg.C0 = RightLeg.C0:Lerp(CFrame.new(.5,-.45,-1)*CFrame.Angles(math.rad(-10),math.rad(180),math.rad(0)),speed)
  187.                 RootJoint.C0 = RootJoint.C0:Lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(180)),speed)
  188.             end
  189.         else
  190.             inair = false  
  191.         end
  192.         if fireleft then
  193.             LeftArm.C0 = LeftArm.C0:lerp(CFrame.new(-.9,.5,0)*CFrame.Angles(math.rad(0),math.rad(-70),math.rad(-90)),speed)
  194.             RightArm.C0 = RightArm.C0:Lerp(CFrame.new(.9,.5,0)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(-240)),speed)
  195.             LeftLeg.C0 = LeftLeg.C0:Lerp(CFrame.new(-.5,-.95,-.5)*CFrame.Angles(math.rad(0),math.rad(180),math.rad(0)),speed)
  196.             RightLeg.C0 = RightLeg.C0:Lerp(CFrame.new(.5,-.95,-.5)*CFrame.Angles(math.rad(0),math.rad(180),math.rad(0)),speed)
  197.             RootJoint.C0 = RootJoint.C0:Lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(160)),speed)
  198.         elseif fireright then
  199.             LeftArm.C0 = LeftArm.C0:lerp(CFrame.new(-.9,.5,0)*CFrame.Angles(math.rad(0),math.rad(-90),math.rad(230)),speed)
  200.             RightArm.C0 = RightArm.C0:Lerp(CFrame.new(.9,.5,0)*CFrame.Angles(math.rad(0),math.rad(70),math.rad(90)),speed)
  201.             LeftLeg.C0 = LeftLeg.C0:Lerp(CFrame.new(-.5,-.95,-.5)*CFrame.Angles(math.rad(0),math.rad(180),math.rad(0)),speed)
  202.             RightLeg.C0 = RightLeg.C0:Lerp(CFrame.new(.5,-.95,-.5)*CFrame.Angles(math.rad(0),math.rad(180),math.rad(0)),speed)
  203.             RootJoint.C0 = RootJoint.C0:Lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(200)),speed)
  204.         elseif fireleft2 then
  205.             LeftArm.C0 = LeftArm.C0:lerp(CFrame.new(-.9,.5,0)*CFrame.Angles(math.rad(0),math.rad(-70),math.rad(-160)),speed)
  206.             RightArm.C0 = RightArm.C0:Lerp(CFrame.new(.9,.5,0)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(-240)),speed)
  207.             LeftLeg.C0 = LeftLeg.C0:Lerp(CFrame.new(-.5,-.95,-.5)*CFrame.Angles(math.rad(0),math.rad(180),math.rad(0)),speed)
  208.             RightLeg.C0 = RightLeg.C0:Lerp(CFrame.new(.5,-.95,-.5)*CFrame.Angles(math.rad(0),math.rad(180),math.rad(0)),speed)
  209.             RootJoint.C0 = RootJoint.C0:Lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(175)),speed)
  210.         elseif fireright2 then
  211.             LeftArm.C0 = LeftArm.C0:lerp(CFrame.new(-.9,.5,0)*CFrame.Angles(math.rad(0),math.rad(-90),math.rad(230)),speed)
  212.             RightArm.C0 = RightArm.C0:Lerp(CFrame.new(.9,.5,0)*CFrame.Angles(math.rad(0),math.rad(70),math.rad(160)),speed)
  213.             LeftLeg.C0 = LeftLeg.C0:Lerp(CFrame.new(-.5,-.95,-.5)*CFrame.Angles(math.rad(0),math.rad(180),math.rad(0)),speed)
  214.             RightLeg.C0 = RightLeg.C0:Lerp(CFrame.new(.5,-.95,-.5)*CFrame.Angles(math.rad(0),math.rad(180),math.rad(0)),speed)
  215.             RootJoint.C0 = RootJoint.C0:Lerp(CFrame.new(0,0,0)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(185)),speed)
  216.         end
  217.     end
  218. end)   
  219. Mouse.Button1Down:Connect(function()
  220.     if not action then
  221.         if not inair then
  222.             action = true
  223.             local flarepellet = Instance.new("Part",Character)
  224.             local flame = Instance.new("ParticleEmitter",flarepellet)
  225.             local flarepelletforce = Instance.new("BodyVelocity",flarepellet)
  226.             flarepellet.BrickColor = BrickColor.new("Bright red")
  227.             flarepellet.CanCollide = false
  228.             flarepellet.Shape = Enum.PartType.Cylinder
  229.             flarepellet.Material = Enum.Material.SmoothPlastic
  230.             flarepellet.Size = Vector3.new(0.5,0.25,0.25)
  231.             flarepellet.Anchored = true
  232.             flarepellet.CFrame = CFrame.new(Character.Torso.Position)
  233.             flame.Texture = "rbxassetid://399749242"
  234.             flame.Size = NumberSequence.new(0.2,0.2,0.2,0.2)
  235.             flame.Lifetime = NumberRange.new(0.05)
  236.             flame.Rate = 3500
  237.             if stage == 1 then
  238.                 stage = 2
  239.                 fireleft = true
  240.                 Humanoid.WalkSpeed = 0
  241.                 local Sound = Instance.new("Sound",flarepellet)
  242.                 Sound.SoundId = "rbxassetid://947384308"
  243.                 Sound.Looped = false
  244.                 Sound.Volume = 5
  245.                 wait(.25)
  246.                 Sound:Play()
  247.                 local Boom = Instance.new("Part",flare)
  248.                 local BoomMesh = Instance.new("SpecialMesh",Boom)
  249.                 Boom.Size = Vector3.new(0.25,0.25,0.25)
  250.                 Boom.CFrame = CFrame.new(flare.Position)
  251.                 Boom.Orientation = Vector3.new(flare.Orientation.X-90,flare.Orientation.Y,flare.Orientation.Z)
  252.                 Boom.BrickColor = BrickColor.new("Bright red")
  253.                 Boom.Anchored = true
  254.                 Boom.CanCollide = false
  255.                 BoomMesh.MeshId = "rbxassetid://489415447"
  256.                 fireleft = false
  257.                 fireleft2 = true
  258.                 flaregunfire.Parent = flare
  259.                 flaregunfire:Play()
  260.                 flarepellet.CFrame = CFrame.new(LeftPart.Position)
  261.                 flarepellet.Orientation = Vector3.new(LeftPart.Orientation.X,RightPart.Orientation.Y+90,RightPart.Orientation.Z)
  262.                 flarepelletforce.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  263.                 flarepelletforce.Velocity = RootPart.CFrame.LookVector*200
  264.                 flarepellet.Anchored = false
  265.                 flarepellet.Touched:Connect(function(hit)
  266.                     if hit.Parent == Player.Character then return end
  267.                     if hit and hit.Parent:FindFirstChild("Humanoid") then
  268.                         flarepellet:Destroy()
  269.                         local Explosion = Instance.new("Part",hit.Parent)
  270.                         Explosion.Shape = Enum.PartType.Ball
  271.                         Explosion.BrickColor = BrickColor.new("Bright red")
  272.                         Explosion.Material = Enum.Material.Neon
  273.                         Explosion.Position = hit.Parent.Torso.Position
  274.                         Explosion.Size = Vector3.new(.05,.05,.05)
  275.                         Explosion.Anchored = true
  276.                         Explosion.CanCollide = false
  277.                         local ExplodeSound = Instance.new("Sound",Explosion)
  278.                         ExplodeSound.SoundId = "rbxassetid://262562442"
  279.                         ExplodeSound.Volume = 3
  280.                         ExplodeSound:Play()
  281.                         local somethingsburning = Instance.new("ParticleEmitter",hit.Parent.Torso)
  282.                         somethingsburning.Texture = "rbxassetid://2022785480"
  283.                         somethingsburning.Rate = 1000
  284.                         somethingsburning.SpreadAngle = Vector2.new(100,100)
  285.                         somethingsburning.Size = NumberSequence.new(1,1,1,1)
  286.                         somethingsburning.Lifetime = NumberRange.new(.5)
  287.                         local uhoh = Instance.new("Sound",hit.Parent.Torso)
  288.                         uhoh.SoundId = "rbxassetid://298181829"
  289.                         uhoh.Volume = 1
  290.                         uhoh.Looped = true
  291.                         uhoh:Play()
  292.                         for i = 1,20 do
  293.                             wait()
  294.                             Explosion.Size = Vector3.new(Explosion.Size.X+1,Explosion.Size.Y+1,Explosion.Size.Z+1)
  295.                             Explosion.Transparency = Explosion.Transparency+0.05
  296.                         end
  297.                         wait(3)
  298.                         hit.Parent:BreakJoints()
  299.                         local rip = Instance.new("Sound",hit.Parent.Torso)
  300.                         rip.SoundId = "rbxassetid://535690488"
  301.                         rip.Volume = 10
  302.                         rip:Play()
  303.                         somethingsburning:Destroy()
  304.                         uhoh:Destroy()
  305.                         wait(1)
  306.                         hit.Parent:Destroy()
  307.                     end
  308.                 end)       
  309.                 for i = 1,10 do
  310.                     wait()
  311.                     Boom.Transparency = Boom.Transparency+0.1
  312.                     BoomMesh.Scale = Vector3.new(BoomMesh.Scale.X+.1,BoomMesh.Scale.Y+.1,BoomMesh.Scale.Z+.1)
  313.                 end
  314.                 Boom:Destroy()
  315.                 fireleft2 = false
  316.                 action = false
  317.                 Humanoid.WalkSpeed = 20
  318.                 wait(5)
  319.                 flarepellet:Destroy()
  320.             elseif stage == 2 then
  321.                 Humanoid.WalkSpeed = 0
  322.                 stage = 1
  323.                 fireright = true
  324.                 local Sound = Instance.new("Sound",flarepellet)
  325.                 Sound.SoundId = "rbxassetid://947384308"
  326.                 Sound.Looped = true
  327.                 Sound.Volume = 5
  328.                 wait(.25)
  329.                 Sound:Play()
  330.                 fireright = false
  331.                 fireright2 = true
  332.                 flaregunfire.Parent = flare2
  333.                 flaregunfire:Play()
  334.                 local Boom = Instance.new("Part",flare2)
  335.                 local BoomMesh = Instance.new("SpecialMesh",Boom)
  336.                 Boom.Size = Vector3.new(0.25,0.25,0.25)
  337.                 Boom.CFrame = CFrame.new(flare2.Position)
  338.                 Boom.Orientation = Vector3.new(flare2.Orientation.X-90,flare2.Orientation.Y,flare2.Orientation.Z)
  339.                 Boom.BrickColor = BrickColor.new("Bright red")
  340.                 Boom.Anchored = true
  341.                 Boom.CanCollide = false
  342.                 BoomMesh.MeshId = "rbxassetid://489415447"
  343.                 flarepellet.CFrame = CFrame.new(RightPart.Position)
  344.                 flarepellet.Orientation = Vector3.new(RightPart.Orientation.X,RightPart.Orientation.Y+90,RightPart.Orientation.Z)
  345.                 flarepelletforce.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  346.                 flarepelletforce.Velocity = RootPart.CFrame.LookVector*200
  347.                 flarepellet.Anchored = false
  348.                 flarepellet.Touched:Connect(function(hit)
  349.                     if hit.Parent == Player.Character then return end
  350.                     if hit and hit.Parent:FindFirstChild("Humanoid") then
  351.                         flarepellet:Destroy()
  352.                         local Explosion = Instance.new("Part",hit.Parent)
  353.                         Explosion.Shape = Enum.PartType.Ball
  354.                         Explosion.BrickColor = BrickColor.new("Bright red")
  355.                         Explosion.Material = Enum.Material.Neon
  356.                         Explosion.Position = hit.Parent.Torso.Position
  357.                         Explosion.Size = Vector3.new(.05,.05,.05)
  358.                         Explosion.Anchored = true
  359.                         Explosion.CanCollide = false
  360.                         local ExplodeSound = Instance.new("Sound",Explosion)
  361.                         ExplodeSound.SoundId = "rbxassetid://262562442"
  362.                         ExplodeSound.Volume = 3
  363.                         ExplodeSound:Play()
  364.                         local somethingsburning = Instance.new("ParticleEmitter",hit.Parent.Torso)
  365.                         somethingsburning.Texture = "rbxassetid://2022785480"
  366.                         somethingsburning.Rate = 1000
  367.                         somethingsburning.SpreadAngle = Vector2.new(100,100)
  368.                         somethingsburning.Size = NumberSequence.new(1,1,1,1)
  369.                         somethingsburning.Lifetime = NumberRange.new(.5)
  370.                         local uhoh = Instance.new("Sound",hit.Parent.Torso)
  371.                         uhoh.SoundId = "rbxassetid://298181829"
  372.                         uhoh.Volume = 1
  373.                         uhoh.Looped = true
  374.                         uhoh:Play()
  375.                         for i = 1,20 do
  376.                             wait()
  377.                             Explosion.Size = Vector3.new(Explosion.Size.X+1,Explosion.Size.Y+1,Explosion.Size.Z+1)
  378.                             Explosion.Transparency = Explosion.Transparency+0.05
  379.                         end
  380.                         wait(3)
  381.                         hit.Parent:BreakJoints()
  382.                         local rip = Instance.new("Sound",hit.Parent.Torso)
  383.                         rip.SoundId = "rbxassetid://535690488"
  384.                         rip.Volume = 10
  385.                         rip:Play()
  386.                         somethingsburning:Destroy()
  387.                         uhoh:Destroy()
  388.                         wait(1)
  389.                         hit.Parent:Destroy()
  390.                     end
  391.                 end)       
  392.                 for i = 1,10 do
  393.                     wait()
  394.                     Boom.Transparency = Boom.Transparency+0.1
  395.                     BoomMesh.Scale = Vector3.new(BoomMesh.Scale.X+0.1,BoomMesh.Scale.Y+0.1,BoomMesh.Scale.Z+0.1)
  396.                 end
  397.                 Boom:Destroy()
  398.                 fireright2 = false
  399.                 action = false
  400.                 Humanoid.WalkSpeed = 20
  401.                 wait(5)
  402.                 flarepellet:Destroy()
  403.             end
  404.         end
  405.     end
  406. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement