Advertisement
WagnerJunio07

R15 Sans

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