Advertisement
StarzoZero

Roblox FE Gaster Blasters

Dec 23rd, 2018
806
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.24 KB | None | 0 0
  1. --[[ Script Converted by WafflesAreVeryGood (Nobody#3907 on discord) ]]--
  2. local plr = owner
  3. local char = plr.Character
  4. --Converted with ttyyuu12345's model to script plugin v4
  5. function sandbox(var,func)
  6. local env = getfenv(func)
  7. local newenv = setmetatable({},{
  8. __index = function(self,k)
  9. if k=="script" then
  10. return var
  11. else
  12. return env[k]
  13. end
  14. end,
  15. })
  16. setfenv(func,newenv)
  17. return func
  18. end
  19. cors = {}
  20. mas = Instance.new("Model",game:GetService("Lighting"))
  21. Tool0 = Instance.new("Tool")
  22. Folder1 = Instance.new("Folder")
  23. Sound2 = Instance.new("Sound")
  24. Model3 = Instance.new("Model")
  25. Part4 = Instance.new("Part")
  26. SpecialMesh5 = Instance.new("SpecialMesh")
  27. ManualWeld6 = Instance.new("ManualWeld")
  28. ManualWeld7 = Instance.new("ManualWeld")
  29. ManualWeld8 = Instance.new("ManualWeld")
  30. WedgePart9 = Instance.new("WedgePart")
  31. Part10 = Instance.new("Part")
  32. SpecialMesh11 = Instance.new("SpecialMesh")
  33. Script12 = Instance.new("Script")
  34. Part13 = Instance.new("Part")
  35. ParticleEmitter14 = Instance.new("ParticleEmitter")
  36. Part15 = Instance.new("Part")
  37. ParticleEmitter16 = Instance.new("ParticleEmitter")
  38. Animation17 = Instance.new("Animation")
  39. Tool0.Name = "Gaster Blaster"
  40. Tool0.Parent = mas
  41. Tool0.TextureId = "rbxassetid://382220657"
  42. Tool0.ToolTip = "Gaster Blaster: Used By Sans"
  43. Tool0.CanBeDropped = false
  44. Folder1.Parent = Tool0
  45. Sound2.Name = "GBSound"
  46. Sound2.Parent = Folder1
  47. Sound2.SoundId = "rbxassetid://382265669"
  48. Sound2.Volume = 1
  49. Model3.Name = "GB"
  50. Model3.Parent = Folder1
  51. Model3.PrimaryPart = Part4
  52. Part4.Name = "Main"
  53. Part4.Parent = Model3
  54. Part4.Material = Enum.Material.SmoothPlastic
  55. Part4.BrickColor = BrickColor.new("Institutional white")
  56. Part4.Rotation = Vector3.new(178.669998, -0.049999997, 179.819992)
  57. Part4.Anchored = true
  58. Part4.CanCollide = false
  59. Part4.FormFactor = Enum.FormFactor.Custom
  60. Part4.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  61. Part4.CFrame = CFrame.new(9.6476717, 212.837067, 62.5175667, -0.999994874, -0.0030922927, -0.000849041739, -0.00307168509, 0.999724269, -0.0232850946, 0.000920811843, -0.0232823677, -0.99972856)
  62. Part4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  63. Part4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  64. Part4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  65. Part4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  66. Part4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  67. Part4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  68. Part4.Color = Color3.new(0.972549, 0.972549, 0.972549)
  69. Part4.Position = Vector3.new(9.6476717, 212.837067, 62.5175667)
  70. Part4.Orientation = Vector3.new(1.32999992, -179.949997, -0.179999992)
  71. Part4.Color = Color3.new(0.972549, 0.972549, 0.972549)
  72. SpecialMesh5.Parent = Part4
  73. SpecialMesh5.MeshId = "http://www.roblox.com/asset/?id=14028428"
  74. SpecialMesh5.Scale = Vector3.new(4.23171806, 4.23171759, 4.23171663)
  75. SpecialMesh5.VertexColor = Vector3.new(1000000, 10000, 10000)
  76. SpecialMesh5.MeshType = Enum.MeshType.FileMesh
  77. SpecialMesh5.Scale = Vector3.new(4.23171806, 4.23171759, 4.23171663)
  78. ManualWeld6.Name = "Weld"
  79. ManualWeld6.Parent = Part4
  80. ManualWeld6.C0 = CFrame.new(0, 0, 0, -0.999994874, -0.00307097379, 0.000981842401, -0.00309300236, 0.99972415, -0.0232822727, -0.000910072413, -0.0232851878, -0.999728441)
  81. ManualWeld6.C1 = CFrame.new(0.225479126, 3.69114685, 0.0936775208, -0.0154458769, 0.34394905, 0.93886131, 0.0187007096, 0.938908398, -0.343658656, -0.999705911, 0.0122492611, -0.0209343527)
  82. ManualWeld6.Part0 = Part4
  83. ManualWeld6.Part1 = nil
  84. ManualWeld7.Name = "Weld"
  85. ManualWeld7.Parent = Part4
  86. ManualWeld7.C0 = CFrame.new(0, 0, 0, -0.999994874, -0.00307097379, 0.000981842401, -0.00309300236, 0.99972415, -0.0232822727, -0.000910072413, -0.0232851878, -0.999728441)
  87. ManualWeld7.C1 = CFrame.new(0.141029358, 4.85009766, 0.616783142, -0.872494459, -0.293409586, 0.390722692, -0.0644136816, 0.861726344, 0.503268003, -0.484359652, 0.413930595, -0.770751119)
  88. ManualWeld7.Part0 = Part4
  89. ManualWeld7.Part1 = nil
  90. ManualWeld8.Name = "Weld"
  91. ManualWeld8.Parent = Part4
  92. ManualWeld8.C0 = CFrame.new(0, 0, 0, -0.999994874, -0.00307097379, 0.000981842401, -0.00309300236, 0.99972415, -0.0232822727, -0.000910072413, -0.0232851878, -0.999728441)
  93. ManualWeld8.C1 = CFrame.new(0.0476670265, 0.962097168, 5.07106781, 1, 3.98733209e-05, -1.65144629e-05, -1.65144629e-05, 0.707063794, 0.707141817, 3.98733209e-05, -0.707141817, 0.707063794)
  94. ManualWeld8.Part0 = Part4
  95. ManualWeld8.Part1 = WedgePart9
  96. WedgePart9.Parent = Model3
  97. WedgePart9.BrickColor = BrickColor.new("Institutional white")
  98. WedgePart9.Rotation = Vector3.new(45, 0, 0)
  99. WedgePart9.CanCollide = false
  100. WedgePart9.FormFactor = Enum.FormFactor.Symmetric
  101. WedgePart9.Size = Vector3.new(1.60000014, 1.5999999, 4.4000001)
  102. WedgePart9.CFrame = CFrame.new(9.59999466, 215.742599, 58.2514572, 1, 1.65165984e-05, -3.98718948e-05, -3.98723896e-05, 0.707119346, -0.707094252, 1.65153942e-05, 0.707094252, 0.707119346)
  103. WedgePart9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  104. WedgePart9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  105. WedgePart9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  106. WedgePart9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  107. WedgePart9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  108. WedgePart9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  109. WedgePart9.Color = Color3.new(0.972549, 0.972549, 0.972549)
  110. WedgePart9.Position = Vector3.new(9.59999466, 215.742599, 58.2514572)
  111. WedgePart9.Orientation = Vector3.new(45, 0, 0)
  112. WedgePart9.Color = Color3.new(0.972549, 0.972549, 0.972549)
  113. Part10.Name = "GBBeam"
  114. Part10.Parent = Folder1
  115. Part10.Material = Enum.Material.SmoothPlastic
  116. Part10.BrickColor = BrickColor.new("Institutional white")
  117. Part10.Rotation = Vector3.new(0, 90, 0)
  118. Part10.Anchored = true
  119. Part10.CanCollide = false
  120. Part10.FormFactor = Enum.FormFactor.Custom
  121. Part10.Size = Vector3.new(200, 6, 6)
  122. Part10.CFrame = CFrame.new(-2.50004816, 4.40002823, -1021.19995, 5.34682295e-05, 1.23517841e-13, 1, -4.3159529e-05, 1, 2.30754016e-09, -1, -4.3159529e-05, 5.34682331e-05)
  123. Part10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  124. Part10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  125. Part10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  126. Part10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  127. Part10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  128. Part10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  129. Part10.Color = Color3.new(1, 1, 1)
  130. Part10.Position = Vector3.new(-2.50004816, 4.40002823, -1021.19995)
  131. Part10.Orientation = Vector3.new(0, 90, 0)
  132. Part10.Color = Color3.new(1, 1, 1)
  133. SpecialMesh11.Parent = Part10
  134. SpecialMesh11.MeshType = Enum.MeshType.Cylinder
  135. Script12.Parent = Part10
  136. Script12.Disabled = true
  137. Part13.Name = "HandFlame"
  138. Part13.Parent = Folder1
  139. Part13.Transparency = 1
  140. Part13.Rotation = Vector3.new(0, 0, -30)
  141. Part13.Anchored = true
  142. Part13.CanCollide = false
  143. Part13.FormFactor = Enum.FormFactor.Custom
  144. Part13.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  145. Part13.CFrame = CFrame.new(-8.29995918, 203.950241, 50.9999504, 0.866004944, 0.500030637, -2.15781438e-05, -0.500030637, 0.866004944, 3.73764087e-05, 3.73764087e-05, -2.15781438e-05, 1)
  146. Part13.Position = Vector3.new(-8.29995918, 203.950241, 50.9999504)
  147. Part13.Orientation = Vector3.new(0, 0, -30)
  148. ParticleEmitter14.Name = "Flame"
  149. ParticleEmitter14.Parent = Part13
  150. ParticleEmitter14.Transparency = NumberSequence.new(0.69999998807907,0.69999998807907,0.94999998807907,1)
  151. ParticleEmitter14.Rotation = NumberRange.new(-180, 180)
  152. ParticleEmitter14.Size = NumberSequence.new(0.5,0.5)
  153. ParticleEmitter14.Color = ColorSequence.new(Color3.new(0, 0.392157, 1),Color3.new(0, 0.392157, 1))
  154. ParticleEmitter14.LightEmission = 1
  155. ParticleEmitter14.Texture = "http://www.roblox.com/asset/?id=298319954"
  156. ParticleEmitter14.ZOffset = 0.5
  157. ParticleEmitter14.Lifetime = NumberRange.new(3, 3)
  158. ParticleEmitter14.Rate = 500
  159. ParticleEmitter14.Speed = NumberRange.new(2, 2)
  160. ParticleEmitter14.VelocitySpread = 45
  161. ParticleEmitter14.Color = ColorSequence.new(Color3.new(0, 0.392157, 1),Color3.new(0, 0.392157, 1))
  162. Part15.Name = "HeadFlame"
  163. Part15.Parent = Folder1
  164. Part15.Transparency = 1
  165. Part15.Rotation = Vector3.new(0, 0, 79.6899948)
  166. Part15.Anchored = true
  167. Part15.CanCollide = false
  168. Part15.FormFactor = Enum.FormFactor.Custom
  169. Part15.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  170. Part15.CFrame = CFrame.new(-10.0999317, 211.071381, 50.400013, 0.178991079, -0.983850658, -4.29847787e-05, 0.983850658, 0.178991094, 3.88006174e-06, 3.87649106e-06, -4.29850988e-05, 1)
  171. Part15.Position = Vector3.new(-10.0999317, 211.071381, 50.400013)
  172. Part15.Orientation = Vector3.new(0, 0, 79.6899948)
  173. ParticleEmitter16.Name = "Flame"
  174. ParticleEmitter16.Parent = Part15
  175. ParticleEmitter16.Transparency = NumberSequence.new(0.69999998807907,0.89999997615814,1)
  176. ParticleEmitter16.Rotation = NumberRange.new(-180, 180)
  177. ParticleEmitter16.Size = NumberSequence.new(0.5,0.5)
  178. ParticleEmitter16.Color = ColorSequence.new(Color3.new(0, 0.392157, 1),Color3.new(0, 0.392157, 1))
  179. ParticleEmitter16.LightEmission = 1
  180. ParticleEmitter16.Texture = "http://www.roblox.com/asset/?id=134531489"
  181. ParticleEmitter16.Acceleration = Vector3.new(0, 20, 0)
  182. ParticleEmitter16.Lifetime = NumberRange.new(0.60000002384186, 0.60000002384186)
  183. ParticleEmitter16.Rate = 500
  184. ParticleEmitter16.Speed = NumberRange.new(10, 10)
  185. ParticleEmitter16.Color = ColorSequence.new(Color3.new(0, 0.392157, 1),Color3.new(0, 0.392157, 1))
  186. Animation17.Name = "GBSend"
  187. Animation17.Parent = Folder1
  188. Animation17.AnimationId = "http://www.roblox.com/GBSend-item?id=388238523"
  189. for i,v in pairs(mas:GetChildren()) do
  190. v.Parent = owner
  191. pcall(function() v:MakeJoints() end)
  192. end
  193. mas:Destroy()
  194. for i,v in pairs(cors) do
  195. spawn(function()
  196. pcall(v)
  197. end)
  198. end
  199. Tool0.RequiresHandle = false
  200. local tool = char["Gaster Blaster"]
  201. for i,v in pairs(tool.Folder:GetChildren()) do
  202. v.Parent = script
  203. end
  204. script.Parent = tool
  205. tool.Parent = plr.Backpack
  206. local hum=char:WaitForChild("Humanoid")
  207. local torso=char:WaitForChild("Torso")
  208. local hrp=char:WaitForChild("HumanoidRootPart")
  209. local check=false
  210. local dmg=false
  211. local combo=false
  212. local comboing=false
  213. local gb=script.GB
  214. local gbsend=hum:LoadAnimation(script.GBSend)
  215. local equipped=false
  216. local tool=script.Parent
  217. local closest=nil
  218. crosstab={
  219. [1]={math.cos(math.rad(45)),math.sin(math.rad(45))},
  220. [2]={math.cos(math.rad(135)),math.sin(math.rad(135))},
  221. [3]={math.cos(math.rad(225)),math.sin(math.rad(225))},
  222. [4]={math.cos(math.rad(315)),math.sin(math.rad(315))}
  223. }
  224. local attacklist={}
  225. local rignore={}
  226. local lgb=nil
  227. local rgb=nil
  228. local lgbbp=nil
  229. local rgbbp=nil
  230. local lgbbg=nil
  231. local rgbbg=nil
  232. local headf=nil
  233. local handf=nil
  234.  
  235. for _,v in pairs(workspace:GetChildren()) do
  236. if not v:FindFirstChild("Humanoid") then
  237. table.insert(rignore,v)
  238. end
  239. end
  240.  
  241. function Loop()
  242. coroutine.resume(coroutine.create(function()
  243. while equipped==true do
  244. repeat wait() until rgb:FindFirstChild("Main") and lgb:FindFirstChild("Main")
  245. rgb.Main.Velocity = Vector3.new()
  246. lgb.Main.Velocity = Vector3.new()
  247. rgbbp.Position=(hrp.CFrame*CFrame.new(10,5,0)).p
  248. lgbbp.Position=(hrp.CFrame*CFrame.new(-10,5,0)).p
  249. rgbbg.CFrame=CFrame.new(rgb.Main.Position,mouse.Hit.p)
  250. lgbbg.CFrame=CFrame.new(lgb.Main.Position,mouse.Hit.p)
  251. rgb.Main.Anchored = false
  252. lgb.Main.Anchored = false
  253. wait()
  254. end
  255. end))
  256. end
  257.  
  258. local function PrepareHurt(proj,dmgcheck,dmg)
  259. return --[[
  260. local ray=Ray.new((proj.CFrame*CFrame.new(-proj.Size.X/2,0,0)).p,(hitpos-(proj.CFrame*CFrame.new(-proj.Size.X/2,0,0)).p).unit*100)
  261. for _,v in pairs(workspace:GetChildren()) do
  262. if v.Name=="GBBeam" then
  263. table.insert(rignore,v)
  264. end
  265. end
  266. local hit=workspace:FindPartOnRayWithIgnoreList(ray,rignore)
  267. if hit then
  268. if hit.Parent:FindFirstChild("Humanoid") and hit.Parent.Name~=plr.Name then
  269. if hit.Parent.Humanoid.Health>0 then
  270. hit.Parent.Humanoid:TakeDamage(dmg)
  271. end
  272. end
  273. end]]
  274. end
  275. function fakescript(beamasd)
  276. local script = {Parent = beamasd}
  277. local key=math.random()
  278.  
  279. function onTouched(hit)
  280. local human = hit.Parent:FindFirstChildOfClass("Humanoid")
  281. --Basically this just checks to see if it is a real player touching this brick.
  282. if (human ~= nil) and hit.Parent ~= char then --If it is a real player, then DESTROY THEM!
  283. print("y'all")
  284. human.Health = human.Health - 7.5*(1-script.Parent.Transparency)
  285. end
  286. end
  287.  
  288.  
  289. if (script.Parent ~= nil) and (script.Parent.className == "Part") then --Work if in a block
  290. connection = script.Parent.Touched:connect(onTouched)
  291. end
  292. local beam=script.Parent
  293. local bp = Instance.new("BodyPosition")
  294. bp.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  295. bp.Position = beam.Position
  296. bp.Parent = beam
  297. beam.Anchored = false
  298. coroutine.resume(coroutine.create(function()
  299. wait(0.3)
  300. for i=1,10 do
  301. if not beam:FindFirstChild"Mesh" then return end
  302. beam.Mesh.Scale=Vector3.new(1,1-(i/9),1-(i/9))
  303. wait()
  304. end
  305. end))
  306. wait(0.4)
  307. for i=1,15 do
  308. bp.Position = beam.Position
  309. beam.Transparency=i/15
  310. wait()
  311. end
  312. wait()
  313. beam:Destroy()
  314. end
  315. local function FIRE(obj,mode,thitpos)
  316. coroutine.resume(coroutine.create(function()
  317. if mode=="Normal" then
  318. obj.Main.CFrame=hrp.CFrame*CFrame.new(math.random(-100,100),math.random(0,200),math.random(-100,100))
  319. end
  320. local dmgcheck=false
  321. local gbsfx=script.GBSound:Clone()
  322. gbsfx.Parent=obj.Main
  323. gbsfx:Play()
  324. game.Debris:AddItem(gbsfx,3)
  325. wait(1)
  326. local beam=script.GBBeam:Clone()
  327. beam.CFrame=obj.Main.CFrame*CFrame.new(0,-3,1)
  328. spawn(function()
  329. fakescript(beam)
  330. end)
  331. beam.Size=Vector3.new(((beam.CFrame*CFrame.new(0,0,-beam.Size.X/2)).p-hitpos).magnitude*2,beam.Size.Y,beam.Size.Z)
  332. if mode~="Dual" then
  333. beam.CFrame=CFrame.new(beam.Position,thitpos)*CFrame.Angles(0,math.pi/2,0)
  334. else
  335. beam.CFrame=CFrame.new(beam.Position,mouse.Hit.p)*CFrame.Angles(0,math.pi/2,0)
  336. end
  337. beam.CFrame=beam.CFrame*CFrame.new(beam.Size.X/2,0,0)
  338. beam.Transparency=0
  339. local m = Instance.new("SpecialMesh")
  340. m.MeshType = "Cylinder"
  341. m.Parent = beam
  342. beam.Mesh.Scale=Vector3.new(1,1,1)
  343. --PrepareHurt(beam,dmgcheck,10)
  344. beam.Parent = char
  345. if mode=="Dual" then
  346. end
  347. end))
  348. end
  349.  
  350. local function Lerp(obj,kind,nb,total,spec)
  351. obj.Main.Anchored=false
  352. local bodyp=Instance.new("BodyPosition",obj.Main)
  353. bodyp.MaxForce=Vector3.new(math.huge,math.huge,math.huge)
  354. bodyp.D=100
  355. bodyp.P=1000
  356. local gyro=Instance.new("BodyGyro",obj.Main)
  357. gyro.MaxTorque=Vector3.new(10000,10000,10000)
  358. gyro.D=80
  359. if kind=="Front" then
  360. obj.CFrame=hrp.CFrame*CFrame.new(math.random(-10,10),math.random(0,5),-5)
  361. end
  362. coroutine.resume(coroutine.create(function()
  363. wait()
  364. gyro.CFrame=CFrame.new(obj.Main.Position,hitpos)
  365. wait(0.5)
  366. gyro.CFrame=CFrame.new(obj.Main.Position,hitpos)
  367. end))
  368. if kind=="Line" then
  369. if total==0 then
  370. bodyp.Position=hrp.Position+Vector3.new(0,10,0)
  371. elseif total==2 then
  372. if nb==1 then
  373. bodyp.Position=hrp.Position+Vector3.new(5,0,4)
  374. elseif nb==2 then
  375. bodyp.Position=hrp.Position+Vector3.new(-5,0,4)
  376. end
  377. elseif total==6 then
  378. if nb==1 then
  379. bodyp.Position=(hrp.CFrame*CFrame.new(-30,1,0)).p
  380. elseif nb==2 then
  381. bodyp.Position=(hrp.CFrame*CFrame.new(-20,1,0)).p
  382. elseif nb==3 then
  383. bodyp.Position=(hrp.CFrame*CFrame.new(-10,1,0)).p
  384. elseif nb==4 then
  385. bodyp.Position=(hrp.CFrame*CFrame.new(10,1,0)).p
  386. elseif nb==5 then
  387. bodyp.Position=(hrp.CFrame*CFrame.new(20,1,0)).p
  388. elseif nb==6 then
  389. bodyp.Position=(hrp.CFrame*CFrame.new(30,1,0)).p
  390. end
  391. end
  392. elseif kind=="Circle" then
  393. if spec=="Cross" then
  394. bodyp.Position=hitpos+Vector3.new(crosstab[nb][1],3/50,crosstab[nb][2])*50
  395. elseif spec=="Plus" or spec=="Total" then
  396. bodyp.Position=hitpos+Vector3.new(math.cos(math.rad(nb*(360/total))),3/50,math.sin(math.rad(nb*(360/total))))*50
  397. end
  398. end
  399. end
  400. function debris(obj, t)
  401. spawn(function()
  402. wait(t)
  403. for i = 1, 10 do
  404. for _,v in pairs(obj:GetChildren()) do
  405. if v:IsA("BasePart") and v.Transparency < 1 then
  406. v.Transparency = i/10
  407. end
  408. end
  409. game:GetService('RunService').Stepped:wait(0)
  410. end
  411. for _,v in pairs(obj:GetChildren()) do
  412. v:Destroy()
  413. end
  414. end)
  415. end
  416.  
  417. local function PrepareAttack(key)
  418. if check==false and hum.Health>0 then
  419. if closest==nil then
  420. hitpos=mouse.Hit.p
  421. else
  422. hitpos=closest.Torso.Position
  423. end
  424. if equipped==true then
  425. if key=="q" then
  426. combo=true
  427. elseif key=="e" then
  428. if combo==false then
  429. check=true
  430. hum.WalkSpeed=0
  431. gbsend:Play()
  432. local gbc=gb:Clone()
  433. gbc.Parent=char
  434. gbc.Main.CFrame=hrp.CFrame*CFrame.new(math.random(-100,100),math.random(0,200),math.random(-100,100))
  435. Lerp(gbc,"Line",0,0)
  436. FIRE(gbc,"Normal",hitpos)
  437. hum.WalkSpeed=30
  438. debris(gbc, 1.8)
  439. if comboing==false then
  440. wait(1)
  441. else
  442. wait(0.25)
  443. end
  444. check=false
  445. elseif combo==true and #attacklist<5 then
  446. table.insert(attacklist,key)
  447. end
  448. elseif key=="r" then
  449. if combo==false then
  450. check=true
  451. hum.WalkSpeed=0
  452. gbsend:Play()
  453. FIRE(lgb,"Dual",hitpos)
  454. FIRE(rgb,"Dual",hitpos)
  455. hum.WalkSpeed=30
  456. if comboing==false then
  457. wait(1.5)
  458. else
  459. wait(0.325)
  460. end
  461. check=false
  462. elseif combo==true and #attacklist<5 then
  463. table.insert(attacklist,key)
  464. end
  465. elseif key=="t" then
  466. if combo==false then
  467. check=true
  468. hum.WalkSpeed=0
  469. gbsend:Play()
  470. for i=1,12 do
  471. local gbc=gb:Clone()
  472. gbc.Parent=char
  473. debris(gbc, 1.8)
  474. gbc.Main.CFrame=hrp.CFrame*CFrame.new(math.random(-100,100),math.random(0,200),math.random(-100,100))
  475. coroutine.resume(coroutine.create(function()
  476. Lerp(gbc,"Circle",i,12,"Total")
  477. FIRE(gbc,"Normal",hitpos)
  478. end))
  479. wait(0.05)
  480. end
  481. hum.WalkSpeed=30
  482. if comboing==false then
  483. wait(7)
  484. else
  485. wait(5)
  486. end
  487. check=false
  488. elseif combo==true and #attacklist==4 then
  489. table.insert(attacklist,key)
  490. end
  491. elseif key=="f" then
  492. if combo==false then
  493. check=true
  494. hum.WalkSpeed=0
  495. gbsend:Play()
  496. for i=1,4 do
  497. local gbc=gb:Clone()
  498. gbc.Parent=char
  499. debris(gbc, 1.8)
  500. coroutine.resume(coroutine.create(function()
  501. Lerp(gbc,"Circle",i,4,"Plus")
  502. FIRE(gbc,"Normal",hitpos)
  503. end))
  504. end
  505. hum.WalkSpeed=30
  506. if comboing==false then
  507. wait(2)
  508. else
  509. wait(0.5)
  510. end
  511. check=false
  512. elseif combo==true and #attacklist<5 then
  513. table.insert(attacklist,key)
  514. end
  515. elseif key=="g" then
  516. if combo==false then
  517. check=true
  518. hum.WalkSpeed=0
  519. gbsend:Play()
  520. for i=1,4 do
  521. local gbc=gb:Clone()
  522. gbc.Parent=char
  523. debris(gbc, 1.8)
  524. coroutine.resume(coroutine.create(function()
  525. Lerp(gbc,"Circle",i,4,"Cross")
  526. FIRE(gbc,"Normal",hitpos)
  527. end))
  528. end
  529. hum.WalkSpeed=30
  530. if comboing==false then
  531. wait(2)
  532. else
  533. wait(0.5)
  534. end
  535. check=false
  536. elseif combo==true and #attacklist<5 then
  537. table.insert(attacklist,key)
  538. end
  539. elseif key=="h" then
  540. if combo==false then
  541. check=true
  542. hum.WalkSpeed=0
  543. gbsend:Play()
  544. for i=1,8 do
  545. local gbc=gb:Clone()
  546. gbc.Parent=char
  547. debris(gbc, 1.8)
  548. coroutine.resume(coroutine.create(function()
  549. Lerp(gbc,"Circle",i,8,"Total")
  550. FIRE(gbc,"Normal",hitpos)
  551. end))
  552. end
  553. hum.WalkSpeed=30
  554. if comboing==false then
  555. wait(2)
  556. else
  557. wait(.5)
  558. end
  559. check=false
  560. elseif combo==true and #attacklist<3 then
  561. table.insert(attacklist,key)
  562. end
  563. end
  564. end
  565. end
  566. end
  567.  
  568. mouse.KeyUp:connect(function(key)
  569. if key=="q" and combo==true and check==false then
  570. combo=false
  571. comboing=true
  572. for _,v in pairs(attacklist) do
  573. PrepareAttack(v)
  574. end
  575. attacklist={}
  576. comboing=false
  577. check=true
  578. wait(5)
  579. check=false
  580. end
  581. end)
  582.  
  583. mouse.KeyDown:connect(PrepareAttack)
  584.  
  585. tool.Equipped:connect(function()
  586. equipped=true
  587. lgb=script.GB:Clone()
  588. lgb.Parent=char
  589. lgb.Main.Anchored=true
  590. rgb=script.GB:Clone()
  591. rgb.Parent=char
  592. rgb.Main.Anchored=true
  593. rgbbp=Instance.new("BodyPosition")
  594. rgbbp.MaxForce=Vector3.new(math.huge,math.huge,math.huge)
  595. rgbbp.D=200
  596. rgbbp.Position = char.Torso.Position
  597. rgbbp.P=300
  598. lgbbp=Instance.new("BodyPosition")
  599. lgbbp.MaxForce=Vector3.new(math.huge,math.huge,math.huge)
  600. lgbbp.D=200
  601. lgbbp.P=300
  602. lgbbp.Position = char.Torso.Position
  603. lgbbg=Instance.new("BodyGyro")
  604. lgbbg.MaxTorque=Vector3.new(10000,10000,10000)
  605. lgbbg.D=400
  606. rgbbg=Instance.new("BodyGyro")
  607. rgbbg.MaxTorque=Vector3.new(10000,10000,10000)
  608. rgbbg.D=400
  609. headf=script.HeadFlame:Clone()
  610. headf.Parent=char
  611. headf.Anchored=false
  612. local headfw=Instance.new("Weld",headf)
  613. headfw.Part0=char.Head
  614. headfw.Part1=headf
  615. headfw.C0=CFrame.new(-0.125,0.22,-0.55)*CFrame.Angles(0,0,math.pi/2)
  616. handf=script.HandFlame:Clone()
  617. handf.Parent=char
  618. handf.Anchored=false
  619. local handfw=Instance.new("Weld",handf)
  620. handfw.Part0=char["Right Arm"]
  621. handfw.Part1=handf
  622. handfw.C0=CFrame.new(0,-1.25,0)*CFrame.Angles(0,0,-math.pi/4)
  623. rgbbp.Position = char.Torso.Position
  624. lgbbp.Position = char.Torso.Position
  625. rgbbp.Parent = rgb.Main
  626. lgbbp.Parent = lgb.Main
  627. lgbbg.Parent = lgb.Main
  628. rgbbg.Parent = rgb.Main
  629. Loop()
  630. end)
  631. tool.Unequipped:connect(function()
  632. equipped=false
  633. lgb:Destroy()
  634. rgb:Destroy()
  635. headf:Destroy()
  636. handf:Destroy()
  637. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement