Advertisement
SCR1PT_ED1T0R

(NEW FE CONVERTER) FE R15 Sans

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