View difference between Paste ID: ZV5z5AFn and WzughnPK
SHOW: | | - or go back to the newest paste.
1
-------------------------
2
--The Purest Feluxinian--
3
-------------------------
4
--Yet another script by--
5
--      CKbackup       --
6
-------------------------
7
8
player = game.Players.LocalPlayer
9
chara = player.Character
10
debby = game:GetService("Debris")
11
chara.Humanoid.MaxHealth = math.huge
12
chara.Humanoid.Health = math.huge
13
chara.Humanoid.WalkSpeed = 50
14
chara.Humanoid.JumpPower = 100
15
16
--Za Sounds--
17-
local sholpad = Instance.new("Part",chara)
17+
18-
sholpad.Name = "SholPads"
18+
19-
sholpad.Size = Vector3.new(1,.4,1)
19+
20-
sholpad.Reflectance = 0.3
20+
21-
sholpad.BottomSurface = 0
21+
22-
sholpad.TopSurface = 0
22+
23-
sholpad.BrickColor = BrickColor.new("Really red")
23+
24-
sholpad.Position = chara.Torso.Position
24+
25-
local padweld = Instance.new("Weld",sholpad)
25+
26-
padweld.Part0 = chara.Torso
26+
27-
padweld.Part1 = sholpad
27+
28-
padweld.C0 = CFrame.new(0,0.9,0)
28+
29-
local padmesh = Instance.new("SpecialMesh",sholpad)
29+
30-
padmesh.MeshType = "FileMesh"
30+
31-
padmesh.MeshId = "http://www.roblox.com/asset/?id=574448286"
31+
32-
padmesh.Scale = Vector3.new(1,.4,1)
32+
33-
local cape = Instance.new("Part",chara)
33+
34-
cape.Name = "Cape"
34+
35-
cape.CanCollide = false
35+
36-
cape.Size = Vector3.new(2,4,.2)
36+
37-
cape.Position = chara.Torso.Position
37+
38-
cape.BrickColor = BrickColor.new("Institutional white")
38+
39-
local capeweld = Instance.new("Weld",cape)
39+
40-
capeweld.Part0 = chara.Torso
40+
41-
capeweld.Part1 = cape
41+
42-
capeweld.C0 = CFrame.new(0,-1.1,0.8)
42+
43-
capeweld.C0 = capeweld.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-10),0,0)
43+
44-
local hand1 = Instance.new("Part",chara)
44+
45-
hand1.Name = "Hand1"
45+
46-
hand1.Size = Vector3.new(.8,.8,.8)
46+
47-
hand1.Transparency = 1
47+
48-
hand1.Position = chara["Left Arm"].Position
48+
49-
local hand1weld = Instance.new("Weld",hand1)
49+
50-
hand1weld.Part0 = chara["Left Arm"]
50+
51-
hand1weld.Part1 = hand1
51+
52-
hand1weld.C0 = CFrame.new(0,-1,0)
52+
53-
local hand2 = hand1:Clone()
53+
54-
hand2.Name = "Hand2"
54+
55-
hand2.Parent = chara
55+
56-
hand2.Position = chara["Right Arm"].Position
56+
57-
local hand2weld = Instance.new("Weld",hand2)
57+
58-
hand2weld.Part0 = chara["Right Arm"]
58+
59-
hand2weld.Part1 = hand2
59+
60-
hand2weld.C0 = CFrame.new(0,-1,0)
60+
61-
local orbuu = Instance.new("Part", chara)
61+
62-
orbuu.Size = Vector3.new(0,0,0)
62+
63-
orbuu.Name = "DiamondPoint"
63+
64-
orbuu.Anchored = true
64+
65-
orbuu.CanCollide = false
65+
66-
orbuu.Transparency = 1
66+
67-
local orbuur = Instance.new("Part", chara)
67+
68-
orbuur.Size = Vector3.new(1,1,1)
68+
69-
orbuur.Name = "Diamond"
69+
70-
orbuur.Position = chara.Head.Position
70+
71-
orbuur.CanCollide = false
71+
72-
orbuur.BrickColor = BrickColor.new("Institutional white")
72+
73-
orbuur.Reflectance = 1
73+
74-
local orbforce = Instance.new("BodyPosition",orbuur)
74+
75-
orbforce.D = 1000
75+
76-
local meshooo = Instance.new("SpecialMesh", orbuur)
76+
77-
meshooo.MeshType = "FileMesh"
77+
78-
meshooo.MeshId = "http://www.roblox.com/asset/?id=9756362"
78+
79-
local RotationSpeed = 5
79+
80-
local BobSpeed = 2
80+
81-
local RotationDist = Vector3.new(10, 0, 0)
81+
82-
local dt = 0
82+
83-
local currentTime = 0
83+
84-
local laserpoint = orbuu:Clone()
84+
85-
laserpoint.Parent = chara
85+
86-
laserpoint.Position = chara.Torso.Position
86+
87-
laserpoint.Name = "LaserPoint"
87+
88-
laserpoint.Anchored = false
88+
89-
local lsptweld = Instance.new("Weld",laserpoint)
89+
90-
lsptweld.Part0 = chara.Torso
90+
91-
lsptweld.Part1 = laserpoint
91+
92-
lsptweld.C0 = CFrame.new(0,6,0)
92+
93
local tecks = Instance.new("TextLabel",naeeym)
94
tecks.BackgroundTransparency = 1
95
tecks.BorderSizePixel = 0
96
tecks.Text = "Purification."
97
tecks.Font = "Fantasy"
98
tecks.FontSize = "Size24"
99
tecks.TextStrokeTransparency = 0
100
tecks.TextColor3 = Color3.new(1,1,1)
101
tecks.TextStrokeColor3 = BrickColor.new("Really red").Color
102
tecks.Size = UDim2.new(1,0,0.5,0)
103
104
--Za Magic "Circle"--
105
Void = nil
106
VoidParts = {}
107
Equipped = false
108
Counter = 1
109
110
function RayCast(Position, Direction, MaxDistance, IgnoreList)
111
	return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList) 
112
end
113
114
	Player = player
115
	Character = chara
116
117
	Humanoid = Character:FindFirstChild("Humanoid")
118
	Torso = Character:FindFirstChild("Torso")
119
	if not Player or not Humanoid or Humanoid.Health == 0 or not chara.Torso then
120
		return
121
	end
122
	Equipped = true
123
	Void = Instance.new("Model")
124
	Void.Name = "Void"
125
	Angle = 0
126
	for i = 1, 1 do
127
		local VoidPart = Instance.new("Part")
128
		VoidPart.Name = "VoidPart"
129
		VoidPart.Transparency = 1
130
		VoidPart.BrickColor = BrickColor.new("Really black")
131
		VoidPart.Material = Enum.Material.Plastic
132
		VoidPart.Shape = Enum.PartType.Block
133
		VoidPart.FormFactor = Enum.FormFactor.Custom
134
		VoidPart.TopSurface = Enum.SurfaceType.Smooth
135
		VoidPart.BottomSurface = Enum.SurfaceType.Smooth
136
		VoidPart.Anchored = true
137
		VoidPart.CanCollide = false
138
		VoidPart.Locked = true
139
		VoidPart.Size = Vector3.new(10, 0.2, 10)
140
		fiyer = createrainbow(firecolour,VoidPart,"http://www.roblox.com/asset/?id=224413104",NumberSequence.new({NumberSequenceKeypoint.new(0,.4),NumberSequenceKeypoint.new(1,0)}),NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(0.99,0),NumberSequenceKeypoint.new(1,1)}),NumberRange.new(10),"Top",NumberRange.new(2),Vector3.new(0,2,0),0,false,"FireEffect")
141
		VoidPart.FireEffect.Rate = 10
142
		local BlockMesh = Instance.new("BlockMesh")
143
		BlockMesh.Scale = Vector3.new(1.5,1,1.5)
144
		BlockMesh.Parent = VoidPart
145
		VoidPart.Parent = Void
146
		local Star = Instance.new("Decal", VoidPart)
147
		Star.Texture = "http://www.roblox.com/asset/?id=685910499"
148
		Star.Face = "Top"
149
		local Light = Instance.new("PointLight", VoidPart)
150
		Light.Color = Color3.new(1,1,1)
151
		Light.Brightness = 100
152
		Light.Range = 10
153
		table.insert(VoidParts, VoidPart)
154
	end
155
	Spawn(function()
156
		while Equipped and Humanoid.Parent and Humanoid.Health > 0 and chara do
157
			if Angle == 360 then
158
				Angle = 0
159
			end
160
			Angle = Angle + .05
161
			chara.Humanoid.MaxHealth = math.huge
162
			chara.Humanoid.Health = math.huge
163
			Counter = Counter + 1
164
			if Counter == 7 then
165
			Counter = 1
166
			end
167
			tecks.TextStrokeColor3 = color3colour[Counter]
168
			fakehead.face.Color3 = color3colour[Counter]
169
			Void.VoidPart.Decal.Color3 = color3colour[Counter]
170
			Void.VoidPart.PointLight.Color = color3colour[Counter]
171
			sholpad.BrickColor = breekcolour[Counter]
172
			local parentPos = chara.Torso.CFrame
173
			--Rotate Fluffy around the player's head
174
			local rotation = CFrame.Angles(0 , RotationSpeed * currentTime, 0)
175
			local bob = Vector3.new(0, BobSpeed * math.sin(currentTime), 0)
176
			orbuu.CFrame =  ((parentPos + bob)  + (rotation * RotationDist))
177
			--Wait some time so we aren't going plaid
178
			dt, currentTime = wait(1/40)
179
			if activebeam == true then
180
			orbforce.Position = laserpoint.Position
181
			else
182
			orbforce.Position = orbuu.Position
183
			end	
184
			local Hit, EndPosition = RayCast(chara.Torso.Position, Vector3.new(0, -1, 0), (chara.Torso.Size.Y * 6.5), {Character})
185
			if Hit then
186
				if not Void.Parent then
187
					Void.Parent = Character
188
				end
189
				for i, v in pairs(VoidParts) do
190
					v.CFrame = CFrame.new(chara.Torso.Position.X, EndPosition.Y, chara.Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0)
191
				end
192
			else
193
				Void.Parent = nil
194
			end
195
			wait()
196
		end
197
	end)
198
	
199
--Za Chatting Function--
200
function chat(string)
201
--ch = game:GetService("Chat"):Chat(chara.Head, string, "Red")
202
if chara:FindFirstChild("TalkingBillBoard") ~= nil then
203
chara:FindFirstChild("TalkingBillBoard"):destroy()
204
end
205
local naeeym2 = Instance.new("BillboardGui",chara)
206
naeeym2.Size = UDim2.new(0,100,0,40)
207
naeeym2.StudsOffset = Vector3.new(0,4,0)
208
naeeym2.Adornee = chara.Head
209
naeeym2.Name = "TalkingBillBoard"
210
local tecks2 = Instance.new("TextLabel",naeeym2)
211
tecks2.BackgroundTransparency = 1
212
tecks2.BorderSizePixel = 0
213
tecks2.Text = string
214
tecks2.Font = "Fantasy"
215
tecks2.FontSize = "Size24"
216
tecks2.TextStrokeTransparency = 0
217
tecks2.TextColor3 = Color3.new(1,1,1)
218
tecks2.TextStrokeColor3 = Color3.new(0,0,0)
219
tecks2.Size = UDim2.new(1,0,0.5,0)
220
debby:AddItem(naeeym2,1)
221
end
222
223
--Za Tool and Values--
224
local tool = Instance.new("Tool",player.Backpack)
225
tool.Name = "Holy Energy"
226
tool.RequiresHandle = false
227
tool.CanBeDropped = false
228
music = true
229
activebeam = false
230
activegrab = false
231
didgrab = false
232
233
--Za Animations--
234
local blasta = Instance.new("Animation", tool)
235
blasta.AnimationId = "http://www.roblox.com/asset/?id=86504773"
236
local blastanim = chara.Humanoid:LoadAnimation(blasta)
237
local summona = Instance.new("Animation", tool)
238
summona.AnimationId = "http://www.roblox.com/asset/?id=83994319"
239
local summonanim = chara.Humanoid:LoadAnimation(summona)
240
local spina = Instance.new("Animation", tool)
241
spina.AnimationId = "http://www.roblox.com/asset/?id=235542946"
242
local spinanim = chara.Humanoid:LoadAnimation(spina)
243
244
--Hurt Function--
245
function dealdmg(dude,dmg,spread)
246
local finaldmg = dmg + math.random(-spread,spread)
247
dude.Humanoid.Health = dude.Humanoid.Health - finaldmg
248
if chara:FindFirstChild("TalkingBillBoard") ~= nil then
249
chara:FindFirstChild("TalkingBillBoard"):destroy()
250
end
251
local naeeym2 = Instance.new("BillboardGui",dude)
252
naeeym2.Size = UDim2.new(0,100,0,40)
253
naeeym2.StudsOffset = Vector3.new(0,math.random(1,5),0)
254
naeeym2.Adornee = dude.Head
255
naeeym2.Name = "TalkingBillBoard"
256
local tecks2 = Instance.new("TextLabel",naeeym2)
257
tecks2.Position = UDim2.new(0,math.random(-50,50),0,math.random(-50,50))
258
tecks2.BackgroundTransparency = 1
259
tecks2.BorderSizePixel = 0
260
tecks2.Text = "-"..finaldmg
261
tecks2.Font = "Fantasy"
262
tecks2.FontSize = "Size12"
263
tecks2.TextStrokeTransparency = 0
264
tecks2.TextColor3 = Color3.new(1,1,1)
265
tecks2.TextStrokeColor3 = Color3.new(0,0,0)
266
tecks2.Size = UDim2.new(1,0,0.5,0)
267
debby:AddItem(naeeym2,1)
268
end
269
270
--Heaven's Bolts--
271
local LIGHTNING_STRIKE_DURATION = 3
272
local LIGHTNING_STRIKE_COOLDOWN = 0
273
local LIGHTNING_STRIKE_HEIGHT = 500
274
local LIGHTNING_STRIKE_LAST_TIME = 0.2
275
local LIGHTNING_TICK_DAMAGE = 30
276
277
function WaitForChild(parent, child)
278
	while not parent:FindFirstChild(child) do parent.ChildAdded:wait() end
279
	return parent[child]
280
end
281
282
local Tool2 = tool
283
local Character2 = nil
284
local Humanoid2 = nil
285
local Mouse = nil
286
287
local KeyDownConn = nil
288
local KeyUpConn = nil
289
290
291
local enabled = false
292
Tool2.Enabled = true
293
294
function checkLightningHit(newLightning, lightningStart, lightningEnd, EffectPart)
295
	newLightning.Transparency = 0
296
	newLightning.BrickColor = breekcolour[math.random(1,#breekcolour)]
297
	newLightning.Material = Enum.Material.Neon
298
	local newLightningSound = Instance.new("Sound", game.Workspace)
299
						newLightningSound.SoundId = "http://www.roblox.com/asset/?id=224339201"
300
						newLightningSound.Pitch = 1 + math.rad(-.1,.1)
301
						newLightningSound.Volume = 1
302
						newLightningSound.PlayOnRemove = true
303
						newLightningSound:Destroy()
304
305
	local hitParts = workspace:FindPartsInRegion3(Region3.new(lightningEnd - Vector3.new(2, 0, 2), lightningStart + Vector3.new(2, 0, 2)))
306
307
	--local hitPart = workspace:FindPartOnRay(lightningRay, newLightning)
308
	local hitHums = {}
309
	for _, hitPart in pairs(hitParts) do
310
		if hitPart then
311
			local char = hitPart.Parent
312
			if char and char.Parent then
313
				if not char:FindFirstChild("Humanoid") then char = char.Parent end
314
				local hum = char:FindFirstChild("Humanoid")
315
				if hum and not hitHums[hum] then
316
					if hum.Health > 0 then 
317
					end
318
					hitHums[hum] = true
319
					dealdmg(char,30,5)
320
				end
321
			end
322
		end
323
	end
324
325
	wait(.1)	
326
	EffectPart.PowerEffect.Enabled = false
327
	newLightning.Transparency = .25
328
	newLightning.BrickColor = breekcolour[math.random(1,#breekcolour)]
329
	wait(.1)
330
	newLightning.Transparency = .5
331
	newLightning.BrickColor = breekcolour[math.random(1,#breekcolour)]
332
	newLightning.Mesh.Scale = newLightning.Mesh.Scale - Vector3.new(1,0,1)	
333
	wait(.1)
334
	newLightning.Transparency = .75
335
	newLightning.BrickColor = breekcolour[math.random(1,#breekcolour)]
336
	newLightning.Mesh.Scale = newLightning.Mesh.Scale - Vector3.new(1,0,1)	
337
	wait(.1)
338
	newLightning:Remove()
339
	newLightningSound:destroy()
340
end
341
342
function MakeLightningAt(targetPoint)
343
	print("make lightning at")
344
	local lightningStart = targetPoint + Vector3.new(0, LIGHTNING_STRIKE_HEIGHT, 0)
345
	local lightningRay = Ray.new(lightningStart, Vector3.new(0, -LIGHTNING_STRIKE_HEIGHT - 50, 0))
346
	local lightningHitPart, lightningEnd = workspace:FindPartOnRay(lightningRay)
347
348
	local ignoreTable = {}
349
	while (lightningHitPart and lightningHitPart.Parent and lightningHitPart.Parent:FindFirstChild("Humanoid")) or (lightningHitPart and lightningHitPart.Parent and lightningHitPart.Parent.Parent and lightningHitPart.Parent.Parent:FindFirstChild("Humanoid")) do
350
		table.insert(ignoreTable, lightningHitPart)
351
		lightningHitPart, lightningEnd = workspace:FindPartOnRayWithIgnoreList(lightningRay, ignoreTable)
352
	end
353
354
	if lightningHitPart then
355
		print("actually making some lightning")
356
		local EffectPart = Instance.new("Part",game.Workspace)
357
		EffectPart.Size = Vector3.new(1,1,1)
358
		EffectPart.Anchored = true
359
		EffectPart.Transparency = 1
360
		EffectPart.Position =  targetPoint
361
		debby:AddItem(EffectPart,3)		
362
		createrainbow(barcolour,EffectPart,"rbxasset://textures/particles/smoke_main.dds",NumberSequence.new(5),NumberSequence.new(normallife),NumberRange.new(1),"Front",NumberRange.new(50),Vector3.new(0,0,0),1000,false,"PowerEffect")
363
		-- make the lightning from lightningStart to lightningEnd, electrocutin' lightningHitPart
364
		local newLightning = Instance.new("Part")
365
		newLightning.Size = Vector3.new(1, 1, 1)
366
		--newLightning.Size = Vector3.new(2, lightningStart.Y - lightningEnd.Y, 2)
367
		newLightning.Transparency = .8
368
		newLightning.Anchored = false
369
		newLightning.BrickColor = BrickColor.new("Really red")  -- Toothpaste
370
371
		local newCylinderMesh = Instance.new("BlockMesh")
372
		newCylinderMesh.Scale = Vector3.new(3, lightningStart.Y - lightningEnd.Y, 3)
373
		newCylinderMesh.Parent = newLightning
374
375
		local newLightningFloatForce = Instance.new("BodyForce")
376
		newLightningFloatForce.force = Vector3.new(0, newLightning:GetMass()*196.2, 0)
377
		newLightningFloatForce.Parent = newLightning		
378
379
		local newBAV = Instance.new("BodyAngularVelocity")
380
		newBAV.angularvelocity = Vector3.new(0, 10, 0)
381
		newBAV.P = 1000
382
		newBAV.maxTorque = Vector3.new(0, newBAV.P, 0)
383
		newBAV.Parent = newLightning
384
385
		newLightning.CanCollide = false
386
		newLightning.CFrame = CFrame.new((lightningStart + lightningEnd) / 2)
387
388
--		for _, blockFace in pairs(BLOCK_FACES) do
389
--			local newLightningDecal = LightningDecal:Clone()
390
--			newLightningDecal.Face = blockFace
391
--			newLightningDecal.Parent = newLightning
392
--		end
393
		
394
		newLightning.Parent = workspace
395
--		game:GetService("Debris"):AddItem(newLightning, LIGHTNING_STRIKE_LAST_TIME+.2)
396
--		delay(LIGHTNING_STRIKE_LAST_TIME, function() checkLightningHit(newLightning, lightningRay) end)		
397
		delay(LIGHTNING_STRIKE_LAST_TIME, function() checkLightningHit(newLightning, lightningStart, lightningEnd, EffectPart) end)
398
--		for i = 0, 4 do
399
--			delay(i*LIGHTNING_STRIKE_LAST_TIME/4, function() checkLightningHit(newLightning, lightningRay) end)
400
--		end
401
		return true
402
	else
403
		return false
404
	end
405
end
406
407
local lightningStrikeCoroutine = nil
408
local lightningButtonDown = false
409
function LightningStrike()
410
	print("lightningStrike")
411
	local startTime = tick()
412
	while tick() - startTime < LIGHTNING_STRIKE_DURATION do
413
		if Mouse and lightningButtonDown then
414
			local mouseHit = Mouse.Hit
415
			if mouseHit and MakeLightningAt(mouseHit.p) then wait(.05) end
416
		end
417
		wait()
418
	end
419
	wait(LIGHTNING_STRIKE_COOLDOWN)
420
	Tool2.Enabled = true
421
	powereffect.Enabled = false
422
	summonanim:Stop()
423
	lightningStrikeCoroutine = nil
424
end
425
426
--Beam of Purity--
427
Tool3 = tool
428
Me = chara  
429
SHOOTOH = true
430
on = true 
431
mode = true 
432
local force = Instance.new("BodyPosition") 
433
force.Parent = nil 
434
local P2 = Instance.new("Part") 
435
P2.formFactor = 0 
436
P2.Parent = nil 
437
P2.BrickColor = BrickColor.new("White") 
438
P2.Anchored = true 
439
P2.CanCollide = false 
440
P2.TopSurface = "Smooth" 
441
P2.BottomSurface = "Smooth" 
442
P2.Name = "Laser"
443
function explodtouch(hit)
444
if hit.Parent:FindFirstChild("Humanoid")~=nil then
445
dealdmg(hit.Parent,5,3)
446
end
447
end
448
function Click(mouse)
449
if (SHOOTOH == true) then 
450
SHOOTOH = false
451
local EffectPart = Instance.new("Part",game.Workspace)
452
EffectPart.Size = Vector3.new(1,1,1)
453
EffectPart.Anchored = true
454
EffectPart.Transparency = 1
455
createrainbow(barcolour,EffectPart,"rbxasset://textures/particles/smoke_main.dds",NumberSequence.new(5),NumberSequence.new(normallife),NumberRange.new(.5),"Front",NumberRange.new(50),Vector3.new(0,0,0),1000,false,"PowerEffect")
456
lassnd:Play()
457
for i = 1,30 do
458
local P = Instance.new("Part") 
459
local Place0 = CFrame.new(orbuur.CFrame.x,orbuur.CFrame.y,orbuur.CFrame.z) 
460
local Place1 = Mouse.Hit.p 
461
EffectPart.Position = Place1
462
local meshla = Instance.new("BlockMesh", P)
463
meshla.Scale = Vector3.new(1,1,1)
464
P.formFactor = 0 
465
P.Size = Vector3.new(1,1,(Place0.p - Place1).magnitude) 
466
P.Name = "Laser" 
467
P.CFrame = CFrame.new((Place0.p + Place1)/2,Place0.p) 
468
P.Parent = game.Workspace 
469
P.BrickColor = BrickColor.new("Institutional white")
470
P.Material = "Neon"
471
P.Anchored = true 
472
P.CanCollide = false 
473
P.Locked = true 
474
P.BottomSurface = "Smooth" 
475
P.TopSurface = "Smooth" 
476
local E = Instance.new("Explosion") 
477
E.Position = Place1 
478
E.Parent = game.Workspace 
479
E.BlastPressure = 0
480
E.Visible = false
481
E.Hit:connect(explodtouch)
482
wait(0.01)
483
P:remove()
484
end
485
----
486
EffectPart.PowerEffect.Enabled = false
487
wait(1)
488
SHOOTOH = true 
489
EffectPart:Destroy()
490
local cheeld = script:GetChildren()
491
tool.Enabled = true
492
summonanim:Stop()
493
powereffect.Enabled = false
494
activebeam = false
495
end
496
end 
497
498
--Holy Blast--
499
function fire(v)
500
	local vCharacter = chara
501
	local vPlayer = game.Players:playerFromCharacter(vCharacter)
502
	local missile = Instance.new("Part",game.Workspace)
503
	local spawnPos = orbuur.Position
504
	missile.Position = spawnPos
505
	missile.Material = "Neon"
506
	missile.Size = Vector3.new(1,1,1)
507
	missile.Velocity = v * 100
508
	missile.BrickColor = BrickColor.new("Institutional white")
509
	missile.Shape = 1
510
	missile.Name = "Blast"
511
	createrainbow(firecolour,missile,"rbxasset://textures/particles/smoke_main.dds",NumberSequence.new({NumberSequenceKeypoint.new(0,.4),NumberSequenceKeypoint.new(1,0)}),NumberSequence.new(extendlife),NumberRange.new(1),"Left",NumberRange.new(0),Vector3.new(0,0,0),0,false,"FireEffect")
512
	--createrainbow(barcolour,missile,"rbxasset://textures/particles/smoke_main.dds",NumberSequence.new(1),NumberSequence.new(normallife),NumberRange.new(.5),"Front",NumberRange.new(10),Vector3.new(0,0,0),1000,false,"PowerEffect")
513
	--missile.PowerEffect.Enabled = false	
514
	local mesh1 = Instance.new("SpecialMesh",missile)
515
	mesh1.MeshType = "Sphere"
516
	local force = Instance.new("BodyForce")
517
	force.force = Vector3.new(0,missile:GetMass()*196.2,0)
518
	force.Parent = missile
519
	missile.Touched:connect(function (hit)
520
	if (hit ~= orbuur and hit ~= orbuu and hit ~= laserpoint and hit.Name ~= "Blast" and missile.Anchored == false) then
521
	missile.Anchored = true
522
	missile.CanCollide = false
523
	missile.FireEffect:Destroy()
524
	--missile.PowerEffect.Enabled = true
525
	local E = Instance.new("Explosion") 
526
	E.Position = missile.Position
527
	E.Parent = game.Workspace 
528
	E.BlastPressure = 0
529
	E.Visible = false
530
	E.Hit:connect(explodtouch)
531
	wait(0.1)
532
	--missile.PowerEffect.Enabled = false
533
	missile.Transparency = .25
534
	missile.Mesh.Scale = Vector3.new(1.5,1.5,1.5)
535
	wait(0.1)
536
	missile.Transparency = .5
537
	missile.Mesh.Scale = Vector3.new(2,2,2)
538
	wait(0.1)
539
	missile.Transparency = .75
540
	missile.Mesh.Scale = Vector3.new(2.5,2.5,2.5)
541
	wait(0.1)
542
	missile:Destroy()
543
	end
544
	end)
545
	debby:AddItem(missile,10)
546
end
547
548
--Gaia Shatterer--
549
function meteorfire(v)
550
	local vCharacter = chara
551
	local vPlayer = game.Players:playerFromCharacter(vCharacter)
552
	local missile = Instance.new("Part",game.Workspace)
553
	local spawnPos = chara.Head.Position + Vector3.new(0,100,0)
554
	missile.Position = spawnPos
555
	missile.Material = "Neon"
556
	missile.Size = Vector3.new(5,5,5)
557
	missile.Velocity = v * 100
558
	missile.BrickColor = BrickColor.new("Institutional white")
559
	missile.Shape = 1
560
	missile.Name = "Blast"
561
	createrainbow(firecolour,missile,"rbxasset://textures/particles/smoke_main.dds",NumberSequence.new({NumberSequenceKeypoint.new(0,10),NumberSequenceKeypoint.new(1,0)}),NumberSequence.new(extendlife),NumberRange.new(5),"Left",NumberRange.new(0),Vector3.new(0,0,0),0,false,"FireEffect")
562
	createrainbow(firecolour,missile,"rbxasset://textures/particles/smoke_main.dds",NumberSequence.new(10),NumberSequence.new(normallife),NumberRange.new(5),"Front",NumberRange.new(30),Vector3.new(0,0,0),1000,false,"PowerEffect")
563
	missile.PowerEffect.Enabled = false	
564
	local mesh1 = Instance.new("SpecialMesh",missile)
565
	mesh1.MeshType = "Sphere"
566
	mesh1.Scale = Vector3.new(2,2,2)
567
	local force = Instance.new("BodyForce")
568
	force.force = Vector3.new(0,missile:GetMass()*196.2,0)
569
	force.Parent = missile
570
	missile.Touched:connect(function (hit)
571
	if (hit ~= orbuur and hit ~= orbuu and hit ~= laserpoint and hit.Name ~= "Blast" and missile.Anchored == false) then
572
	missile.Anchored = true
573
	missile.CanCollide = false
574
	missile.FireEffect:Destroy()
575
	missile.PowerEffect.Enabled = true
576
	local exsnd = Instance.new("Sound",missile)
577
	exsnd.SoundId = "http://www.roblox.com/asset/?id=142070127"
578
	exsnd.Volume = 1
579
	exsnd.PlayOnRemove = true
580
	exsnd:Destroy()
581
	local E = Instance.new("Explosion") 
582
	E.Position = missile.Position
583
	E.Parent = game.Workspace 
584
	E.BlastPressure = 0
585
	E.BlastRadius = 15
586
	E.Visible = false
587
	E.Hit:connect(explodtouch2)
588
	wait(0.1)
589
	missile.Transparency = .25
590
	missile.Mesh.Scale = Vector3.new(2.5,2.5,2.5)
591
	wait(0.1)
592
	missile.Transparency = .5
593
	missile.Mesh.Scale = Vector3.new(3,3,3)
594
	wait(0.1)
595
	missile.Transparency = .75
596
	missile.Mesh.Scale = Vector3.new(3.5,3.5,3.5)
597
	wait(0.1)
598
	missile.PowerEffect.Enabled = false
599
	missile.Transparency = 1
600
	wait(6)
601
	missile:Destroy()
602
	end
603
	end)
604
	debby:AddItem(missile,10)
605
end
606
function meteor2fire(v)
607
	local vCharacter = chara
608
	local vPlayer = game.Players:playerFromCharacter(vCharacter)
609
	local missile = Instance.new("Part",game.Workspace)
610
	local spawnPos = chara.Head.Position + Vector3.new(0,100,0)
611
	missile.Position = spawnPos
612
	missile.Material = "Neon"
613
	missile.Size = Vector3.new(10,10,10)
614
	missile.Velocity = v * 50
615
	missile.BrickColor = BrickColor.new("Institutional white")
616
	missile.Shape = 1
617
	missile.Name = "Blast"
618
	createrainbow(firecolour,missile,"rbxasset://textures/particles/smoke_main.dds",NumberSequence.new({NumberSequenceKeypoint.new(0,15),NumberSequenceKeypoint.new(1,0)}),NumberSequence.new(extendlife),NumberRange.new(5),"Left",NumberRange.new(0),Vector3.new(0,0,0),0,false,"FireEffect")
619
	createrainbow(firecolour,missile,"rbxasset://textures/particles/smoke_main.dds",NumberSequence.new(15),NumberSequence.new(normallife),NumberRange.new(5),"Front",NumberRange.new(50),Vector3.new(0,0,0),1000,false,"PowerEffect")
620
	missile.PowerEffect.Enabled = false	
621
	local mesh1 = Instance.new("SpecialMesh",missile)
622
	mesh1.MeshType = "Sphere"
623
	mesh1.Scale = Vector3.new(2,2,2)
624
	local force = Instance.new("BodyForce")
625
	force.force = Vector3.new(0,missile:GetMass()*196.2,0)
626
	force.Parent = missile
627
	missile.Touched:connect(function (hit)
628
	if (hit ~= orbuur and hit ~= orbuu and hit ~= laserpoint and hit.Name ~= "Blast" and missile.Anchored == false) then
629
	missile.Anchored = true
630
	missile.CanCollide = false
631
	missile.FireEffect:Destroy()
632
	missile.PowerEffect.Enabled = true
633
	local exsnd = Instance.new("Sound",missile)
634
	exsnd.SoundId = "http://www.roblox.com/asset/?id=142070127"
635
	exsnd.Volume = 1
636
	exsnd.Pitch = 0.5
637
	exsnd.PlayOnRemove = true
638
	exsnd:Destroy()
639
	local E = Instance.new("Explosion") 
640
	E.Position = missile.Position
641
	E.Parent = game.Workspace 
642
	E.BlastPressure = 0
643
	E.BlastRadius = 30
644
	E.Visible = false
645
	E.Hit:connect(explodtouch3)
646
	wait(0.1)
647
	missile.Transparency = .25
648
	missile.Mesh.Scale = Vector3.new(2.5,2.5,2.5)
649
	wait(0.1)
650
	missile.Transparency = .5
651
	missile.Mesh.Scale = Vector3.new(3,3,3)
652
	wait(0.1)
653
	missile.Transparency = .75
654
	missile.Mesh.Scale = Vector3.new(3.5,3.5,3.5)
655
	wait(0.1)
656
	missile.PowerEffect.Enabled = false
657
	missile.Transparency = 1
658
	wait(6)
659
	missile:Destroy()
660
	end
661
	end)
662
	debby:AddItem(missile,20)
663
end
664
function explodtouch2(hit)
665
if hit.Parent:FindFirstChild("Humanoid")~=nil then
666
dealdmg(hit.Parent,10,5)
667
end
668
end
669
function explodtouch3(hit)
670
if hit.Parent:FindFirstChild("Humanoid")~=nil then
671
dealdmg(hit.Parent,20,5)
672
end
673
end
674
675
--Swords of Light--
676
function swordsummon()
677
spinanim:Play()
678
local sword1 = Instance.new("Part",chara)
679
sword1.Size = Vector3.new(1,10,1)
680
sword1.BottomSurface = 0
681
sword1.TopSurface = 1
682
sword1.BrickColor = BrickColor.new("Institutional white")
683
sword1.Reflectance = 1
684
sword1.CanCollide = false
685
sword1.Position = chara["Left Arm"].Position
686
local swordmesh = Instance.new("SpecialMesh",sword1)
687
swordmesh.MeshId = "http://www.roblox.com/asset/?id=181327453"
688
swordmesh.Offset = Vector3.new(0,-1,0)
689
swordmesh.Scale = Vector3.new(3,3,3)
690
createrainbow(firecolour,sword1,"rbxasset://textures/particles/smoke_main.dds",NumberSequence.new({NumberSequenceKeypoint.new(0,.4),NumberSequenceKeypoint.new(1,0)}),NumberSequence.new(extendlife),NumberRange.new(1),"Left",NumberRange.new(0),Vector3.new(0,0,0),0,false,"FireEffect")
691
local sword2 = sword1:Clone()
692
sword2.Parent = chara
693
sword2.Position = chara["Right Arm"].Position
694
local sw1weld = Instance.new("Weld",sword1)
695
sw1weld.Part0 = chara["Left Arm"]
696
sw1weld.Part1 = sword1
697
sw1weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0)
698
sw1weld.C0 = CFrame.new(0,10,0)
699
local sw2weld = Instance.new("Weld",sword2)
700
sw2weld.Part0 = chara["Right Arm"]
701
sw2weld.Part1 = sword2
702
sw2weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0)
703
sw2weld.C0 = CFrame.new(0,10,0)
704
sword1.Touched:connect(swordTouched)
705
sword2.Touched:connect(swordTouched)
706
for i = 1, 20 do
707
wait(0.5)
708
swdsnd:Play()
709
swd2snd:Play()
710
end
711
sword1.FireEffect.Enabled = false
712
sword2.FireEffect.Enabled = false
713
wait(1)
714
sword1.FireEffect:Destroy()
715
sword2.FireEffect:Destroy()
716
wait(.5)
717
sword1.Transparency = 0.5
718
sword2.Transparency = 0.5
719
wait(.1)
720
sword1:Destroy()
721
sword2:Destroy()
722
spinanim:Stop()
723
tool.Enabled = true
724
end
725
function swordTouched(hit)
726
if hit.Parent:FindFirstChild("Humanoid")~=nil then
727
dealdmg(hit.Parent,10,5)
728
hitsnd:Play()
729
end
730
end
731
732
--Grab--
733
function grabTouch(hit)
734
if activegrab == true and didgrab == false then
735
if hit.Parent:FindFirstChild("Humanoid")~=nil and hit.Parent ~= chara then
736
local standstillf = nil
737
activegrab = false
738
didgrab = true
739
powereffect.Enabled = false
740
summonanim:Stop()
741
local hitdude = hit.Parent
742
hitdude.Humanoid.Health = 100
743
hitdude.Humanoid.MaxHealth = 100
744
hitdude.Humanoid.PlatformStand = true
745
hitdude.Humanoid.WalkSpeed = 0
746
chara.Humanoid.WalkSpeed = 0
747
if hitdude:FindFirstChild("Torso") ~= nil then
748
hitdude.Torso.CFrame = chara.Torso.CFrame + (chara.Torso.CFrame.lookVector*5)
749
local standstill = Instance.new("BodyPosition", hitdude.Torso)
750
standstill.Position = hitdude.Torso.Position
751
standstillf = standstill
752
end
753
--if hitdude:FindFirstChild("Left Arm") ~= nil then
754
--hitdude["Left Arm"]:destroy()
755
--end
756
--if hitdude:FindFirstChild("Right Arm") ~= nil then
757
--hitdude["Right Arm"]:destroy()
758
--end
759
local spellcirclepart = Instance.new("Part",chara)
760
spellcirclepart.Size = Vector3.new(1,1,1)
761
spellcirclepart.Anchored = true
762
spellcirclepart.Transparency = 1
763
spellcirclepart.CFrame = chara.Torso.CFrame + (chara.Torso.CFrame.lookVector*5) - Vector3.new(0,2.5,0)
764
local spreadpart = Instance.new("Part",chara)
765
spreadpart.Size = Vector3.new(1,1,1)
766
spreadpart.Anchored = true
767
spreadpart.Transparency = 1
768
spreadpart.CFrame = spellcirclepart.CFrame + Vector3.new(0,100,0)
769
local scmesh = Instance.new("BlockMesh",spellcirclepart)
770
scmesh.Scale = Vector3.new(1,1.1,1)
771
local scdec = Instance.new("Decal",spellcirclepart)
772
scdec.Texture = "http://www.roblox.com/asset/?id=685910499"
773
scdec.Face = "Top"
774
scdec.Transparency = 1
775
local lite = Instance.new("PointLight",spellcirclepart)
776
lite.Enabled = false
777
lite.Brightness = 100
778
chat("You are not going away...")
779
wait(1)
780
chara.Torso.CFrame = chara.Torso.CFrame + (chara.Torso.CFrame.lookVector*50)
781
wait(1)
782
summonanim:Play()
783
summonsound:Play()
784
activebeam = true
785
powereffect.Texture = "http://www.roblox.com/asset/?id=454403109"
786
powereffect.Enabled = true
787
standstillf.Position = standstillf.Position + Vector3.new(0,10,0)
788
scdec.Transparency = 0.9
789
lite.Enabled = true
790
lite.Range = 1
791
for i = 1, 19 do
792
wait(.05)
793
scmesh.Scale = scmesh.Scale + Vector3.new(1,0,1)
794
scdec.Transparency = scdec.Transparency - 0.05
795
lite.Range = lite.Range + 1
796
end
797
wait(1)
798
chat("Crucify.")
799
wait(.5)
800
lassnd:Play()
801
eckssnd:Play()
802
createrainbow(barcolour,spellcirclepart,"rbxasset://textures/particles/smoke_main.dds",NumberSequence.new({NumberSequenceKeypoint.new(0,10),NumberSequenceKeypoint.new(.9,10),NumberSequenceKeypoint.new(1,0)}),NumberSequence.new(extendlife),NumberRange.new(.75),"Top",NumberRange.new(200),Vector3.new(0,0,0),0,false,"FireEffect")
803
createrainbow(barcolour,spreadpart,"rbxasset://textures/particles/smoke_main.dds",NumberSequence.new({NumberSequenceKeypoint.new(0,10),NumberSequenceKeypoint.new(.9,10),NumberSequenceKeypoint.new(1,0)}),NumberSequence.new(extendlife),NumberRange.new(.25),"Right",NumberRange.new(200),Vector3.new(0,0,0),0,false,"FireEffect")
804
createrainbow(barcolour,spreadpart,"rbxasset://textures/particles/smoke_main.dds",NumberSequence.new({NumberSequenceKeypoint.new(0,10),NumberSequenceKeypoint.new(.9,10),NumberSequenceKeypoint.new(1,0)}),NumberSequence.new(extendlife),NumberRange.new(.25),"Left",NumberRange.new(200),Vector3.new(0,0,0),0,false,"FireEffect2")
805
for i = 1, 10 do
806
dealdmg(hitdude,666,0)
807
end
808
for i = 1, 9 do
809
wait(.1)
810
local che = hitdude:GetChildren()
811
for i = 1, #che do
812
if che[i].ClassName == "Part" then
813
che[i].Transparency = che[i].Transparency + .1
814
end
815
end
816
end
817
wait(.1)
818
local che = hitdude:GetChildren()
819
for i = 1, #che do
820
if che[i].ClassName == "Part" then
821
che[i]:Destroy()
822
end
823
end
824
wait(3)
825
spellcirclepart.FireEffect.Enabled = false
826
spreadpart.FireEffect.Enabled = false
827
spreadpart.FireEffect2.Enabled = false
828
for i = 1, 19 do
829
wait(.05)
830
scmesh.Scale = scmesh.Scale - Vector3.new(1,0,1)
831
scdec.Transparency = scdec.Transparency + 0.05
832
lite.Range = lite.Range - 1
833
end
834
wait(.05)
835
spellcirclepart:Destroy()
836
spreadpart:Destroy()
837
summonanim:Stop()
838
activebeam = false
839
powereffect.Enabled = false
840
tool.Enabled = true
841
chara.Humanoid.WalkSpeed = 50
842
didgrab = false
843
end
844
end
845
end
846
chara["Right Arm"].Touched:connect(grabTouch)
847
848
--Equip Unequip and Keys Function--
849
850
function keydowns(key)
851
if tool.Enabled == true then
852
	if key == "z" then
853
	tool.Enabled = false
854
	chat("Swords of Light!")
855
	summonsound:Play()
856
	swordsummon()
857
	end
858
	if key == "x" then
859
	summonanim:Play()
860
	summonsound:Play()
861
	chat("Heaven's Bolts!")
862
	powereffect.Texture = "http://www.roblox.com/asset/?id=14459921"
863
	powereffect.Enabled = true
864
	tool.Enabled = false
865
	wait(2)
866
	if not lightningStrikeCoroutine then
867
	lightningStrikeCoroutine = coroutine.create(LightningStrike)
868
	coroutine.resume(lightningStrikeCoroutine)
869
	end
870
	lightningButtonDown = true
871
	end
872
	if key == "c" then
873
	summonanim:Play()
874
	summonsound:Play()
875
	activebeam = true
876
	chat("Beam of Purity!")
877
	powereffect.Texture = "rbxasset://textures/particles/sparkles_main.dds"
878
	powereffect.Enabled = true
879
	tool.Enabled = false
880
	wait(2)
881
	Click()
882
	end
883
	if key == "v" then
884
	summonanim:Play()
885
	summonsound:Play()
886
	activebeam = true
887
	chat("Holy Blast!")
888
	powereffect.Texture = "http://www.roblox.com/asset/?id=224413104"
889
	powereffect.Enabled = true
890
	tool.Enabled = false
891
	wait(2)
892
	for i = 1, 6 do
893
	wait(0.2)
894
	local saund = blastsnd:Clone()
895
	saund.Parent = orbuur
896
	saund.PlayOnRemove = true
897
	saund:Destroy()
898
	local targetPos = chara.Humanoid.TargetPoint
899
	local lookAt = (targetPos - orbuur.Position).unit
900
	fire(lookAt)
901
	end
902
	summonanim:Stop()
903
	activebeam = false
904
	powereffect.Enabled = false
905
	tool.Enabled = true
906
	end
907
	if key == "b" then
908
	summonanim:Play()
909
	summonsound:Play()
910
	chat("Gaia Shatterer!")
911
	powereffect.Texture = "http://www.roblox.com/asset/?id=26356341"
912
	powereffect.Enabled = true
913
	tool.Enabled = false
914
	wait(2)
915
	for i = 1, 5 do
916
	wait(0.5)
917
	local saund = metsnd:Clone()
918
	saund.Parent = orbuur
919
	saund.PlayOnRemove = true
920
	saund:Destroy()
921
	local targetPos = chara.Humanoid.TargetPoint
922
	local lookAt = (targetPos - (chara.Head.Position + Vector3.new(0,100,0))).unit
923
	meteorfire(lookAt)
924
	end
925
	wait(0.7)
926
	local saund = metsnd:Clone()
927
	saund.Parent = orbuur
928
	saund.Pitch = 0.5
929
	saund.PlayOnRemove = true
930
	saund:Destroy()
931
	local targetPos = chara.Humanoid.TargetPoint
932
	local lookAt = (targetPos - (chara.Head.Position + Vector3.new(0,100,0))).unit
933
	meteor2fire(lookAt)
934
	wait(1)
935
	summonanim:Stop()
936
	powereffect.Enabled = false
937
	tool.Enabled = true
938
	end
939
	if key == "n" then
940
	activegrab = true
941
	summonanim:Play()
942
	summonsound:Play()
943
	chat("Get over here...")
944
	powereffect.Texture = "http://www.roblox.com/asset/?id=224413104"
945
	powereffect.Enabled = true
946
	tool.Enabled = false
947
	wait(5)
948
	if didgrab == false then
949
	chat("Agh.")
950
	powereffect.Enabled = false
951
	tool.Enabled = true
952
	summonanim:Stop()
953
	activegrab = false
954
	elseif didgrab == true then
955
	end
956
	end
957
	if key == "m" then
958
	if music == false then
959
	music1:Play()
960
	music = true
961
	elseif music == true then
962
	music1:Stop()
963
	music = false
964
	end
965
	end
966
end
967
end
968
969
function onEquipped(mouse)
970
	print("onEquipped")
971
	Mouse = player:GetMouse()
972
	if not Mouse then return end
973
	if Mouse then Mouse.KeyDown:connect(keydowns) end
974
	Character2 = chara
975
	Humanoid2 = Character:FindFirstChild("Humanoid")
976
	Torso2 = Character:FindFirstChild("Torso")
977
	if Humanoid2 and Torso2 then
978
	end
979
end
980
981
function onUnequipped()
982
	print("onUnequipped")
983
984
	Torso2 = nil
985
	Humanoid2 = nil
986
	Character2 = nil
987
	Mouse = nil
988
end
989
990
tool.Equipped:connect(onEquipped)
991
tool.Unequipped:connect(onUnequipped)