Advertisement
Guest User

Master underlate

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