Advertisement
copra50

...

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