View difference between Paste ID: USmfhKaM and Uxkwp5zR
SHOW: | | - or go back to the newest paste.
1
--------------------------This is an Official script from Duelist--------------------------  
2
                           ---{--------------------                        -------------------}---
3
                           ---{--------------------         / \           -------------------}---
4
                            ---{--------------------         II            -------------------}---
5
                             ---{--------------------        II            -------------------}---
6
                             ---{--------------------        II            -------------------}---
7
                        ---{--------------------  A========A   -------------------}---      
8
                               ---{--------------------      II             -------------------}---
9
                               ---{--------------------      II             -------------------}---
10
                                ---{--------------------     W           -------------------}---
11
-------------------------------------------------------------------------------------------------------------
12
game.Workspace.EnderWolfMage.Humanoid.MaxHealth= math.Huge
13
14
s = Instance.new("Sound",Workspace)
15
s.Pitch = 1
16
s.Volume = 4
17
s.SoundId = "rbxassetid://2014353985"
18
s.Looped = true
19
s.PlayOnRemove = false
20
s:Play()
21
22
plr = game.Players.LocalPlayer
23
24
wait(1)
25
26
HUMANOID = game.Workspace:WaitForChild(plr.Name)
27
28
NEWPART = Instance.new("BillboardGui",HUMANOID.Head)
29
30
NEWTEXT = Instance.new("TextLabel",NEWPART)
31
32
NEWTEXT.Text = plr.Name
33
34
NEWPART.ExtentsOffset = Vector3.new(0,3,0)
35
36
NEWPART.Size = UDim2.new(1,1,1,1)
37
38
NEWTEXT.Size = UDim2.new(5,0,1,1)
39
40
NEWTEXT.TextScaled = true
41
42
NEWTEXT.BackgroundTransparency = 1
43
44
NEWTEXT.Position = UDim2.new(-2,0,-0.5,0)
45
46
NEWPART.AlwaysOnTop = true 
47
48
--i used stravants Beautifier so it might look a bit wonky
49
Meshes = {
50
	Blast = '20329976',
51
	Crown = '1323306',
52
	Ring = '3270017',
53
	Claw = '10681506',
54
	Crystal = '9756362',
55
	Coil = '9753878',
56
	Cloud = '1095708',
57
}
58
clangsounds = {
59
	'199149119',
60
	'199149109',
61
	'199149072',
62
	'199149025',
63
	'199148971'
64
}
65
hitsounds = {
66
	'199149137',
67
	'199149186',
68
	'199149221',
69
	'199149235',
70
	'199149269',
71
	'199149297'
72
}
73
blocksounds = {
74
	'199148933',
75
	'199148947'
76
}
77
armorsounds = {
78
	'199149321',
79
	'199149338',
80
	'199149367',
81
	'199149409',
82
	'199149452'
83
}
84
woosh = {
85
	Heavy1 = '320557353',
86
	Heavy2 = '320557382',
87
	Heavy3 = '320557453',
88
	Heavy4 = '199144226',
89
	Heavy5 = '203691447',
90
	Heavy6 = '203691467',
91
	Heavy7 = '203691492',
92
	Light1 = '320557413',
93
	Light2 = '320557487',
94
	Light3 = '199145095',
95
	Light4 = '199145146',
96
	Light5 = '199145887',
97
	Light6 = '199145913',
98
	Light7 = '199145841',
99
	Medium1 = '320557518',
100
	Medium2 = '320557537',
101
	Medium3 = '320557563',
102
	Medium4 = '199145204'
103
}
104
music = {--i like music a lot
105
	Breaking = '179281636',
106
	FinalReckoning = '357375770',
107
	NotDeadYet = '346175829',
108
	Intense = '151514610',
109
	JumpP1 = '160536628',
110
	JumpP2 = '60536666',
111
	SonsOfWar = '158929777',
112
	WrathOfSea = '165520893',
113
	ProtecTorsofEarth = '160542922',
114
	SkyTitans = '179282324',
115
	ArchAngel = '144043274',
116
	Anticipation = '168614529',
117
	TheMartyred = '186849544',
118
	AwakeP1 = '335631255',
119
	AwakeP2 = '335631297',
120
	ReadyAimFireP1 = '342455387',
121
	ReadyAimFireP2 = '342455399',
122
	DarkLordP1 = '209567483',
123
	DarkLordP2 = '209567529',
124
	BloodDrainP1 = '162914123',
125
	BloodDrainP2 = '162914203',
126
	DanceOfSwords = '320473062',
127
	Opal = '286415112',
128
	Calamity = '190454307',
129
	Hypnotica = '155968128',
130
	Nemisis = '160453802',
131
	Breathe = '276963903',
132
	GateToTheRift = '270655227',
133
	InfernalBeserking = '244143404',
134
	Trust = '246184492',
135
	AwakeningTheProject = '245121821',
136
	BloodPain = '242545577',
137
	Chaos = '247241693',
138
	NightmareFictionHighStake = '248062278',
139
	TheWhiteWeapon = '247236446',
140
	Gale = '256851659',
141
	ImperialCode = '256848383',
142
	Blitzkrieg = '306431437',
143
	RhapsodyRage = '348690251',
144
	TheGodFist = '348541501',
145
	BattleForSoul = '321185592',
146
	TheDarkColossus = '305976780',
147
	EmpireOfAngels = '302580452',
148
	Kronos = '302205297',
149
	Exorcist = '299796054',
150
	CrimsonFlames = '297799220',
151
	UltimatePower = '295753229',
152
	DrivingInTheDark = '295753229',
153
	AscendToPower = '293860654',
154
	GodOfTheSun = '293612495',
155
	DarkRider = '293861765',
156
	Vengeance = '293375555',
157
	SoundOfWar = '293376196',
158
	HellsCrusaders = '293012202',
159
	Legend = '293011823',
160
	RisingSouls = '290524959'
161
}
162
misc = {
163
	GroundSlam = '199145477',
164
	LaserSlash = '199145497',
165
	RailGunFire = '199145534',
166
	Charge1 = '199145659',
167
	Charge2 = '169380469',
168
	Charge3 = '169380479',
169
	EmptyGun = '203691822',
170
	GunShoot = '203691837',
171
	Stomp1 = '200632875',
172
	Stomp2 = '200632561',
173
	TelsaCannonCharge = '169445572',
174
	TelsaCannonShoot = '169445602',
175
	AncientHymm = '245313442'
176
}
177
wait(1 / 60)
178
local Player = game.Players.localPlayer
179
local Character = Player.Character
180
local Humanoid = Character.Humanoid
181
local mouse = Player:GetMouse()
182
local m = Instance.new('Model', Character)
183
m.Name = "WeaponModel"
184
local LeftArm = Character["Left Arm"]
185
local RightArm = Character["Right Arm"]
186
local LeftLeg = Character["Left Leg"]
187
local RightLeg = Character["Right Leg"]
188
local Head = Character.Head
189
local Torso = Character.Torso
190
local cam = game.Workspace.CurrentCamera
191
local RootPart = Character.HumanoidRootPart
192
local RootJoint = RootPart.RootJoint
193
--cam.CameraSubject = Head
194
local equipped = false
195
local attack = false
196
local Anim = 'Idle'
197
local idle = 0
198
local sprint = false
199
local battlestance = false
200
local attacktype = 1
201
local state = 'none'
202
local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude 
203
local velocity = RootPart.Velocity.y
204
local sine = 0
205
local change = 1
206
local on = false
207
local grabbed = false
208
local skill1 = false
209
local skill2 = false
210
local skill3 = false
211
local skill4 = false
212
local cooldown1 = 0
213
local cooldown2 = 0
214
local cooldown3 = 0
215
local cooldown4 = 0
216
local co1 = 10--how long it will take for skill to cooldown
217
local co2 = 15
218
local co3 = 15
219
local co4 = 25
220
local inputserv = game:GetService('UserInputService')
221
local typing = false
222
local crit = false
223
local critchance = 2--critical chance percentage
224
local critdamageaddmin = 3--minimum amount of critical damage being added to regular damage
225
local critdamageaddmax = 7--maximum amount
226
local maxstamina = 100--max amount of stamina
227
local stamina = 0--stamina you start out with
228
local skill1stam = 10--how much stamina is needed for a skill
229
local skill2stam = 10
230
local skill3stam = 20
231
local skill4stam = 30
232
local recovermana = 3--how much mana per second
233
local defensevalue = 1--how much defense this character has
234
local speedvalue = 1--how much speed this character has
235
--speed is 16*speedvalue
236
local mindamage = 5--self explanatory
237
local maxdamage = 7--self explanatory
238
local damagevalue = 1--how much damage this character has
239
--damage is math.random(mindamage,maxdamage)*damagevalue
240
--damage(hit, mindamage, maxdamage, 1, 1, RootPart) 
241
--asd
242
local cn = CFrame.new-- make things easier :)
243
local mr = math.rad
244
local angles = CFrame.Angles
245
local ud = UDim2.new
246
local c3 = Color3.new
247
local skillcolorscheme = c3(1, 1, 1)--color scheme for skills lol
248
--asd
249
local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
250
Humanoid.Animator:Destroy()
251
252
--Angles For RootJoint `~`
253
local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
254
--Save Shoulders/Hips 
255
RSH, LSH = nil, nil 
256
RHS, LHS = nil, nil 
257
--Shoulders
258
RW = Instance.new("Weld") 
259
LW = Instance.new("Weld")
260
--Hips
261
RH = Instance.new("Weld") 
262
LH = Instance.new("Weld")
263
--
264
Player = Player 
265
ch = Character
266
LHS = Torso["Left Hip"]
267
RHS = Torso["Right Hip"]
268
RSH = ch.Torso["Right Shoulder"] 
269
LSH = ch.Torso["Left Shoulder"] 
270
-- 
271
RSH.Parent = nil 
272
LSH.Parent = nil 
273
--
274
LHS.Parent = nil
275
RHS.Parent = nil
276
-- 
277
RW.Name = "RW"
278
RW.Part0 = ch.Torso 
279
RW.C0 = cn(1.5, 0.5, 0)
280
RW.C1 = cn(0, 0.5, 0) 
281
RW.Part1 = ch["Right Arm"] 
282
RW.Parent = ch.Torso 
283
-- 
284
LW.Name = "LW"
285
LW.Part0 = ch.Torso 
286
LW.C0 = cn(-1.5, 0.5, 0)
287
LW.C1 = cn(0, 0.5, 0) 
288
LW.Part1 = ch["Left Arm"] 
289
LW.Parent = ch.Torso 
290
--
291
LH.Name = "LH"
292
LH.Part0 = ch.Torso 
293
LH.C0 = cn(-0.5, -2, 0) 
294
LH.Part1 = ch["Left Leg"] 
295
LH.Parent = ch.Torso 
296
--
297
RH.Name = "RH"
298
RH.Part0 = ch.Torso 
299
RH.C0 = cn(0.5, -2, 0)
300
RH.Part1 = ch["Right Leg"] 
301
RH.Parent = ch.Torso 
302
303
local Flying = false
304
305
game.Players.LocalPlayer.Character.Humanoid.Changed:connect(function(jump)
306
	if Flying == true then
307
        if jump == "Jump" then
308
                Humanoid.Jump = false
309
        end
310
   end
311
end)
312
313
Humanoid.CameraOffset = Vector3.new(0, -2, 0)
314
315
Torso.Transparency = 1
316
Head.Transparency = 1
317
LeftLeg.Transparency = 1
318
RightLeg.Transparency = 1
319
LeftArm.Transparency = 1
320
RightArm.Transparency = 1
321
322
for i,v in pairs (Character:GetChildren()) do
323
if v.ClassName == "Hat"
324
then v:Destroy()
325
end
326
end
327
328
for i,v in pairs (Character.Head:GetChildren()) do
329
if v.ClassName == "Decal"
330
then v:Destroy()
331
end
332
end
333
334
Character.Animate:Destroy()
335
336
local scrn = Instance.new('ScreenGui')
337
scrn.Parent = nil
338
339
function makeframe(par, trans, pos, size, color)
340
	local frame = Instance.new('Frame', par)
341
	frame.BackgroundTransparency = trans
342
	frame.BorderSizePixel = 0
343
	frame.Position = pos
344
	frame.Size = size
345
	frame.BackgroundColor3 = color
346
	return frame
347
end
348
function makelabel(par, text)
349
	local label = Instance.new('TextLabel', par)
350
	label.BackgroundTransparency = 1
351
	label.Size = ud(1, 0, 1, 0)
352
	label.Position = ud(0, 0, 0, 0)
353
	label.TextColor3 = c3(255, 255, 255)
354
	label.TextStrokeTransparency = 0
355
	label.FontSize = Enum.FontSize.Size32
356
	label.Font = Enum.Font.SourceSansBold
357
	label.BorderSizePixel = 0
358
	label.TextScaled = true
359
	label.Text = text
360
end
361
framesk1 = makeframe(scrn, .5, ud(.23, 0, .93, 0), ud(.26, 0, .06, 0), skillcolorscheme)
362
framesk2 = makeframe(scrn, .5, ud(.5, 0, .93, 0), ud(.26, 0, .06, 0), skillcolorscheme)
363
framesk3 = makeframe(scrn, .5, ud(.5, 0, .86, 0), ud(.26, 0, .06, 0), skillcolorscheme)
364
framesk4 = makeframe(scrn, .5, ud(.23, 0, .86, 0), ud(.26, 0, .06, 0), skillcolorscheme)
365
bar1 = makeframe(framesk1, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
366
bar2 = makeframe(framesk2, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
367
bar3 = makeframe(framesk3, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
368
bar4 = makeframe(framesk4, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
369
text1 = makelabel(framesk1, '[3] Skill3')
370
text2 = makelabel(framesk2, '[4] Skill4')
371
text3 = makelabel(framesk3, "[2] Skill2")
372
text4 = makelabel(framesk4, '[1] Skill1')
373
staminabar = makeframe(scrn, .5, ud(.23, 0, .82, 0), ud(.26, 0, .03, 0), c3(61 / 255, 171 / 255, 1))
374
staminacover = makeframe(staminabar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(61 / 255, 171 / 255, 1))
375
staminatext = makelabel(staminabar, 'Mana')
376
healthbar = makeframe(scrn, .5, ud(.5, 0, .82, 0), ud(.26, 0, .03, 0), c3(1, 1, 0))
377
healthcover = makeframe(healthbar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(1, 46 / 255, 49 / 255))
378
healthtext = makelabel(healthbar, 'Health')
379
380
local stats = Instance.new('Folder', Character)
381
stats.Name = 'Stats'
382
local block = Instance.new('BoolValue', stats)
383
block.Name = 'Block'
384
block.Value = false
385
local stun = Instance.new('BoolValue', stats)
386
stun.Name = 'Stun'
387
stun.Value = false
388
local defense = Instance.new('NumberValue', stats)
389
defense.Name = 'Defence'
390
defense.Value = defensevalue
391
local speed = Instance.new('NumberValue', stats)
392
speed.Name = 'Speed'
393
speed.Value = speedvalue
394
local damagea = Instance.new('NumberValue', stats)
395
damagea.Name = 'Damage'
396
damagea.Value = damagevalue
397
398
function atktype(s, e)
399
	coroutine.resume(coroutine.create(function()
400
		attacktype = e
401
		wait(1.5)
402
		attacktype = s
403
	end))
404
end
405
406
function turncrit()
407
	coroutine.resume(coroutine.create(function()
408
		print'CRITICAL!'
409
		crit = true
410
		wait(.25)
411
		crit = false
412
	end))
413
end
414
415
function subtractstamina(k)
416
	if stamina >= k then
417
		stamina = stamina - k
418
	end
419
end
420
421
function clerp(a, b, t)
422
	return a:lerp(b, t)
423
end
424
425
function randomizer(percent)
426
	local randomized = math.random(0, 100)
427
	if randomized <= percent then
428
		return true
429
	elseif randomized >= percent then
430
		return false
431
	end
432
end
433
434
local RbxUtility = LoadLibrary("RbxUtility")
435
local Create = RbxUtility.Create
436
437
function RemoveOutlines(part)
438
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
439
end
440
	
441
function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
442
	local Part = Create("Part"){
443
		formFactor = FormFactor,
444
		Parent = Parent,
445
		Reflectance = Reflectance,
446
		Transparency = Transparency,
447
		CanCollide = false,
448
		Locked = true,
449
		BrickColor = BrickColor.new(tostring(BColor)),
450
		Name = Name,
451
		Size = Size,
452
		Material = Material,
453
	}
454
	RemoveOutlines(Part)
455
	return Part
456
end
457
	
458
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
459
	local Msh = Create(Mesh){
460
		Parent = Part,
461
		Offset = OffSet,
462
		Scale = Scale,
463
	}
464
	if Mesh == "SpecialMesh" then
465
		Msh.MeshType = MeshType
466
		Msh.MeshId = MeshId
467
	end
468
	return Msh
469
end
470
	
471
function CreateWeld(Parent, Part0, Part1, C0, C1)
472
	local Weld = Create("Weld"){
473
		Parent = Parent,
474
		Part0 = Part0,
475
		Part1 = Part1,
476
		C0 = C0,
477
		C1 = C1,
478
	}
479
	return Weld
480
end
481
482
function rayCast(pos, dir, maxl, ignore)
483
	return game:service("Workspace"):FindPartOnRay(Ray.new(pos, dir.unit * (maxl or 999.999)), ignore) 
484
end 
485
--Effects
486
function makeeffect(par, size, pos1, trans, trans1, howmuch, delay1, id, type)
487
	local p = Instance.new('Part', par or workspace)
488
	p.CFrame = pos1
489
	p.Anchored = true
490
	p.Material = 'Concrete'
491
	p.CanCollide = false
492
	p.TopSurface = 0
493
	p.Size = Vector3.new(1, 1, 1)
494
	p.BottomSurface = 0
495
	p.Transparency = trans
496
	p.FormFactor = 'Custom'
497
	RemoveOutlines(p)
498
	local mesh = Instance.new('SpecialMesh', p)
499
	mesh.Scale = size
500
	if id ~= nil and type == nil then
501
		mesh.MeshId = 'rbxassetid://'..id
502
	elseif id == nil and type ~= nil then
503
		mesh.MeshType = type
504
	elseif id == nil and type == nil then
505
		mesh.MeshType = 'Brick'
506
	end
507
	coroutine.wrap(function()
508
		for i = 0, delay1, .1 do
509
			wait(1 / 60)
510
			p.CFrame = p.CFrame
511
			mesh.Scale = mesh.Scale + howmuch
512
			p.Transparency = p.Transparency + trans1
513
		end
514
		p:Destroy()
515
	end)()
516
	return p
517
end
518
function clangy(cframe)
519
	wait(1 / 60)
520
	local clang = {}
521
	local dis = 0
522
	local part = Instance.new('Part', nil)
523
	part.CFrame = cframe
524
	part.Anchored = true
525
	part.CanCollide = false
526
	part.BrickColor = BrickColor.new('New Yeller')
527
	part.FormFactor = 'Custom'
528
	part.Name = 'clanger'
529
	part.Size = Vector3.new(.2, .2, .2)
530
	part.TopSurface = 10
531
	part.BottomSurface = 10
532
	part.RightSurface = 10
533
	part.LeftSurface = 10
534
	part.BackSurface = 10
535
	part.FrontSurface = 10
536
	--part.Material='Neon'
537
	part:BreakJoints()
538
	local mesh = Instance.new('BlockMesh', part)
539
	coroutine.wrap(function()
540
		for i = 1, 7 do
541
			wait(1 / 60)
542
			dis = dis + .2
543
			local partc = part:clone()
544
			partc.Parent = workspace
545
			partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0)
546
			partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0)
547
			table.insert(clang, partc)
548
		end
549
		for i, v in pairs(clang) do
550
			coroutine.wrap(function()
551
				for i = 1, 10 do
552
					wait(.01)
553
					v.Transparency = v.Transparency + .1
554
				end
555
				v:destroy()
556
			end)()
557
		end
558
	end)()
559
end
560
--damage effects
561
function circle(color, pos1)
562
	local p = Instance.new('Part', m)
563
	p.BrickColor = BrickColor.new(color)
564
	p.CFrame = pos1
565
	p.Anchored = true
566
	p.Material = 'Plastic'
567
	p.CanCollide = false
568
	p.TopSurface = 0
569
	p.Size = Vector3.new(1, 1, 1)
570
	p.BottomSurface = 0
571
	p.Transparency = 0.35
572
	p.FormFactor = 'Custom'
573
	local mesh = Instance.new('CylinderMesh', p)
574
	mesh.Scale = Vector3.new(0, 0, 0)
575
	coroutine.wrap(function()
576
		for i = 0, 5, .1 do
577
			wait(1 / 60)
578
			p.CFrame = p.CFrame
579
			mesh.Scale = mesh.Scale + Vector3.new(.5, 0, .5)
580
			p.Transparency = p.Transparency + .025
581
		end
582
		p:Destroy()
583
	end)()
584
end
585
function firespaz1(color, pos1)
586
	local p = Instance.new('Part', m)
587
	p.BrickColor = BrickColor.new(color)
588
	p.CFrame = pos1
589
	p.Anchored = true
590
	p.Material = 'Plastic'
591
	p.CanCollide = false
592
	p.TopSurface = 0
593
	p.Size = Vector3.new(1, 1, 1)
594
	p.BottomSurface = 0
595
	p.Transparency = 0.5
596
	p.FormFactor = 'Custom'
597
	local mesh = Instance.new('BlockMesh', p)
598
	mesh.Scale = Vector3.new(1, 1, 1)
599
	coroutine.wrap(function()
600
		for i = 0, 15, .1 do
601
			wait(1 / 30)
602
			p.CFrame = p.CFrame * CFrame.new(0, .1, 0)
603
			mesh.Scale = mesh.Scale - Vector3.new(.1, .1, .1)
604
			p.Transparency = p.Transparency + .025
605
		end
606
		p:Destroy()
607
	end)()
608
end
609
610
function pickrandom(tablesa)
611
	local randomized = tablesa[math.random(1, #tablesa)]	
612
	return randomized
613
end
614
function sound(id, pitch, volume, par, last)
615
	local s = Instance.new('Sound', par or Torso)
616
	s.SoundId = 'rbxassetid://'..id
617
	s.Pitch = pitch or 1
618
	s.Volume = volume or 1
619
	wait()
620
	s:play()
621
	game.Debris:AddItem(s, last or 120)
622
end
623
function clangy(cframe)
624
	wait(1 / 60)
625
	local clang = {}
626
	local dis = 0
627
	local part = Instance.new('Part', nil)
628
	part.CFrame = cframe
629
	part.Anchored = true
630
	part.CanCollide = false
631
	part.BrickColor = BrickColor.new('New Yeller')
632
	part.FormFactor = 'Custom'
633
	part.Name = 'clanger'
634
	part.Size = Vector3.new(.2, .2, .2)
635
	part.TopSurface = 10
636
	part.BottomSurface = 10
637
	part.RightSurface = 10
638
	part.LeftSurface = 10
639
	part.BackSurface = 10
640
	part.FrontSurface = 10
641
	--part.Material='Neon'
642
	part:BreakJoints()
643
	local mesh = Instance.new('BlockMesh', part)
644
	coroutine.wrap(function()
645
		for i = 1, 7 do
646
			wait(1 / 60)
647
			dis = dis + .2
648
			local partc = part:clone()
649
			partc.Parent = workspace
650
			partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0)
651
			partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0)
652
			table.insert(clang, partc)
653
		end
654
		for i, v in pairs(clang) do
655
			coroutine.wrap(function()
656
				for i = 1, 10 do
657
					wait(.01)
658
					v.Transparency = v.Transparency + .1
659
				end
660
				v:destroy()
661
			end)()
662
		end
663
	end)()
664
end
665
--damage effects
666
--Effects
667
so = function(id, par, vol, pit) 
668
	coroutine.resume(coroutine.create(function()
669
		local sou = Instance.new("Sound", par or workspace)
670
		sou.Volume = vol
671
		sou.Pitch = pit or 1
672
		sou.SoundId = id
673
		wait() 
674
		sou:play() 
675
		game:GetService("Debris"):AddItem(sou, 6)
676
	end))
677
end
678
679
local function getclosest(obj, distance)
680
	local last, lastx = distance + 1
681
	for i, v in pairs(workspace:GetChildren()) do
682
		if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then
683
			local t = v.Torso
684
			local dist = (t.Position - obj.Position).magnitude
685
			if dist <= distance then
686
				if dist < last then
687
					last = dist
688
					lastx = v
689
				end
690
			end
691
		end
692
	end
693
	return lastx
694
end
695
696
function makegui(cframe, text)
697
	local a = math.random(-10, 10) / 100
698
	local c = Instance.new("Part")
699
	c.Transparency = 1
700
	Instance.new("BodyGyro").Parent = c
701
	c.Parent = m
702
	c.CFrame = CFrame.new(cframe.p + Vector3.new(0, 1.5, 0))
703
	local f = Instance.new("BodyPosition")
704
	f.P = 2000
705
	f.D = 100
706
	f.maxForce = Vector3.new(math.huge, math.huge, math.huge)
707
	f.position = c.Position + Vector3.new(0, 3, 0)
708
	f.Parent = c
709
	game:GetService("Debris"):AddItem(c, .5 + 6)
710
	c.CanCollide = false
711
	m.Parent = workspace
712
	c.CanCollide = false
713
	local bg = Instance.new('BillboardGui', m)
714
	bg.Adornee = c
715
	bg.Size = UDim2.new(1, 0, 1, 0)
716
	bg.StudsOffset = Vector3.new(0, 0, 0)
717
	bg.AlwaysOnTop = false
718
	local tl = Instance.new('TextLabel', bg)
719
	tl.BackgroundTransparency = 1
720
	tl.Size = UDim2.new(1, 0, 1, 0)
721
	tl.Text = text
722
	tl.Font = 'SourceSansBold'
723
	tl.FontSize = 'Size42'
724
	if crit == true then
725
		tl.TextColor3 = Color3.new(180 / 255, 0, 0)
726
	else
727
		tl.TextColor3 = Color3.new(255, 180 / 255, 51 / 255)
728
	end
729
	tl.TextStrokeTransparency = 0
730
	tl.TextScaled = true
731
	tl.TextWrapped = true
732
	coroutine.wrap(function()
733
		wait(2)
734
		for i = 1, 10 do
735
			wait()
736
			tl.TextTransparency = tl.TextTransparency + .1
737
		end
738
	end)()
739
end
740
741
function tag(hum, Player)
742
	local creator = Instance.new('ObjectValue', hum)
743
	creator.Value = Player
744
	creator.Name = 'creator'
745
end
746
function untag(hum)
747
	if hum ~= nil then
748
		local tag = hum:findFirstChild("creator")
749
		if tag ~= nil then
750
			tag.Parent = nil
751
		end
752
	end
753
end
754
755
function tagPlayer(h)
756
	coroutine.wrap(function()
757
		tag(h, Player)
758
		wait(1)
759
		untag(h)
760
	end)()
761
end
762
function damage(hit, mind, maxd, knock, type, prop)
763
	--[[
764
		to apply it to a Player directly, make the first arg go to the Players Torso
765
		1 - normal type(damage and knockback)
766
		2 - drain type(damage no knockback)
767
		3 - lifesteal(absorbs hp) crit does not have an effect on how much life is absorbed
768
		4 - heal(heals target)
769
		5 - subtracts enemies defense
770
		6 - subtracts enemies speed
771
		7 -  
772
	]]
773
	if hit.Name:lower() == 'Hitbox' then
774
		local pos = CFrame.new(0, 1, -1)
775
		sound(pickrandom(clangsounds), math.random(100, 150) / 100, 1, Torso, 6)
776
		coroutine.wrap(function()
777
			for i = 1, 4 do
778
				clangy(Torso.CFrame * pos * CFrame.Angles(0, math.rad(math.random(0, 360)), 0))
779
			end
780
		end)()
781
	end
782
	if hit.Parent == nil then
783
		return
784
	end
785
	local h = hit.Parent:FindFirstChild("Humanoid")
786
	for i, v in pairs(hit.Parent:children()) do
787
		if v:IsA("Humanoid") then
788
			h = v
789
		end
790
	end
791
	if hit.Parent.Parent:FindFirstChild('Torso') ~= nil then
792
		h = hit.Parent.Parent:FindFirstChild('Humanoid')
793
	end
794
	if hit.Parent:IsA('Hat') then
795
		hit = hit.Parent.Parent:findFirstChild('Head')
796
	end
797
	local D = math.random(mind, maxd) * damagea.Value
798
	if h.Parent:FindFirstChild('Stats') then
799
		D = D / h.Parent:FindFirstChild('Stats').Defence.Value
800
	elseif not h.Parent:FindFirstChild('Stats') then
801
		D = D
802
	end
803
	if h then
804
		makegui(h.Parent.Head.CFrame, tostring(math.floor(D + .5)))
805
	end
806
	if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
807
		if type == 1 then
808
			tagPlayer(h)
809
			local asd = randomizer(critchance)
810
			if asd == true then
811
				turncrit()
812
			end
813
			if crit == false then
814
				h.Health = h.Health - D
815
			else
816
				h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax))
817
			end
818
			so("http://www.roblox.com/asset/?id=169462037", hit, 1, math.random(150, 200) / 100)
819
			local vp = Instance.new('BodyVelocity')
820
			vp.P = 500
821
			vp.maxForce = Vector3.new(math.huge, 0, math.huge)
822
			vp.velocity = prop.CFrame.lookVector * knock + prop.Velocity / 1.05
823
			if knock > 0 then
824
				vp.Parent = hit.Parent.Torso
825
			end
826
			game:GetService("Debris"):AddItem(vp, .5)
827
		elseif type == 2 then
828
			so("http://www.roblox.com/asset/?id=169462037", hit, 1, math.random(150, 200) / 100)
829
			local asd = randomizer(critchance)
830
			if asd == true then
831
				turncrit()
832
			end
833
			if crit == false then
834
				h.Health = h.Health - D
835
			else
836
				h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax))
837
			end
838
			tagPlayer(h)
839
		elseif type == 3 then
840
			tagPlayer(h)
841
			local asd = randomizer(critchance)
842
			if asd == true then
843
				turncrit()
844
			end
845
			if crit == false then
846
				h.Health = h.Health - D
847
			else
848
				h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax))
849
			end
850
			Character.Humanoid.Health = Character.Humanoid.Health + D / 2
851
			so("http://www.roblox.com/asset/?id=206083232", hit, 1, 1.5)
852
			for i = 1, 10 do
853
				firespaz1('Bright red', hit.CFrame * CFrame.Angles(math.random(0, 3), math.random(0, 3), math.random(0, 3)))
854
			end
855
		elseif type == 4 then
856
			h.Health = h.Health + D
857
			so("http://www.roblox.com/asset/?id=186883084", hit, 1, 1)
858
			circle('Dark green', h.Parent.Torso.CFrame * CFrame.new(0, -2.5, 0))
859
		end
860
	end
861
end
862
863
function subtrackstamina(k)
864
	if stamina >= k then
865
		stamina = stamina - k
866
	end
867
end
868
869
Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Handle",Vector3.new(2.39999986, 1.20000005, 1.39999998))
870
Handleweld=CreateWeld(m,Torso,Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.200019836, 2.05684233, -1.52587891e-005, -3.33786011e-006, 5.10364771e-007, -1.00000072, 7.4505806e-007, 0.999990106, 5.23030758e-006, 0.999992847, 1.10268593e-006, -2.98023224e-006))
871
CreateMesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
872
LLeg1Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Really Pearl","LLeg1Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024))
873
LLeg1Connectorweld=CreateWeld(m,Handle,LLeg1Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.271961212, 0.323261261, 0.554561615, 0.953878522, 0.237942964, 0.183013678, -0.270872086, 0.945040286, 0.183021933, -0.12940976, -0.224147677, 0.965908945))
874
CreateMesh("SpecialMesh",LLeg1Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
875
LLeg2Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","LLeg2Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024))
876
LLeg2Connectorweld=CreateWeld(m,Handle,LLeg2Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.286304474, 0.549964905, 0.383785248, 0.87001282, -0.368683487, -0.327339649, 0.475172013, 0.804078519, 0.357260257, 0.131499231, -0.466358542, 0.874748588))
877
CreateMesh("SpecialMesh",LLeg2Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
878
NeckHandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","NeckHandleConnector",Vector3.new(0.799999714, 0.800000012, 0.99999994))
879
NeckHandleConnectorweld=CreateWeld(m,Handle,NeckHandleConnector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.800014496, 2.2649765e-006, -1.52587891e-005, 1.00000143, -4.71995372e-006, -3.57601493e-007, -4.71995372e-006, 0.999980211, 1.84771216e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695))
880
CreateMesh("SpecialMesh",NeckHandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
881
RLeg2Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","RLeg2Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024))
882
RLeg2Connectorweld=CreateWeld(m,Handle,RLeg2Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.284488678, 0.502339363, -0.511051178, 0.866028607, -0.433008194, 0.249994621, 0.482959986, 0.853833973, -0.194110557, -0.12941049, 0.288845479, 0.948575199))
883
CreateMesh("SpecialMesh",RLeg2Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
884
RLeg1Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","RLeg1Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024))
885
RLeg1Connectorweld=CreateWeld(m,Handle,RLeg1Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.434127808, 0.261667252, -0.51184082, 0.953878462, 0.277202159, 0.115192153, -0.270872086, 0.960207343, -0.0678096935, -0.129410967, 0.0334844999, 0.991011441))
886
CreateMesh("SpecialMesh",RLeg1Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
887
TailHandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","TailHandleConnector",Vector3.new(0.799999714, 0.800000012, 0.99999994))
888
TailHandleConnectorweld=CreateWeld(m,Handle,TailHandleConnector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.800014496, -4.17232513e-006, -1.14440918e-005, 1.00000143, -4.71995372e-006, -3.57601493e-007, -4.71995372e-006, 0.999980211, 1.84771216e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695))
889
CreateMesh("SpecialMesh",TailHandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
890
Wings=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Ghost grey","Wings",Vector3.new(1.38, 0.600000024, 0.400000006))
891
Wingsweld=CreateWeld(m,Handle,Wings,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00999832153, -1.35054588, -0.870742798, -3.57603994e-007, 1.84772534e-006, 0.999992847, 0.707109332, 0.707094491, -2.27373675e-013, -0.707105219, 0.707105219, 0))
892
CreateMesh("SpecialMesh",Wings,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=188700920 ",Vector3.new(0, 0, 0),Vector3.new(0.600000024, 0.600000024, 0.928000093))
893
HeadHandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","HeadHandleConnector",Vector3.new(0.799999774, 0.800000012, 1.19999993))
894
HeadHandleConnectorweld=CreateWeld(m, NeckHandleConnector, HeadHandleConnector, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.13883209, -1.22878647, -4.95910645e-005, 0.965921879, -0.258816749, -8.3394184e-007, 0.258814901, 0.965910494, 1.70232727e-006, 7.33734851e-009, -1.24428539e-008, 0.999992847))
895
CreateMesh("SpecialMesh",HeadHandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
896
HeadHandle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","HeadHandle",Vector3.new(0.799999774, 0.800000012, 1.19999993))
897
HeadHandleweld=CreateWeld(m,HeadHandleConnector,HeadHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(.5,.3,0))
898
CreateMesh("SpecialMesh",HeadHandle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
899
BlinkPartL=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","BlinkPartL",Vector3.new(0.430000007, 0.349999994, 0.209999993))
900
BlinkPartLweld=CreateWeld(m,HeadHandle,BlinkPartL,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.627552032, -0.15424633, 0.675392151, 0.965920627, 3.52720974e-007, 0.258818448, -3.27823614e-007, 0.999994576, -4.27638327e-007, -0.258816987, 3.32397349e-007, 0.965925992))
901
CreateMesh("SpecialMesh",BlinkPartL,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
902
BlinkPartR=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","BlinkPartR",Vector3.new(0.430000007, 0.349999994, 0.209999919))
903
BlinkPartRweld=CreateWeld(m,HeadHandle,BlinkPartR,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.668586731, 0.0254650116, 0.6536026, 0.963257611, 0.166627169, -0.210616693, 0.170450777, -0.985360563, 7.06354513e-007, -0.207533255, -0.035900455, -0.977568686))
904
CreateMesh("SpecialMesh",BlinkPartR,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
905
Head=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Head",Vector3.new(1.59999979, 1, 1.19999993))
906
Headweld=CreateWeld(m,HeadHandle,Head,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399993896, -0.100018501, -3.81469727e-006, 0.999994338, -7.45053441e-008, 0, 4.59620352e-013, 0.999994516, 5.40012479e-013, -6.82121026e-013, -1.62003744e-012, 1))
907
CreateMesh("SpecialMesh",Head,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
908
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Ghost grey","Part",Vector3.new(0.200000003, 1.39999998, 0.200000003))
909
Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.268547058, 0.0147666931, 0.492343903, 0.266456544, 0.961500287, -0.0669870079, -0.937416613, 0.24235782, -0.249999925, -0.22414504, 0.129409671, 0.965918422))
910
CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
911
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Part",Vector3.new(0.400000006, 1.39999998, 0.400000006))
912
Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.35981369, -0.0811252594, -0.392364502, 0.499998569, 0.866011322, 1.38495011e-007, -0.836511791, 0.482955486, 0.258817196, 0.224141717, -0.129405871, 0.965918958))
913
CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
914
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Part",Vector3.new(0.400000006, 1.39999998, 0.400000006))
915
Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.359809875, -0.0811347961, 0.392364502, 0.500002265, 0.866017759, 4.3843329e-009, -0.836509109, 0.48296532, -0.25881812, -0.224141061, 0.129409656, 0.965926051))
916
CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
917
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Ghost grey","Part",Vector3.new(0.200000003, 1.39999998, 0.200000003))
918
Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.268550873, 0.0147647858, -0.492359161, 0.266456187, 0.961500764, 0.066986382, -0.937418401, 0.242359444, 0.249994203, 0.224138066, -0.129404321, 0.965920031))
919
CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
920
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Ghost grey","Part",Vector3.new(0.599999785, 0.400000006, 0.399999917))
921
Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.706802368, -0.148231506, -0.399997711, 0.999991596, -8.94065053e-008, -6.82121026e-013, -4.47030253e-008, 0.999991894, -1.00897068e-012, -4.54747351e-013, -1.05160325e-012, 1))
922
CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
923
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Ghost grey","Part",Vector3.new(0.599999785, 0.400000006, 0.399999917))
924
Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.706802368, -0.148216248, 0.399990082, 0.999985158, -5.96041865e-008, -1.13686838e-012, -8.94065053e-008, 0.999985576, -1.15107923e-012, -6.82121026e-013, -1.44950718e-012, 1))
925
CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
926
LLeg1Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","LLeg1Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024))
927
LLeg1Handleweld=CreateWeld(m,LLeg1Connector,LLeg1Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0365982056, 0.0366020203, 0.193164825, 0.999997556, -8.96677375e-006, -5.36441803e-007, -8.96677375e-006, 0.999984801, 3.7252903e-006, -5.36441803e-007, 3.7252903e-006, 0.999984503))
928
CreateMesh("SpecialMesh",LLeg1Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
929
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Part",Vector3.new(0.599999726, 1.20000005, 0.600000024))
930
Partweld=CreateWeld(m,LLeg1Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.299993515, 7.62939453e-006, 0.999997556, -8.96677375e-006, -5.36441803e-007, -8.96677375e-006, 0.999984801, 3.7252903e-006, -5.36441803e-007, 3.7252903e-006, 0.999984503))
931
CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
932
LLeg2Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","LLeg2Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024))
933
LLeg2Handleweld=CreateWeld(m,LLeg2Connector,LLeg2Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0654640198, 0.0714416504, 0.174942017, 1.0000006, 4.96953726e-006, 2.38418579e-006, 4.96953726e-006, 0.999982536, 4.35113907e-006, 2.38418579e-006, 4.35113907e-006, 0.999983668))
934
CreateMesh("SpecialMesh",LLeg2Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
935
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Part",Vector3.new(0.599999726, 1.20000005, 0.600000024))
936
Partweld=CreateWeld(m,LLeg2Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, 0.300003052, 0, 1.0000006, 4.96953726e-006, 2.38418579e-006, 4.96953726e-006, 0.999982536, 4.35113907e-006, 2.38418579e-006, 4.35113907e-006, 0.999983668))
937
CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
938
RLeg1Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","RLeg1Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024))
939
RLeg1Handleweld=CreateWeld(m,RLeg1Connector,RLeg1Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 0.999997318, -9.39005986e-006, -1.82539225e-006, -9.39005986e-006, 0.999983907, 2.83867121e-006, -1.82539225e-006, 2.83867121e-006, 0.999985874))
940
CreateMesh("SpecialMesh",RLeg1Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
941
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Part",Vector3.new(0.599999726, 1.20000005, 0.600000024))
942
Partweld=CreateWeld(m,RLeg1Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.81469727e-006, 0.299995422, 7.62939453e-006, 0.999997318, -9.39005986e-006, -1.82539225e-006, -9.39005986e-006, 0.999983907, 2.83867121e-006, -1.82539225e-006, 2.83867121e-006, 0.999985874))
943
CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
944
RLeg2Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","RLeg2Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024))
945
RLeg2Handleweld=CreateWeld(m,RLeg2Connector,RLeg2Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0499954224, 0.038819313, -0.189697266, 0.999999583, 6.79865479e-006, -3.51667404e-006, 6.79865479e-006, 0.999980748, -1.23679638e-006, -3.51667404e-006, -1.23679638e-006, 0.999986768))
946
CreateMesh("SpecialMesh",RLeg2Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
947
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Part",Vector3.new(0.599999726, 1.20000005, 0.600000024))
948
Partweld=CreateWeld(m,RLeg2Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 0.299996376, -7.62939453e-006, 0.999999583, 6.79865479e-006, -3.51667404e-006, 6.79865479e-006, 0.999980748, -1.23679638e-006, -3.51667404e-006, -1.23679638e-006, 0.999986768))
949
CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
950
NeckHandle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","NeckHandle",Vector3.new(0.799999714, 0.800000012, 0.99999994))
951
NeckHandleweld=CreateWeld(m,NeckHandleConnector,NeckHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1.00000143, -4.71995372e-006, -3.57601493e-007, -4.71995372e-006, 0.999980211, 1.84771216e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695))
952
CreateMesh("SpecialMesh",NeckHandle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
953
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Part",Vector3.new(1.5999999, 0.800000012, 0.99999994))
954
Partweld=CreateWeld(m,NeckHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.673364639, 0.315284729, 1.14440918e-005, 0.499996573, 0.866005898, 1.41687553e-006, -0.866028965, 0.499994099, 1.24860276e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695))
955
CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
956
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Part",Vector3.new(1.5999999, 1, 1.39999998))
957
Partweld=CreateWeld(m,NeckHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.456003189, -0.000812530518, 1.52587891e-005, 0.707109332, 0.707094491, 1.05421987e-006, -0.707105219, 0.707105219, 1.56317299e-006, 2.27782948e-009, -3.0485694e-009, 0.999992847))
958
CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
959
TailHandle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","TailHandle",Vector3.new(0.799999714, 0.800000012, 0.99999994))
960
TailHandleweld=CreateWeld(m,TailHandleConnector,TailHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, -1.90734863e-006, 0, 1.00000143, -4.71995372e-006, -3.57601493e-007, -4.71995372e-006, 0.999980211, 1.84771216e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695))
961
CreateMesh("SpecialMesh",TailHandle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
962
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Part",Vector3.new(1.39999974, 0.800000012, 0.99999994))
963
Partweld=CreateWeld(m,TailHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.299999237, 3.57627869e-007, 0, 1.00000143, -4.71995372e-006, -3.57601493e-007, -4.71995372e-006, 0.999980211, 1.84771216e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695))
964
CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
965
Tail2HandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","Tail2HandleConnector",Vector3.new(0.599999726, 0.800000012, 0.799999952))
966
Tail2HandleConnectorweld=CreateWeld(m,TailHandle,Tail2HandleConnector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.674129486, -0.0147686005, -0.00961303711, 0.999255121, 0.0334871411, -0.0192402583, -0.0341572762, 0.998781741, -0.0350642987, 0.0180421956, 0.0356986672, 0.999185622))
967
CreateMesh("SpecialMesh",Tail2HandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
968
Tail2Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","Tail2Handle",Vector3.new(0.599999726, 0.800000012, 0.799999952))
969
Tail2Handleweld=CreateWeld(m,Tail2HandleConnector,Tail2Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1.00000131, -5.39020402e-006, -1.95577741e-007, -5.39020402e-006, 0.999980748, 1.59069896e-006, -1.95577741e-007, 1.59069896e-006, 0.999985993))
970
CreateMesh("SpecialMesh",Tail2Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
971
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Part",Vector3.new(1.39999974, 0.800000012, 0.799999952))
972
Partweld=CreateWeld(m,Tail2Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.399993896, -2.86102295e-006, 3.81469727e-006, 1.00000131, -5.39020402e-006, -1.95577741e-007, -5.39020402e-006, 0.999980748, 1.59069896e-006, -1.95577741e-007, 1.59069896e-006, 0.999985993))
973
CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
974
Tail3HandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","Tail3HandleConnector",Vector3.new(0.599999845, 0.800000012, 0.799999952))
975
Tail3HandleConnectorweld=CreateWeld(m,Tail2Handle,Tail3HandleConnector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.933692932, 0.152185202, 0.0128250122, 0.989802122, -0.139427915, 0.0292246509, 0.138289496, 0.989660025, 0.0377997532, -0.0341934189, -0.0333709307, 0.998850942))
976
CreateMesh("SpecialMesh",Tail3HandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
977
Tail3Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","Tail3Handle",Vector3.new(0.599999845, 0.800000012, 0.799999952))
978
Tail3Handleweld=CreateWeld(m,Tail3HandleConnector,Tail3Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 2.3010216e-009, 0, 2.3010216e-009, 1, 0, 0, 0, 1.00000012))
979
CreateMesh("SpecialMesh",Tail3Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
980
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Ghost grey","Part",Vector3.new(1.79999983, 0.800000012, 0.200000003))
981
Partweld=CreateWeld(m,Tail3Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.04519272, 0.064440012, -0.0208930969, 1, 2.3010216e-009, 0, 2.3010216e-009, 1, 0, 0, 0, 1.00000012))
982
CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
983
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Ghost grey","Part",Vector3.new(1.79999983, 0.600000024, 0.200000003))
984
Partweld=CreateWeld(m,Tail3Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.11207199, 0.0611591339, 0.00499725342, 0.965926647, -0.258816153, -5.12227416e-008, 0.258816123, 0.965926647, -1.83936208e-007, 9.68575478e-008, 1.64000085e-007, 1))
985
CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
986
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Ghost grey","Part",Vector3.new(1.79999983, 0.600000024, 0.200000003))
987
Partweld=CreateWeld(m,Tail3Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.07800674, 0.0849123001, -0.020816803, 0.965926468, 0.258816481, 2.40281224e-007, -0.258821636, 0.965915978, -1.06403604e-006, -1.3038516e-006, 2.83645932e-006, 0.999992907))
988
CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
989
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Part",Vector3.new(1.39999986, 0.800000012, 0.799999952))
990
Partweld=CreateWeld(m,Tail3Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.400001526, -2.14576721e-006, -3.81469727e-006, 1, 2.3010216e-009, 0, 2.3010216e-009, 1, 0, 0, 0, 1.00000012))
991
CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
992
993
mouse.Button1Down:connect(function()
994
end)
995
996
mouse.KeyDown:connect(function(k)
997
	k = k:lower()
998
	if k == "f" and attack == false and Flying == false then
999
	Humanoid.CameraOffset = Vector3.new(0, -1, 0)
1000
	Humanoid.WalkSpeed = 25
1001
	Flying = true
1002
	elseif k == "f" and attack == false and Flying == true then
1003
	Humanoid.CameraOffset = Vector3.new(0, -2, 0)
1004
	Humanoid.WalkSpeed = 16
1005
	Flying = false
1006
	end
1007
end)
1008
1009
1010
inputserv.InputBegan:connect(function(k)
1011
	if k.KeyCode == Enum.KeyCode.One and typing == false and cooldown3 >= co1 and stamina >= skill1stam then
1012
	elseif k.KeyCode == Enum.KeyCode.Two and typing == false and cooldown3 >= co2 and stamina >= skill2stam then
1013
	elseif k.KeyCode == Enum.KeyCode.Three and typing == false and cooldown3 >= co3 and stamina >= skill3stam then
1014
	elseif k.KeyCode == Enum.KeyCode.Four and typing == false and cooldown3 >= co4 and stamina >= skill4stam then
1015
	end
1016
end)
1017
1018
inputserv.InputBegan:connect(function(k)
1019
	if k.KeyCode == Enum.KeyCode.Slash then
1020
		local fin = nil
1021
		typing = true
1022
		fin = inputserv.InputBegan:connect(function(k)
1023
			if k.KeyCode == Enum.KeyCode.Return or k.UserInputType == Enum.UserInputType.MouseButton1 then
1024
				typing = false
1025
				fin:disconnect()
1026
			end
1027
		end)
1028
	end
1029
end)
1030
1031
function updateskills()
1032
	if cooldown1 <= co1 then
1033
		cooldown1 = cooldown1 + 1 / 30
1034
	end
1035
	if cooldown2 <= co2 then
1036
		cooldown2 = cooldown2 + 1 / 30
1037
	end
1038
	if cooldown3 <= co3 then
1039
		cooldown3 = cooldown3 + 1 / 30
1040
	end
1041
	if cooldown4 <= co4 then
1042
		cooldown4 = cooldown4 + 1 / 30
1043
	end
1044
	if stamina <= maxstamina then
1045
		stamina = stamina + recovermana / 30
1046
	end
1047
end
1048
1049
coroutine.resume(coroutine.create(function(Part,Weld)
1050
while Part.Parent~=nil do
1051
wait(5)
1052
for i=0,1,0.2 do
1053
wait()
1054
BlinkPartR.Mesh.Scale = Vector3.new(.7-1*i,1,1)
1055
end
1056
for i=0,1,0.2 do
1057
wait()
1058
BlinkPartR.Mesh.Scale = Vector3.new(.7+.3*i,1,1)
1059
end
1060
end
1061
end),BlinkPartR,BlinkPartRweld)
1062
1063
coroutine.resume(coroutine.create(function(Part,Weld)
1064
while Part.Parent~=nil do
1065
wait(5)
1066
for i=0,1,0.2 do
1067
wait()
1068
BlinkPartL.Mesh.Scale = Vector3.new(.7-1*i,1,1)
1069
end
1070
for i=0,1,0.2 do
1071
wait()
1072
BlinkPartL.Mesh.Scale = Vector3.new(.7+.3*i,1,1)
1073
end
1074
end
1075
end),BlinkPartL,BlinkPartLweld)
1076
1077
game:GetService'RunService'.Heartbeat:connect(function()
1078
	updateskills()
1079
	Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude 
1080
	velocity = RootPart.Velocity.y
1081
	sine = sine + change
1082
	local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
1083
	if equipped == true or equipped == false then
1084
		if RootPart.Velocity.y > 1 and hit == nil and stun.Value ~= true then 
1085
			Anim = "Jump"
1086
			if attack == false then
1087
				Handleweld.C0 = clerp(Handleweld.C0, cn(0, 0, 2) * angles(math.rad(50), math.rad(0), math.rad(0)), .3)
1088
				NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3)
1089
				HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3)
1090
				LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3)
1091
				LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3)
1092
				RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3)
1093
				RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3)
1094
				TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .3)
1095
				Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .3)
1096
				Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .3)
1097
			end
1098
		elseif RootPart.Velocity.y < -1 and hit == nil and stun.Value ~= true then 
1099
			Anim = "Fall"
1100
			if attack == false then
1101
				Handleweld.C0 = clerp(Handleweld.C0, cn(0, 0, 1) * angles(math.rad(20), math.rad(0), math.rad(0)), .3)
1102
				NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), .3)
1103
				HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), .3)
1104
				LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3)
1105
				LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3)
1106
				RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3)
1107
				RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3)
1108
				TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3)
1109
				Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3)
1110
				Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3)
1111
			end
1112
		elseif Torsovelocity < 1 and hit ~= nil and stun.Value ~= true then
1113
			Anim = "Idle"
1114
			if attack == false and Flying == false then
1115
				change = 1
1116
				Handleweld.C0 = clerp(Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
1117
				NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(10+1.5*math.cos(sine/10))), .3)
1118
				HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-5+1.5*math.cos(sine/10))), .3)
1119
				LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2-3*math.cos(sine/10))), .3)
1120
				LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2-3*math.cos(sine/10))), .3)
1121
				RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2-3*math.cos(sine/10))), .3)
1122
				RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2-3*math.cos(sine/10))), .3)
1123
				TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(15*math.cos(sine/15)), math.rad(5*math.cos(sine/25))), .3)
1124
				Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(-15*math.cos(sine/15)), math.rad(20*math.cos(sine/15)), math.rad(2*math.cos(sine/15))), .3)
1125
				Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(15*math.cos(sine/15)), math.rad(10*math.cos(sine/15)), math.rad(0)), .3)
1126
			elseif attack == false and Flying == true then
1127
				Handleweld.C0 = clerp(Handleweld.C0, cn(0, 3.5+.2*math.cos(sine/10), 2) * angles(math.rad(40+2*math.cos(sine/10)), math.rad(0), math.rad(0)), .3)
1128
				NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10+3*math.cos(sine/10))), .3)
1129
				HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20-3*math.cos(sine/10))), .3)
1130
				LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40+5*math.cos(sine/10))), .3)
1131
				LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30+5*math.cos(sine/10))), .3)
1132
				RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40+5*math.cos(sine/10))), .3)
1133
				RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30+5*math.cos(sine/10))), .3)
1134
				TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20-3*math.cos(sine/10))), .3)
1135
				Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(10+2*math.cos(sine/10))), .3)
1136
				Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(15-1.5*math.cos(sine/10))), .3)
1137
			end
1138
		elseif Torsovelocity > 2 and hit ~= nil and stun.Value ~= true then
1139
			Anim = "Walk"
1140
			if attack == false and Flying == false then
1141
				change = 1
1142
				Handleweld.C0 = clerp(Handleweld.C0, cn(0, 0, 0) * angles(math.rad(1.5+1*math.cos(sine/10)), math.rad(0), math.rad(0)), .3)
1143
				NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(5+2*math.cos(sine/10))), .3)
1144
				HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(5+1.5*math.cos(sine/10))), .3)
1145
				LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30*math.cos(sine/4.5))), .3)
1146
				LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30*math.cos(sine/5))), .3)
1147
				RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30*math.cos(sine/5))), .3)
1148
				RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30*math.cos(sine/4.5))), .3)
1149
				TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(3*math.cos(sine/15))), .3)
1150
				Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2*math.cos(sine/15))), .3)
1151
				Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(3*math.cos(sine/15))), .3)
1152
			elseif attack == false and Flying == true then
1153
				change = 1
1154
				Handleweld.C0 = clerp(Handleweld.C0, cn(0, 3.5+.2*math.cos(sine/10), 1) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
1155
				NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10+1*math.cos(sine/10))), .3)
1156
				HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20+1*math.cos(sine/10))), .3)
1157
				LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40+5*math.cos(sine/10))), .3)
1158
				LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30+5*math.cos(sine/10))), .3)
1159
				RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40+5*math.cos(sine/10))), .3)
1160
				RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30+5*math.cos(sine/10))), .3)
1161
				TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(10-3*math.cos(sine/10))), .3)
1162
				Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(5+2*math.cos(sine/10))), .3)
1163
				Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(3-1.5*math.cos(sine/10))), .3)
1164
			end
1165
		end
1166
	end
1167
end)
1168
local p = game.Players:findFirstChild("EnderWolfMage") -- Put your name where it says pingfuzz
1169
script.Name = "FusScript"
1170
local go = true --for normal shouts
1171
local skygo = true --for sky-related shouts
1172
--19 Shouts: Fus Ro Dah, Wuld Nah Kest, Liz Slen Nus, Yol Toor Shul, Feim Zii Gron, Strun Bah Qo, Fo Krah Diin, Laas Yah Nir,
1173
--Zun Haal Viik, Krii Lun Aus, Tiid Klo Ul, Faas Ru Maar, Toor Bah Yol, Joor Zah Frul, Kaan Drem Ov, Ven Mul Riik, Lok Vah Koor,
1174
--Nahl Daal Vus, and Bex
1175
p.Chatted:connect(function(message)
1176
local msg = string.lower(message)
1177
if string.find(msg, "fus ro dah") and go == true then
1178
go = false
1179
fus = Instance.new("Part")
1180
fus.formFactor = "Custom"
1181
fus.Size = Vector3.new(1, 1, 4)
1182
fus.TopSurface = "Smooth"
1183
fus.BottomSurface = "Smooth"
1184
fus.Anchored = false
1185
fus.CanCollide = false
1186
fus.BrickColor = BrickColor.new("Bright blue")
1187
fus.Transparency = 0.6
1188
fus.Reflectance = 0.5
1189
fus.CFrame = p.Character.Head.CFrame * CFrame.new(0, 0, -4)
1190
fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -150
1191
local f = Instance.new("Fire")
1192
f.Name = "FusFire"
1193
f.Size = fus:GetMass()
1194
f.Heat = 0
1195
f.Color = Color3.new(1, 1, 1)
1196
f.SecondaryColor = Color3.new(1, 1, 1)
1197
f.Parent = fus
1198
local mesh = Instance.new("SpecialMesh")
1199
mesh.MeshType = "Sphere"
1200
mesh.Parent = fus
1201
local bp = Instance.new("BodyPosition")
1202
bp.position = p.Character.Head.Position
1203
bp.maxForce = Vector3.new(0, math.huge, 0)
1204
bp.Parent = fus
1205
fus.Parent = workspace
1206
fus.Touched:connect(fused)
1207
coroutine.resume(coroutine.create(function() 
1208
wait(0.5)
1209
for i = 1, 20 do
1210
wait(0.01)
1211
local cf = fus.CFrame
1212
fus.Size = fus.Size + Vector3.new(1, 1, -1)
1213
f.Size = fus:GetMass()/2
1214
fus.CFrame = cf
1215
end
1216
wait(3)
1217
for i = 1, 40 do
1218
fus.Transparency = fus.Transparency + 0.1
1219
f.Size = f.Size - (fus:GetMass()/40)
1220
wait(0.1)
1221
end
1222
wait()
1223
fus.Transparency = 1
1224
f:remove()
1225
fus:remove()
1226
go = true
1227
end))
1228
game:GetService("Debris"):AddItem(fus, 15)
1229
elseif string.find(msg, "wuld nah kest") then
1230
local speed = p.Character.Humanoid.WalkSpeed --Speed prior to sprinting
1231
local cf = p.Character.Torso.CFrame * CFrame.new(0, 0, -50)
1232
local pos = cf.p
1233
p.Character.Humanoid.WalkSpeed = 200
1234
p.Character.Humanoid:MoveTo(pos, workspace.Base)
1235
wait(0.275)
1236
p.Character.Humanoid.WalkSpeed = speed
1237
p.Character.Humanoid:MoveTo(p.Character.Torso.Position, p.Character.Torso)
1238
elseif string.find(msg, "liz slen nus") and go == true then
1239
--local succ, ret = pcall(function()
1240
go = false
1241
fus = Instance.new("Part")
1242
fus.formFactor = "Custom"
1243
fus.Size = Vector3.new(3, 3, 6)
1244
fus.TopSurface = "Smooth"
1245
fus.BottomSurface = "Smooth"
1246
fus.Anchored = false
1247
fus.CanCollide = false
1248
fus.BrickColor = BrickColor.new("White")
1249
fus.Transparency = 0.5
1250
fus.Reflectance = 0.6
1251
fus.CFrame = p.Character.Head.CFrame * CFrame.new(0, 0, -6)
1252
fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -150
1253
local s = Instance.new("Sparkles")
1254
s.Name = "LizSparkle"
1255
s.SparkleColor = Color3.new(1, 1, 1)
1256
s.Parent = fus
1257
local mesh = Instance.new("SpecialMesh")
1258
mesh.MeshType = "Sphere"
1259
mesh.Parent = fus
1260
local bp = Instance.new("BodyPosition")
1261
bp.position = p.Character.Head.Position
1262
bp.maxForce = Vector3.new(0, math.huge, 0)
1263
bp.Parent = fus
1264
fus.Parent = workspace
1265
fus.Touched:connect(lized)
1266
--[end)
1267
if ret then
1268
local m = Instance.new("Part", p.PlayerGui)
1269
m.Text = "ERROR: " ..ret
1270
game:GetService("Debris"):AddItem(m, 15)
1271
end
1272
coroutine.resume(coroutine.create(function()
1273
wait(3)
1274
for i = 1, 40 do
1275
fus.Transparency = fus.Transparency + 0.1
1276
wait(0.1)
1277
end
1278
wait()
1279
fus.Transparency = 1
1280
fus:remove()
1281
go = true
1282
end))
1283
game:GetService("Debris"):AddItem(fus, 15)
1284
elseif string.find(msg, "yol toor shul") and go == true then
1285
go = false
1286
fus = Instance.new("Part")
1287
fus.formFactor = "Custom"
1288
fus.Size = Vector3.new(3, 3, 6)
1289
fus.TopSurface = "Smooth"
1290
fus.BottomSurface = "Smooth"
1291
fus.Anchored = false
1292
fus.CanCollide = false
1293
fus.BrickColor = BrickColor.new("Bright orange")
1294
fus.Transparency = 0.5
1295
fus.Reflectance = 0.6
1296
fus.CFrame = p.Character.Head.CFrame * CFrame.new(0, 0, -6)
1297
fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -150
1298
local f = Instance.new("Fire")
1299
f.Name = "FusFire"
1300
f.Size = fus:GetMass()/3
1301
f.Heat = 0
1302
f.Parent = fus
1303
local mesh = Instance.new("SpecialMesh")
1304
mesh.MeshType = "Sphere"
1305
mesh.Parent = fus
1306
local bp = Instance.new("BodyPosition")
1307
bp.position = p.Character.Head.Position
1308
bp.maxForce = Vector3.new(0, math.huge, 0)
1309
bp.Parent = fus
1310
fus.Parent = workspace
1311
fus.Touched:connect(yoled)
1312
coroutine.resume(coroutine.create(function() 
1313
wait(0.5)
1314
for i = 1, 20 do
1315
wait(0.01)
1316
local cf = fus.CFrame
1317
fus.Size = fus.Size + Vector3.new(1, 1, -1)
1318
f.Size = fus:GetMass()/2
1319
fus.CFrame = cf
1320
end
1321
wait(3)
1322
for i = 1, 40 do
1323
fus.Transparency = fus.Transparency + 0.1
1324
f.Size = f.Size - (fus:GetMass()/3)/40
1325
wait(0.1)
1326
end
1327
wait()
1328
fus.Transparency = 1
1329
f:remove()
1330
fus:remove()
1331
go = true
1332
end))
1333
game:GetService("Debris"):AddItem(fus, 15)
1334
elseif string.find(msg, "feim zii gron") then
1335
p.Character.Humanoid.WalkSpeed = 30
1336
for a, b in pairs(p.Character:children()) do
1337
if b.Name == "Head" then
1338
if b:findFirstChild("face") ~= nil then
1339
coroutine.resume(coroutine.create(function()
1340
for i = 1, 110 do
1341
b.face.Transparency = b.face.Transparency + 0.01
1342
wait(0.01)
1343
end
1344
b.face.Transparency = 1
1345
end))
1346
end
1347
end
1348
if b.className == "Part" then
1349
coroutine.resume(coroutine.create(function()
1350
for i = 1, 110 do
1351
b.Transparency = b.Transparency + 0.01
1352
wait(0.01)
1353
end
1354
b.Transparency = 1
1355
end))
1356
elseif b.className == "Hat" then
1357
coroutine.resume(coroutine.create(function()
1358
for i = 1, 110 do
1359
b.Handle.Transparency = b.Handle.Transparency + 0.01
1360
wait(0.01)
1361
end
1362
b.Handle.Transparency = 1
1363
end))
1364
end
1365
end
1366
wait(15)
1367
p.Character.Humanoid.WalkSpeed = 16
1368
for a, b in pairs(p.Character:children()) do
1369
if b.Name == "Head" then
1370
if b:findFirstChild("face") ~= nil then
1371
coroutine.resume(coroutine.create(function()
1372
for i = 1, 110 do
1373
b.face.Transparency = b.face.Transparency - 0.01
1374
wait(0.01)
1375
end
1376
b.face.Transparency = 0
1377
end))
1378
end
1379
end
1380
if b.className == "Part" then
1381
coroutine.resume(coroutine.create(function()
1382
for i = 1, 110 do
1383
b.Transparency = b.Trans0arency - 0.01
1384
wait(0.01)
1385
end
1386
b.Transparency = 0
1387
end))
1388
elseif b.className == "Hat" then
1389
coroutine.resume(coroutine.create(function()
1390
for i = 1, 110 do
1391
b.Handle.Transparency = b.Handle.Transparency - 0.01
1392
wait(0.01)
1393
end
1394
b.Handle.Transparency = 0
1395
end))
1396
end
1397
end
1398
elseif string.find(msg, "strun bah qo") and skygo == true then
1399
skygo = false
1400
local clouds = {}
1401
function lightning(cl)
1402
local lights = {}
1403
for i = 1, 15 do
1404
local l = Instance.new("Part")
1405
l.Name = "FusLightning"
1406
table.insert(lights, l)
1407
game:GetService("Debris"):AddItem(l, 15)
1408
l.formFactor = "Custom"
1409
l.Size = Vector3.new(1, math.random(50, 75), 1)
1410
l.BrickColor = BrickColor.new("Institutional white")
1411
l.Transparency = 0.45
1412
l.Reflectance = 0.5
1413
l.Anchored = true
1414
l.CanCollide = false
1415
local xnum = 6
1416
local znum = 6
1417
if i == 1 then
1418
l.CFrame = cl.CFrame * CFrame.Angles(math.random(-(math.pi/xnum), math.pi/xnum), 0, math.random(-(math.pi/znum), math.pi/znum)) * CFrame.new(0, -1 * (l.Size.Y/2), 0)
1419
elseif i > 1 then
1420
local llight = lights[i - 1]
1421
l.CFrame = llight.CFrame * CFrame.Angles(math.random(-(math.pi/xnum), math.pi/xnum), 0, math.random(-(math.pi/znum), math.pi/znum)) * CFrame.new(0, -1 * (l.Size.Y/2), 0)
1422
end
1423
l.Parent = workspace
1424
l.Touched:connect(function(part) struned(part, l) end)
1425
coroutine.resume(coroutine.create(function()
1426
repeat
1427
l.Transparency = l.Transparency + 0.02
1428
wait()
1429
until l.Transparency >= 1
1430
l:remove()
1431
end))
1432
end
1433
end
1434
for i = 1, 100 do
1435
game.Lighting.Brightness = game.Lighting.Brightness - 0.01
1436
wait(0.05)
1437
end
1438
game.Lighting.Brightness = 0
1439
local cloud = Instance.new("Part")
1440
cloud.Name = "StrunCloud"
1441
cloud.Size = Vector3.new(1, 1, 1)
1442
cloud.Anchored = true
1443
cloud.CanCollide = false
1444
cloud.BrickColor = BrickColor.new("Black")
1445
cloud.Transparency = 1
1446
local mesh = Instance.new("SpecialMesh")
1447
mesh.MeshType = "FileMesh"
1448
mesh.Scale = Vector3.new(math.random(100, 150), math.random(50, 100), math.random(100, 150))
1449
mesh.MeshId = "www.roblox.com/asset/?id=1095708"
1450
mesh.Parent = cloud
1451
for i = 1, (math.random(4, 8)) do
1452
local newc = cloud:clone()
1453
newc.Parent = workspace
1454
game:GetService("Debris"):AddItem(newc, 300)
1455
table.insert(clouds, newc)
1456
newc.CFrame = CFrame.new(p.Character.Torso.Position + Vector3.new(math.random(-250, 250), math.random(150, 200), math.random(-250, 250)))
1457
coroutine.resume(coroutine.create(function()
1458
repeat
1459
newc.Transparency = newc.Transparency - 0.01
1460
wait()
1461
until newc.Transparency <= 0.2
1462
newc.Transparency = 0.2
1463
end))
1464
end
1465
for i = 1, (math.random(7, 15)) do
1466
if skygo == true then break end
1467
local s = Instance.new("Sound")
1468
game:GetService("Debris"):AddItem(s, 5)
1469
s.Name = "Lighting"
1470
s.SoundId = "rbxasset://sounds/HalloweenLightning.wav"
1471
s.Pitch = (math.random(10, 15) * 0.1)
1472
s.PlayOnRemove = true
1473
s.Looped = false
1474
s.Parent = workspace
1475
wait(0.5)
1476
s:play()
1477
for i = 1, #clouds do
1478
lightning(clouds[i])
1479
end
1480
game.Lighting.Brightness = 1
1481
wait(0.001)
1482
game.Lighting.Brightness = 0
1483
s:remove()
1484
wait(math.random(3, 6))
1485
end
1486
wait(2)
1487
for i = 1, #clouds do
1488
coroutine.resume(coroutine.create(function()
1489
repeat
1490
clouds[i].Transparency = clouds[i].Transparency + 0.01
1491
wait(0.05)
1492
until clouds[i].Transparency >= 1
1493
clouds[i]:remove()
1494
end))
1495
end
1496
for i = 1, 110 do
1497
game.Lighting.Brightness = game.Lighting.Brightness + 0.01
1498
wait(0.01)
1499
end
1500
skygo = true
1501
game.Lighting.Brightness = 1
1502
elseif string.find(msg, "fo krah diin") and go == true then
1503
go = false
1504
for i = 1, 50 do
1505
fus = Instance.new("Part")
1506
fus.formFactor = "Custom"
1507
fus.Size = Vector3.new(0.5, 0.5, 0.5)
1508
fus.TopSurface = "Smooth"
1509
fus.BottomSurface = "Smooth"
1510
fus.Anchored = false
1511
fus.CanCollide = false
1512
fus.BrickColor = BrickColor.new("Institutional white")
1513
fus.Transparency = 0.6
1514
fus.Reflectance = 0.5
1515
fus.CFrame = p.Character.Head.CFrame * CFrame.new(math.random(-15, 15)*0.1, math.random(-15, 15)*0.1, -4)
1516
fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -150
1517
local f = Instance.new("Fire")
1518
f.Name = "FusFire"
1519
f.Size = fus:GetMass()
1520
f.Heat = 0
1521
f.Color = Color3.new(1, 1, 1)
1522
f.SecondaryColor = Color3.new(1, 1, 1)
1523
f.Parent = fus
1524
local mesh = Instance.new("SpecialMesh")
1525
mesh.MeshType = "Sphere"
1526
mesh.Parent = fus
1527
local bp = Instance.new("BodyPosition")
1528
bp.position = fus.Position
1529
bp.maxForce = Vector3.new(0, math.huge, 0)
1530
bp.Parent = fus
1531
fus.Parent = workspace
1532
fus.Touched:connect(function(part) foed(part, fus) end)
1533
game:Ge4Service("Debris"):AddItem(fus, 15)
1534
end
1535
go = true
1536
elseif string.find(msg, "laas yah nir") then
1537
for i = 1, 30 do
1538
for a, b in pairs(game.Players:children()) do
1539
if b.Character ~= nil then
1540
if (p.Character.Torso.Position - b.Character.Torso.Position).magnitude <= 100 and b ~= p then
1541
if b.Character.Torso:findFirstChild("LaasFire") == nil then
1542
local f = Instance.new("Fire", b.Character.Torso)
1543
f.Name = "LaasFire"
1544
f.Size = b.Character.Torso:GetMass()*2
1545
f.Color = Color3.new(0, 0, 0)
1546
f.SecondaryColor = Color3.new(1, 1, 1)
1547
end
1548
elseif (p.Character.Torso.Position - b.Character.Torso.Position).magnitude > 100 then
1549
if b.Character.Torso:findFirstChild("LaasFire") ~= nil then
1550
b.Character.Torso.LaasFire:remove()
1551
end
1552
end
1553
end
1554
end
1555
wait(1)
1556
end
1557
for a, b in pairs(game.Players:children()) do
1558
if b.Character.Torso:findFirstChild("LaasFire") ~= nil then
1559
b.Character.Torso.LaasFire:remove()
1560
end
1561
end
1562
elseif string.find(msg, "zun haal viik") and go == true then
1563
go = false
1564
fus = Instance.new("Part")
1565
fus.formFactor = "Custom"
1566
fus.Size = Vector3.new(1, 1, 4)
1567
fus.TopSurface = "Smooth"
1568
fus.BottomSurface = "Smooth"
1569
fus.Anchored = false
1570
fus.CanCollide = false
1571
fus.BrickColor = BrickColor.new("Lime green")
1572
fus.Transparency = 0.6
1573
fus.Reflectance = 0.5
1574
fus.CFrame = p.Character.Head.CFrame * CFrame.new(0, 0, -4)
1575
fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -200
1576
local f = Instance.new("Fire")
1577
f.Name = "FusFire"
1578
f.Size = fus:GetMass()
1579
f.Heat = 0
1580
f.Color = Color3.new(1, 1, 1)
1581
f.SecondaryColor = Color3.new(1, 1, 1)
1582
f.Parent = fus
1583
local mesh = In3tance.new("SpecialMesh")
1584
mesh.MeshType = "Sphere"
1585
mesh.Parent = fus
1586
local bp = Instance.new("BodyPosition")
1587
bp.position = p.Character.Head.Position
1588
bp.maxForce = Vector3.new(0, math.huge, 0)
1589
bp.Parent = fus
1590
fus.Paren4 = workspace
1591
fus.Touched:connect(function(part) zuned(part, fus) end)
1592
coroutine.resume(coroutine.create(function() 
1593
wait(0.5)
1594
for i = 1, 9 do
1595
wait(0.01)
1596
local cf = fus.CFrame
1597
fus.Size = fus.Size + Vector3.new(1, 1, -1)
1598
f.Size = fus:GetMass()/2
1599
fus.CFrame = cf
1600
end
1601
wait(3)
1602
for i = 1, 40 do
1603
fus.Transparency = fus.Transparency + 0.1
1604
f.Size = f.Size - (fus:GetMass()/40)
1605
wait(0.1)
1606
end
1607
wait()
1608
fus.Transparency = 1
1609
f:remove()
1610
fus:remove()
1611
go = true
1612
end))
1613
game:GetService("Debris"):AddItem(fus, 15)
1614
elseif string.find(msg, "krii lun aus") and go == true then
1615
go = false
1616
fus = Instance.new("Part")
1617
fus.formFactor = "Custom"
1618
fus.Size = Vector3.new(1, 1, 4)
1619
fus.TopSurface = "Smooth"
1620
fus.BottomSurface = "Smooth"
1621
fus.Anchored = false
1622
fus.CanCollide = false
1623
fus.BrickColor = BrickColor.new("Bright purple")
1624
fus.Transparency = 0.6
1625
fus.Reflectance = 0.5
1626
fus.CFrame = p.Character.Head.CFrame * CFrame.new(0, 0, -4)
1627
fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -150
1628
local f = Instance.new("Fire")
1629
f.Name = "FusFire"
1630
f.Size = fus:GetMass()
1631
f.Heat = 0
1632
f.Color = Color3.new(0, 0, 0)
1633
f.SecondaryColor = Color3.new(0, 0, 0)
1634
f.Parent = fus
1635
local mesh = Instance.new("SpecialMesh")
1636
mesh.MeshType = "Sphere"
1637
mesh.Parent = fus
1638
local bp = Instance.new("BodyPosition")
1639
bp.position = p.Character.Head.Position
1640
bp.maxForce = Vector3.new(0, math.huge, 0)
1641
bp.Parent = fus
1642
fus.Parent = workspace
1643
fus.Touched:connect(function(part) kriied(part, fus) end)
1644
coroutine.resume(coroutine.create(function() 
1645
wait(0.5)
1646
for i = 1, 19 do
1647
wait(0.01)
1648
local cf = fus.CFrame
1649
fus.Size = fus.Size + Vector3.new(1, 1, -1)
1650
f.Size = fus:GetMass()/2
1651
fus.CFrame = cf
1652
end
1653
wait(3)
1654
for i = 1, 40 do
1655
fus.Transparency = fus.Transparency + 0.1
1656
f.Size = f.Size - (fus:GetMass()/40)
1657
wait(0.1)
1658
end
1659
wait()
1660
fus.Transparency = 1
1661
f:remove()
1662
fus:remove()
1663
go = true
1664
end))
1665
game:GetService("Debris"):AddItem(fus, 15)
1666
elseif string.find(msg, "tiid klo ul") then
1667
for a, b in pairs(game.Players:children()) do
1668
if b.Character ~= nil and b ~= p then
1669
for c, d in pairs(b.Character:children()) do
1670
if d.className == "Part" then
1671
if d.Anchored == false then
1672
local cf = nil
1673
if d.Name == "Torso" then
1674
cf = d.CFrame
1675
end
1676
d.Anchored = true
1677
coroutine.resume(coroutine.create(function()
1678
wait(10)
1679
if d ~= nil then
1680
d.Anchored = false
1681
d.CFrame = cf
1682
end
1683
end))
1684
end
1685
elseif d.className == "Hat" then
1686
if d.Handle.Anchored == false then
1687
d.Handle.Anchored = true
1688
coroutine.resume(coroutine.create(function()
1689
wait(10)
1690
if d ~= nil then
1691
if d.Handle ~= nil then
1692
d.Handle.Anchored = false
1693
end
1694
end
1695
end))
1696
end
1697
end
1698
end
1699
end
1700
end
1701
elseif string.find(msg, "faas ru maar") and go == true then
1702
go = false
1703
fus = Instance.new("Part")
1704
fus.formFactor = "Custom"
1705
fus.Size = Vector3.new(1, 1, 4)
1706
fus.TopSurface = "Smooth"
1707
fus.BottomSurface = "Smooth"
1708
fus.Anchored = false
1709
fus.CanCollide = false
1710
fus.BrickColor = BrickColor.new("Really black")
1711
fus.Transparency = 0.6
1712
fus.Reflectance = 0.5
1713
fus.CFrame = p.Character.Head.CFrame * CFrame.new(0, 0, -4)
1714
fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -150
1715
local f = Instance.new("Fire")
1716
f.Name = "FusFire"
1717
f.Size = fus:GetMass()
1718
f.Heat = 0
1719
f.Color = Color3.new(0, 0, 0)
1720
f.SecondaryColor = Color3.new(0, 0, 0)
1721
f.Parent = fus
1722
local mesh = Instance.new("SpecialMesh")
1723
mesh.MeshType = "Sphere"
1724
mesh.Parent = fus
1725
local bp = Instance.new("BodyPosition")
1726
bp.position = p.Character.Head.Position
1727
bp.maxForce = Vector3.new(0, math.huge, 0)
1728
bp.Parent = fus
1729
fus.Parent = workspace
1730
fus.Touched:connect(function(part) faased(part) end)
1731
coroutine.resume(coroutine.create(function() 
1732
wait(0.5)
1733
for i = 1, 19 do
1734
wait(0.01)
1735
local cf = fus.CFrame
1736
fus.Size = fus.Size + Vector3.new(1, 1, -1)
1737
f.Size = fus:GetMass()/2
1738
fus.CFrame = cf
1739
end
1740
wait(3)
1741
for i = 1, 40 do
1742
fus.Transparency = fus.Transparency + 0.1
1743
f.Size = f.Size - (fus:GetMass()/40)
1744
wait(0.1)
1745
end
1746
wait()
1747
fus.Transparency = 1
1748
f:remove()
1749
fus:remove()
1750
go = true
1751
end))
1752
game:GetService("Debris"):AddItem(fus, 15)
1753
elseif string.find(msg, "toor bah yol") and skygo == true then
1754
skygo = false
1755
local clouds = {}
1756
function meteor(cloud)
1757
local cf = CFrame.new(cloud.Position + Vector3.new(math.random(-10, 10), 20, math.random(-10, 10)))
1758
local m = Instance.new("Part")
1759
m.Name = "FusRock"
1760
m.Shape = "Ball"
1761
m.formFactor = "Symmetric"
1762
m.Anchored = false
1763
m.CanCollide = false
1764
m.TopSurface = "Smooth"
1765
m.BottomSurface = "Smooth"
1766
local size = math.random(10, 20)
1767
m.Size = Vector3.new(size, size, size)
1768
m.BrickColor = BrickColor.new("Bright red")
1769
m.Reflectance = 0.4
1770
m.CFrame = cf
1771
Instance.new("Fire", m).Size = m:GetMass()
1772
m.Velocity = Vector3.new(0, -50, 0)
1773
m.Parent = workspace
1774
game:GetService("Debris"):AddItem(m, 30)
1775
m.Touched:connect(function(part) toored(part, m) end)
1776
end
1777
for i = 1, 100 do
1778
game.Lighting.Brightness = game.Lighting.Brightness - 0.01
1779
wait(0.05)
1780
end
1781
game.Lighting.Brightness = 0
1782
local cloud = Instance.new("Part")
1783
cloud.Name = "ToorCloud"
1784
cloud.Size = Vector3.new(1, 1, 1)
1785
cloud.Anchored = true
1786
cloud.CanCollide = false
1787
cloud.BrickColor = BrickColor.new("Black")
1788
cloud.Transparency = 1
1789
local mesh = Instance.new("SpecialMesh")
1790
mesh.MeshType = "FileMesh"
1791
mesh.Scale = Vector3.new(math.random(100, 150), math.random(50, 100), math.random(100, 150))
1792
mesh.MeshId = "www.roblox.com/asset/?id=1095708"
1793
mesh.Parent = cloud
1794
for i = 1, (math.random(4, 8)) do
1795
local newc = cloud:clone()
1796
newc.Parent = workspace
1797
game:GetService("Debris"):AddItem(newc, 180)
1798
table.insert(clouds, newc)
1799
newc.CFrame = CFrame.new(p.Character.Torso.Position + Vector3.new(math.random(-250, 250), math.random(150, 200), math.random(-250, 250)))
1800
coroutine.resume(coroutine.create(function()
1801
repeat
1802
newc.Transparency = newc.Transparency - 0.01
1803
wait()
1804
until newc.Transparency <= 0.2
1805
newc.Transparency = 0.2
1806
end))
1807
end
1808
for launch = 1, math.random(20, 30) do
1809
if skygo == true then break end
1810
wait(math.random(2, 4))
1811
meteor(clouds[math.random(1, #clouds)])
1812
end
1813
wait(1)
1814
for c = 1, #clouds do
1815
coroutine.resume(coroutine.create(function()
1816
repeat
1817
clouds[c].Transparency = clouds[c].Transparency + 0.01
1818
wait()
1819
until clouds[c].Transparency >= 1
1820
clouds[c].Transparency = 1
1821
clouds[c]:remove()
1822
end))
1823
end
1824
repeat
1825
game.Lighting.Brightness = game.Lighting.Brightness + 0.01
1826
wait(0.01)
1827
until game.Lighting.Brightness >= 1
1828
game.Lighting.Brightness = 1
1829
skygo = true
1830
elseif string.find(msg, "joor zah frul") and go == true then
1831
go = false
1832
fus = Instance.new("Part")
1833
fus.formFactor = "Custom"
1834
fus.Size = Vector3.new(1, 1, 4)
1835
fus.TopSurface = "Smooth"
1836
fus.BottomSurface = "Smooth"
1837
fus.Anchored = false
1838
fus.CanCollide = false
1839
fus.BrickColor = BrickColor.new("Bright yellow")
1840
fus.Transparency = 0.7
1841
fus.Reflectance = 0.5
1842
fus.CFrame = p.Character.Head.CFrame * CFrame.new(0, 0, -4)
1843
fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -150
1844
local f = Instance.new("Sparkles")
1845
f.Name = "FusSparkles"
1846
f.SparkleColor = Color3.new(0, 0, 0)
1847
f.Parent = fus
1848
local mesh = Instance.new("SpecialMesh")
1849
mesh.MeshType = "Sphere"
1850
mesh.Parent = fus
1851
local bp = Instance.new("BodyPosition")
1852
bp.position = p.Character.Head.Position
1853
bp.maxForce = Vector3.new(0, math.huge, 0)
1854
bp.Parent = fus
1855
fus.Parent = workspace
1856
fus.Touched:connect(function(part) joored(part, fus) end)
1857
coroutine.resume(coroutine.create(function() 
1858
wait(0.5)
1859
for i = 1, 19 do
1860
wait(0.01)
1861
local cf = fus.CFrame
1862
fus.Size = fus.Size + Vector3.new(1, 1, -1)
1863
fus.CFrame = cf
1864
end
1865
wait(3)
1866
for i = 1, 40 do
1867
fus.Transparency = fus.Transparency + 0.1
1868
wait(0.1)
1869
end
1870
wait()
1871
fus.Transparency = 1
1872
f:remove()
1873
fus:remove()
1874
go = true
1875
end))
1876
game:GetService("Debris"):AddItem(fus, 15)
1877
elseif string.find(msg, "kaan drem ov") and go == true then
1878
go = false
1879
fus = Instance.new("Part")
1880
fus.formFactor = "Custom"
1881
fus.Size = Vector3.new(1, 1, 4)
1882
fus.TopSurface = "Smooth"
1883
fus.BottomSurface = "Smooth"
1884
fus.Anchored = false
1885
fus.CanCollide = false
1886
fus.BrickColor = BrickColor.new("White")
1887
fus.Transparency = 0.7
1888
fus.Reflectance = 0.5
1889
fus.CFrame = p.Character.Head.CFrame * CFrame.new(0, 0, -4)
1890
fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -150
1891
local f = Instance.new("Sparkles")
1892
f.Name = "FusSparkles"
1893
f.SparkleColor = Color3.new(1, 1, 1)
1894
f.Parent = fus
1895
local mesh = Instance.new("SpecialMesh")
1896
mesh.MeshType = "Sphere"
1897
mesh.Parent = fus
1898
local bp = Instance.new("BodyPosition")
1899
bp.position = p.Character.Head.Position
1900
bp.maxForce = Vector3.new(0, math.huge, 0)
1901
bp.Parent = fus
1902
fus.Parent = workspace
1903
fus.Touched:connect(function(part) kaaned(part) end)
1904
coroutine.resume(coroutine.create(function() 
1905
wait(0.5)
1906
for i = 1, 19 do
1907
wait(0.01)
1908
local cf = fus.CFrame
1909
fus.Size = fus.Size + Vector3.new(1, 1, -1)
1910
fus.CFrame = cf
1911
end
1912
wait(3)
1913
for i = 1, 40 do
1914
fus.Transparency = fus.Transparency + 0.1
1915
wait(0.1)
1916
end
1917
wait()
1918
fus.Transparency = 1
1919
f:remove()
1920
fus:remove()
1921
go = true
1922
end))
1923
game:GetService("Debris"):AddItem(fus, 15)
1924
elseif string.find(msg, "ven mul riik") and skygo == true then
1925
skygo = false
1926
local l = game.Lighting
1927
l.FogEnd = 1000
1928
coroutine.resume(coroutine.create(function()
1929
repeat
1930
l.FogEnd = l.FogEnd - 3
1931
wait()
1932
until l.FogEnd < 50
1933
wait(10)
1934
repeat
1935
l.FogEnd = l.FogEnd + 5
1936
wait()
1937
until l.FogEnd > 5000
1938
l.FogEnd = 10000
1939
skygo = true
1940
end))
1941
elseif string.find(msg, "lok vah koor") and skygo == false and go == true then
1942
skygo = true
1943
--Not changing go because this is an instantaneous reaction.
1944
coroutine.resume(coroutine.create(function()
1945
local b = Instance.new("Part")
1946
b.Shape = "Ball"
1947
b.formFactor = "Symmetric"
1948
b.Size = Vector3.new(1, 1, 1)
1949
b.CFrame = p.Character.Torso.CFrame
1950
b.TopSurface = "Smooth"
1951
b.BottomSurface = "Smooth"
1952
b.Anchored = true
1953
b.CanCollide = false
1954
b.Name = "LokBall"
1955
b.BrickColor = BrickColor.new("White")
1956
b.Parent = p.Character
1957
game:GetService("Debris"):AddItem(b, 20)
1958
repeat
1959
b.Size = b.Size + Vector3.new(1, 1, 1)
1960
b.CFrame = p.Character.Torso.CFrame
1961
b.Transparency = b.Transparency + 1/29
1962
wait()
1963
until b.Size.x == 30
1964
b:remove()
1965
end))
1966
local l = game.Lighting
1967
coroutine.resume(coroutine.create(function()
1968
repeat
1969
l.FogEnd = l.FogEnd + 5
1970
wait()
1971
until l.FogEnd > 5000
1972
l.FogEnd = 10000
1973
end))
1974
elseif string.find(msg, "nahl daal vus") and go == true then
1975
go = false
1976
fus = Instance.new("Part")
1977
fus.formFactor = "Custom"
1978
fus.Size = Vector3.new(2, 2, 4)
1979
fus.TopSurface = "Smooth"
1980
fus.BottomSurface = "Smooth"
1981
fus.Anchored = false
1982
fus.CanCollide = false
1983
fus.BrickColor = BrickColor.new("Bright green")
1984
fus.Transparency = 0.7
1985
fus.Reflectance = 0.5
1986
fus.CFrame = p.Character.Head.CFrame * CFrame.new(0, 0, -4)
1987
fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -150
1988
local f = Instance.new("Sparkles")
1989
f.Name = "FusSparkles"
1990
f.SparkleColor = Color3.new(1, 1, 1)
1991
f.Parent = fus
1992
local mesh = Instance.new("SpecialMesh")
1993
mesh.MeshType = "Sphere"
1994
mesh.Parent = fus
1995
local bp = Instance.new("BodyPosition")
1996
bp.position = p.Character.Head.Position
1997
bp.maxForce = Vector3.new(0, math.huge, 0)
1998
bp.Parent = fus
1999
fus.Parent = workspace
2000
fus.Touched:connect(function(part) nahled(part) end)
2001
coroutine.resume(coroutine.create(function() 
2002
wait(0.5)
2003
for i = 1, 19 do
2004
wait(0.01)
2005
local cf = fus.CFrame
2006
fus.Size = fus.Size + Vector3.new(1, 1, -1)
2007
fus.CFrame = cf
2008
end
2009
wait(3)
2010
for i = 1, 40 do
2011
fus.Transparency = fus.Transparency + 0.1
2012
wait(0.1)
2013
end
2014
wait()
2015
fus.Transparency = 1
2016
f:remove()
2017
fus:remove()
2018
go = true
2019
end))
2020
game:GetService("Debris"):AddItem(fus, 15)
2021
elseif string.find(msg, "bex") and go == true then
2022
go = false
2023
fus = Instance.new("Part")
2024
fus.formFactor = "Custom"
2025
fus.Size = Vector3.new(1, 1, 4)
2026
fus.TopSurface = "Smooth"
2027
fus.BottomSurface = "Smooth"
2028
fus.Anchored = false
2029
fus.CanCollide = false
2030
fus.BrickColor = BrickColor.new("White")
2031
fus.Transparency = 0.7
2032
fus.Reflectance = 0.5
2033
fus.CFrame = p.Character.Head.CFrame * CFrame.new(0, 0, -4)
2034
fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -150
2035
local mesh = Instance.new("SpecialMesh")
2036
mesh.MeshType = "Sphere"
2037
mesh.Parent = fus
2038
local bp = Instance.new("BodyPosition")
2039
bp.position = p.Character.Head.Position
2040
bp.maxForce = Vector3.new(0, math.huge, 0)
2041
bp.Parent = fus
2042
fus.Parent = workspace
2043
fus.Touched:connect(function(part) bexed(part) end)
2044
coroutine.resume(coroutine.create(function() 
2045
wait(1)
2046
for i = 1, 40 do
2047
fus.Transparency = fus.Transparency + 0.1
2048
wait(0.1)
2049
end
2050
wait()
2051
fus.Transparency = 1
2052
fus:remove()
2053
go = true
2054
end))
2055
game:GetService("Debris"):AddItem(fus, 15)
2056
end
2057
end)
2058
function bexed(part)
2059
if part.Parent then
2060
if part.Name == "Door" then
2061
local d = part:clone()
2062
coroutine.resume(coroutine.create(function()
2063
repeat
2064
part.Transparency = part.Transparency + 0.05
2065
wait()
2066
until part.Transparency >= 1
2067
part.Anchored = true
2068
part.CanCollide = false
2069
wait(3)
2070
repeat
2071
part.Transparency = part.Transparency - 0.05
2072
wait()
2073
until part.Transparency <= d.Transparency
2074
part.Transparency = d.Transparency
2075
if d.CanCollide == true then
2076
part.CanCollide = true
2077
end
2078
if d.Anchored == true then
2079
part.Anchored = d.Anchored
2080
end
2081
end))
2082
end
2083
end
2084
end
2085
function nahled(part)
2086
if workspace:findFirstChild("Base") ~= nil then
2087
if part.Parent then
2088
if part.Parent:findFirstChild("Humanoid") ~= nil and part.Parent:findFirstChild("Torso") ~= nil and part.Parent ~= p.Character then
2089
part.Parent.Torso.CFrame = workspace.Base.CFrame * CFrame.new(0, 5, 0)
2090
end
2091
end
2092
end
2093
end
2094
function kaaned(part)
2095
if part.Parent then
2096
if part.Parent:findFirstChild("Humanoid") ~= nil and part.Parent:findFirstChild("Torso") ~= nil and part.Parent ~= p.Character then
2097
if part.Parent:findFirstChild("Kaaned") == nil then
2098
local k = Instance.new("IntValue", part.Parent)
2099
k.Name = "Kaaned"
2100
game:GetService("Debris"):AddItem(k, 2)
2101
local hum = part.Parent.Humanoid
2102
local speed = hum.WalkSpeed
2103
coroutine.resume(coroutine.create(function()
2104
hum.WalkSpeed = 0
2105
wait(10)
2106
hum.WalkSpeed = speed
2107
end))
2108
end
2109
end
2110
end
2111
end
2112
function joored(part, shout)
2113
shout.Anchored = false
2114
shout.CanCollide = false
2115
if part.Parent then
2116
if part.Parent:findFirstChild("Humanoid") ~= nil and part.Parent:findFirstChild("Torso") ~= nil and part.Parent ~= p.Character then
2117
if part.Parent:findFirstChild("Joored") == nil then
2118
local j = Instance.new("IntValue", part.Parent)
2119
j.Name = "Joored"
2120
game:GetService("Debris"):AddItem(j, 2)
2121
local hum = part.Parent.Humanoid
2122
tag(hum)
2123
hum.Parent:BreakJoints()
2124
for a, b in pairs(hum.Parent:children()) do
2125
if b.className == "Part" then
2126
b.Velocity = (p.Character.Torso.Position - b.Position).unit * -50
2127
local f = Instance.new("Fire", b)
2128
f.Color = Color3.new(0, 0, 0)
2129
f.SecondaryColor = Color3.new(0, 0, 0)
2130
f.Heat = 0
2131
f.Size = ":GetMass()"
2132
local bf = Instance.new("BodyVelocity")
2133
bf.Parent = b
2134
bf.P = 196*b:GetMass()
2135
bf.maxForce = Vector3.new(0, 196*b:GetMass(), 0)
2136
bf.velocity = Vector3.new(0, 196*b:GetMass(), 0)
2137
elseif b.className == "Hat" then
2138
local b = b.Handle
2139
b.Velocity = (p.Character.Torso.Position - b.Position).unit * -50
2140
local f = Instance.new("Fire", b)
2141
f.Color = Color3.new(0, 0, 0)
2142
f.SecondaryColor = Color3.new(0, 0, 0)
2143
f.Heat = 0
2144
f.Size = 3
2145
local bf = Instance.new("BodyVelocity")
2146
bf.Parent = b
2147
bf.P = 196*b:GetMass()
2148
bf.maxForce = Vector3.new(0, 196*b:GetMass(), 0)
2149
bf.velocity = Vector3.new(0, 196*b:GetMass(), 0)
2150
elseif b.className == "ForceField" then
2151
b:remove()
2152
local e = Instance.new("Explosion", hum.Parent.Torso)
2153
e.BlastRadius = 1
2154
e.BlastPressure = 1
2155
e.position = hum.Parent.Torso.Position
2156
end
2157
end
2158
end
2159
end
2160
end
2161
end
2162
function toored(part, m)
2163
if part.Name ~= "FusRock" and part.Name ~= "ToorCloud" and part.CanCollide == true then
2164
m.Anchored = true
2165
m.CanCollide = true
2166
if m:findFirstChild("Touched") == nil then
2167
Instance.new("IntValue", m).Name = "Touched"
2168
m.CFrame = CFrame.new(m.Position.x, part.Position.y, m.Position.z)
2169
end
2170
local e = Instance.new("Explosion")
2171
e.BlastPressure = 50000
2172
e.BlastRadius = 15
2173
e.Position = m.Position
2174
e.Parent = m
2175
e.Hit:connect(function(hit)
2176
if hit.Parent then
2177
if hit.Parent:findFirstChild("Humanoid") ~= nil then
2178
tag(hit.Parent.Humanoid)
2179
end
2180
end
2181
end)
2182
end
2183
end
2184
function faased(part)
2185
if part.Parent then
2186
if part.Parent:findFirstChild("Humanoid") ~= nil and part.Parent:findFirstChild("Torso") ~= nil then
2187
if part.Parent:findFirstChild("Faased") == nil then
2188
local f = Instance.new("IntValue", part.Parent)
2189
f.Name = "Faased"
2190
game:GetService("Debris"):AddItem(f, 2)
2191
local hum = part.Parent.Humanoid
2192
local speed = hum.WalkSpeed --Speed prior to fleeing
2193
hum.WalkSpeed = speed * -1
2194
game:GetService("Chat"):Chat(hum.Parent.Head, "Ahh!!!", "Red")
2195
for i = 1, 10 do
2196
hum:MoveTo(hum.Parent.Torso.Position + Vector3.new(math.random(-30, 30), 0, math.random(-30, 20)), hum.Parent.Torso)
2197
wait(math.random(1, 2))
2198
end
2199
hum.WalkSpeed = speed
2200
hum:MoveTo(hum.Parent.Torso.Position, hum.Parent.Torso)
2201
end
2202
end
2203
end
2204
end
2205
function struned(part, lightning)
2206
if part.Parent then
2207
if part.Parent:findFirstChild("Humanoid") ~= nil then
2208
local hum = part.Parent.Humanoid
2209
tag(part.Parent.Humanoid)
2210
local e = Instance.new("Explosion")
2211
e.position = part.Position
2212
e.BlastPressure = 35000
2213
e.BlastRadius = 2
2214
e.Parent = part
2215
hum:TakeDamage(math.huge)
2216
for a, b in pairs(hum.Parent:children()) do
2217
if b.className == "Part" then
2218
Instance.new("Fire", part).Size = part:GetMass()
2219
end
2220
end
2221
end
2222
end
2223
end
2224
function kriied(part, shout)
2225
if part.Parent then
2226
if part.Parent == p.Character then return end
2227
if part.Parent:findFirstChild("Humanoid") ~= nil and part.Parent:findFirstChild(p.Name.. "Kriied") == nil then
2228
Instance.new("IntValue", part.Parent).Name = p.Name.. "Kriied"
2229
local hum = part.Parent.Humanoid
2230
hum.MaxHealth = hum.MaxHealth - 75
2231
hum.Health = hum.MaxHealth
2232
for i = 1, 60 do
2233
tag(part.Parent.Humanoid)
2234
hum:TakeDamage(1.5)
2235
wait(1)
2236
end
2237
hum.MaxHealth = hum.MaxHealth + 75
2238
end
2239
end
2240
end
2241
function zuned(part, shout)
2242
if part.Parent == p.Character then return end
2243
if part.Parent then
2244
if part.Parent:findFirstChild("Humanoid") ~= nil then
2245
for a, b in pairs(part.Parent:children()) do
2246
if b.className == "Tool" then
2247
if b:findFirstChild("Handle") ~= nil then
2248
b.Parent = workspace
2249
wait()
2250
b.Handle.Velocity = (b.Handle.Position - p.Character.Torso.Position).unit * -100
2251
repeat
2252
shout.Size = shout.Size - Vector3.new(1, 1, 1)
2253
wait(0.1)
2254
until shout.Shout.Size == Vector3.new(1, 1, 1)
2255
shout:remove()
2256
end
2257
end
2258
end
2259
end
2260
end
2261
end
2262
function foed(part, shout)
2263
if part.Parent == p.Character then return end
2264
if part.Parent:findFirstChild("Humanoid") ~= nil then
2265
local hum = part.Parent.Humanoid
2266
hum.Sit = true
2267
hum:TakeDamage(7.5)
2268
if hum.Parent:findFirstChild(p.Name.. "Foed") == nil then
2269
hum.WalkSpeed = 8
2270
local foer = Instance.new("IntValue", workspace)
2271
foer.Name = p.Name.. "Foed"
2272
game:GetService("Debris"):AddItem(foer, 2)
2273
wait(5)
2274
hum.WalkSpeed = 16
2275
hum.Sit = false
2276
end
2277
shout:remove()
2278
end
2279
end
2280
function yoled(part)
2281
if part.Parent == p.Character then return end
2282
if part.Parent:findFirstChild("Humanoid") ~= nil then
2283
local f = Instance.new("Fire", part)
2284
f.Size = part:GetMass()
2285
f.Heat = 100
2286
game:GetService("Debris"):AddItem(f, 10)
2287
if part:findFirstChild(p.Name.. "Yoled") == nil then
2288
local tag = Instance.new("IntValue")
2289
tag.Name = p.Name.. "Yoled"
2290
tag.Parent = part
2291
game:GetService("Debris"):AddItem(tag, 2)
2292
end
2293
tag(part.Parent.Humanoid)
2294
part.Parent.Humanoid:TakeDamage(7.5)
2295
end
2296
end
2297
function lized(part)
2298
if part.Parent then
2299
if part.Parent == p.Character then return end
2300
if part.Parent:findFirstChild("Humanoid") ~= nil then
2301
if part.Parent:findFirstChild("Lized") ~= nil then return end
2302
local Lizvictim = Instance.new("IntValue")
2303
Lizvictim.Name = "Lized"
2304
Lizvictim.Parent = part.Parent
2305
game:GetService("Debris"):AddItem(Lizvictim, 10)
2306
part.Parent.Animate.Disabled = true
2307
part.Parent.Humanoid.PlatformStand = true
2308
local speed = part.Parent.Humanoid.WalkSpeed
2309
part.Parent.Humanoid.WalkSpeed = 0
2310
wait(0.01)
2311
part.Parent.Torso.Velocity = (fus.Position - part.Parent.Torso.Position).unt * -50
2312
tag(part.Parent.Humanoid)
2313
part.Parent.Humanoid:TakeDamage(part.Parent.Humanoid.MaxHealth/2)
2314
for a, b in pairs(part.Parent:children()) do
2315
if b:findFirstChild("Fire") ~= nil then
2316
b.Fire:remove()
2317
end
2318
local frost = Instance.new("Part")
2319
frost.Name = "Frost"
2320
frost.formFactor = "Custom"
2321
frost.BrickColor = BrickColor.new("Pastel blue-green")
2322
frost.Reflectance = 0.5
2323
frost.Transparency = 0.6
2324
frost.Anchored = false
2325
frost.CanCollide = true
2326
if b.className == "Part" then
2327
frost.Size = b.Size + Vector3.new(0.5, 0.5, 0.5)
2328
local w = Instance.new("Weld")
2329
w.Part0 = b
2330
w.Part1 = frost
2331
w.Parent = frost
2332
frost.Parent = part.Parent
2333
game:GetService("Debris"):AddItem(frost, 10)
2334
end
2335
end
2336
wait(10)
2337
part.Parent.Humanoid.PlatformStand = false
2338
part.Parent.Animate.Disabled = false
2339
part.Parent.Humanoid.WalkSpeed = speed
2340
end
2341
end
2342
end
2343
function fused(part)
2344
if part.Parent then
2345
if part.Parent == p.Character then return end
2346
if part.Parent:findFirstChild("Humanoid") ~= nil then
2347
if part.Parent:findFirstChild(p.Name.. "Fused") ~= nil then return end
2348
local fusvictim = Instance.new("IntValue")
2349
fusvictim.Name = p.Name.. "Fused"
2350
fusvictim.Parent = part.Parent
2351
game:GetService("Debris"):AddItem(fusvictim, 2)
2352
part.Parent.Humanoid.Sit = true
2353
tag(part.Parent.Humanoid)
2354
part.Parent.Humanoid:TakeDamage(part.Parent.Humanoid.MaxHealth/4)
2355
for a, b in pairs(part.Parent:children()) do
2356
if b.className == "Part" then
2357
b.Velocity = fus.Velocity
2358
elseif b.className == "Hat" then
2359
b.Handle.Velocity = fus.Velocity
2360
end
2361
end
2362
wait(2)
2363
part.Parent.Humanoid.Sit = false
2364
elseif part.Anchored == false and part.Parent:findFirstChild("Humanoid") == nil then
2365
part.Velocity = fus.Velocity
2366
end
2367
end
2368
end
2369
function tag(victim)
2370
local creator_tag = Instance.new("ObjectValue")
2371
creator_tag.Value = p
2372
creator_tag.Name = "creator"
2373
creator_tag.Parent = victim
2374
game:GetService("Debris"):AddItem(creator_tag, 1)
2375
end
2376
--[Skyrim Shouting Rules.]]--