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