Advertisement
5sdfsadgaq5465

gaster blasters fe

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