Advertisement
shgsiughiiruhdu12354

Fe Sans

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