View difference between Paste ID: yVEPHW1c and EMWWhn5b
SHOW: | | - or go back to the newest paste.
1
--[[Nocturna_A._Alteriano_Night.Owl.Inc]]-- (Edit by kiukiubol & lilh3)
2
wait(1 / 60)
3
p = game.Players.LocalPlayer
4
char = p.Character
5
torso = char.Torso
6
neck = char.Torso.Neck
7
hum = char.Humanoid
8-
hum.MaxHealth = 75000
8+
hum.MaxHealth = math.huge
9
wait()
10-
hum.Health =hum.MaxHealth
10+
hum.Health = math.huge
11-
char.Head.face.Texture = "rbxassetid://405587215"
11+
char.Head.face.Texture = "rbxassetid://64064193"
12
13
function startup()
14
  coroutine.resume(coroutine.create(function()
15
    local m = Instance.new("Model", char)
16
    m.Name = "* C"
17
    local chat = Instance.new("Part", m)
18
    chat.TopSurface = "Smooth"
19
    chat.BottomSurface = "Smooth"
20
    chat.Name = "Head"
21
    chat.FormFactor = "Custom"
22
    chat.Size = Vector3.new(0.05, 0.05, 0.1)
23
    chat.Transparency = 0.9
24
    chat.CanCollide = false
25
    local Weld7 = Instance.new("Weld", char)
26
    Weld7.Part0 = char.Head
27
    Weld7.Part1 = chat
28
    Weld7.C1 = CFrame.new(0, -2, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
29
    local cy7 = Instance.new("BlockMesh", chat)
30
    local h = Instance.new("Humanoid", m)
31
    h.MaxHealth = 0
32-
    m.Name = "Star Platinum"
32+
    m.Name = "ZA WARUDO"
33
  end))
34
end
35
36
z = Instance.new("Sound", torso)
37-
z.SoundId = "rbxassetid://264396581" -- Put Music ID Here.
37+
z.SoundId = "rbxassetid://1280552773" -- Put Music ID Here.
38
z.Looped = true
39
z.Volume = 1
40
wait(.1)
41
z:Play()
42
43-
char["Body Colors"].HeadColor = BrickColor.new("Pastel Blue")
43+
char["Body Colors"].HeadColor = BrickColor.new("Gray")
44-
char["Body Colors"].TorsoColor = BrickColor.new("Pastel Blue")
44+
char["Body Colors"].TorsoColor = BrickColor.new("Gray")
45-
char["Body Colors"].LeftArmColor = BrickColor.new("Pastel Blue")
45+
char["Body Colors"].LeftArmColor = BrickColor.new("Gray")
46-
char["Body Colors"].RightArmColor = BrickColor.new("Pastel Blue")
46+
char["Body Colors"].RightArmColor = BrickColor.new("Gray")
47-
char["Body Colors"].LeftLegColor = BrickColor.new("Pastel Blue")
47+
char["Body Colors"].LeftLegColor = BrickColor.new("Gray")
48-
char["Body Colors"].RightLegColor = BrickColor.new("Pastel Blue")
48+
char["Body Colors"].RightLegColor = BrickColor.new("Gray")
49
50
shirt = Instance.new("Shirt", char)
51
shirt.Name = "Shirt"
52
pants = Instance.new("Pants", char)
53
pants.Name = "Pants"
54-
char.Shirt.ShirtTemplate = "rbxassetid://496506720"
54+
char.Shirt.ShirtTemplate = "rbxassetid://1211963531"
55-
char.Pants.PantsTemplate = "rbxassetid://496512137"
55+
char.Pants.PantsTemplate = "rbxassetid://547264976"
56
57-
Hat = Instance.new("Model")
57+
local hp2 = Instance.new("Part",ZaWarudo)
58-
Hat.Parent = char
58+
hp2.Name = "Heart Piece2"
59-
Hat.Name = "Hat"
59+
hp2.Size = Vector3.new(0.41, 0.8, 0.2)
60-
rh = Instance.new("Part")
60+
hp2.Transparency = 1
61-
rh.Parent = Hat
61+
hp2.CanCollide = false
62-
rh.BrickColor = BrickColor.new("Really black")
62+
hp2.BrickColor = BrickColor.new("Forest green")
63-
rh.Locked = true
63+
 
64-
rh.CanCollide = false
64+
 
65-
mesh = Instance.new("SpecialMesh")
65+
local hpm2 = Instance.new("SpecialMesh",hp2)
66-
rh.formFactor =  "Symmetric"
66+
hpm2.MeshId = "http://www.roblox.com/asset/?id=105992239"
67-
mesh.MeshType = "FileMesh"
67+
hpm2.MeshType = "FileMesh"
68-
mesh.MeshId = "rbxassetid://439736904"
68+
hpm2.Scale = Vector3.new(1.1, 1.1, 1.1)
69-
mesh.Parent = rh
69+
 
70-
local weld = Instance.new("Weld")
70+
local hpw2 = Instance.new("Weld")
71-
weld.Parent = rh
71+
hpw2.Parent = hp2
72-
weld.Part0 = rh
72+
hpw2.Part0 = head
73-
weld.Part1 =char.Head
73+
hpw2.Part1 = hp2
74-
weld.C0 = CFrame.new(0, -0.5, 0.5)*CFrame.Angles(0, 3, 0)
74+
hpw2.C1 = CFrame.new(0,.41,.6)
75-
mesh.Scale = Vector3.new(0.002,0.002, 0.002)
75+
76
Effects = { }
77
local Player = game.Players.localPlayer
78
local Character = Player.Character
79
local Humanoid = Character.Humanoid
80
Humanoid.WalkSpeed = 20
81
local Mouse = Player:GetMouse()
82
local LeftArm = Character["Left Arm"]
83
local RightArm = Character["Right Arm"]
84
local LeftLeg = Character["Left Leg"]
85
local RightLeg = Character["Right Leg"]
86
local Head = Character.Head
87
local Torso = Character.Torso
88
local Camera = game.Workspace.CurrentCamera
89
local RootPart = Character.HumanoidRootPart
90
local RootJoint = RootPart.RootJoint
91
local attack = false
92
local Anim = 'Idle'
93
local attacktype = 1
94
local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude 
95
local velocity = RootPart.Velocity.y
96
local sine = 0
97
local change = 1
98
local Create = LoadLibrary("RbxUtility").Create
99
local TimeStop = false
100
101
local m = Create("Model"){
102
	Parent = Character,
103
	Name = "WeaponModel",
104
}
105
106
Humanoid.Animator.Parent = nil
107
Character.Animate.Parent = nil
108
109
local newMotor = function(part0, part1, c0, c1)
110
	local w = Create('Motor'){
111
		Parent = part0,
112
		Part0 = part0,
113
		Part1 = part1,
114
		C0 = c0,
115
		C1 = c1,
116
	}
117
	return w
118
end
119
120
function clerp(a, b, t)
121
	return a:lerp(b, t)
122
end
123
124
RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
125
NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
126
127
local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) 
128
local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
129
local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
130
local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
131
RootJoint.C1 = CFrame.new(0, 0, 0)
132
RootJoint.C0 = CFrame.new(0, 0, 0)
133
Torso.Neck.C1 = CFrame.new(0, 0, 0)
134
Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
135
136
local rarmc1 = RW.C1
137
local larmc1 = LW.C1
138
local rlegc1 = RH.C1
139
local llegc1 = LH.C1
140
141
local resetc1 = false
142
143
function PlayAnimationFromTable(table, speed, bool)
144
	RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) 
145
	Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) 
146
	RW.C0 = clerp(RW.C0, table[3], speed) 
147
	LW.C0 = clerp(LW.C0, table[4], speed) 
148
	RH.C0 = clerp(RH.C0, table[5], speed) 
149
	LH.C0 = clerp(LH.C0, table[6], speed) 
150
	if bool == true then
151
		if resetc1 == false then
152
			resetc1 = true
153
			RootJoint.C1 = RootJoint.C1
154
			Torso.Neck.C1 = Torso.Neck.C1
155
			RW.C1 = rarmc1
156
			LW.C1 = larmc1
157
			RH.C1 = rlegc1
158
			LH.C1 = llegc1
159
		end
160
	end
161
end
162
163
ArtificialHB = Create("BindableEvent", script){
164
	Parent = script,
165
	Name = "Heartbeat",
166
}
167
168
script:WaitForChild("Heartbeat")
169
170
frame = 1 / 35
171
tf = 0
172
allowframeloss = false
173
tossremainder = false
174
lastframe = tick()
175
script.Heartbeat:Fire()
176
177
game:GetService("RunService").Heartbeat:connect(function(s, p)
178
	tf = tf + s
179
	if tf >= frame then
180
		if allowframeloss then
181
			script.Heartbeat:Fire()
182
			lastframe = tick()
183
		else
184
			for i = 1, math.floor(tf / frame) do
185
				script.Heartbeat:Fire()
186
			end
187
			lastframe = tick()
188
		end
189
		if tossremainder then
190
			tf = 0
191
		else
192
			tf = tf - frame * math.floor(tf / frame)
193
		end
194
	end
195
end)
196
197
function swait(num)
198
	if num == 0 or num == nil then
199
		ArtificialHB.Event:wait()
200
	else
201
		for i = 0, num do
202
			ArtificialHB.Event:wait()
203
		end
204
	end
205
end
206
207
function RemoveOutlines(part)
208
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
209
end
210
	
211
CFuncs = {	
212
	Part = {
213
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
214
			local Part = Create("Part"){
215
				Parent = Parent,
216
				Reflectance = Reflectance,
217
				Transparency = Transparency,
218
				CanCollide = false,
219
				Locked = true,
220
				BrickColor = BrickColor.new(tostring(BColor)),
221
				Name = Name,
222
				Size = Size,
223
				Material = Material,
224
			}
225
			RemoveOutlines(Part)
226
			return Part
227
		end;
228
	};
229
	
230
	Mesh = {
231
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
232
			local Msh = Create(Mesh){
233
				Parent = Part,
234
				Offset = OffSet,
235
				Scale = Scale,
236
			}
237
			if Mesh == "SpecialMesh" then
238
				Msh.MeshType = MeshType
239
				Msh.MeshId = MeshId
240
			end
241
			return Msh
242
		end;
243
	};
244
245
	Weld = {
246
		Create = function(Parent, Part0, Part1, C0, C1)
247
			local Weld = Create("Weld"){
248
				Parent = Parent,
249
				Part0 = Part0,
250
				Part1 = Part1,
251
				C0 = C0,
252
				C1 = C1,
253
			}
254
			return Weld
255
		end;
256
	};
257
258
	Sound = {
259
		Create = function(id, par, vol, pit) 
260
			local Sound = Create("Sound"){
261
				Volume = vol,
262
				Pitch = pit or 1,
263
				SoundId = "rbxassetid://" .. id,
264
				Parent = par or workspace,
265
			}
266
			Sound:play() 
267
			return Sound
268
		end;
269
	};
270
	
271
	Decal = {
272
		Create = function(Color, Texture, Transparency, Name, Parent)
273
			local Decal = Create("Decal"){
274
				Color3 = Color,
275
				Texture = "rbxassetid://" .. Texture,
276
				Transparency = Transparency,
277
				Name = Name,
278
				Parent = Parent,
279
			}
280
			return Decal
281
		end;
282
	};
283
	
284
	BillboardGui = {
285
		Create = function(Parent, Image, Position, Size)
286
			local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
287
			BillPar.CFrame = CFrame.new(Position)
288
			local Bill = Create("BillboardGui"){
289
				Parent = BillPar,
290
				Adornee = BillPar,
291
				Size = UDim2.new(1, 0, 1, 0),
292
				SizeOffset = Vector2.new(Size, Size),
293
			}
294
			local d = Create("ImageLabel", Bill){
295
				Parent = Bill,
296
				BackgroundTransparency = 1,
297
				Size = UDim2.new(1, 0, 1, 0),
298
				Image = "rbxassetid://" .. Image,
299
			}
300
			return BillPar
301
		end
302
	};
303
	
304
	ParticleEmitter = {
305
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
306
			local Particle = Create("ParticleEmitter"){
307
				Parent = Parent,
308
				Color = ColorSequence.new(Color1, Color2),
309
				LightEmission = LightEmission,
310
				Size = Size,
311
				Texture = Texture,
312
				Transparency = Transparency,
313
				ZOffset = ZOffset,
314
				Acceleration = Accel,
315
				Drag = Drag,
316
				LockedToPart = LockedToPart,
317
				VelocityInheritance = VelocityInheritance,
318
				EmissionDirection = EmissionDirection,
319
				Enabled = Enabled,
320
				Lifetime = LifeTime,
321
				Rate = Rate,
322
				Rotation = Rotation,
323
				RotSpeed = RotSpeed,
324
				Speed = Speed,
325
				VelocitySpread = VelocitySpread,
326
			}
327
			return Particle
328
		end;
329
	};
330
	
331
	CreateTemplate = {
332
		
333
	};
334
}
335
336
function rayCast(Position, Direction, Range, Ignore)
337
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) 
338
end 
339
340
function FindNearestTorso(Position, Distance, SinglePlayer)
341
	if SinglePlayer then
342
		return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
343
	end
344
	local List = {}
345
	for i, v in pairs(workspace:GetChildren()) do
346
		if v:IsA("Model") then
347
			if v:findFirstChild("Torso") then
348
				if v ~= Character then
349
					if (v.Torso.Position - Position).magnitude <= Distance then
350
						table.insert(List, v)
351
					end 
352
				end 
353
			end 
354
		end 
355
	end
356
	return List
357
end
358
359
function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
360
	if hit.Parent == nil then
361
		return
362
	end
363
	local h = hit.Parent:FindFirstChild("Humanoid")
364
	for _, v in pairs(hit.Parent:children()) do
365
		if v:IsA("Humanoid") then
366
			h = v
367
		end
368
	end
369
	if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
370
		if hit.Parent:findFirstChild("DebounceHit") ~= nil then
371
			if hit.Parent.DebounceHit.Value == true then
372
				return
373
			end
374
		end
375
		local c = Create("ObjectValue"){
376
			Name = "creator",
377
			Value = game:service("Players").LocalPlayer,
378
			Parent = h,
379
		}
380
		game:GetService("Debris"):AddItem(c, .5)
381
		CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) 
382
		local Damage = math.random(minim, maxim)
383
		local blocked = false
384
		local block = hit.Parent:findFirstChild("Block")
385
		if block ~= nil then
386
			if block.className == "IntValue" then
387
				if block.Value > 0 then
388
					blocked = true
389
					block.Value = block.Value - 1
390
					print(block.Value)
391
				end
392
			end
393
		end
394
		if TimeStop == false then
395
			h.Health = h.Health - Damage
396
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Deep blue").Color)
397
			h.Health = h.Health - (Damage / math.huge)
398-
		elseif TimeStop == true then
398+
399-
			repeat wait() until TimeStop == false
399+
400-
			h.Health = h.Health - (Damage / 2)
400+
401
			local hum = hit.Parent.Humanoid
402
			hum.PlatformStand = true
403
			coroutine.resume(coroutine.create(function(HHumanoid)
404
				swait(1)
405
				HHumanoid.PlatformStand = false
406
			end), hum)
407
			local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
408
			local bodvol = Create("BodyVelocity"){
409
				velocity = angle * knockback,
410
				P = math.huge,
411
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
412
				Parent = hit,
413
			}
414
			local rl = Create("BodyAngularVelocity"){
415
				P = math.huge,
416
				maxTorque = Vector3.new(math.huge, math.huge, math.huge) * math.huge,
417
				angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
418-
				P = 3000,
418+
419-
				maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
419+
420
			game:GetService("Debris"):AddItem(bodvol, .5)
421
			game:GetService("Debris"):AddItem(rl, .5)
422
		elseif Type == "Normal" then
423
			local vp = Create("BodyVelocity"){
424
				P = math.huge,
425
				maxForce = Vector3.new(math.huge, 0, math.huge),
426
				velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
427-
				P = 500,
427+
428
			if knockback > 0 then
429
				vp.Parent = hit.Parent.Torso
430
			end
431
			game:GetService("Debris"):AddItem(vp, .5)
432
		elseif Type == "Up" then
433
			local bodyVelocity = Create("BodyVelocity"){
434
				velocity = Vector3.new(0, 20, 0),
435
				P = 5000,
436
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
437
				Parent = hit,
438
			}
439
			game:GetService("Debris"):AddItem(bodyVelocity, .5)
440
		elseif Type == "DarkUp" then
441
			coroutine.resume(coroutine.create(function()
442
				for i = 0, 1, 0.1 do
443
					swait()
444
					Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
445
				end
446
			end))
447
			local bodyVelocity = Create("BodyVelocity"){
448
				velocity = Vector3.new(0, 20, 0),
449
				P = 5000,
450
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
451
				Parent = hit,
452
			}
453
			game:GetService("Debris"):AddItem(bodyVelocity, 1)
454
		elseif Type == "Snare" then
455
			local bp = Create("BodyPosition"){
456
				P = math.huge,
457
				D = math.huge,
458
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
459-
				P = 2000,
459+
460-
				D = 100,
460+
461
			}
462
			game:GetService("Debris"):AddItem(bp, 1)
463
		elseif Type == "Freeze" then
464
			local BodPos = Create("BodyPosition"){
465
				P = math.huge,
466
				D = math.huge,
467
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
468-
				P = 50000,
468+
469-
				D = 1000,
469+
470
			}
471
			local BodGy = Create("BodyGyro") {
472
				maxTorque = Vector3.new(math.huge, math.huge, math.huge) * math.huge ,
473
				P = math.huge,
474
				Parent = hit.Parent.Torso,
475-
				maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
475+
476-
				P = 20e+003,
476+
477
			hit.Parent.Torso.Anchored = true
478
			coroutine.resume(coroutine.create(function(Part) 
479
				swait(1.5)
480
				Part.Anchored = false
481
			end), hit.Parent.Torso)
482
			game:GetService("Debris"):AddItem(BodPos, 3)
483
			game:GetService("Debris"):AddItem(BodGy, 3)
484
		end
485
		local debounce = Create("BoolValue"){
486
			Name = "DebounceHit",
487
			Parent = hit.Parent,
488
			Value = true,
489
		}
490
		game:GetService("Debris"):AddItem(debounce, Delay)
491
		c = Create("ObjectValue"){
492
			Name = "creator",
493
			Value = Player,
494
			Parent = h,
495
		}
496
		game:GetService("Debris"):AddItem(c, .5)
497
	end
498
end
499
500
function ShowDamage(Pos, Text, Time, Color)
501
	local Rate = (1 / 30)
502
	local Pos = (Pos or Vector3.new(0, 0, 0))
503
	local Text = (Text or "")
504
	local Time = (Time or 2)
505
	local Color = (Color or Color3.new(1, 0, 1))
506
	local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
507
	EffectPart.Anchored = true
508
	local BillboardGui = Create("BillboardGui"){
509
		Size = UDim2.new(3, 0, 3, 0),
510
		Adornee = EffectPart,
511
		Parent = EffectPart,
512
	}
513
	local TextLabel = Create("TextLabel"){
514
		BackgroundTransparency = 1,
515
		Size = UDim2.new(1, 0, 1, 0),
516
		Text = Text,
517
		Font = "SciFi",
518
		TextColor3 = Color,
519
		TextScaled = true,
520
		Parent = BillboardGui,
521
	}
522
	game.Debris:AddItem(EffectPart, (Time))
523
	EffectPart.Parent = game:GetService("Workspace")
524
	delay(0, function()
525
		local Frames = (Time / Rate)
526
		for Frame = 1, Frames do
527
			wait(Rate)
528
			local Percent = (Frame / Frames)
529
			EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
530
			TextLabel.TextTransparency = Percent
531
		end
532
		if EffectPart and EffectPart.Parent then
533
			EffectPart:Destroy()
534
		end
535
	end)
536
end
537
538
function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
539
	for _, c in pairs(workspace:children()) do
540
		local hum = c:findFirstChild("Humanoid")
541
		if hum ~= nil then
542
			local head = c:findFirstChild("Torso")
543
			if head ~= nil then
544
				local targ = head.Position - Part.Position
545
				local mag = targ.magnitude
546
				if mag <= Magnitude and c.Name ~= Player.Name then 
547
			for i = 1, 10 do
548
				Effects.Elect.Create(head.CFrame, 10, 10, 10)
549
			end
550
			CFuncs.Sound.Create("0", head, 1, 1)
551
			Effects.Sphere.Create(BrickColor.new("Deep blue"), head.CFrame, .5, .5, .5, .5, .5, .5, .05)
552
					Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, HitSound, HitPitch)
553
				end
554
			end
555
		end
556
	end
557
end
558
559
HandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Deep blue", "HandleR", Vector3.new(0.403949469, 0.452220112, 0.425030977))
560
HandleRWeld = CFuncs.Weld.Create(m, Character["Right Arm"], HandleR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.637853563, -0.00997161865, 0.00182324648, 0, -1, 0, 1, 0, 0, 0, -0, 1))
561
HitboxR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Deep blue", "HitboxR", Vector3.new(1.00394952, 1.05222011, 1.02503109))
562
HitboxRWeld = CFuncs.Weld.Create(m, HandleR, HitboxR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0999999642, 0, 5.96046448e-008, 1, 0, 0, 0, 1, 0, 0, 0, 1))
563
HandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Deep blue", "HandleL", Vector3.new(0.403949469, 0.452220112, 0.425030977))
564
HandleLWeld = CFuncs.Weld.Create(m, Character["Left Arm"], HandleL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.637853563, -0.00997924805, 0.00182324648, 0, -1, 0, 1, 0, 0, 0, -0, 1))
565
HitboxL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Deep blue", "HitboxL", Vector3.new(1.00394952, 1.05222011, 1.02503109))
566
HitboxLWeld = CFuncs.Weld.Create(m, HandleL, HitboxL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0999999642, 3.81469727e-006, 5.96046448e-008, 1, 0, 0, 0, 1, 0, 0, 0, 1))
567
sref = CFuncs.Part.Create(Character, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
568
sref.Anchored = true
569
570
EffectModel = Create("Model"){
571
	Parent = Character,
572
	Name = "Effects",
573
}
574
575
Effects = {
576
	Block = {
577
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
578
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
579
			prt.Anchored = true
580
			prt.CFrame = cframe
581
			local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
582
			game:GetService("Debris"):AddItem(prt, 10)
583
			if Type == 1 or Type == nil then
584
				table.insert(Effects, {
585
					prt,
586
					"Block1",
587
					delay,
588
					x3,
589
					y3,
590
					z3,
591
					msh
592
				})
593
			elseif Type == 2 then
594
				table.insert(Effects, {
595
					prt,
596
					"Block2",
597
					delay,
598
					x3,
599
					y3,
600
					z3,
601
					msh
602
				})
603
			end
604
		end;
605
	};
606
	
607
	Cylinder = {
608
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
609
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
610
			prt.Anchored = true
611
			prt.CFrame = cframe
612
			local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
613
			game:GetService("Debris"):AddItem(prt, 2)
614
			table.insert(Effects, {
615
				prt,
616
				"Cylinder",
617
				delay,
618
				x3,
619
				y3,
620
				z3,
621
				msh
622
			})
623
		end;
624
	};
625
	
626
	Head = {
627
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
628
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
629
			prt.Anchored = true
630
			prt.CFrame = cframe
631
			local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
632
			game:GetService("Debris"):AddItem(prt, 10)
633
			table.insert(Effects, {
634
				prt,
635
				"Cylinder",
636
				delay,
637
				x3,
638
				y3,
639
				z3,
640
				msh
641
			})
642
		end;
643
	};
644
	
645
	Sphere = {
646
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
647
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
648
			prt.Anchored = true
649
			prt.CFrame = cframe
650
			local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
651
			game:GetService("Debris"):AddItem(prt, 10)
652
			table.insert(Effects, {
653
				prt,
654
				"Cylinder",
655
				delay,
656
				x3,
657
				y3,
658
				z3,
659
				msh
660
			})
661
		end;
662
	};
663
	
664
	Elect = {
665
		Create = function(cff, x, y, z)
666
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Deep blue"), "Part", Vector3.new(1, 1, 1))
667
			prt.Anchored = true
668
			prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
669
			prt.CFrame = CFrame.new(prt.Position)
670
			game:GetService("Debris"):AddItem(prt, 2)
671
			local xval = math.random() / 2
672
			local yval = math.random() / 2
673
			local zval = math.random() / 2
674
			local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
675
			table.insert(Effects, {
676
				prt,
677
				"Elec",
678
				0.1,
679
				x,
680
				y,
681
				z,
682
				xval,
683
				yval,
684
				zval
685
			})
686
		end;
687
688
	};
689
	
690
	Ring = {
691
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
692
			local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
693
			prt.Anchored = true
694
			prt.CFrame = cframe
695
			local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
696
			game:GetService("Debris"):AddItem(prt, 10)
697
			table.insert(Effects, {
698
				prt,
699
				"Cylinder",
700
				delay,
701
				x3,
702
				y3,
703
				z3,
704
				msh
705
			})
706
		end;
707
	};
708
709
710
	Wave = {
711
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
712
			local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
713
			prt.Anchored = true
714
			prt.CFrame = cframe
715
			local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
716
			game:GetService("Debris"):AddItem(prt, 10)
717
			table.insert(Effects, {
718
				prt,
719
				"Cylinder",
720
				delay,
721
				x3,
722
				y3,
723
				z3,
724
				msh
725
			})
726
		end;
727
	};
728
729
	Break = {
730
		Create = function(brickcolor, cframe, x1, y1, z1)
731
			local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
732
			prt.Anchored = true
733
			prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
734
			local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
735
			local num = math.random(10, 50) / 1000
736
			game:GetService("Debris"):AddItem(prt, 10)
737
			table.insert(Effects, {
738
				prt,
739
				"Shatter",
740
				num,
741
				prt.CFrame,
742
				math.random() - math.random(),
743
				0,
744
				math.random(math.huge, math.huge) / math.huge
745
			})
746
		end;
747-
				math.random(50, 100) / 100
747+
748
	
749
	Fire = {
750
		Create = function(brickcolor, cframe, x1, y1, z1, delay)
751
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
752
			prt.Anchored = true
753
			prt.CFrame = cframe
754
			msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
755
			game:GetService("Debris"):AddItem(prt, 10)
756
			table.insert(Effects, {
757
				prt,
758
				"Fire",
759
				delay,
760
				1,
761
				1,
762
				1,
763
				msh
764
			})
765
		end;
766
	};
767
	
768
	FireWave = {
769
		Create = function(brickcolor, cframe, x1, y1, z1)
770
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
771
			prt.Anchored = true
772
			prt.CFrame = cframe
773
			msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
774
			local d = Create("Decal"){
775
				Parent = prt,
776
				Texture = "rbxassetid://26356434",
777
				Face = "Top",
778
			}
779
			local d = Create("Decal"){
780
				Parent = prt,
781
				Texture = "rbxassetid://26356434",
782
				Face = "Bottom",
783
			}
784
			game:GetService("Debris"):AddItem(prt, 10)
785
			table.insert(Effects, {
786
				prt,
787
				"FireWave",
788
				1,
789
				30,
790
				math.random(600, 600) / 100,
791
				msh
792
			})
793-
				math.random(400, 600) / 100,
793+
794
	};
795
	
796
	Lightning = {
797
		Create = function(p0, p1, tym, ofs, col, th, tra, last)
798
			local magz = (p0 - p1).magnitude
799
			local curpos = p0
800
			local trz = {
801
				-ofs,
802
				ofs
803
			}
804
			for i = 1, tym do
805
				local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
806
				local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
807
				local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
808
				li.Material = "Neon"
809
				if tym == i then
810
					local magz2 = (curpos - p1).magnitude
811
					li.Size = Vector3.new(th, th, magz2)
812
					li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
813
					table.insert(Effects, {
814
						li,
815
						"Disappear",
816
						last
817
					})
818
				else
819
					do
820
						do
821
							li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
822
							curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
823
							game.Debris:AddItem(li, 10)
824
							table.insert(Effects, {
825
								li,
826
								"Disappear",
827
								last
828
							})
829
						end
830
					end
831
				end
832
			end
833
		end
834
	};
835
836
	EffectTemplate = {
837
838
	};
839
}
840
841
local DORARA = false
842
843
function ORA()
844
	attack = true
845
	for i = 0, 1, 0.2 do
846
		swait()
847
		PlayAnimationFromTable({
848
			CFrame.new(4.76837158e-007, -0.107780606, -0.0868092626, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
849
			CFrame.new(0, 1.4999913, 2.38418608e-007, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
850
			CFrame.new(1.50214899, 0.590444803, 0.195881441, 0.965925872, 3.76027884e-007, 0.258818895, 0.257834077, -0.0871552154, -0.962250412, 0.0225570519, 0.99619478, -0.0841855928) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
851
			CFrame.new(-1.60470915, 0.600643516, 0.204860806, 0.937436998, -0.0449436344, -0.345242023, -0.345831364, -0.00582624972, -0.938278675, 0.0401581824, 0.998972595, -0.0210046768) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
852
			CFrame.new(0.636808395, -1.93472588, -0.370165229, 0.936116338, -0.0517791435, -0.347858071, 0.0266665779, 0.996705353, -0.0765988752, 0.350678325, 0.0624292716, 0.934412897) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
853
			CFrame.new(-0.6665681, -1.92173398, -0.343467057, 0.962250233, 0.0613082647, 0.265171379, -0.0410595685, 0.99584806, -0.0812460929, -0.269051433, 0.0672912449, 0.960772276) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
854
		}, .3, false)
855
	end
856
	local DORA = CFuncs.Sound.Create("616593932", Torso, 1, 1)
857
	Instance.new("DistortionSoundEffect", DORA).Level = .45
858
	DORA.Looped = true
859-
	local DORA = CFuncs.Sound.Create("161823027", Torso, 1, 1)
859+
860
	local Con2 = HitboxR.Touched:connect(function(hit) Damage(HitboxR, hit, 1, 5, 0, "Normal", RootPart, 0, "260430117", 1) end)
861
	while DORARA == true do
862
		RootPart.Velocity = RootPart.CFrame.lookVector * 5
863
		for i = 0, 1, 0.7 do
864
			swait()
865
			Effects.Elect.Create(HitboxL.CFrame, 4, 4, 4)
866
			Effects.Sphere.Create(BrickColor.new("Deep blue"), HitboxL.CFrame, .5, .5, .5, 1.5, 1.5, 1.5, .15)
867
			PlayAnimationFromTable({
868
				CFrame.new(-0.0223142356, -0.107780628, -0.249816686, 0.906307876, 0.0733869597, -0.416197479, 0, 0.98480773, 0.173648462, 0.422617942, -0.157378972, 0.892539084) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
869
				CFrame.new(-2.22850417e-007, 1.49999118, 1.16660271e-006, 0.906307936, 1.49011612e-008, 0.422617972, -7.27595761e-009, 1, 0, -0.422618032, 0, 0.906308055) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
870
				CFrame.new(1.5318948, 0.588474631, 0.207054406, 0.899958313, 0.340718478, 0.272003621, 0.314965397, -0.0767233223, -0.945997, -0.301449746, 0.9370296, -0.176362336) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
871
				CFrame.new(-1.27977741, 0.723447502, -1.20010054, 0.726744413, 0.46058476, -0.509611845, -0.503104627, -0.148215696, -0.851421177, -0.46768418, 0.875153661, 0.124007396) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
872
				CFrame.new(0.636807501, -1.93472636, -0.370165735, 0.868198872, -0.0517790169, 0.493507534, 0.075819321, 0.996705353, -0.0288097262, -0.490389913, 0.0624299645, 0.869264364) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
873
				CFrame.new(-0.666569352, -1.92173386, -0.343467534, 0.86083132, 0.0613082871, 0.505183935, -0.018632248, 0.995848, -0.0891051888, -0.508549333, 0.0672918186, 0.858399451) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
874
			}, .9, false)
875
		end
876
		CFuncs.Sound.Create("200632136", HitboxL, 1, 1)
877
		Effects.Sphere.Create(BrickColor.new("Deep blue"), HitboxL.CFrame, .5, .5, .5, 2, 2, 2, .15)
878
		RootPart.Velocity = RootPart.CFrame.lookVector * 5
879
		for i = 0, 1, 0.7 do
880
			swait()
881
			Effects.Sphere.Create(BrickColor.new("Deep blue"), HitboxR.CFrame, .5, .5, .5, 1.5, 1.5, 1.5, .2)
882
			PlayAnimationFromTable({
883
				CFrame.new(0.0767437443, -0.107780531, -0.279432267, 0.866025388, -0.0868241936, 0.492404073, 0, 0.98480773, 0.173648342, -0.500000238, -0.150383845, 0.852868438) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
884
				CFrame.new(-2.61076184e-006, 1.4999913, -6.19508683e-007, 0.866025209, 2.98023224e-007, -0.500000656, -2.56928615e-007, 1, 1.1920929e-007, 0.500000596, 2.98023224e-008, 0.866025209) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
885
				CFrame.new(1.40606534, 0.812639356, -1.14933658, 0.82139349, -0.422619373, 0.383021921, 0.349686205, -0.157378837, -0.923553765, 0.450591207, 0.892538428, 0.0185142085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
886
				CFrame.new(-1.64197171, 0.599264741, 0.212680459, 0.807513177, -0.456930667, -0.373010725, -0.413006425, 0.0134942085, -0.9106282, 0.421127379, 0.889400065, -0.177818552) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
887
				CFrame.new(0.636808515, -1.93472552, -0.37016958, 0.814187765, -0.0517790765, -0.578288436, 0.00593282748, 0.996705353, -0.0808905214, 0.580571651, 0.0624291934, 0.811812401) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
888
				CFrame.new(-0.666569233, -1.92173398, -0.343468547, 0.867917657, 0.0613080971, -0.492910266, -0.0864830092, 0.99584806, -0.0284160972, 0.489121556, 0.0672912076, 0.869616032) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
889
			}, .9, false)
890
		end
891
892
fat = Instance.new("BindableEvent", script)
893
fat.Name = "Heartbeat"
894
script:WaitForChild("Heartbeat")
895
frame = 0.013333333333333
896
tf = 0
897
allowframeloss = false
898
tossremainder = false
899
lastframe = tick()
900
script.Heartbeat:Fire()
901
local ss = Instance.new("Sound",char)
902
ss.Volume = 3
903
ss.Looped = true
904
ss.Pitch = 1
905
ss.SoundId = "rbxassetid://0"
906
ss:Play()
907
function sbchat(msg,displayname)
908
        if not displayname then
909
            displayname = 'bela'
910
        end
911
        for i,v in pairs(game:GetService('Players'):GetChildren()) do
912
            local st = Instance.new('StringValue')
913
            st.Name = 'SB_Chat'
914
            st.Value = displayname..'/'..msg
915
            delay(0.2,function() st.Parent = v end)
916
        end
917
    end
918
919
sbchat("ORA ORA ORA",'[Star Platinum]')
920
		CFuncs.Sound.Create("200632136", HitboxR, 1, 1)
921
		Effects.Sphere.Create(BrickColor.new("Deep blue"), HitboxR.CFrame, .5, .5, .5, 2, 2, 2, .2)
922
	    end
923
	Con1:disconnect()
924
	Con2:disconnect()
925
	DORA:Stop()
926
	attack = false
927
end
928
929
local stoppedParts = {}
930
931
932
function getAllParts()
933
    local rtn = {}
934
    
935
    local function recurse(object)
936
        for q,e in next, object:children() do
937
            if e:isA'BasePart' and e.Name ~= "HumanoidRootPart" then
938
                table.insert(rtn, e)
939
            end
940
            recurse(e)
941
        end
942
    end
943
944
    recurse(workspace)
945
    return rtn
946
end
947
948
function stopParts(distance)
949
    stoppedParts = {}
950
    for nada, part in next, getAllParts() do
951
        local dist = (Torso.Position-part.Position).magnitude 
952
        if dist <= distance and part.Name ~='Base' and part.Name ~= 'Baseplate' and not part:isDescendantOf(Torso.Parent) and part.Anchored ~= true then
953
            table.insert(stoppedParts, part)
954
            if part.Name ~= "Torso" and part.Anchored ~= true then
955
                part.Anchored = true
956
            end
957
        end
958
    end
959
end
960
961
962
function freeParts()
963
    for q,e in next, stoppedParts do
964
        stoppedParts[q] = nil
965
        e.Anchored = false
966
    end
967
end
968
969
local effect = Instance.new('ColorCorrectionEffect')
970
function TheWorld(Mode)
971
     if Mode == "Time Start" then
972
	 Effects.Sphere.Create(BrickColor.new("Deep blue"), HitboxL.CFrame, .5, .5, .5, 1.5, 1.5, 1.5, .15)
973
        for i = 1,50 do
974
            if effect.Saturation <= 0 then
975
                effect.Saturation = effect.Saturation + i/50
976
            end
977
            swait(1/30)
978
        end
979
        freeParts()
980
        effect.Saturation = 0
981
        effect.Contrast = 0
982
        effect.Parent = nil
983
        workspace.Gravity = 196.2
984
    end
985
    if Mode == "Quick Stop" then
986
987
fat = Instance.new("BindableEvent", script)
988
fat.Name = "Heartbeat"
989
script:WaitForChild("Heartbeat")
990
frame = 0.013333333333333
991
tf = 0
992
allowframeloss = false
993
tossremainder = false
994
lastframe = tick()
995
script.Heartbeat:Fire()
996
local ss = Instance.new("Sound",char)
997
ss.Volume = 3
998
ss.Looped = true
999
ss.Pitch = 1
1000
ss.SoundId = "rbxassetid://0"
1001
ss:Play()
1002
function sbchat(msg,displayname)
1003
        if not displayname then
1004
            displayname = 'bela'
1005
        end
1006
        for i,v in pairs(game:GetService('Players'):GetChildren()) do
1007
            local st = Instance.new('StringValue')
1008
            st.Name = 'SB_Chat'
1009
            st.Value = displayname..'/'..msg
1010
            delay(0.2,function() st.Parent = v end)
1011
        end
1012
    end
1013
1014
sbchat("THE WORLD!",'[Star Platinum]')
1015
	 local zawarudo = CFuncs.Sound.Create("1055792303", workspace, 1, 1)
1016
Instance.new("DistortionSoundEffect", zawarudo).Level = .67
1017
	 swait(60)
1018-
	 local zawarudo = CFuncs.Sound.Create("735067173", workspace, 1, 1)
1018+
1019
        effect.Parent = game.Lighting
1020
        for i = 1,50 do
1021
            effect.Saturation = -(i/10)
1022
            swait()
1023
        end
1024
        stopParts(5555)
1025
    end
1026
end
1027
1028
Mouse.Button1Down:connect(function()
1029
	if attack == false and DORARA == false then
1030
		DORARA = true
1031
        ORA()
1032
	end
1033
end)
1034
1035
Mouse.Button1Up:connect(function()
1036
	if attack == true and DORARA == true then
1037
		DORARA = false
1038
	end
1039
end)
1040
1041
Mouse.KeyDown:connect(function(k)
1042
	k = k:lower()
1043
	if attack == false and k == 'g' and TimeStop == false then
1044
	    TimeStop = true
1045
		TheWorld("Quick Stop")
1046
	elseif attack == false and k == 'g' and TimeStop == true then
1047
	    TimeStop = false
1048
		TheWorld("Time Start")
1049
	end
1050
end)
1051
1052
while true do
1053
	swait()
1054
	sref.CFrame = RightArm.CFrame * CFrame.new(0, -1.5, 0) * CFrame.fromEulerAnglesXYZ(-1.57, 0, 0)
1055
	for i, v in pairs(Character:GetChildren()) do
1056
		if v:IsA("Part") then
1057
			v.Material = "SmoothPlastic"
1058
		elseif v:IsA("Accessory") then
1059
			v:WaitForChild("Handle").Material = "SmoothPlastic"
1060
		end
1061
	end
1062
	Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude 
1063
	velocity = RootPart.Velocity.y
1064
	sine = sine + change
1065
	local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
1066
	if RootPart.Velocity.y > 1 and hit == nil then 
1067
		Anim = "Jump"
1068
		if attack == false then
1069
			PlayAnimationFromTable({
1070
				CFrame.new(0, 0.0486936681, -0.0429394133, 1, 0, -0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1071
				CFrame.new(0, 1.48698187, -0.0992434025, 1, 0, 0, 0, 0.98480767, 0.173648626, -0, -0.173648626, 0.98480767) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1072
				CFrame.new(1.66118193, 0.583681226, 0.430878729, 0.556951106, -0.772693694, -0.30454877, 0.830109596, 0.506009281, 0.234249175, -0.026898358, -0.383274168, 0.923242927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1073
				CFrame.new(-1.65963519, 0.695907593, 0.339572817, 0.482961893, 0.810776234, 0.330741376, -0.866026103, 0.498096228, 0.0435779653, -0.129409045, -0.307477146, 0.94271481) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1074
				CFrame.new(0.499997795, -1.71809137, -0.102601528, 0.984807849, 3.55863392e-007, -0.173647791, 0.0593907312, 0.939692557, 0.336824298, 0.163175657, -0.342020214, 0.925416589) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1075
				CFrame.new(-0.599241376, -1.29528463, -0.396836221, 0.992403984, 0.086823605, 0.0871558413, -0.118890785, 0.858931601, 0.498097867, -0.0316142589, -0.504676282, 0.862729669) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1076
			}, .3, false)
1077
		end
1078
	elseif RootPart.Velocity.y < -1 and hit == nil then 
1079
		Anim = "Fall"
1080
		if attack == false then
1081
			PlayAnimationFromTable({
1082
				CFrame.new(-0, -0.0520263538, -0.0354017057, 1, 0, 0, 0, 0.965925872, 0.258818984, 0, -0.258818984, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1083
				CFrame.new(0, 1.51533091, -0.10684365, 1, 0, 0, 0, 0.965925872, 0.258819342, 0, -0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1084
				CFrame.new(1.67554009, 0.885679007, 0.385592818, 0.374123871, -0.696466088, -0.61234498, 0.914592147, 0.386364758, 0.119345918, 0.153468132, -0.604696095, 0.781530797) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1085
				CFrame.new(-1.67474985, 0.999329269, 0.296636045, 0.250219911, 0.753912985, 0.607457995, -0.927206695, 0.367205799, -0.0738086402, -0.278707415, -0.544770718, 0.79091537) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1086
				CFrame.new(0.504494727, -1.81757987, -0.0935191363, 0.984807849, -0.0449431092, -0.167730823, 0.059390761, 0.99484998, 0.0821366012, 0.163175508, -0.0908504426, 0.982405365) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1087
				CFrame.new(-0.623603821, -1.49203336, -0.421764404, 0.992403865, 0.122534379, 0.0109562073, -0.118891656, 0.978150725, -0.17054674, -0.0316146575, 0.167948633, 0.985288799) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1088
			}, .3, false)
1089
		end
1090
	elseif Torsovelocity < 1 and hit ~= nil then
1091
		Anim = "Idle"
1092
		if attack == false then
1093
			change = 1
1094
			PlayAnimationFromTable({
1095
				CFrame.new(-0.0254490171, -0.100000001, -0.0245252885, 0.965925872, 0, 0.258818984, 0, 1, 0, -0.258818984, 0, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1096
				CFrame.new(-5.58793545e-008, 1.49999201, 2.23517418e-007, 0.965925872, 0.02255762, -0.257834077, 0, 0.996194661, 0.087155968, 0.258818984, -0.0841862038, 0.962250173) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1097
				CFrame.new(1.18608475, 0.561332762, -0.668662548, 0.815707564, 0.397307515, 0.420437992, 0.567439079, -0.408345699, -0.71502924, -0.112402454, 0.821827531, -0.558538496) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1098
				CFrame.new(-1.18486226, 0.664583206, -0.703545451, 0.801997423, -0.384815574, -0.456855893, -0.595755875, -0.459863067, -0.658483863, 0.0433037281, 0.800276875, -0.598065078) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1099
				CFrame.new(0.602607846, -1.89999723, -0.281901717, 0.938264608, -0.0318391919, -0.344450235, 0.0551190265, 0.996793628, 0.0580029301, 0.341499031, -0.0734078437, 0.937011182) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1100
				CFrame.new(-0.68740654, -1.99010217, 0.313043743, 0.998308659, 0.0566585623, -0.0130319893, -0.0526040196, 0.975744903, 0.212496698, 0.0247556716, -0.211451754, 0.977074862) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1101
			}, .3, false)
1102
		end
1103
	elseif Torsovelocity > 2 and hit ~= nil then
1104
		Anim = "Walk"
1105
		if attack == false then
1106
			change = 2
1107
			PlayAnimationFromTable({
1108
				CFrame.new(-0, -0.331043243, -0.246173918, 1, 0, 0, 0, 0.906307876, 0.422617942, 0, -0.422617942, 0.906307876) * CFrame.new(0, .1, 0) * CFrame.Angles(0, math.rad(-5 * math.cos(sine / 7)), 0), 
1109
				CFrame.new(0, 1.4999913, 6.55651093e-007, 1, 0, 0, 0, 0.965925813, -0.258818924, 0, 0.258818924, 0.965925813) * CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(5 * math.cos(sine / 7)), 0), 
1110
				CFrame.new(1.14562762, 0.526349247, -0.591056466, 0.825674891, 0.469375819, 0.312965363, 0.547643542, -0.533675969, -0.644419432, -0.135452792, 0.703474402, -0.697693527) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1111
				CFrame.new(-1.14244175, 0.534408689, -0.582344949, 0.825674295, -0.469376504, -0.312966168, -0.547644734, -0.533675849, -0.644418597, 0.13545242, 0.703474045, -0.697693944) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1112
				CFrame.new(.5, -1.64 - 0.5 * math.cos(sine / 8) / 2, 0 + 2 *  math.sin(sine / 8) / 2) * CFrame.Angles(math.rad(-70 *  math.sin(sine / 8)), math.rad(-3), math.rad(0)),
1113
				CFrame.new(-.5, -1.64 + 0.5 * math.cos(sine / 8) / 2, 0 - 2 * math.sin(sine / 8) / 2) * CFrame.Angles(math.rad(70 *  math.sin(sine / 8)), math.rad(3), math.rad(0)),
1114
			}, .3, false)
1115
		end
1116
	end
1117
	if 0 < #Effects then
1118
		for e = 1, #Effects do
1119
			if Effects[e] ~= nil then
1120
				local Thing = Effects[e]
1121
				if Thing ~= nil then
1122
					local Part = Thing[1]
1123
					local Mode = Thing[2]
1124
					local Delay = Thing[3]
1125
					local IncX = Thing[4]
1126
					local IncY = Thing[5]
1127
					local IncZ = Thing[6]
1128
					if Thing[2] == "Shoot" then
1129
						local Look = Thing[1]
1130
						local move = 5
1131
						local hit, pos = rayCast(Thing[4], Thing[1], move, Character)
1132
						if Thing[10] ~= nil then
1133
							da = pos
1134
							cf2 = CFrame.new(Thing[4], Thing[10].Position)
1135
							cfa = CFrame.new(Thing[4], pos)
1136
							tehCF = cfa:lerp(cf2, 0.2)
1137
							Thing[1] = tehCF.lookVector
1138
						end
1139
						local mag = (Thing[4] - pos).magnitude
1140
						Effects.Elect.Create(CFrame.new((Thing[4] + pos) / 2, pos), 4, 4, 4)
1141
						Effects.Sphere.Create(BrickColor.new("Deep blue"), CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 3, 3, 3, 5, 5, 5, 0.15)
1142
						Thing[4] = Thing[4] + Look * move
1143
						Thing[3] = Thing[3] - 1
1144
						if 2 < Thing[5] then
1145
							Thing[5] = Thing[5] - 0.3
1146
							Thing[6] = Thing[6] - 0.3
1147
						end
1148
						if hit ~= nil then
1149
							Thing[3] = 0
1150
							MagnitudeDamage(hit, 5, 10, 15, 0, "Normal", "161006093", 0.8)
1151
							ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
1152
							ref.Anchored = true
1153
							ref.CFrame = CFrame.new(pos)
1154
							Effects.Block.Create(BrickColor.new("Deep blue"), CFrame.new(pos), 1, 1, 1, 2, 2, 2, .05)
1155
							Effects.Sphere.Create(BrickColor.new("Deep blue"), CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.03)
1156
							game:GetService("Debris"):AddItem(ref, 1)
1157
						end
1158
						if Thing[3] <= 0 then
1159
							table.remove(Effects, e)
1160
						end
1161
					end
1162
					do
1163
						do
1164
							if Thing[2] == "FireWave" then
1165
								if Thing[3] <= Thing[4] then
1166
									Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
1167
									Thing[3] = Thing[3] + 1
1168
									Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
1169
								else
1170
									Part.Parent = nil
1171
									table.remove(Effects, e)
1172
								end
1173
							end
1174
							if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
1175
								if Thing[1].Transparency <= 1 then
1176
									if Thing[2] == "Block1" then
1177
										Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1178
										Mesh = Thing[7]
1179
										Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1180
										Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1181
									else
1182
										if Thing[2] == "Block2" then
1183
											Thing[1].CFrame = Thing[1].CFrame
1184
											Mesh = Thing[7]
1185
											Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1186
											Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1187
										else
1188
											if Thing[2] == "Fire" then
1189
												Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
1190
												Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1191
												Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1192
											else
1193
												if Thing[2] == "Cylinder" then
1194
													Mesh = Thing[7]
1195
													Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1196
													Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1197
												else
1198
													if Thing[2] == "Blood" then
1199
														Mesh = Thing[7]
1200
														Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
1201
														Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1202
														Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1203
													else
1204
														if Thing[2] == "Elec" then
1205
															Thing[1].Size = Thing[1].Size + Vector3.new(Thing[7], Thing[8], Thing[9])
1206
															Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1207
														else
1208
															if Thing[2] == "Disappear" then
1209
																Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1210
															end
1211
														end
1212
													end
1213
												end
1214
											end
1215
										end
1216
									end
1217
								else
1218
									Part.Parent = nil
1219
									table.remove(Effects, e)
1220
								end
1221
							end
1222
						end
1223
					end
1224
				end
1225
			end
1226
		end
1227
	end
1228
end