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