Advertisement
Dark_EccentricYT

Untitled

Oct 19th, 2017
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 93.32 KB | None | 0 0
  1. ---GhasterBlasters by xXVipergamerXx1-----
  2. ---MUST BE R15 TO USE!!!----
  3. local num = 0
  4. local p = game:GetService("Players").LocalPlayer
  5. local char = p.Character
  6. local rad = math.rad
  7. local hum = char.Humanoid
  8. ---------------------------------------------------
  9. local LeftUpperArm = char.LeftUpperArm
  10. local LeftShoulder = char.LeftUpperArm.LeftShoulder
  11. local LeftLowerArm = char.LeftLowerArm
  12. local LeftElbow = char.LeftLowerArm.LeftElbow
  13. --------------------------------------------------------
  14. local LeftUpperLeg = char.LeftUpperLeg
  15. local LeftHip = char.LeftUpperLeg.LeftHip
  16. local LeftLowerLeg = char.LeftLowerLeg
  17. local LeftKnee = char.LeftLowerLeg.LeftKnee
  18. ----------------------------------------------------------
  19. local RightUpperArm = char.RightUpperArm
  20. local RightShoulder = char.RightUpperArm.RightShoulder
  21. local RightLowerArm = char.RightLowerArm
  22. local RightElbow = char.RightLowerArm.RightElbow
  23. ----------------------------------------------------------
  24. local RightUpperLeg = char.RightUpperLeg
  25. local RightHip = char.RightUpperLeg.RightHip
  26. local RightLowerLeg = char.RightLowerLeg
  27. local RightKnee = char.RightLowerLeg.RightKnee
  28. ----------------------------------------------------------
  29.  
  30. local UpperTorso = char.UpperTorso
  31. local LowerTorso = char.LowerTorso
  32. local Root = char.LowerTorso.Root
  33. --------------------------------------------
  34. local Head = char.Head
  35. local Neck = char.Head.Neck
  36. local RootPart = char.HumanoidRootPart
  37. local LeftHand = char.LeftHand
  38. local RightHand = char.RightHand
  39. local LeftFoot = char.LeftFoot
  40. local RightFoot = char.RightFoot
  41. ---------------------------------------------
  42.  
  43. hum:SetStateEnabled("Dead",true)
  44. hum:SetStateEnabled(Enum.HumanoidStateType.Dead, true)
  45. local v3 = Vector3.new
  46. local idle = true
  47. local walk = true
  48. local walk1 = true
  49. local walkon = true
  50. local ns = NumberSequence.new
  51. local new = Instance.new
  52. local nr = NumberRange.new
  53. local bc =BrickColor.new
  54. local UpperTorso = char.UpperTorso
  55. local Waist = char.UpperTorso.Waist
  56. local mouse = p:GetMouse()
  57. local Blasters = true
  58. local debounce = true
  59. hum.MaxHealth = 100000
  60. hum.Health = hum.MaxHealth
  61. local equiped = false
  62. new("ForceField",char).Visible = false
  63. local Create = LoadLibrary("RbxUtility").Create
  64. function RemoveOutlines(part)
  65. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  66. end
  67. CFuncs = {
  68. ["Part"] = {
  69. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  70. local Part = Create("Part"){
  71. Parent = Parent,
  72. Reflectance = Reflectance,
  73. Transparency = Transparency,
  74. CanCollide = false,
  75. Locked = true,
  76. BrickColor = BrickColor.new(tostring(BColor)),
  77. Name = Name,
  78. Size = Size,
  79. Material = Material,
  80. }
  81. RemoveOutlines(Part)
  82. return Part
  83. end;
  84. };
  85.  
  86. ["Mesh"] = {
  87. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  88. local Msh = Create(Mesh){
  89. Parent = Part,
  90. Offset = OffSet,
  91. Scale = Scale,
  92. }
  93. if Mesh == "SpecialMesh" then
  94. Msh.MeshType = MeshType
  95. Msh.MeshId = MeshId
  96. end
  97. return Msh
  98. end;
  99. };
  100.  
  101. ["Mesh"] = {
  102. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  103. local Msh = Create(Mesh){
  104. Parent = Part,
  105. Offset = OffSet,
  106. Scale = Scale,
  107. }
  108. if Mesh == "SpecialMesh" then
  109. Msh.MeshType = MeshType
  110. Msh.MeshId = MeshId
  111. end
  112. return Msh
  113. end;
  114. };
  115.  
  116. ["Weld"] = {
  117. Create = function(Parent, Part0, Part1, C0, C1)
  118. local Weld = Create("Weld"){
  119. Parent = Parent,
  120. Part0 = Part0,
  121. Part1 = Part1,
  122. C0 = C0,
  123. C1 = C1,
  124. }
  125. return Weld
  126. end;
  127. };
  128.  
  129. ["Sound"] = {
  130. Create = function(id, par, vol, pit)
  131. coroutine.resume(coroutine.create(function()
  132. local S = Create("Sound"){
  133. Volume = vol,
  134. Pitch = pit or 1,
  135. SoundId = id,
  136. Parent = par or workspace,
  137. }
  138. wait()
  139. S:play()
  140. game:GetService("Debris"):AddItem(S, 6)
  141. end))
  142. end;
  143. };
  144.  
  145. ["ParticleEmitter"] = {
  146. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  147. local fp = Create("ParticleEmitter"){
  148. Parent = Parent,
  149. Color = ColorSequence.new(Color1, Color2),
  150. LightEmission = LightEmission,
  151. Size = Size,
  152. Texture = Texture,
  153. Transparency = Transparency,
  154. ZOffset = ZOffset,
  155. Acceleration = Accel,
  156. Drag = Drag,
  157. LockedToPart = LockedToPart,
  158. VelocityInheritance = VelocityInheritance,
  159. EmissionDirection = EmissionDirection,
  160. Enabled = Enabled,
  161. Lifetime = LifeTime,
  162. Rate = Rate,
  163. Rotation = Rotation,
  164. RotSpeed = RotSpeed,
  165. Speed = Speed,
  166. VelocitySpread = VelocitySpread,
  167. }
  168. return fp
  169. end;
  170. };
  171.  
  172. CreateTemplate = {
  173.  
  174. };
  175. }
  176. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  177. if hit.Parent == nil then
  178. return
  179. end
  180. local h = hit.Parent:FindFirstChild("Humanoid")
  181. for _, v in pairs(hit.Parent:children()) do
  182. if v:IsA("Humanoid") then
  183. h = v
  184. end
  185. end
  186. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  187. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  188. if hit.Parent.DebounceHit.Value == true then
  189. return
  190. end
  191. end
  192. local c = Create("ObjectValue"){
  193. Name = "creator",
  194. Value = game:service("Players").LocalPlayer,
  195. Parent = h,
  196. }
  197. game:GetService("Debris"):AddItem(c, .5)
  198. if HitSound ~= nil and HitPitch ~= nil then
  199. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  200. end
  201. local Damage = math.random(minim, maxim)
  202. local blocked = false
  203. local block = hit.Parent:findFirstChild("Block")
  204. if block ~= nil then
  205. if block.className == "IntValue" then
  206. if block.Value > 0 then
  207. blocked = true
  208. block.Value = block.Value - 1
  209. print(block.Value)
  210. end
  211. end
  212. end
  213. if blocked == false then
  214. h.Health = h.Health - Damage
  215. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
  216. else
  217. h.Health = h.Health - (Damage / 2)
  218. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
  219. end
  220. if Type == "Knockdown" then
  221. local hum = hit.Parent.Humanoid
  222. hum.PlatformStand = true
  223. coroutine.resume(coroutine.create(function(HHumanoid)
  224. swait(1)
  225. HHumanoid.PlatformStand = false
  226. end), hum)
  227. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  228. local bodvol = Create("BodyVelocity"){
  229. velocity = angle * knockback,
  230. P = 5000,
  231. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  232. Parent = hit,
  233. }
  234. local rl = Create("BodyAngularVelocity"){
  235. P = 3000,
  236. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  237. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  238. Parent = hit,
  239. }
  240. game:GetService("Debris"):AddItem(bodvol, .5)
  241. game:GetService("Debris"):AddItem(rl, .5)
  242. elseif Type == "Normal" then
  243. local vp = Create("BodyVelocity"){
  244. P = 500,
  245. maxForce = Vector3.new(math.huge, 0, math.huge),
  246. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  247. }
  248. if knockback > 0 then
  249. vp.Parent = hit.Parent.Torso
  250. end
  251. game:GetService("Debris"):AddItem(vp, .5)
  252. elseif Type == "Up" then
  253. local bodyVelocity = Create("BodyVelocity"){
  254. velocity = Vector3.new(0, 20, 0),
  255. P = 5000,
  256. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  257. Parent = hit,
  258. }
  259. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  260. elseif Type == "DarkUp" then
  261. coroutine.resume(coroutine.create(function()
  262. for i = 0, 1, 0.1 do
  263. swait()
  264. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  265. end
  266. end))
  267. local bodyVelocity = Create("BodyVelocity"){
  268. velocity = Vector3.new(0, 20, 0),
  269. P = 5000,
  270. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  271. Parent = hit,
  272. }
  273. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  274. elseif Type == "Snare" then
  275. local bp = Create("BodyPosition"){
  276. P = 2000,
  277. D = 100,
  278. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  279. position = hit.Parent.Torso.Position,
  280. Parent = hit.Parent.Torso,
  281. }
  282. game:GetService("Debris"):AddItem(bp, 1)
  283. elseif Type == "Freeze" then
  284. local BodPos = Create("BodyPosition"){
  285. P = 50000,
  286. D = 1000,
  287. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  288. position = hit.Parent.Torso.Position,
  289. Parent = hit.Parent.Torso,
  290. }
  291. local BodGy = Create("BodyGyro") {
  292. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  293. P = 20e+003,
  294. Parent = hit.Parent.Torso,
  295. cframe = hit.Parent.Torso.CFrame,
  296. }
  297. hit.Parent.Torso.Anchored = true
  298. coroutine.resume(coroutine.create(function(Part)
  299. swait(1.5)
  300. Part.Anchored = false
  301. end), hit.Parent.Torso)
  302. game:GetService("Debris"):AddItem(BodPos, 3)
  303. game:GetService("Debris"):AddItem(BodGy, 3)
  304. end
  305. local debounce = Create("BoolValue"){
  306. Name = "DebounceHit",
  307. Parent = hit.Parent,
  308. Value = true,
  309. }
  310. game:GetService("Debris"):AddItem(debounce, Delay)
  311. c = Create("ObjectValue"){
  312. Name = "creator",
  313. Value = Player,
  314. Parent = h,
  315. }
  316. game:GetService("Debris"):AddItem(c, .5)
  317. end
  318. end
  319.  
  320. function ShowDamage(Pos, Text, Time, Color)
  321. local Rate = (1 / 30)
  322. local Pos = (Pos or Vector3.new(0, 0, 0))
  323. local Text = (Text or "")
  324. local Time = (Time or 2)
  325. local Color = (Color or Color3.new(1, 0, 1))
  326. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  327. EffectPart.Anchored = true
  328. local BillboardGui = Create("BillboardGui"){
  329. Size = UDim2.new(3, 0, 3, 0),
  330. Adornee = EffectPart,
  331. Parent = EffectPart,
  332. }
  333. local TextLabel = Create("TextLabel"){
  334. BackgroundTransparency = 1,
  335. Size = UDim2.new(1, 0, 1, 0),
  336. Text = Text,
  337. Font = "SciFi",
  338. TextColor3 = Color,
  339. TextScaled = true,
  340. Parent = BillboardGui,
  341. }
  342. game.Debris:AddItem(EffectPart, (Time))
  343. EffectPart.Parent = game:GetService("Workspace")
  344. delay(0, function()
  345. local Frames = (Time / Rate)
  346. for Frame = 1, Frames do
  347. wait(Rate)
  348. local Percent = (Frame / Frames)
  349. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  350. TextLabel.TextTransparency = Percent
  351. end
  352. if EffectPart and EffectPart.Parent then
  353. EffectPart:Destroy()
  354. end
  355. end)
  356. end
  357.  
  358. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  359. for _, c in pairs(workspace:children()) do
  360. local hum = c:findFirstChild("Humanoid")
  361. if hum ~= nil then
  362. local head = c:findFirstChild("Torso")
  363. if head ~= nil then
  364. local targ = head.Position - Part.Position
  365. local mag = targ.magnitude
  366. if mag <= Magnitude and c.Name ~= Player.Name then
  367. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  368. end
  369. end
  370. end
  371. end
  372. end
  373.  
  374. EffectModel = Create("Model"){
  375. Parent = Character,
  376. Name = "Effects",
  377. }
  378.  
  379. local Megalo = new("Sound",game.workspace.Camera)
  380. local effectaa = new("ChorusSoundEffect",Megalo)
  381. effectaa.Depth = 0.1
  382. effectaa.Mix = 0.2
  383. Megalo.SoundId = "rbxassetid://1101519222"
  384. Megalo.Volume = 4
  385. Megalo.Pitch = 1.2
  386. Megalo.Looped = true
  387. Megalo.TimePosition = 0
  388. Megalo:Play()
  389.  
  390. local shootsnd = new("Sound",char)
  391. shootsnd.SoundId = "rbxassetid://340722848"
  392. shootsnd.Volume = 10
  393. shootsnd.Pitch = 1
  394.  
  395.  
  396. local hdebounce = true
  397.  
  398.  
  399. local RGhasterBlaster = new("Part",char)
  400. RGhasterBlaster.Size = v3(1,1,1)
  401. RGhasterBlaster.Name = "RGhasterBlaster"
  402. RGhasterBlaster.CanCollide = false
  403. RGhasterBlaster.Material = "Neon"
  404. RGhasterBlaster.Shape = "Ball"
  405. RGhasterBlaster.CFrame = char.HumanoidRootPart.CFrame
  406. RGhasterBlaster.Anchored = false
  407. RGhasterBlaster.BrickColor = bc("White")
  408. RGhasterBlaster.Transparency = 1
  409.  
  410. local LGhasterBlaster = new("Part",char)
  411. LGhasterBlaster.Size = v3(1,1,1)
  412. LGhasterBlaster.CanCollide = false
  413. LGhasterBlaster.Name = "LGhasterBlaster"
  414. LGhasterBlaster.Material = "Neon"
  415. LGhasterBlaster.BrickColor = bc("White")
  416. LGhasterBlaster.Shape = "Ball"
  417. LGhasterBlaster.CFrame = char.HumanoidRootPart.CFrame*CFrame.Angles(0,rad(180),0)
  418. LGhasterBlaster.Anchored = false
  419. LGhasterBlaster.Transparency = 1
  420.  
  421.  
  422. local zxc = Instance.new("SpecialMesh",LGhasterBlaster)
  423. zxc.MeshType = "FileMesh"
  424. zxc.Scale = Vector3.new(2,2,2)
  425. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  426. local zxc = Instance.new("SpecialMesh",RGhasterBlaster)
  427. zxc.MeshType = "FileMesh"
  428. zxc.Scale = Vector3.new(2,2,2)
  429. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  430. local lgbbg=Instance.new("BodyGyro",LGhasterBlaster)
  431. lgbbg.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  432. lgbbg.D=400
  433.  
  434. lgbbp = Instance.new("BodyPosition", LGhasterBlaster)
  435.  
  436. local rgbbg=Instance.new("BodyGyro",RGhasterBlaster)
  437. rgbbg.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  438. rgbbg.D=400
  439.  
  440. rgbbp = Instance.new("BodyPosition", RGhasterBlaster)
  441.  
  442. spawn(function()
  443. while Blasters == true do
  444. rgbbp.Position=(char.HumanoidRootPart.CFrame*CFrame.new(10,5,0)).p
  445. lgbbp.Position=(char.HumanoidRootPart.CFrame*CFrame.new(-10,5,0)).p
  446. rgbbg.CFrame=CFrame.new(RGhasterBlaster.Position,mouse.Hit.p)
  447. lgbbg.CFrame=CFrame.new(LGhasterBlaster.Position,mouse.Hit.p)
  448.  
  449. wait()
  450. end
  451. end)
  452.  
  453. function equip()
  454. if equiped == false then
  455. equiped = true
  456. hum.WalkSpeed = 0
  457. hum.JumpPower = 0
  458. for i = 1,20 do
  459. LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(math.rad(26.299), math.rad(-0.229), math.rad(-90.413)),.3) --LeftUpperArm
  460. RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(math.rad(5.386), 0, math.rad(88.293)),.3)--RightUpperArm
  461. LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(19.137),rad(0),rad(0)),.3)--LeftLowerArm
  462. RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(31.971),rad(0),rad(0)),.3)--RightLowerArm
  463. LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(math.rad(6.704), math.rad(-2.12), math.rad(-17.418)),.3)--LeftUpperLeg
  464. RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(math.rad(12.605), math.rad(3.953), math.rad(17.074)),.3)--RightUpperLeg
  465. LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-10.886),rad(0),rad(0)),.3)--LeftLowerLeg
  466. RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-12.49),rad(0),rad(0)),.3)--RightUpperLeg
  467. Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Torso
  468. Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Head
  469. RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Head
  470. LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Head
  471. RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Head
  472. LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Head
  473. Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(rad(21.658),rad(0),rad(0)),.3)--Head
  474. wait()
  475. end
  476. for i = 1,20 do
  477. LGhasterBlaster.Transparency = LGhasterBlaster.Transparency-0.1
  478. RGhasterBlaster.Transparency = RGhasterBlaster.Transparency-0.1
  479. wait()
  480. end
  481. hum.WalkSpeed = 15
  482. hum.JumpPower = 50
  483. ParticleEmitter0 = Instance.new("ParticleEmitter")
  484. ParticleEmitter0 = Instance.new("ParticleEmitter")
  485. ParticleEmitter0.Name = "Fire"
  486. ParticleEmitter0.Parent = char.RightHand
  487. ParticleEmitter0.Transparency = NumberSequence.new(0,0,0,0,1,0)
  488. ParticleEmitter0.Rotation = NumberRange.new(-90, 90)
  489. ParticleEmitter0.Archivable = false
  490. ParticleEmitter0.Size = NumberSequence.new(0.75,0)
  491. ParticleEmitter0.Color = ColorSequence.new(Color3.new(0.0980392, 0.956863, 1),Color3.new(0.0980392, 0.956863, 1))
  492. ParticleEmitter0.LightEmission = 1
  493. ParticleEmitter0.Texture = "http://www.roblox.com/asset/?id=258126401"
  494. ParticleEmitter0.ZOffset = 1
  495. ParticleEmitter0.Lifetime = NumberRange.new(0.5, 0.5)
  496. ParticleEmitter0.Rate = 100
  497. ParticleEmitter0.RotSpeed = NumberRange.new(-90, 90)
  498. ParticleEmitter0.Speed = NumberRange.new(0.10000000149012, 0.10000000149012)
  499. ParticleEmitter0.Color = ColorSequence.new(Color3.new(0.0980392, 0.956863, 1),Color3.new(0.0980392, 0.956863, 1))
  500. for i = 1,20 do
  501. LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1) --LeftUpperArm
  502. RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperArm
  503. LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm
  504. RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm
  505. LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg
  506. RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
  507. LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg
  508. RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
  509. Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso
  510. Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  511. RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  512. LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  513. RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  514. LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  515. Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  516. wait()
  517. end
  518. else
  519. equiped = false
  520. hum.WalkSpeed = 0
  521. hum.JumpPower = 0
  522. for i = 1,20 do
  523. LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(math.rad(-137.052), math.rad(-87.376), math.rad(-180.023)),.1) --LeftUpperArm
  524. RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(math.rad(44.576), math.rad(80.787), 0),.1)--RightUpperArm
  525. LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(92.934),rad(0),rad(0)),.1)--LeftLowerArm
  526. RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(math.rad(92.132), math.rad(0.057), math.rad(0.229)),.1)--RightLowerArm
  527. LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(59.588),rad(0),rad(0)),.1)--LeftUpperLeg
  528. RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(1.089),rad(0),rad(0)),.1)--RightUpperLeg
  529. LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-38.044),rad(0),rad(0)),.1)--LeftLowerLeg
  530. RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-17.704),rad(0),rad(0)),.1)--RightUpperLeg
  531. Root.C0 = Root.C0:lerp(CFrame.new(0, -0.206, 0.078)*CFrame.Angles(rad(-20.856),rad(0),rad(0)),.1)--Torso
  532. Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(18.564),rad(0),rad(0)),.1)--Head
  533. RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  534. LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  535. RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  536. LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  537. Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  538. wait()
  539. end
  540.  
  541. ParticleEmitter0:Destroy()
  542. for i = 1,20 do
  543. LGhasterBlaster.Transparency = LGhasterBlaster.Transparency+0.1
  544. RGhasterBlaster.Transparency = RGhasterBlaster.Transparency+0.1
  545. wait()
  546. end
  547. for i = 1,20 do
  548. LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1) --LeftUpperArm
  549. RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperArm
  550. LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm
  551. RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm
  552. LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg
  553. RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
  554. LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg
  555. RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg
  556. Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso
  557. Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  558. RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  559. LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  560. RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  561. LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  562. Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head
  563. wait()
  564. end
  565. hum.WalkSpeed = 15
  566. hum.JumpPower = 50
  567. end
  568. end
  569. function beam()
  570. if debounce == true then
  571. if equiped == true then
  572. debounce = false
  573. local finalflash = false
  574. local finalgo = 0
  575. local finalgo1 = 6
  576. game:GetService("RunService").RenderStepped:connect(function()
  577. if finalflash == true then
  578. finalgo = finalgo + 1
  579. finalgo1 = finalgo1 + 2
  580. char.FinalFlash.Size = Vector3.new(finalgo1,2,2)
  581. char.inFinalFlash.Size = Vector3.new(finalgo1,2,2)
  582. char.FinalFlash.CFrame = RGhasterBlaster.CFrame * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(90),0) + RGhasterBlaster.CFrame.lookVector * finalgo
  583.  
  584. char.inFinalFlash.CFrame = RGhasterBlaster.CFrame * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(90),0) + RGhasterBlaster.CFrame.lookVector * finalgo
  585.  
  586. end
  587. end)
  588.  
  589. shootsnd:Play()
  590.  
  591. local RayThing = Instance.new("Part",char)
  592. RayThing.Size = Vector3.new(5,1,1)
  593. RayThing.Shape = "Cylinder"
  594. RayThing.Name = "FinalFlash"
  595. RayThing.CanCollide = false
  596. RayThing.Transparency = 0
  597. RayThing.Anchored = true
  598. RayThing.Material = "Neon"
  599. RayThing.BrickColor = BrickColor.new("White")
  600.  
  601. local inRayThing = Instance.new("Part",char)
  602. inRayThing.Size = Vector3.new(5,1,1)
  603. inRayThing.Transparency = 1
  604. inRayThing.Shape = "Cylinder"
  605. inRayThing.Name = "inFinalFlash"
  606. inRayThing.CanCollide = false
  607. inRayThing.Anchored = true
  608. inRayThing.Material = "Neon"
  609. inRayThing.BrickColor = BrickColor.new("White")
  610. inRayThing.Touched:connect(function(hit)
  611.  
  612.  
  613. if hit.Parent == char then return end
  614. if hit.Parent == workspace.Base then return end
  615. for i,v in pairs(hit.Parent:GetChildren()) do
  616. if v:IsA("Humanoid") then
  617. if hdebounce == true then
  618. hdebounce = false
  619. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -30, 1.5, BrickColor.new("Toothpaste").Color)
  620. v.Health = v.Health - 30
  621. wait(1)
  622. hdebounce = true
  623. end
  624.  
  625.  
  626. end
  627. end
  628.  
  629. end)
  630. finalflash = true
  631.  
  632. wait(0.5)
  633.  
  634. finalflash = false
  635. for i = 1,10 do
  636. char.FinalFlash.Size = char.FinalFlash.Size+Vector3.new(0,-1,0)
  637. char.FinalFlash.Transparency = char.FinalFlash.Transparency+0.05
  638. char.FinalFlash.CFrame = RGhasterBlaster.CFrame * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(90),0) + RGhasterBlaster.CFrame.lookVector * finalgo
  639.  
  640. char.inFinalFlash.CFrame = RGhasterBlaster.CFrame * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(90),0) + RGhasterBlaster.CFrame.lookVector * finalgo
  641. wait()
  642. end
  643. inRayThing:Destroy()
  644. RayThing:Destroy()
  645. finalgo = 0
  646. finalgo1 = 6
  647. debounce = true
  648. end
  649. end
  650. end
  651. function beam2()
  652. if equiped == true then
  653. if debounce == true then
  654. debounce = false
  655. local finalflash = false
  656. local finalgo = 0
  657. local finalgo1 = 6
  658. game:GetService("RunService").RenderStepped:connect(function()
  659. if finalflash == true then
  660. finalgo = finalgo + 1
  661. finalgo1 = finalgo1 + 2
  662.  
  663. char.FinalFlash.Size = Vector3.new(finalgo1,2,2)
  664. char.inFinalFlash.Size = Vector3.new(finalgo1,2,2)
  665. char.inFinalFlash.CFrame = LGhasterBlaster.CFrame * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(90),0) + LGhasterBlaster.CFrame.lookVector * finalgo
  666. char.FinalFlash.CFrame = LGhasterBlaster.CFrame * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(90),0) + LGhasterBlaster.CFrame.lookVector * finalgo
  667.  
  668.  
  669. end
  670. end)
  671.  
  672. shootsnd:Play()
  673. local RayThing = Instance.new("Part",char)
  674. RayThing.Size = Vector3.new(5,1,1)
  675. RayThing.Shape = "Cylinder"
  676. RayThing.Name = "FinalFlash"
  677. RayThing.CanCollide = false
  678. RayThing.Transparency = 0
  679. RayThing.Anchored = true
  680. RayThing.Material = "Neon"
  681. RayThing.BrickColor = BrickColor.new("White")
  682.  
  683. local inRayThing = Instance.new("Part",char)
  684. inRayThing.Size = Vector3.new(10,1,1)
  685. inRayThing.Transparency = 1
  686. inRayThing.Shape = "Cylinder"
  687. inRayThing.Name = "inFinalFlash"
  688. inRayThing.CanCollide = false
  689. inRayThing.Anchored = true
  690. inRayThing.Material = "Neon"
  691. inRayThing.BrickColor = BrickColor.new("White")
  692.  
  693. RayThing.Touched:connect(function(hit)
  694.  
  695.  
  696. if hit.Parent == char then return end
  697. if hit.Parent == workspace.Base then return end
  698. for i,v in pairs(hit.Parent:GetChildren()) do
  699. if v:IsA("Humanoid") then
  700. if hdebounce == true then
  701. hdebounce = false
  702. local hitnumb = math.random(1,2)
  703. v.Health = v.Health - math.random(10,20)
  704. if hitnumb == 1 then
  705. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -10, 1.5, BrickColor.new("Toothpaste").Color)
  706. end
  707. if hitnumb == 2 then
  708. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -20, 1.5, BrickColor.new("Toothpaste").Color)
  709. end
  710. wait(1)
  711. hdebounce = true
  712. end
  713.  
  714.  
  715. end
  716. end
  717.  
  718. end)
  719. finalflash = true
  720.  
  721. wait(0.5)
  722.  
  723. finalflash = false
  724. for i = 1,10 do
  725. char.FinalFlash.Size = char.FinalFlash.Size+Vector3.new(0,-1,0)
  726. char.FinalFlash.Transparency = char.FinalFlash.Transparency+0.05
  727. char.inFinalFlash.CFrame = LGhasterBlaster.CFrame * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(90),0) + LGhasterBlaster.CFrame.lookVector * finalgo
  728. char.FinalFlash.CFrame = LGhasterBlaster.CFrame * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(90),0) + LGhasterBlaster.CFrame.lookVector * finalgo
  729. wait()
  730. end
  731.  
  732. inRayThing:Destroy()
  733. RayThing:Destroy()
  734. finalgo = 0
  735. finalgo1 = 6
  736. debounce = true
  737. end
  738. end
  739. end
  740. mounted = false
  741. function mount()
  742. if equiped == true then
  743. if mounted == false then
  744. mounted = true
  745. char.Humanoid.PlatformStand = true
  746. local mountw = new("Weld",RGhasterBlaster)
  747. mountw.Part0 = char.HumanoidRootPart
  748. mountw.Part1 = RGhasterBlaster
  749. mountw.Name = "mountw"
  750. mountw.C1 = CFrame.new(0,3,0)
  751. for i = 1,5 do
  752. LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(90),rad(0),rad(0)),.5) --LeftUpperArm
  753. RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(90),rad(0),rad(0)),.5)--RightUpperArm
  754. Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(70),rad(0),rad(0)),.5)--Head
  755. LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(90),rad(0),rad(0)),.5)--LeftUpperLeg
  756. RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(90),rad(0),rad(0)),.5)--RightUpperLeg
  757. LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-90),rad(0),rad(0)),.5)--LeftLowerLeg
  758. RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-90),rad(0),rad(0)),.5)--RightUpperLeg
  759. Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(-170),rad(0),rad(0)),.1)--Torso
  760. wait()
  761. end
  762.  
  763. elseif mounted == true then
  764. mounted = false
  765. for i = 1,5 do
  766. LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5) --LeftUpperArm
  767. RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightUpperArm
  768. Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--Head
  769. LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftUpperLeg
  770. RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightUpperLeg
  771. LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--LeftLowerLeg
  772. RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightUpperLeg
  773. Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--Torso
  774. wait()
  775. end
  776. char.Humanoid.PlatformStand = false
  777. RGhasterBlaster.mountw:destroy()
  778. RGhasterBlaster.CFrame = char.LeftHand.CFrame
  779. end
  780. end
  781. end
  782. local srot = 0
  783. mouse.Button1Down:connect(function()
  784. ral = math.random(1,2)
  785. if ral == 1 then
  786. beam()
  787. end
  788. if ral == 2 then
  789. beam2()
  790. end
  791.  
  792.  
  793. end)
  794. function cross()
  795. if equiped == true then
  796. if debounce == true then
  797. debounce = false
  798. local targeta = new("Part",char)
  799. targeta.Position = mouse.Hit.p
  800. targeta.Anchored = true
  801. targeta.CanCollide = false
  802. targeta.Transparency = 1
  803.  
  804. local CrossGhast1 = new("Part",char)
  805. CrossGhast1.CanCollide = false
  806. CrossGhast1.Anchored = false
  807. CrossGhast1.Size = v3(1,1,1)
  808. CrossGhast1.Material = "Neon"
  809. CrossGhast1.BrickColor = bc("White")
  810. CrossGhast1.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,10,0)
  811.  
  812.  
  813. local zxc = Instance.new("SpecialMesh",CrossGhast1)
  814. zxc.MeshType = "FileMesh"
  815. zxc.Scale = Vector3.new(2,2,2)
  816. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  817. PointBP = Instance.new("BodyPosition",CrossGhast1)
  818. PointBP.Position = (targeta.CFrame*CFrame.new(20,1,0)).p
  819. PointBP.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  820. local PointBG=Instance.new("BodyGyro",CrossGhast1)
  821. PointBG.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  822. PointBG.D=400
  823. local CrossGhast2 = new("Part",char)
  824. CrossGhast2.CanCollide = false
  825. CrossGhast2.Anchored = false
  826. CrossGhast2.Size = v3(1,1,1)
  827. CrossGhast2.Material = "Neon"
  828. CrossGhast2.BrickColor = bc("White")
  829. CrossGhast2.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,10,0)
  830.  
  831. local zxc = Instance.new("SpecialMesh",CrossGhast2)
  832. zxc.MeshType = "FileMesh"
  833. zxc.Scale = Vector3.new(2,2,2)
  834. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  835. PointBP2 = Instance.new("BodyPosition",CrossGhast2)
  836. PointBP2.Position = (targeta.CFrame*CFrame.new(-20,1,0)).p
  837. PointBP2.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  838. local PointBG2=Instance.new("BodyGyro",CrossGhast2)
  839. PointBG2.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  840. PointBG2.D=400
  841. local CrossGhast3 = new("Part",char)
  842. CrossGhast3.CanCollide = false
  843. CrossGhast3.Anchored = false
  844. CrossGhast3.Size = v3(1,1,1)
  845. CrossGhast3.Material = "Neon"
  846. CrossGhast3.BrickColor = bc("White")
  847. CrossGhast3.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,10,0)
  848.  
  849. local zxc = Instance.new("SpecialMesh",CrossGhast3)
  850. zxc.MeshType = "FileMesh"
  851. zxc.Scale = Vector3.new(2,2,2)
  852. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  853. PointBP3 = Instance.new("BodyPosition",CrossGhast3)
  854. PointBP3.Position = (targeta.CFrame*CFrame.new(0,1,-20)).p
  855. PointBP3.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  856. local PointBG3=Instance.new("BodyGyro",CrossGhast3)
  857. PointBG3.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  858. PointBG3.D=400
  859. local CrossGhasta = new("Part",char)
  860. CrossGhasta.CanCollide = false
  861. CrossGhasta.Anchored = false
  862. CrossGhasta.Size = v3(1,1,1)
  863. CrossGhasta.Material = "Neon"
  864. CrossGhasta.BrickColor = bc("White")
  865. CrossGhasta.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,10,0)
  866.  
  867. local zxc = Instance.new("SpecialMesh",CrossGhasta)
  868. zxc.MeshType = "FileMesh"
  869. zxc.Scale = Vector3.new(2,2,2)
  870. zxc.MeshId = "http://www.roblox.csdom/asset/?id=920580395"
  871. PointBPa = Instance.new("BodyPosition",CrossGhasta)
  872. PointBPa.Position = (targeta.CFrame*CFrame.new(0,1,20)).p
  873. PointBPa.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  874. local PointBGa=Instance.new("BodyGyro",CrossGhasta)
  875. PointBGa.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  876. PointBGa.D=400
  877. for i = 1,50 do
  878. PointBG.CFrame=CFrame.new(CrossGhast1.Position,targeta.Position)*CFrame.Angles(0.1,0,0)
  879. PointBG2.CFrame=CFrame.new(CrossGhast2.Position,targeta.Position)*CFrame.Angles(0.1,0,0)
  880. PointBG3.CFrame=CFrame.new(CrossGhast3.Position,targeta.Position)*CFrame.Angles(0.1,0,0)
  881. PointBGa.CFrame=CFrame.new(CrossGhasta.Position,targeta.Position)*CFrame.Angles(0.1,0,0)
  882.  
  883. wait()
  884. end
  885. shootsnd:Play()
  886. local GhastShot1 = new("Part",CrossGhast1)
  887. GhastShot1.Shape = "Cylinder"
  888. GhastShot1.Size = v3(100,5,5)
  889. GhastShot1.BrickColor = bc("White")
  890. GhastShot1.Material = "Neon"
  891. GhastShot1.CanCollide = false
  892. GhastShot1.Anchored = true
  893. GhastShot1.CFrame = CrossGhast1.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  894. local GhastShot2 = new("Part",CrossGhast1)
  895. GhastShot2.Shape = "Cylinder"
  896. GhastShot2.Size = v3(100,5,5)
  897. GhastShot2.BrickColor = bc("White")
  898. GhastShot2.Material = "Neon"
  899. GhastShot2.CanCollide = false
  900. GhastShot2.Anchored = true
  901. GhastShot2.CFrame = CrossGhast2.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  902. local GhastShot3 = new("Part",CrossGhast1)
  903. GhastShot3.Shape = "Cylinder"
  904. GhastShot3.Size = v3(100,5,5)
  905. GhastShot3.BrickColor = bc("White")
  906. GhastShot3.Material = "Neon"
  907. GhastShot3.CanCollide = false
  908. GhastShot3.Anchored = true
  909. GhastShot3.CFrame = CrossGhast3.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  910. local GhastShota = new("Part",CrossGhast1)
  911. GhastShota.Shape = "Cylinder"
  912. GhastShota.Size = v3(100,5,5)
  913. GhastShota.BrickColor = bc("White")
  914. GhastShota.Material = "Neon"
  915. GhastShota.CanCollide = false
  916. GhastShota.Anchored = true
  917. GhastShota.CFrame = CrossGhasta.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  918. GhastShota.Touched:connect(function(hit)
  919.  
  920.  
  921. if hit.Parent == char then return end
  922. if hit.Parent == workspace.Base then return end
  923. for i,v in pairs(hit.Parent:GetChildren()) do
  924. if v:IsA("Humanoid") then
  925. if hdebounce == true then
  926. hdebounce = false
  927. local hitnumb2 = math.random(1,2)
  928. for i = 1,20 do
  929. v.Health = v.Health-2
  930. wait(0.01)
  931. end
  932. if hitnumb == 1 then
  933. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -10, 1.5, BrickColor.new("Toothpaste").Color)
  934. end
  935. if hitnumb == 2 then
  936. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -20, 1.5, BrickColor.new("Toothpaste").Color)
  937. end
  938. wait(0.9)
  939. hdebounce = true
  940. end
  941.  
  942.  
  943. end
  944. end
  945.  
  946. end)
  947. GhastShot1.Touched:connect(function(hit)
  948.  
  949. if hit.Parent == char then return end
  950. if hit.Parent == workspace.Base then return end
  951. for i,v in pairs(hit.Parent:GetChildren()) do
  952. if v:IsA("Humanoid") then
  953. if hdebounce == true then
  954. hdebounce = false
  955. local hitnumb2 = math.random(1,2)
  956. for i = 1,20 do
  957. v.Health = v.Health-2
  958. wait(0.01)
  959. end
  960. if hitnumb == 1 then
  961. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -10, 1.5, BrickColor.new("Toothpaste").Color)
  962. end
  963. if hitnumb == 2 then
  964. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -20, 1.5, BrickColor.new("Toothpaste").Color)
  965. end
  966. wait(0.9)
  967. hdebounce = true
  968. end
  969.  
  970.  
  971. end
  972. end
  973.  
  974. end)
  975. GhastShot2.Touched:connect(function(hit)
  976. if hit.Parent == workspace.Base then return end
  977.  
  978. if hit.Parent == char then return end
  979.  
  980. for i,v in pairs(hit.Parent:GetChildren()) do
  981. if v:IsA("Humanoid") then
  982. if hdebounce == true then
  983. hdebounce = false
  984. local hitnumb2 = math.random(1,2)
  985. for i = 1,20 do
  986. v.Health = v.Health-2
  987. wait(0.01)
  988. end
  989. if hitnumb == 1 then
  990. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -10, 1.5, BrickColor.new("Toothpaste").Color)
  991. end
  992. if hitnumb == 2 then
  993. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -20, 1.5, BrickColor.new("Toothpaste").Color)
  994. end
  995. wait(0.9)
  996. hdebounce = true
  997. end
  998.  
  999.  
  1000. end
  1001. end
  1002.  
  1003. end)
  1004. GhastShot3.Touched:connect(function(hit)
  1005. if hit.Parent == workspace.Base then return end
  1006. if hit.Parent == char then return end
  1007.  
  1008. for i,v in pairs(hit.Parent:GetChildren()) do
  1009. if v:IsA("Humanoid") then
  1010. if hdebounce == true then
  1011. hdebounce = false
  1012. local hitnumb2 = math.random(1,2)
  1013. for i = 1,20 do
  1014. v.Health = v.Health-2
  1015. wait(0.01)
  1016. end
  1017. if hitnumb == 1 then
  1018. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -10, 1.5, BrickColor.new("Toothpaste").Color)
  1019. end
  1020. if hitnumb == 2 then
  1021. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -20, 1.5, BrickColor.new("Toothpaste").Color)
  1022. end
  1023. wait(0.9)
  1024. hdebounce = true
  1025. end
  1026.  
  1027.  
  1028. end
  1029. end
  1030.  
  1031. end)
  1032. wait(0.2)
  1033. for i = 1,10 do
  1034. GhastShot1.Size = GhastShot1.Size+v3(0,-1,-1)
  1035. GhastShot2.Size = GhastShot2.Size+v3(0,-1,-1)
  1036. GhastShot3.Size = GhastShot3.Size+v3(0,-1,-1)
  1037. GhastShota.Size = GhastShota.Size+v3(0,-1,-1)
  1038. GhastShot1.CFrame = CrossGhast1.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1039. GhastShot2.CFrame = CrossGhast2.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1040. GhastShot3.CFrame = CrossGhast3.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1041. GhastShota.CFrame = CrossGhasta.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1042. GhastShot1.Transparency = GhastShot1.Transparency+0.1
  1043. GhastShot2.Transparency = GhastShot2.Transparency+0.1
  1044. GhastShot3.Transparency = GhastShot3.Transparency+0.1
  1045. GhastShota.Transparency = GhastShota.Transparency+0.1
  1046.  
  1047. wait()
  1048. end
  1049. wait(1)
  1050. for i = 1,10 do
  1051. CrossGhast2.Transparency = CrossGhast2.Transparency+0.1
  1052. CrossGhast1.Transparency = CrossGhast1.Transparency+0.1
  1053. CrossGhasta.Transparency = CrossGhasta.Transparency+0.1
  1054. CrossGhast3.Transparency = CrossGhast3.Transparency+0.1
  1055. wait()
  1056. end
  1057. CrossGhast1:destroy()
  1058. CrossGhast2:destroy()
  1059. CrossGhast3:destroy()
  1060. CrossGhasta:destroy()
  1061. wait(1)
  1062. debounce = true
  1063. end
  1064. end
  1065. end
  1066. local dodgedebounce = true
  1067. function DodgeLeft()
  1068. if dodgedebounce == true then
  1069. dodgedebounce = false
  1070. local currentpos=Vector3.new(char.HumanoidRootPart.Position.X,char.HumanoidRootPart.Position.Y,char.HumanoidRootPart.Position.Z)
  1071. local bodyp=Instance.new("BodyPosition",char.HumanoidRootPart)
  1072. bodyp.MaxForce=Vector3.new(math.huge,math.huge,math.huge)
  1073. bodyp.Position=(char.HumanoidRootPart.CFrame*CFrame.new(-15,0,0)).p
  1074. wait(0.8)
  1075. bodyp.Position=currentpos
  1076. wait(0.5)
  1077. bodyp:Destroy()
  1078. wait(1)
  1079. dodgedebounce = true
  1080. end
  1081. end
  1082. function RightDodge()
  1083. if dodgedebounce == true then
  1084. dodgedebounce = false
  1085. local currentpos=Vector3.new(char.HumanoidRootPart.Position.X,char.HumanoidRootPart.Position.Y,char.HumanoidRootPart.Position.Z)
  1086. local bodyp=Instance.new("BodyPosition",char.HumanoidRootPart)
  1087. bodyp.MaxForce=Vector3.new(math.huge,math.huge,math.huge)
  1088. bodyp.Position=(char.HumanoidRootPart.CFrame*CFrame.new(15,0,0)).p
  1089. wait(0.8)
  1090. bodyp.Position=currentpos
  1091. wait(0.5)
  1092. bodyp:Destroy()
  1093. wait(1)
  1094. dodgedebounce = true
  1095. end
  1096. end
  1097. function octo()
  1098. if equiped == true then
  1099. if debounce == true then
  1100. debounce = false
  1101. local target2 = new("Part",char)
  1102. target2.Position = mouse.Hit.p
  1103. target2.Anchored = true
  1104. target2.CanCollide = false
  1105. target2.Transparency = 1
  1106. local OctoGhast1 = new("Part",char)
  1107. OctoGhast1.CanCollide = false
  1108. OctoGhast1.Anchored = false
  1109. OctoGhast1.Size = v3(1,1,1)
  1110. OctoGhast1.Material = "Neon"
  1111. OctoGhast1.BrickColor = bc("White")
  1112. OctoGhast1.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,10,0)
  1113.  
  1114.  
  1115. local zxc = Instance.new("SpecialMesh",OctoGhast1)
  1116. zxc.MeshType = "FileMesh"
  1117. zxc.Scale = Vector3.new(2,2,2)
  1118. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  1119. PointBPOcto1 = Instance.new("BodyPosition",OctoGhast1)
  1120. PointBPOcto1.Position = (target2.CFrame*CFrame.new(20,1,0)).p
  1121. PointBPOcto1.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1122. local PointBGOcto1=Instance.new("BodyGyro",OctoGhast1)
  1123. PointBGOcto1.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  1124. PointBGOcto1.D=400
  1125. local OctoGhast2 = new("Part",char)
  1126. OctoGhast2.CanCollide = false
  1127. OctoGhast2.Anchored = false
  1128. OctoGhast2.Size = v3(1,1,1)
  1129. OctoGhast2.Material = "Neon"
  1130. OctoGhast2.BrickColor = bc("White")
  1131. OctoGhast2.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,10,0)
  1132.  
  1133. local zxc = Instance.new("SpecialMesh",OctoGhast2)
  1134. zxc.MeshType = "FileMesh"
  1135. zxc.Scale = Vector3.new(2,2,2)
  1136. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  1137. PointBPOcto2 = Instance.new("BodyPosition",OctoGhast2)
  1138. PointBPOcto2.Position = (target2.CFrame*CFrame.new(-20,1,0)).p
  1139. PointBPOcto2.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1140. local PointBGOcto2=Instance.new("BodyGyro",OctoGhast2)
  1141. PointBGOcto2.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  1142. PointBGOcto2.D=400
  1143. local OctoGhast3 = new("Part",char)
  1144. OctoGhast3.CanCollide = false
  1145. OctoGhast3.Anchored = false
  1146. OctoGhast3.Size = v3(1,1,1)
  1147. OctoGhast3.Material = "Neon"
  1148. OctoGhast3.BrickColor = bc("White")
  1149. OctoGhast3.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,10,0)
  1150.  
  1151.  
  1152. local zxc = Instance.new("SpecialMesh",OctoGhast3)
  1153. zxc.MeshType = "FileMesh"
  1154. zxc.Scale = Vector3.new(2,2,2)
  1155. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  1156. PointBPOcto3 = Instance.new("BodyPosition",OctoGhast3)
  1157. PointBPOcto3.Position = (target2.CFrame*CFrame.new(0,1,-20)).p
  1158. PointBPOcto3.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1159. local PointBGOcto3=Instance.new("BodyGyro",OctoGhast3)
  1160. PointBGOcto3.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  1161. PointBGOcto3.D=400
  1162. local OctoGhast4 = new("Part",char)
  1163. OctoGhast4.CanCollide = false
  1164. OctoGhast4.Anchored = false
  1165. OctoGhast4.Size = v3(1,1,1)
  1166. OctoGhast4.Material = "Neon"
  1167. OctoGhast4.BrickColor = bc("White")
  1168. OctoGhast4.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,10,0)
  1169.  
  1170.  
  1171. local zxc = Instance.new("SpecialMesh",OctoGhast4)
  1172. zxc.MeshType = "FileMesh"
  1173. zxc.Scale = Vector3.new(2,2,2)
  1174. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  1175. PointBPOcto4 = Instance.new("BodyPosition",OctoGhast4)
  1176. PointBPOcto4.Position = (target2.CFrame*CFrame.new(0,1,20)).p
  1177. PointBPOcto4.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1178. local PointBGOcto4=Instance.new("BodyGyro",OctoGhast4)
  1179. PointBGOcto4.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  1180. PointBGOcto4.D=400
  1181. local OctoGhast5 = new("Part",char)
  1182. OctoGhast5.CanCollide = false
  1183. OctoGhast5.Anchored = false
  1184. OctoGhast5.Size = v3(1,1,1)
  1185. OctoGhast5.Material = "Neon"
  1186. OctoGhast5.BrickColor = bc("White")
  1187. OctoGhast5.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,10,0)
  1188.  
  1189.  
  1190. local zxc = Instance.new("SpecialMesh",OctoGhast5)
  1191. zxc.MeshType = "FileMesh"
  1192. zxc.Scale = Vector3.new(2,2,2)
  1193. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  1194. PointBPOcto5 = Instance.new("BodyPosition",OctoGhast5)
  1195. PointBPOcto5.Position = (target2.CFrame*CFrame.new(15,1,-20)).p
  1196. PointBPOcto5.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1197. local PointBGOcto5=Instance.new("BodyGyro",OctoGhast5)
  1198. PointBGOcto5.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  1199. PointBGOcto5.D=400
  1200. local OctoGhast6 = new("Part",char)
  1201. OctoGhast6.CanCollide = false
  1202. OctoGhast6.Anchored = false
  1203. OctoGhast6.Size = v3(1,1,1)
  1204. OctoGhast6.Material = "Neon"
  1205. OctoGhast6.BrickColor = bc("White")
  1206. OctoGhast6.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,10,0)
  1207.  
  1208.  
  1209. local zxc = Instance.new("SpecialMesh",OctoGhast6)
  1210. zxc.MeshType = "FileMesh"
  1211. zxc.Scale = Vector3.new(2,2,2)
  1212. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  1213. PointBPOcto6 = Instance.new("BodyPosition",OctoGhast6)
  1214. PointBPOcto6.Position = (target2.CFrame*CFrame.new(-15,1,20)).p
  1215. PointBPOcto6.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1216. local PointBGOcto6=Instance.new("BodyGyro",OctoGhast6)
  1217. PointBGOcto6.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  1218. PointBGOcto6.D=400
  1219. local OctoGhast7 = new("Part",char)
  1220. OctoGhast7.CanCollide = false
  1221. OctoGhast7.Anchored = false
  1222. OctoGhast7.Size = v3(1,1,1)
  1223. OctoGhast7.Material = "Neon"
  1224. OctoGhast7.BrickColor = bc("White")
  1225. OctoGhast7.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,10,0)
  1226.  
  1227.  
  1228. local zxc = Instance.new("SpecialMesh",OctoGhast7)
  1229. zxc.MeshType = "FileMesh"
  1230. zxc.Scale = Vector3.new(2,2,2)
  1231. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  1232. PointBPOcto7 = Instance.new("BodyPosition",OctoGhast7)
  1233. PointBPOcto7.Position = (target2.CFrame*CFrame.new(15,1,15)).p
  1234. PointBPOcto7.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1235. local PointBGOcto7=Instance.new("BodyGyro",OctoGhast7)
  1236. PointBGOcto7.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  1237. PointBGOcto7.D=400
  1238. local OctoGhast8 = new("Part",char)
  1239. OctoGhast8.CanCollide = false
  1240. OctoGhast8.Anchored = false
  1241. OctoGhast8.Size = v3(1,1,1)
  1242. OctoGhast8.Material = "Neon"
  1243. OctoGhast8.BrickColor = bc("White")
  1244. OctoGhast8.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,10,0)
  1245.  
  1246.  
  1247. local zxc = Instance.new("SpecialMesh",OctoGhast8)
  1248. zxc.MeshType = "FileMesh"
  1249. zxc.Scale = Vector3.new(2,2,2)
  1250. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  1251. PointBPOcto8 = Instance.new("BodyPosition",OctoGhast8)
  1252. PointBPOcto8.Position = (target2.CFrame*CFrame.new(-15,1,-15)).p
  1253. PointBPOcto8.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1254. local PointBGOcto8=Instance.new("BodyGyro",OctoGhast8)
  1255. PointBGOcto8.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  1256. PointBGOcto8.D=400
  1257. for i = 1,50 do
  1258. PointBGOcto5.CFrame=CFrame.new(OctoGhast5.Position,target2.Position)*CFrame.Angles(0.1,0,0)
  1259. PointBGOcto4.CFrame=CFrame.new(OctoGhast4.Position,target2.Position)*CFrame.Angles(0.1,0,0)
  1260. PointBGOcto1.CFrame=CFrame.new(OctoGhast1.Position,target2.Position)*CFrame.Angles(0.1,0,0)
  1261. PointBGOcto2.CFrame=CFrame.new(OctoGhast2.Position,target2.Position)*CFrame.Angles(0.1,0,0)
  1262. PointBGOcto3.CFrame=CFrame.new(OctoGhast3.Position,target2.Position)*CFrame.Angles(0.1,0,0)
  1263. PointBGOcto6.CFrame=CFrame.new(OctoGhast6.Position,target2.Position)*CFrame.Angles(0.1,0,0)
  1264. PointBGOcto7.CFrame=CFrame.new(OctoGhast7.Position,target2.Position)*CFrame.Angles(0.1,0,0)
  1265. PointBGOcto8.CFrame=CFrame.new(OctoGhast8.Position,target2.Position)*CFrame.Angles(0.1,0,0)
  1266. wait()
  1267. end
  1268. shootsnd:Play()
  1269. local GhastShotaA = new("Part",OctoGhast1)
  1270. GhastShotaA.Shape = "Cylinder"
  1271. GhastShotaA.Size = v3(100,5,5)
  1272. GhastShotaA.BrickColor = bc("White")
  1273. GhastShotaA.Material = "Neon"
  1274. GhastShotaA.CanCollide = false
  1275. GhastShotaA.Anchored = true
  1276. GhastShotaA.CFrame = OctoGhast1.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1277. local GhastShotaB = new("Part",OctoGhast2)
  1278. GhastShotaB.Shape = "Cylinder"
  1279. GhastShotaB.Size = v3(100,5,5)
  1280. GhastShotaB.BrickColor = bc("White")
  1281. GhastShotaB.Material = "Neon"
  1282. GhastShotaB.CanCollide = false
  1283. GhastShotaB.Anchored = true
  1284. GhastShotaB.CFrame = OctoGhast2.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1285. local GhastShotaC = new("Part",OctoGhast3)
  1286. GhastShotaC.Shape = "Cylinder"
  1287. GhastShotaC.Size = v3(100,5,5)
  1288. GhastShotaC.BrickColor = bc("White")
  1289. GhastShotaC.Material = "Neon"
  1290. GhastShotaC.CanCollide = false
  1291. GhastShotaC.Anchored = true
  1292. GhastShotaC.CFrame = OctoGhast3.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1293. local GhastShotaD = new("Part",OctoGhast4)
  1294. GhastShotaD.Shape = "Cylinder"
  1295. GhastShotaD.Size = v3(100,5,5)
  1296. GhastShotaD.BrickColor = bc("White")
  1297. GhastShotaD.Material = "Neon"
  1298. GhastShotaD.CanCollide = false
  1299. GhastShotaD.Anchored = true
  1300. GhastShotaD.CFrame = OctoGhast4.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1301. local GhastShotaE = new("Part",OctoGhast5)
  1302. GhastShotaE.Shape = "Cylinder"
  1303. GhastShotaE.Size = v3(100,5,5)
  1304. GhastShotaE.BrickColor = bc("White")
  1305. GhastShotaE.Material = "Neon"
  1306. GhastShotaE.CanCollide = false
  1307. GhastShotaE.Anchored = true
  1308. GhastShotaE.CFrame = OctoGhast5.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1309. local GhastShotaF = new("Part",OctoGhast6)
  1310. GhastShotaF.Shape = "Cylinder"
  1311. GhastShotaF.Size = v3(100,5,5)
  1312. GhastShotaF.BrickColor = bc("White")
  1313. GhastShotaF.Material = "Neon"
  1314. GhastShotaF.CanCollide = false
  1315. GhastShotaF.Anchored = true
  1316. GhastShotaF.CFrame = OctoGhast6.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1317. local GhastShotaG = new("Part",OctoGhast7)
  1318. GhastShotaG.Shape = "Cylinder"
  1319. GhastShotaG.Size = v3(100,5,5)
  1320. GhastShotaG.BrickColor = bc("White")
  1321. GhastShotaG.Material = "Neon"
  1322. GhastShotaG.CanCollide = false
  1323. GhastShotaG.Anchored = true
  1324. GhastShotaG.CFrame = OctoGhast7.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1325. local GhastShotaH = new("Part",OctoGhast8)
  1326. GhastShotaH.Shape = "Cylinder"
  1327. GhastShotaH.Size = v3(100,5,5)
  1328. GhastShotaH.BrickColor = bc("White")
  1329. GhastShotaH.Material = "Neon"
  1330. GhastShotaH.CanCollide = false
  1331. GhastShotaH.Anchored = true
  1332. GhastShotaH.CFrame = OctoGhast8.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1333. GhastShotaA.Touched:connect(function(hit)
  1334.  
  1335.  
  1336. if hit.Parent == char then return end
  1337. if hit.Parent == workspace.Base then return end
  1338. for i,v in pairs(hit.Parent:GetChildren()) do
  1339. if v:IsA("Humanoid") then
  1340. if hdebounce == true then
  1341. hdebounce = false
  1342.  
  1343. for i = 1,20 do
  1344. v.Health = v.Health-2
  1345. wait(0.01)
  1346. end
  1347. local hitnumb = math.random(1,2)
  1348.  
  1349. if hitnumb == 1 then
  1350. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -10, 1.5, BrickColor.new("Toothpaste").Color)
  1351. end
  1352. if hitnumb == 2 then
  1353. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -20, 1.5, BrickColor.new("Toothpaste").Color)
  1354. end
  1355. wait(0.9)
  1356. hdebounce = true
  1357. end
  1358.  
  1359.  
  1360. end
  1361. end
  1362.  
  1363. end)
  1364. GhastShotaB.Touched:connect(function(hit)
  1365. if hit.Parent == workspace.Base then return end
  1366.  
  1367. if hit.Parent == char then return end
  1368.  
  1369. for i,v in pairs(hit.Parent:GetChildren()) do
  1370. if v:IsA("Humanoid") then
  1371. if hdebounce == true then
  1372. hdebounce = false
  1373.  
  1374. for i = 1,20 do
  1375. v.Health = v.Health-2
  1376. wait(0.01)
  1377. end
  1378. local hitnumb = math.random(1,2)
  1379.  
  1380. if hitnumb == 1 then
  1381. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -10, 1.5, BrickColor.new("Toothpaste").Color)
  1382. end
  1383. if hitnumb == 2 then
  1384. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -20, 1.5, BrickColor.new("Toothpaste").Color)
  1385. end
  1386. wait(0.9)
  1387. hdebounce = true
  1388. end
  1389.  
  1390.  
  1391. end
  1392. end
  1393.  
  1394. end)
  1395. GhastShotaC.Touched:connect(function(hit)
  1396.  
  1397. if hit.Parent == workspace.Base then return end
  1398. if hit.Parent == char then return end
  1399.  
  1400. for i,v in pairs(hit.Parent:GetChildren()) do
  1401. if v:IsA("Humanoid") then
  1402. if hdebounce == true then
  1403. hdebounce = false
  1404.  
  1405. for i = 1,20 do
  1406. v.Health = v.Health-2
  1407. wait(0.01)
  1408. end
  1409. local hitnumb = math.random(1,2)
  1410.  
  1411. if hitnumb == 1 then
  1412. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -10, 1.5, BrickColor.new("Toothpaste").Color)
  1413. end
  1414. if hitnumb == 2 then
  1415. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -20, 1.5, BrickColor.new("Toothpaste").Color)
  1416. end
  1417. wait(0.9)
  1418. hdebounce = true
  1419. end
  1420.  
  1421.  
  1422. end
  1423. end
  1424.  
  1425. end)
  1426. GhastShotaD.Touched:connect(function(hit)
  1427. if hit.Parent == workspace.Base then return end
  1428.  
  1429. if hit.Parent == char then return end
  1430.  
  1431. for i,v in pairs(hit.Parent:GetChildren()) do
  1432. if v:IsA("Humanoid") then
  1433. if hdebounce == true then
  1434. hdebounce = false
  1435.  
  1436. for i = 1,20 do
  1437. v.Health = v.Health-2
  1438. wait(0.01)
  1439. end
  1440. local hitnumb = math.random(1,2)
  1441.  
  1442. if hitnumb == 1 then
  1443. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -10, 1.5, BrickColor.new("Toothpaste").Color)
  1444. end
  1445. if hitnumb == 2 then
  1446. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -20, 1.5, BrickColor.new("Toothpaste").Color)
  1447. end
  1448. wait(0.9)
  1449. hdebounce = true
  1450. end
  1451.  
  1452.  
  1453. end
  1454. end
  1455.  
  1456. end)
  1457. GhastShotaE.Touched:connect(function(hit)
  1458. if hit.Parent == workspace.Base then return end
  1459.  
  1460. if hit.Parent == char then return end
  1461.  
  1462. for i,v in pairs(hit.Parent:GetChildren()) do
  1463. if v:IsA("Humanoid") then
  1464. if hdebounce == true then
  1465. hdebounce = false
  1466.  
  1467. for i = 1,20 do
  1468. v.Health = v.Health-2
  1469. wait(0.01)
  1470. end
  1471. local hitnumb = math.random(1,2)
  1472.  
  1473. if hitnumb == 1 then
  1474. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -10, 1.5, BrickColor.new("Toothpaste").Color)
  1475. end
  1476. if hitnumb == 2 then
  1477. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -20, 1.5, BrickColor.new("Toothpaste").Color)
  1478. end
  1479. wait(0.9)
  1480. hdebounce = true
  1481. end
  1482.  
  1483.  
  1484. end
  1485. end
  1486.  
  1487. end)
  1488. GhastShotaF.Touched:connect(function(hit)
  1489.  
  1490. if hit.Parent == workspace.Base then return end
  1491. if hit.Parent == char then return end
  1492.  
  1493. for i,v in pairs(hit.Parent:GetChildren()) do
  1494. if v:IsA("Humanoid") then
  1495. if hdebounce == true then
  1496. hdebounce = false
  1497.  
  1498. for i = 1,20 do
  1499. v.Health = v.Health-2
  1500. wait(0.01)
  1501. end
  1502. local hitnumb = math.random(1,2)
  1503.  
  1504. if hitnumb == 1 then
  1505. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -10, 1.5, BrickColor.new("Toothpaste").Color)
  1506. end
  1507. if hitnumb == 2 then
  1508. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -20, 1.5, BrickColor.new("Toothpaste").Color)
  1509. end
  1510. wait(0.9)
  1511.  
  1512. hdebounce = true
  1513. end
  1514.  
  1515.  
  1516. end
  1517. end
  1518.  
  1519. end)
  1520. GhastShotaG.Touched:connect(function(hit)
  1521.  
  1522. if hit.Parent == workspace.Base then return end
  1523. if hit.Parent == char then return end
  1524.  
  1525. for i,v in pairs(hit.Parent:GetChildren()) do
  1526. if v:IsA("Humanoid") then
  1527. if hdebounce == true then
  1528. hdebounce = false
  1529.  
  1530. for i = 1,20 do
  1531. v.Health = v.Health-2
  1532. wait(0.01)
  1533. end
  1534. local hitnumb = math.random(1,2)
  1535.  
  1536. if hitnumb == 1 then
  1537. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -10, 1.5, BrickColor.new("Toothpaste").Color)
  1538. end
  1539. if hitnumb == 2 then
  1540. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -20, 1.5, BrickColor.new("Toothpaste").Color)
  1541. end
  1542. wait(0.9)
  1543. hdebounce = true
  1544. end
  1545.  
  1546.  
  1547. end
  1548. end
  1549.  
  1550. end)
  1551. GhastShotaH.Touched:connect(function(hit)
  1552. if hit.Parent == workspace.Base then return end
  1553.  
  1554. if hit.Parent == char then return end
  1555.  
  1556. for i,v in pairs(hit.Parent:GetChildren()) do
  1557. if v:IsA("Humanoid") then
  1558. if hdebounce == true then
  1559. hdebounce = false
  1560. for i = 1,20 do
  1561. v.Health = v.Health-2
  1562. wait(0.01)
  1563. end
  1564. local hitnumb = math.random(1,2)
  1565.  
  1566. if hitnumb == 1 then
  1567. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -10, 1.5, BrickColor.new("Toothpaste").Color)
  1568. end
  1569. if hitnumb == 2 then
  1570. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -20, 1.5, BrickColor.new("Toothpaste").Color)
  1571. end
  1572. wait(0.9)
  1573. hdebounce = true
  1574. end
  1575.  
  1576.  
  1577. end
  1578. end
  1579.  
  1580. end)
  1581. wait(0.2)
  1582. for i = 1,20 do
  1583. GhastShotaA.Size = GhastShotaA.Size+v3(0,-1,-1)
  1584. GhastShotaB.Size = GhastShotaB.Size+v3(0,-1,-1)
  1585. GhastShotaC.Size = GhastShotaC.Size+v3(0,-1,-1)
  1586. GhastShotaD.Size = GhastShotaD.Size+v3(0,-1,-1)
  1587. GhastShotaE.Size = GhastShotaE.Size+v3(0,-1,-1)
  1588. GhastShotaF.Size = GhastShotaF.Size+v3(0,-1,-1)
  1589. GhastShotaG.Size = GhastShotaG.Size+v3(0,-1,-1)
  1590. GhastShotaH.Size = GhastShotaH.Size+v3(0,-1,-1)
  1591. GhastShotaA.CFrame = OctoGhast1.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1592. GhastShotaB.CFrame = OctoGhast2.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1593. GhastShotaC.CFrame = OctoGhast3.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1594. GhastShotaD.CFrame = OctoGhast4.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1595. GhastShotaE.CFrame = OctoGhast5.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1596. GhastShotaF.CFrame = OctoGhast6.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1597. GhastShotaG.CFrame = OctoGhast7.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1598. GhastShotaH.CFrame = OctoGhast8.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1599. GhastShotaA.Transparency = GhastShotaA.Transparency+0.1
  1600. GhastShotaB.Transparency = GhastShotaB.Transparency+0.1
  1601. GhastShotaC.Transparency = GhastShotaC.Transparency+0.1
  1602. GhastShotaD.Transparency = GhastShotaD.Transparency+0.1
  1603. GhastShotaE.Transparency = GhastShotaE.Transparency+0.1
  1604. GhastShotaF.Transparency = GhastShotaF.Transparency+0.1
  1605. GhastShotaG.Transparency = GhastShotaG.Transparency+0.1
  1606. GhastShotaH.Transparency = GhastShotaH.Transparency+0.1
  1607. wait()
  1608. end
  1609. wait(0.1)
  1610. debounce = true
  1611. for i = 1,20 do
  1612. OctoGhast1.Transparency = OctoGhast1.Transparency+0.1
  1613. OctoGhast2.Transparency = OctoGhast2.Transparency+0.1
  1614. OctoGhast3.Transparency = OctoGhast3.Transparency+0.1
  1615. OctoGhast4.Transparency = OctoGhast4.Transparency+0.1
  1616. OctoGhast5.Transparency = OctoGhast5.Transparency+0.1
  1617. OctoGhast6.Transparency = OctoGhast6.Transparency+0.1
  1618. OctoGhast7.Transparency = OctoGhast7.Transparency+0.1
  1619. OctoGhast8.Transparency = OctoGhast8.Transparency+0.1
  1620. wait()
  1621. end
  1622. OctoGhast1:destroy()
  1623. OctoGhast2:destroy()
  1624. OctoGhast3:destroy()
  1625. OctoGhast4:destroy()
  1626. OctoGhast5:destroy()
  1627. OctoGhast6:destroy()
  1628. OctoGhast7:destroy()
  1629. OctoGhast8:destroy()
  1630. end
  1631. end
  1632. end
  1633. local bonehit2nd = new("Sound",char)
  1634. bonehit2nd.SoundId = "rbxassetid://401680588"
  1635. bonehit2nd.Volume = 5
  1636.  
  1637. local bonehit3nd = new("Sound",char)
  1638. bonehit3nd.SoundId = "rbxassetid://306247749"
  1639. bonehit3nd.Volume = 5
  1640.  
  1641. function Bones()
  1642. if RootPart.Velocity.y < 1 and hitfloor==nil then
  1643. if debounce == true then
  1644. debounce = false
  1645.  
  1646. bonehit2nd:Play()
  1647. for i = 1,30 do
  1648. local bone = new("Part",char)
  1649. bone.Touched:connect(function(hit)
  1650.  
  1651.  
  1652. if hit.Parent == char then return end
  1653.  
  1654. for i,v in pairs(hit.Parent:GetChildren()) do
  1655. if v:IsA("Humanoid") then
  1656. padebounce = true
  1657. if padebounce == true then
  1658. padebounce = false
  1659.  
  1660. for i = 1,20 do
  1661. v.Health = v.Health-2
  1662. wait(1)
  1663. end
  1664. wait(0.9)
  1665. padebounce = true
  1666. end
  1667.  
  1668.  
  1669. end
  1670. end
  1671.  
  1672. end)
  1673. bone.CFrame = char.HumanoidRootPart.CFrame
  1674. bone.CanCollide = false
  1675. bone.Material = "SmoothPlastic"
  1676. bone.BrickColor = bc("White")
  1677. bone.Anchored = true
  1678. bone.CFrame = (char.HumanoidRootPart.CFrame + Vector3.new(math.random(-50,50),-7,math.random(-50,50))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(0)),math.random(0,math.rad(0)),math.random(0,math.rad(0)))
  1679. local zxc = Instance.new("SpecialMesh",bone)
  1680. zxc.MeshType = "FileMesh"
  1681. zxc.Scale = Vector3.new(0.03, 0.03, 0.03)
  1682. zxc.MeshId = "http://www.roblox.com/asset/?id=921085633"
  1683. wait()
  1684.  
  1685.  
  1686.  
  1687.  
  1688.  
  1689. local gdisp = coroutine.wrap(function()
  1690. bonehit3nd:Play()
  1691. for i = 1,5 do
  1692. bone.CFrame = bone.CFrame*CFrame.new(0,1,0)
  1693. wait()
  1694. end
  1695. wait(1)
  1696. for i = 1, 9 do
  1697. wait(.1)
  1698. bone.Transparency = bone.Transparency + .3
  1699. end
  1700. bone:Destroy()
  1701. end)
  1702. gdisp()
  1703. end
  1704. end
  1705. wait(1)
  1706. debounce = true
  1707. end
  1708. end
  1709. AheadShotsdebounce = true
  1710. function AheadShots()
  1711. if equiped == true then
  1712. if AheadShotsdebounce == true then
  1713. AheadShotsdebounce = false
  1714. local targetahead = new("Part",char)
  1715. targetahead.Shape = "Ball"
  1716. targetahead.Anchored = true
  1717. targetahead.CanCollide = false
  1718. targetahead.BrickColor = bc("Toothpaste")
  1719. targetahead.Material = "Neon"
  1720. targetahead.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,0,-10)
  1721. targetahead.Transparency = 1
  1722.  
  1723. local targetahead2 = new("Part",char)
  1724. targetahead2.Shape = "Ball"
  1725. targetahead2.CanCollide = false
  1726. targetahead2.Anchored = true
  1727. targetahead2.BrickColor = bc("Toothpaste")
  1728. targetahead2.Material = "Neon"
  1729. targetahead2.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,0,-30)
  1730. targetahead2.Transparency = 1
  1731.  
  1732. local targetahead3 = new("Part",char)
  1733. targetahead3.Shape = "Ball"
  1734. targetahead3.Anchored = true
  1735. targetahead3.CanCollide = false
  1736. targetahead3.BrickColor = bc("Toothpaste")
  1737. targetahead3.Material = "Neon"
  1738. targetahead3.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,0,-50)
  1739. targetahead3.Transparency = 1
  1740.  
  1741. local Blasta1 = new("Part",char)
  1742. Blasta1.Size = v3(1,1,1)
  1743. Blasta1.CanCollide = false
  1744. Blasta1.Name = "Blasta1"
  1745. Blasta1.Material = "Neon"
  1746. Blasta1.BrickColor = bc("White")
  1747. Blasta1.Shape = "Ball"
  1748. Blasta1.CFrame = char.HumanoidRootPart.CFrame*CFrame.Angles(0,rad(180),0)
  1749. Blasta1.Anchored = false
  1750.  
  1751.  
  1752.  
  1753. local zxc = Instance.new("SpecialMesh",Blasta1)
  1754. zxc.MeshType = "FileMesh"
  1755. zxc.Scale = Vector3.new(2,2,2)
  1756. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  1757.  
  1758. local blasta1bg=Instance.new("BodyGyro",Blasta1)
  1759. blasta1bg.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  1760. blasta1bg.D=400
  1761.  
  1762. blasta1bp = Instance.new("BodyPosition", Blasta1)
  1763. local Blasta2 = new("Part",char)
  1764. Blasta2.Size = v3(1,1,1)
  1765. Blasta2.CanCollide = false
  1766. Blasta2.Name = "Blasta2"
  1767. Blasta2.Material = "Neon"
  1768. Blasta2.BrickColor = bc("White")
  1769. Blasta2.Shape = "Ball"
  1770. Blasta2.CFrame = char.HumanoidRootPart.CFrame*CFrame.Angles(0,rad(180),0)
  1771. Blasta2.Anchored = false
  1772.  
  1773.  
  1774.  
  1775. local zxc = Instance.new("SpecialMesh",Blasta2)
  1776. zxc.MeshType = "FileMesh"
  1777. zxc.Scale = Vector3.new(2,2,2)
  1778. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  1779.  
  1780. local Blasta2bg=Instance.new("BodyGyro",Blasta2)
  1781. Blasta2bg.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  1782. Blasta2bg.D=400
  1783.  
  1784. Blasta2bp = Instance.new("BodyPosition", Blasta2)
  1785. local Blasta3 = new("Part",char)
  1786. Blasta3.Size = v3(1,1,1)
  1787. Blasta3.CanCollide = false
  1788. Blasta3.Name = "Blasta3"
  1789. Blasta3.Material = "Neon"
  1790. Blasta3.BrickColor = bc("White")
  1791. Blasta3.Shape = "Ball"
  1792. Blasta3.CFrame = char.HumanoidRootPart.CFrame*CFrame.Angles(0,rad(180),0)
  1793. Blasta3.Anchored = false
  1794.  
  1795.  
  1796.  
  1797. local zxc = Instance.new("SpecialMesh",Blasta3)
  1798. zxc.MeshType = "FileMesh"
  1799. zxc.Scale = Vector3.new(2,2,2)
  1800. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  1801.  
  1802. local Blasta3bg=Instance.new("BodyGyro",Blasta3)
  1803. Blasta3bg.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  1804. Blasta3bg.D=400
  1805.  
  1806. Blasta3bp = Instance.new("BodyPosition", Blasta3)
  1807. local Blasta4 = new("Part",char)
  1808. Blasta4.Size = v3(1,1,1)
  1809. Blasta4.CanCollide = false
  1810. Blasta4.Name = "Blasta4"
  1811. Blasta4.Material = "Neon"
  1812. Blasta4.BrickColor = bc("White")
  1813. Blasta4.Shape = "Ball"
  1814. Blasta4.CFrame = char.HumanoidRootPart.CFrame*CFrame.Angles(0,rad(180),0)
  1815. Blasta4.Anchored = false
  1816.  
  1817.  
  1818.  
  1819. local zxc = Instance.new("SpecialMesh",Blasta4)
  1820. zxc.MeshType = "FileMesh"
  1821. zxc.Scale = Vector3.new(2,2,2)
  1822. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  1823.  
  1824. local Blasta4bg=Instance.new("BodyGyro",Blasta4)
  1825. Blasta4bg.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  1826. Blasta4bg.D=400
  1827.  
  1828. Blasta4bp = Instance.new("BodyPosition", Blasta4)
  1829. local Blasta5 = new("Part",char)
  1830. Blasta5.Size = v3(1,1,1)
  1831. Blasta5.CanCollide = false
  1832. Blasta5.Name = "Blasta5"
  1833. Blasta5.Material = "Neon"
  1834. Blasta5.BrickColor = bc("White")
  1835. Blasta5.Shape = "Ball"
  1836. Blasta5.CFrame = char.HumanoidRootPart.CFrame*CFrame.Angles(0,rad(180),0)
  1837. Blasta5.Anchored = false
  1838.  
  1839.  
  1840.  
  1841. local zxc = Instance.new("SpecialMesh",Blasta5)
  1842. zxc.MeshType = "FileMesh"
  1843. zxc.Scale = Vector3.new(2,2,2)
  1844. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  1845.  
  1846. local Blasta5bg=Instance.new("BodyGyro",Blasta5)
  1847. Blasta5bg.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  1848. Blasta5bg.D=400
  1849.  
  1850. Blasta5bp = Instance.new("BodyPosition", Blasta5)
  1851.  
  1852. local Blasta6 = new("Part",char)
  1853. Blasta6.Size = v3(1,1,1)
  1854. Blasta6.CanCollide = false
  1855. Blasta6.Name = "Blasta6"
  1856. Blasta6.Material = "Neon"
  1857. Blasta6.BrickColor = bc("White")
  1858. Blasta6.Shape = "Ball"
  1859. Blasta6.CFrame = char.HumanoidRootPart.CFrame*CFrame.Angles(0,rad(180),0)
  1860. Blasta6.Anchored = false
  1861.  
  1862.  
  1863.  
  1864. local zxc = Instance.new("SpecialMesh",Blasta6)
  1865. zxc.MeshType = "FileMesh"
  1866. zxc.Scale = Vector3.new(2,2,2)
  1867. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  1868.  
  1869. local Blasta6bg=Instance.new("BodyGyro",Blasta6)
  1870. Blasta6bg.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  1871. Blasta6bg.D=400
  1872.  
  1873. Blasta6bp = Instance.new("BodyPosition", Blasta6)
  1874.  
  1875. for i = 1,50 do
  1876. blasta1bp.Position=(targetahead.CFrame*CFrame.new(20,2,0)).p
  1877. blasta1bg.CFrame=CFrame.new(Blasta2.Position,targetahead2.Position)
  1878. Blasta2bp.Position=(targetahead2.CFrame*CFrame.new(20,2,0)).p
  1879. Blasta2bg.CFrame=CFrame.new(Blasta2.Position,targetahead2.Position)
  1880.  
  1881. Blasta3bp.Position=(targetahead3.CFrame*CFrame.new(20,2,0)).p
  1882. Blasta3bg.CFrame=CFrame.new(Blasta3.Position,targetahead3.Position)
  1883.  
  1884. Blasta4bp.Position=(targetahead.CFrame*CFrame.new(-20,2,0)).p
  1885. Blasta4bg.CFrame=CFrame.new(Blasta4.Position,targetahead.Position)
  1886.  
  1887. Blasta5bp.Position=(targetahead2.CFrame*CFrame.new(-20,2,0)).p
  1888. Blasta5bg.CFrame=CFrame.new(Blasta5.Position,targetahead2.Position)
  1889.  
  1890. Blasta6bp.Position=(targetahead3.CFrame*CFrame.new(-20,2,0)).p
  1891. Blasta6bg.CFrame=CFrame.new(Blasta6.Position,targetahead3.Position)
  1892.  
  1893. wait()
  1894. end
  1895. shootsnd:Play()
  1896. local GhastAcrossShot1 = new("Part",Blasta1)
  1897. GhastAcrossShot1.Shape = "Cylinder"
  1898. GhastAcrossShot1.Size = v3(100,5,5)
  1899. GhastAcrossShot1.BrickColor = bc("White")
  1900. GhastAcrossShot1.Material = "Neon"
  1901. GhastAcrossShot1.CanCollide = false
  1902. GhastAcrossShot1.Anchored = true
  1903. GhastAcrossShot1.CFrame = Blasta1.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1904. local GhastAcrossShot2 = new("Part",Blasta2)
  1905. GhastAcrossShot2.Shape = "Cylinder"
  1906. GhastAcrossShot2.Size = v3(100,5,5)
  1907. GhastAcrossShot2.BrickColor = bc("White")
  1908. GhastAcrossShot2.Material = "Neon"
  1909. GhastAcrossShot2.CanCollide = false
  1910. GhastAcrossShot2.Anchored = true
  1911. GhastAcrossShot2.CFrame = Blasta2.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1912. local GhastAcrossShot3 = new("Part",Blasta2)
  1913. GhastAcrossShot3.Shape = "Cylinder"
  1914. GhastAcrossShot3.Size = v3(100,5,5)
  1915. GhastAcrossShot3.BrickColor = bc("White")
  1916. GhastAcrossShot3.Material = "Neon"
  1917. GhastAcrossShot3.CanCollide = false
  1918. GhastAcrossShot3.Anchored = true
  1919. GhastAcrossShot3.CFrame = Blasta3.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1920. local GhastAcrossShot4 = new("Part",Blasta4)
  1921. GhastAcrossShot4.Shape = "Cylinder"
  1922. GhastAcrossShot4.Size = v3(100,5,5)
  1923. GhastAcrossShot4.BrickColor = bc("White")
  1924. GhastAcrossShot4.Material = "Neon"
  1925. GhastAcrossShot4.CanCollide = false
  1926. GhastAcrossShot4.Anchored = true
  1927. GhastAcrossShot4.CFrame = Blasta4.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1928. local GhastAcrossShot5 = new("Part",Blasta5)
  1929. GhastAcrossShot5.Shape = "Cylinder"
  1930. GhastAcrossShot5.Size = v3(100,5,5)
  1931. GhastAcrossShot5.BrickColor = bc("White")
  1932. GhastAcrossShot5.Material = "Neon"
  1933. GhastAcrossShot5.CanCollide = false
  1934. GhastAcrossShot5.Anchored = true
  1935. GhastAcrossShot5.CFrame = Blasta5.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1936. local GhastAcrossShot6 = new("Part",Blasta5)
  1937. GhastAcrossShot6.Shape = "Cylinder"
  1938. GhastAcrossShot6.Size = v3(100,5,5)
  1939. GhastAcrossShot6.BrickColor = bc("White")
  1940. GhastAcrossShot6.Material = "Neon"
  1941. GhastAcrossShot6.CanCollide = false
  1942. GhastAcrossShot6.Anchored = true
  1943. GhastAcrossShot6.CFrame = Blasta6.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  1944. GhastAcrossShot1.Touched:connect(function(hit)
  1945. if hit.Parent == workspace.Base then return end
  1946.  
  1947. if hit.Parent == char then return end
  1948.  
  1949. for i,v in pairs(hit.Parent:GetChildren()) do
  1950. if v:IsA("Humanoid") then
  1951. if hdebounce == true then
  1952. hdebounce = false
  1953. for i = 1,20 do
  1954. v.Health = v.Health-2
  1955. wait(0.01)
  1956. end
  1957. local hitnumb = math.random(1,2)
  1958.  
  1959. if hitnumb == 1 then
  1960. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -10, 1.5, BrickColor.new("Toothpaste").Color)
  1961. end
  1962. if hitnumb == 2 then
  1963. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -20, 1.5, BrickColor.new("Toothpaste").Color)
  1964. end
  1965. wait(0.9)
  1966. hdebounce = true
  1967. end
  1968.  
  1969.  
  1970. end
  1971. end
  1972.  
  1973. end)
  1974. GhastAcrossShot2.Touched:connect(function(hit)
  1975. if hit.Parent == workspace.Base then return end
  1976.  
  1977. if hit.Parent == char then return end
  1978.  
  1979. for i,v in pairs(hit.Parent:GetChildren()) do
  1980. if v:IsA("Humanoid") then
  1981. if hdebounce == true then
  1982. hdebounce = false
  1983. for i = 1,20 do
  1984. v.Health = v.Health-2
  1985. wait(0.01)
  1986. end
  1987. local hitnumb = math.random(1,2)
  1988.  
  1989. if hitnumb == 1 then
  1990. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -10, 1.5, BrickColor.new("Toothpaste").Color)
  1991. end
  1992. if hitnumb == 2 then
  1993. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -20, 1.5, BrickColor.new("Toothpaste").Color)
  1994. end
  1995. wait(0.9)
  1996. hdebounce = true
  1997. end
  1998.  
  1999.  
  2000. end
  2001. end
  2002.  
  2003. end)
  2004.  
  2005. GhastAcrossShot3.Touched:connect(function(hit)
  2006. if hit.Parent == workspace.Base then return end
  2007.  
  2008. if hit.Parent == char then return end
  2009.  
  2010. for i,v in pairs(hit.Parent:GetChildren()) do
  2011. if v:IsA("Humanoid") then
  2012. if hdebounce == true then
  2013. hdebounce = false
  2014. for i = 1,20 do
  2015. v.Health = v.Health-2
  2016. wait(0.01)
  2017. end
  2018. local hitnumb = math.random(1,2)
  2019.  
  2020. if hitnumb == 1 then
  2021. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -10, 1.5, BrickColor.new("Toothpaste").Color)
  2022. end
  2023. if hitnumb == 2 then
  2024. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -20, 1.5, BrickColor.new("Toothpaste").Color)
  2025. end
  2026. wait(0.9)
  2027. hdebounce = true
  2028. end
  2029.  
  2030.  
  2031. end
  2032. end
  2033.  
  2034. end)
  2035. GhastAcrossShot4.Touched:connect(function(hit)
  2036. if hit.Parent == workspace.Base then return end
  2037.  
  2038. if hit.Parent == char then return end
  2039.  
  2040. for i,v in pairs(hit.Parent:GetChildren()) do
  2041. if v:IsA("Humanoid") then
  2042. if hdebounce == true then
  2043. hdebounce = false
  2044. for i = 1,20 do
  2045. v.Health = v.Health-2
  2046. wait(0.01)
  2047. end
  2048. local hitnumb = math.random(1,2)
  2049.  
  2050. if hitnumb == 1 then
  2051. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -10, 1.5, BrickColor.new("Toothpaste").Color)
  2052. end
  2053. if hitnumb == 2 then
  2054. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -20, 1.5, BrickColor.new("Toothpaste").Color)
  2055. end
  2056. wait(0.9)
  2057. hdebounce = true
  2058. end
  2059.  
  2060.  
  2061. end
  2062. end
  2063.  
  2064. end)
  2065. GhastAcrossShot5.Touched:connect(function(hit)
  2066. if hit.Parent == workspace.Base then return end
  2067.  
  2068. if hit.Parent == char then return end
  2069.  
  2070. for i,v in pairs(hit.Parent:GetChildren()) do
  2071. if v:IsA("Humanoid") then
  2072. if hdebounce == true then
  2073. hdebounce = false
  2074. for i = 1,20 do
  2075. v.Health = v.Health-2
  2076. wait(0.01)
  2077. end
  2078. local hitnumb = math.random(1,2)
  2079.  
  2080. if hitnumb == 1 then
  2081. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -10, 1.5, BrickColor.new("Toothpaste").Color)
  2082. end
  2083. if hitnumb == 2 then
  2084. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -20, 1.5, BrickColor.new("Toothpaste").Color)
  2085. end
  2086. wait(0.9)
  2087. hdebounce = true
  2088. end
  2089.  
  2090.  
  2091. end
  2092. end
  2093.  
  2094. end)
  2095. GhastAcrossShot6.Touched:connect(function(hit)
  2096. if hit.Parent == workspace.Base then return end
  2097.  
  2098. if hit.Parent == char then return end
  2099.  
  2100. for i,v in pairs(hit.Parent:GetChildren()) do
  2101. if v:IsA("Humanoid") then
  2102. if hdebounce == true then
  2103. hdebounce = false
  2104. for i = 1,20 do
  2105. v.Health = v.Health-2
  2106. wait(0.01)
  2107. end
  2108. local hitnumb = math.random(1,2)
  2109.  
  2110. if hitnumb == 1 then
  2111. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -10, 1.5, BrickColor.new("Toothpaste").Color)
  2112. end
  2113. if hitnumb == 2 then
  2114. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -20, 1.5, BrickColor.new("Toothpaste").Color)
  2115. end
  2116. wait(0.9)
  2117. hdebounce = true
  2118. end
  2119.  
  2120.  
  2121. end
  2122. end
  2123.  
  2124. end)
  2125. wait(0.5)
  2126. for i = 1,20 do
  2127. GhastAcrossShot1.Size = GhastAcrossShot1.Size+v3(0,-1,-1)
  2128. GhastAcrossShot1.CFrame = Blasta1.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  2129. GhastAcrossShot1.Transparency = GhastAcrossShot1.Transparency+0.1
  2130. GhastAcrossShot2.Size = GhastAcrossShot2.Size+v3(0,-1,-1)
  2131. GhastAcrossShot2.CFrame = Blasta2.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  2132. GhastAcrossShot2.Transparency = GhastAcrossShot2.Transparency+0.1
  2133. GhastAcrossShot3.Size = GhastAcrossShot3.Size+v3(0,-1,-1)
  2134. GhastAcrossShot3.CFrame = Blasta3.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  2135. GhastAcrossShot3.Transparency = GhastAcrossShot3.Transparency+0.1
  2136. GhastAcrossShot4.Size = GhastAcrossShot4.Size+v3(0,-1,-1)
  2137. GhastAcrossShot4.CFrame = Blasta4.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  2138. GhastAcrossShot4.Transparency = GhastAcrossShot4.Transparency+0.1
  2139.  
  2140. GhastAcrossShot5.Size = GhastAcrossShot5.Size+v3(0,-1,-1)
  2141. GhastAcrossShot5.CFrame = Blasta5.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  2142. GhastAcrossShot5.Transparency = GhastAcrossShot5.Transparency+0.1
  2143. GhastAcrossShot6.Size = GhastAcrossShot6.Size+v3(0,-1,-1)
  2144. GhastAcrossShot6.CFrame = Blasta6.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  2145. GhastAcrossShot6.Transparency = GhastAcrossShot6.Transparency+0.1
  2146. wait()
  2147. end
  2148. GhastAcrossShot1:Destroy()
  2149. GhastAcrossShot2:Destroy()
  2150. GhastAcrossShot3:Destroy()
  2151. GhastAcrossShot4:Destroy()
  2152. GhastAcrossShot5:Destroy()
  2153. GhastAcrossShot6:Destroy()
  2154. for i = 1,20 do
  2155. Blasta1.Transparency = Blasta1.Transparency+0.1
  2156. Blasta2.Transparency = Blasta2.Transparency+0.1
  2157. Blasta3.Transparency = Blasta3.Transparency+0.1
  2158. Blasta4.Transparency = Blasta4.Transparency+0.1
  2159. Blasta5.Transparency = Blasta5.Transparency+0.1
  2160. Blasta6.Transparency = Blasta6.Transparency+0.1
  2161. wait()
  2162. end
  2163. Blasta1:Destroy()
  2164. Blasta2:Destroy()
  2165. Blasta3:Destroy()
  2166. Blasta4:Destroy()
  2167. Blasta5:Destroy()
  2168. Blasta6:Destroy()
  2169. wait(0.5)
  2170. AheadShotsdebounce = true
  2171. end
  2172. end
  2173. end
  2174. local BlasterRaindebounce = true
  2175.  
  2176. function BlasterRain()
  2177. if equiped == true then
  2178. if BlasterRaindebounce == true then
  2179. BlasterRaindebounce = false
  2180. local RainTarget1 = new("Part",char)
  2181. RainTarget1.BrickColor = bc("Really red")
  2182. RainTarget1.Shape = "Ball"
  2183. RainTarget1.Material = "Neon"
  2184. RainTarget1.Anchored = true
  2185. RainTarget1.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,0,-20)
  2186. RainTarget1.Transparency = 1
  2187. local RainTarget2 = new("Part",char)
  2188. RainTarget2.BrickColor = bc("Really red")
  2189. RainTarget2.Shape = "Ball"
  2190. RainTarget2.Material = "Neon"
  2191. RainTarget2.Anchored = true
  2192. RainTarget2.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,0,-40)
  2193. RainTarget2.Transparency = 1
  2194. local RainBlaster1 = new("Part",char)
  2195. RainBlaster1.Size = v3(1,1,1)
  2196. RainBlaster1.CanCollide = false
  2197. RainBlaster1.Name = "RainBlaster1"
  2198. RainBlaster1.Material = "Neon"
  2199. RainBlaster1.BrickColor = bc("White")
  2200. RainBlaster1.Shape = "Ball"
  2201. RainBlaster1.CFrame = char.HumanoidRootPart.CFrame*CFrame.Angles(0,rad(180),0)
  2202. RainBlaster1.Anchored = false
  2203.  
  2204.  
  2205.  
  2206. local zxc = Instance.new("SpecialMesh",RainBlaster1)
  2207. zxc.MeshType = "FileMesh"
  2208. zxc.Scale = Vector3.new(2,2,2)
  2209. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  2210.  
  2211. local RainBlaster1bg=Instance.new("BodyGyro",RainBlaster1)
  2212. RainBlaster1bg.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  2213. RainBlaster1bg.D=400
  2214.  
  2215. RainBlaster1bp = Instance.new("BodyPosition", RainBlaster1)
  2216.  
  2217. local RainBlaster2 = new("Part",char)
  2218. RainBlaster2.Size = v3(1,1,1)
  2219. RainBlaster2.CanCollide = false
  2220. RainBlaster2.Name = "RainBlaster1"
  2221. RainBlaster2.Material = "Neon"
  2222. RainBlaster2.BrickColor = bc("White")
  2223. RainBlaster2.Shape = "Ball"
  2224. RainBlaster2.CFrame = char.HumanoidRootPart.CFrame*CFrame.Angles(0,rad(180),0)
  2225. RainBlaster2.Anchored = false
  2226.  
  2227.  
  2228.  
  2229. local zxc = Instance.new("SpecialMesh",RainBlaster2)
  2230. zxc.MeshType = "FileMesh"
  2231. zxc.Scale = Vector3.new(2,2,2)
  2232. zxc.MeshId = "http://www.roblox.com/asset/?id=920580395"
  2233.  
  2234. local RainBlaster2bg=Instance.new("BodyGyro",RainBlaster2)
  2235. RainBlaster2bg.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  2236. RainBlaster2bg.D=400
  2237.  
  2238. RainBlaster2bp = Instance.new("BodyPosition", RainBlaster2)
  2239.  
  2240.  
  2241. for i = 1,50 do
  2242. RainBlaster1bp.Position=(RainTarget1.CFrame*CFrame.new(0,20,0)).p
  2243. RainBlaster1bg.CFrame=CFrame.new(RainBlaster1.Position,RainTarget1.Position)
  2244.  
  2245. RainBlaster2bp.Position=(RainTarget2.CFrame*CFrame.new(0,20,0)).p
  2246. RainBlaster2bg.CFrame=CFrame.new(RainBlaster2.Position,RainTarget2.Position)
  2247. wait()
  2248. end
  2249. shootsnd:Play()
  2250. local RainBlasterShot1 = new("Part",RainBlaster1)
  2251. RainBlasterShot1.Shape = "Cylinder"
  2252. RainBlasterShot1.Size = v3(100,5,5)
  2253. RainBlasterShot1.BrickColor = bc("White")
  2254. RainBlasterShot1.Material = "Neon"
  2255. RainBlasterShot1.CanCollide = false
  2256. RainBlasterShot1.Anchored = true
  2257. RainBlasterShot1.CFrame = RainBlaster1.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  2258.  
  2259. local RainBlasterShot2 = new("Part",RainBlaster2)
  2260. RainBlasterShot2.Shape = "Cylinder"
  2261. RainBlasterShot2.Size = v3(100,5,5)
  2262. RainBlasterShot2.BrickColor = bc("White")
  2263. RainBlasterShot2.Material = "Neon"
  2264. RainBlasterShot2.CanCollide = false
  2265. RainBlasterShot2.Anchored = true
  2266. RainBlasterShot2.CFrame = RainBlaster2.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  2267. RainBlasterShot1.Touched:connect(function(hit)
  2268. if hit.Parent == workspace.Base then return end
  2269.  
  2270. if hit.Parent == char then return end
  2271.  
  2272. for i,v in pairs(hit.Parent:GetChildren()) do
  2273. if v:IsA("Humanoid") then
  2274. if hdebounce == true then
  2275. hdebounce = false
  2276. for i = 1,20 do
  2277. v.Health = v.Health-2
  2278. wait(0.01)
  2279. end
  2280. local hitnumb = math.random(1,2)
  2281.  
  2282. if hitnumb == 1 then
  2283. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -10, 1.5, BrickColor.new("Toothpaste").Color)
  2284. end
  2285. if hitnumb == 2 then
  2286. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -20, 1.5, BrickColor.new("Toothpaste").Color)
  2287. end
  2288. wait(0.9)
  2289. hdebounce = true
  2290. end
  2291.  
  2292.  
  2293. end
  2294. end
  2295.  
  2296. end)
  2297. RainBlasterShot2.Touched:connect(function(hit)
  2298. if hit.Parent == workspace.Base then return end
  2299.  
  2300. if hit.Parent == char then return end
  2301.  
  2302. for i,v in pairs(hit.Parent:GetChildren()) do
  2303. if v:IsA("Humanoid") then
  2304. if hdebounce == true then
  2305. hdebounce = false
  2306. for i = 1,20 do
  2307. v.Health = v.Health-2
  2308. wait(0.01)
  2309. end
  2310. local hitnumb = math.random(1,2)
  2311.  
  2312. if hitnumb == 1 then
  2313. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -10, 1.5, BrickColor.new("Toothpaste").Color)
  2314. end
  2315. if hitnumb == 2 then
  2316. ShowDamage((hit.CFrame * CFrame.new(0, 0, (hit.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -20, 1.5, BrickColor.new("Toothpaste").Color)
  2317. end
  2318. wait(0.9)
  2319. hdebounce = true
  2320. end
  2321.  
  2322.  
  2323. end
  2324. end
  2325.  
  2326. end)
  2327.  
  2328. wait(0.5)
  2329. for i = 1,20 do
  2330. wait()
  2331. RainBlasterShot1.Size = RainBlasterShot1.Size+v3(0,-1,-1)
  2332. RainBlasterShot1.CFrame = RainBlaster1.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  2333. RainBlasterShot1.Transparency = RainBlasterShot1.Transparency+0.1
  2334.  
  2335. RainBlasterShot2.Size = RainBlasterShot2.Size+v3(0,-1,-1)
  2336. RainBlasterShot2.CFrame = RainBlaster2.CFrame*CFrame.new(0,0,15)*CFrame.Angles(0,rad(90),0)
  2337. RainBlasterShot2.Transparency = RainBlasterShot2.Transparency+0.1
  2338.  
  2339. end
  2340. for i = 1,20 do
  2341. RainBlaster1.Transparency = RainBlaster1.Transparency+0.1
  2342. RainBlaster2.Transparency = RainBlaster2.Transparency+0.1
  2343. wait()
  2344. end
  2345. RainBlaster1:Destroy()
  2346. RainBlaster2:Destroy()
  2347. RainBlasterShot1:Destroy()
  2348. RainBlasterShot2:Destroy()
  2349. wait(0.5)
  2350. BlasterRaindebounce = true
  2351. end
  2352. end
  2353. end
  2354. local grabing = false
  2355.  
  2356. function grab()
  2357.  
  2358.  
  2359. local hit = mouse.Target
  2360. if hit.Parent == char then return end
  2361. for i,v in pairs(hit.Parent:GetChildren()) do
  2362. if v:IsA("Humanoid") then
  2363. v.Health = v.Health-50
  2364. local bodyp=Instance.new("BodyPosition",hit.Parent.HumanoidRootPart)
  2365. bodyp.MaxForce=Vector3.new(math.huge,math.huge,math.huge)
  2366. bodyp.Position=(hit.Parent.HumanoidRootPart.CFrame*CFrame.new(-15,0,0)).p
  2367. wait(0.6)
  2368. bodyp:destroy()
  2369. end
  2370. end
  2371.  
  2372.  
  2373.  
  2374.  
  2375. end
  2376. mouse.KeyDown:connect(function(k)
  2377. if k == "e" then
  2378. AheadShots()
  2379. end
  2380. end)
  2381. mouse.KeyDown:connect(function(k)
  2382. if k == "y" then
  2383. grab()
  2384. end
  2385. end)
  2386. mouse.KeyDown:connect(function(k)
  2387. if k == "g" then
  2388. BlasterRain()
  2389. end
  2390. end)
  2391. mouse.KeyDown:connect(function(k)
  2392. if k == "t" then
  2393. Bones()
  2394. end
  2395. end)
  2396. mouse.KeyDown:connect(function(k)
  2397. if k == "z" then
  2398. DodgeLeft()
  2399. end
  2400. end)
  2401. mouse.KeyDown:connect(function(k)
  2402. if k == "q" then
  2403. octo()
  2404. end
  2405. end)
  2406. mouse.KeyDown:connect(function(k)
  2407. if k == "x" then
  2408. RightDodge()
  2409. end
  2410. end)
  2411. mouse.KeyDown:connect(function(k)
  2412. if k == "1" then
  2413. hum.Health = 100
  2414. end
  2415. end)
  2416. mouse.KeyDown:connect(function(k)
  2417. if k == "c" then
  2418. equip()
  2419. end
  2420. end)
  2421. mouse.KeyDown:connect(function(k)
  2422. if k == "f" then
  2423. mount()
  2424. end
  2425. end)
  2426. mouse.KeyDown:connect(function(k)
  2427. if k == "r" then
  2428. cross()
  2429. end
  2430. end)
  2431. p.Character.Humanoid.Died:connect(function()
  2432. local jkl = Instance.new("Sound",Workspace)
  2433. jkl.SoundId = "rbxassetid://427025525"
  2434. jkl.Volume = 10
  2435. jkl:Play()
  2436.  
  2437. for _, V in pairs(char:getChildren()) do
  2438. if V:isA("BasePart") then
  2439. V.Transparency = 1
  2440. elseif V:IsA("Accessory") and V:FindFirstChild("Handle") then
  2441. V.Handle.Transparency = 1
  2442. end
  2443. end
  2444. char.Head.face:destroy()
  2445. for i = 1,50 do
  2446. RGhasterBlaster.Transparency = RGhasterBlaster.Transparency+0.1
  2447. LGhasterBlaster.Transparency = LGhasterBlaster.Transparency+0.1
  2448.  
  2449. dust = Instance.new("Part")
  2450. dust.Locked = true
  2451. dust.Size = Vector3.new(0.1,0.1,0.1)
  2452. dust.BrickColor = BrickColor.new("White")
  2453. dust.Transparency = 0
  2454. dust.TopSurface = "Smooth"
  2455. dust.BottomSurface = "Smooth"
  2456. dust.CFrame = char.HumanoidRootPart.CFrame
  2457. dust.CanCollide = true
  2458. dust.Reflectance = 0.1
  2459. dust.Material = "Neon"
  2460. dust.Parent = char
  2461. dust.Anchored = false
  2462. end
  2463. end)
  2464.  
  2465.  
  2466.  
  2467.  
  2468. DayNightCycle = true --[1] Cycles through day and night.
  2469.  
  2470. DynamicLighting = true --[2] Give your game a dynamic look?
  2471. SimulatedShadows = true --[3] Make the shadows stand out. (Enable [2] for this to work)
  2472.  
  2473. DarkAmbient = true --[4] Gives your game darkness, great for zombie games.
  2474. AmbientBrightness = 55 --[5] Number Must between 0 to 255. (Enable [2] and [4] for this to work)
  2475.  
  2476. Fog = true --[6] Give your game foggy look.
  2477. FogDistance = 1500 --[7] How far will the fog be away from you. (Enable [6] for this to work)
  2478. ---------------------------------------------------------------------------------------------------------------
  2479.  
  2480. if Fog then
  2481. game:GetService("Lighting").FogEnd = FogDistance
  2482. end
  2483.  
  2484. if DarkAmbient and DynamicLighting then
  2485. game:GetService("Lighting").OutdoorAmbient = Color3.new(AmbientBrightness/255, AmbientBrightness/255, AmbientBrightness/255)
  2486. end
  2487.  
  2488. if DynamicLighting then
  2489. game:GetService("Lighting").GlobalShadows = true
  2490. if SimulatedShadows then
  2491. game:GetService("Lighting").Brightness = 1.5
  2492. game:GetService("Lighting").Ambient = Color3.new(0/255, 0/255, 0/255)
  2493. game:GetService("Lighting").ShadowColor = Color3.new(61/255, 61/255, 61/255)
  2494. end
  2495. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement