Advertisement
RblxVoidScriptBuild

OOF

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