Advertisement
EpicZombie226_YT

UF Sans

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