View difference between Paste ID: TipeGjat and EMWWhn5b
SHOW: | | - or go back to the newest paste.
1
--[[Nocturna_A._Alteriano_Night.Owl.Inc]]-- (Edit by kiukiubol & lilh3)
2
3
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
4
local Player,game,owner = owner,game
5
local RealPlayer = Player
6
do
7
    print("FE Compatibility code by Mokiros")
8
    local rp = RealPlayer
9
    script.Parent = rp.Character
10
   
11
    --RemoteEvent for communicating
12
    local Event = Instance.new("RemoteEvent")
13
    Event.Name = "UserInput_Event"
14
 
15
    --Fake event to make stuff like Mouse.KeyDown work
16
    local function fakeEvent()
17
        local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
18
        t.connect = t.Connect
19
        return t
20
    end
21
 
22
    --Creating fake input objects with fake variables
23
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
24
    local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
25
    local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
26
        CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
27
    end}
28
    --Merged 2 functions into one by checking amount of arguments
29
    CAS.UnbindAction = CAS.BindAction
30
 
31
    --This function will trigger the events that have been :Connect()'ed
32
    local function te(self,ev,...)
33
        local t = m[ev]
34
        if t and t._fakeEvent then
35
            for _,f in pairs(t.Functions) do
36
                f(...)
37
            end
38
        end
39
    end
40
    m.TrigEvent = te
41
    UIS.TrigEvent = te
42
 
43
    Event.OnServerEvent:Connect(function(plr,io)
44
        if plr~=rp then return end
45
        m.Target = io.Target
46
        m.Hit = io.Hit
47
        if not io.isMouse then
48
            local b = io.UserInputState == Enum.UserInputState.Begin
49
            if io.UserInputType == Enum.UserInputType.MouseButton1 then
50
                return m:TrigEvent(b and "Button1Down" or "Button1Up")
51
            end
52
            for _,t in pairs(CAS.Actions) do
53
                for _,k in pairs(t.Keys) do
54
                    if k==io.KeyCode then
55
                        t.Function(t.Name,io.UserInputState,io)
56
                    end
57
                end
58
            end
59
            m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
60
            UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
61
        end
62
    end)
63
    Event.Parent = NLS([==[
64
    local Player = game:GetService("Players").LocalPlayer
65
    local Event = script:WaitForChild("UserInput_Event")
66
 
67
    local Mouse = Player:GetMouse()
68
    local UIS = game:GetService("UserInputService")
69
    local input = function(io,a)
70
        if a then return end
71
        --Since InputObject is a client-side instance, we create and pass table instead
72
        Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
73
    end
74
    UIS.InputBegan:Connect(input)
75
    UIS.InputEnded:Connect(input)
76
 
77
    local h,t
78
    --Give the server mouse data 30 times every second, but only if the values changed
79
    --If player is not moving their mouse, client won't fire events
80
    while wait(1/30) do
81
        if h~=Mouse.Hit or t~=Mouse.Target then
82
            h,t=Mouse.Hit,Mouse.Target
83
            Event:FireServer({isMouse=true,Target=t,Hit=h})
84
        end
85
    end]==],Player.Character)
86
 
87
    ----Sandboxed game object that allows the usage of client-side methods and services
88
    --Real game object
89
    local _rg = game
90
 
91
    --Metatable for fake service
92
    local fsmt = {
93
        __index = function(self,k)
94
            local s = rawget(self,"_RealService")
95
            if s then return s[k] end
96
        end,
97
        __newindex = function(self,k,v)
98
            local s = rawget(self,"_RealService")
99
            if s then s[k]=v end
100
        end,
101
        __call = function(self,...)
102
            local s = rawget(self,"_RealService")
103
            if s then return s(...) end
104
        end
105
    }
106
    local function FakeService(t,RealService)
107
        t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
108
        return setmetatable(t,fsmt)
109
    end
110
 
111
    --Fake game object
112
    local g = {
113
        GetService = function(self,s)
114
            return self[s]
115
        end,
116
        Players = FakeService({
117
            LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
118
        },"Players"),
119
        UserInputService = FakeService(UIS,"UserInputService"),
120
        ContextActionService = FakeService(CAS,"ContextActionService"),
121
    }
122
    rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
123
    g.service = g.GetService
124
   
125
    g.RunService = FakeService({
126
        RenderStepped = _rg:GetService("RunService").Heartbeat,
127
        BindToRenderStep = function(self,name,_,fun)
128
            self._btrs[name] = self.Heartbeat:Connect(fun)
129
        end,
130
        UnbindFromRenderStep = function(self,name)
131
            self._btrs[name]:Disconnect()
132
        end,
133
    },"RunService")
134
 
135
    setmetatable(g,{
136
        __index=function(self,s)
137
            return _rg:GetService(s) or typeof(_rg[s])=="function"
138
            and function(_,...)return _rg[s](_rg,...)end or _rg[s]
139
        end,
140
        __newindex = fsmt.__newindex,
141
        __call = fsmt.__call
142
    })
143
    --Changing owner to fake player object to support owner:GetMouse()
144
    game,owner = g,g.Players.LocalPlayer
145
end
146
147
wait(1 / 60)
148
p = game.Players.LocalPlayer
149
char = p.Character
150
torso = char.Torso
151
neck = char.Torso.Neck
152
hum = char.Humanoid
153
hum.MaxHealth = 75000
154
wait()
155
hum.Health =hum.MaxHealth
156
char.Head.face.Texture = "rbxassetid://405587215"
157
158
function startup()
159
  coroutine.resume(coroutine.create(function()
160
    local m = Instance.new("Model", char)
161
    m.Name = "* C"
162
    local chat = Instance.new("Part", m)
163
    chat.TopSurface = "Smooth"
164
    chat.BottomSurface = "Smooth"
165
    chat.Name = "Head"
166
    chat.FormFactor = "Custom"
167
    chat.Size = Vector3.new(0.05, 0.05, 0.1)
168
    chat.Transparency = 0.9
169
    chat.CanCollide = false
170
    local Weld7 = Instance.new("Weld", char)
171
    Weld7.Part0 = char.Head
172
    Weld7.Part1 = chat
173
    Weld7.C1 = CFrame.new(0, -2, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
174
    local cy7 = Instance.new("BlockMesh", chat)
175
    local h = Instance.new("Humanoid", m)
176
    h.MaxHealth = 0
177
    m.Name = "Star Platinum"
178
  end))
179
end
180
181
z = Instance.new("Sound", torso)
182
z.SoundId = "rbxassetid://264396581" -- Put Music ID Here.
183
z.Looped = true
184
z.Volume = 1
185
wait(.1)
186
z:Play()
187
188
char["Body Colors"].HeadColor = BrickColor.new("Pastel Blue")
189
char["Body Colors"].TorsoColor = BrickColor.new("Pastel Blue")
190
char["Body Colors"].LeftArmColor = BrickColor.new("Pastel Blue")
191
char["Body Colors"].RightArmColor = BrickColor.new("Pastel Blue")
192
char["Body Colors"].LeftLegColor = BrickColor.new("Pastel Blue")
193
char["Body Colors"].RightLegColor = BrickColor.new("Pastel Blue")
194
195
shirt = Instance.new("Shirt", char)
196
shirt.Name = "Shirt"
197
pants = Instance.new("Pants", char)
198
pants.Name = "Pants"
199
char.Shirt.ShirtTemplate = "rbxassetid://496506720"
200
char.Pants.PantsTemplate = "rbxassetid://496512137"
201
202
Hat = Instance.new("Model")
203
Hat.Parent = char
204
Hat.Name = "Hat"
205
rh = Instance.new("Part")
206
rh.Parent = Hat
207
rh.BrickColor = BrickColor.new("Really black")
208
rh.Locked = true
209
rh.CanCollide = false
210
mesh = Instance.new("SpecialMesh")
211
rh.formFactor =  "Symmetric"
212
mesh.MeshType = "FileMesh"
213
mesh.MeshId = "rbxassetid://439736904"
214
mesh.Parent = rh
215
local weld = Instance.new("Weld")
216
weld.Parent = rh
217
weld.Part0 = rh
218
weld.Part1 =char.Head
219
weld.C0 = CFrame.new(0, -0.5, 0.5)*CFrame.Angles(0, 3, 0)
220
mesh.Scale = Vector3.new(0.002,0.002, 0.002)
221
222
Effects = { }
223
local Player = game.Players.localPlayer
224
local Character = Player.Character
225
local Humanoid = Character.Humanoid
226
Humanoid.WalkSpeed = 20
227
local Mouse = Player:GetMouse()
228
local LeftArm = Character["Left Arm"]
229
local RightArm = Character["Right Arm"]
230
local LeftLeg = Character["Left Leg"]
231
local RightLeg = Character["Right Leg"]
232
local Head = Character.Head
233
local Torso = Character.Torso
234
local Camera = game.Workspace.CurrentCamera
235
local RootPart = Character.HumanoidRootPart
236
local RootJoint = RootPart.RootJoint
237
local attack = false
238
local Anim = 'Idle'
239
local attacktype = 1
240
local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude 
241
local velocity = RootPart.Velocity.y
242
local sine = 0
243
local change = 1
244
local Create = LoadLibrary("RbxUtility").Create
245
local TimeStop = false
246
247
local m = Create("Model"){
248
	Parent = Character,
249
	Name = "WeaponModel",
250
}
251
252
Humanoid.Animator.Parent = nil
253
Character.Animate.Parent = nil
254
255
local newMotor = function(part0, part1, c0, c1)
256
	local w = Create('Motor'){
257
		Parent = part0,
258
		Part0 = part0,
259
		Part1 = part1,
260
		C0 = c0,
261
		C1 = c1,
262
	}
263
	return w
264
end
265
266
function clerp(a, b, t)
267
	return a:lerp(b, t)
268
end
269
270
RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
271
NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
272
273
local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) 
274
local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
275
local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
276
local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
277
RootJoint.C1 = CFrame.new(0, 0, 0)
278
RootJoint.C0 = CFrame.new(0, 0, 0)
279
Torso.Neck.C1 = CFrame.new(0, 0, 0)
280
Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
281
282
local rarmc1 = RW.C1
283
local larmc1 = LW.C1
284
local rlegc1 = RH.C1
285
local llegc1 = LH.C1
286
287
local resetc1 = false
288
289
function PlayAnimationFromTable(table, speed, bool)
290
	RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) 
291
	Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) 
292
	RW.C0 = clerp(RW.C0, table[3], speed) 
293
	LW.C0 = clerp(LW.C0, table[4], speed) 
294
	RH.C0 = clerp(RH.C0, table[5], speed) 
295
	LH.C0 = clerp(LH.C0, table[6], speed) 
296
	if bool == true then
297
		if resetc1 == false then
298
			resetc1 = true
299
			RootJoint.C1 = RootJoint.C1
300
			Torso.Neck.C1 = Torso.Neck.C1
301
			RW.C1 = rarmc1
302
			LW.C1 = larmc1
303
			RH.C1 = rlegc1
304
			LH.C1 = llegc1
305
		end
306
	end
307
end
308
309
ArtificialHB = Create("BindableEvent", script){
310
	Parent = script,
311
	Name = "Heartbeat",
312
}
313
314
script:WaitForChild("Heartbeat")
315
316
frame = 1 / 35
317
tf = 0
318
allowframeloss = false
319
tossremainder = false
320
lastframe = tick()
321
script.Heartbeat:Fire()
322
323
game:GetService("RunService").Heartbeat:connect(function(s, p)
324
	tf = tf + s
325
	if tf >= frame then
326
		if allowframeloss then
327
			script.Heartbeat:Fire()
328
			lastframe = tick()
329
		else
330
			for i = 1, math.floor(tf / frame) do
331
				script.Heartbeat:Fire()
332
			end
333
			lastframe = tick()
334
		end
335
		if tossremainder then
336
			tf = 0
337
		else
338
			tf = tf - frame * math.floor(tf / frame)
339
		end
340
	end
341
end)
342
343
function swait(num)
344
	if num == 0 or num == nil then
345
		ArtificialHB.Event:wait()
346
	else
347
		for i = 0, num do
348
			ArtificialHB.Event:wait()
349
		end
350
	end
351
end
352
353
function RemoveOutlines(part)
354
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
355
end
356
	
357
CFuncs = {	
358
	Part = {
359
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
360
			local Part = Create("Part"){
361
				Parent = Parent,
362
				Reflectance = Reflectance,
363
				Transparency = Transparency,
364
				CanCollide = false,
365
				Locked = true,
366
				BrickColor = BrickColor.new(tostring(BColor)),
367
				Name = Name,
368
				Size = Size,
369
				Material = Material,
370
			}
371
			RemoveOutlines(Part)
372
			return Part
373
		end;
374
	};
375
	
376
	Mesh = {
377
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
378
			local Msh = Create(Mesh){
379
				Parent = Part,
380
				Offset = OffSet,
381
				Scale = Scale,
382
			}
383
			if Mesh == "SpecialMesh" then
384
				Msh.MeshType = MeshType
385
				Msh.MeshId = MeshId
386
			end
387
			return Msh
388
		end;
389
	};
390
391
	Weld = {
392
		Create = function(Parent, Part0, Part1, C0, C1)
393
			local Weld = Create("Weld"){
394
				Parent = Parent,
395
				Part0 = Part0,
396
				Part1 = Part1,
397
				C0 = C0,
398
				C1 = C1,
399
			}
400
			return Weld
401
		end;
402
	};
403
404
	Sound = {
405
		Create = function(id, par, vol, pit) 
406
			local Sound = Create("Sound"){
407
				Volume = vol,
408
				Pitch = pit or 1,
409
				SoundId = "rbxassetid://" .. id,
410
				Parent = par or workspace,
411
			}
412
			Sound:play() 
413
			return Sound
414
		end;
415
	};
416
	
417
	Decal = {
418
		Create = function(Color, Texture, Transparency, Name, Parent)
419
			local Decal = Create("Decal"){
420
				Color3 = Color,
421
				Texture = "rbxassetid://" .. Texture,
422
				Transparency = Transparency,
423
				Name = Name,
424
				Parent = Parent,
425
			}
426
			return Decal
427
		end;
428
	};
429
	
430
	BillboardGui = {
431
		Create = function(Parent, Image, Position, Size)
432
			local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
433
			BillPar.CFrame = CFrame.new(Position)
434
			local Bill = Create("BillboardGui"){
435
				Parent = BillPar,
436
				Adornee = BillPar,
437
				Size = UDim2.new(1, 0, 1, 0),
438
				SizeOffset = Vector2.new(Size, Size),
439
			}
440
			local d = Create("ImageLabel", Bill){
441
				Parent = Bill,
442
				BackgroundTransparency = 1,
443
				Size = UDim2.new(1, 0, 1, 0),
444
				Image = "rbxassetid://" .. Image,
445
			}
446
			return BillPar
447
		end
448
	};
449
	
450
	ParticleEmitter = {
451
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
452
			local Particle = Create("ParticleEmitter"){
453
				Parent = Parent,
454
				Color = ColorSequence.new(Color1, Color2),
455
				LightEmission = LightEmission,
456
				Size = Size,
457
				Texture = Texture,
458
				Transparency = Transparency,
459
				ZOffset = ZOffset,
460
				Acceleration = Accel,
461
				Drag = Drag,
462
				LockedToPart = LockedToPart,
463
				VelocityInheritance = VelocityInheritance,
464
				EmissionDirection = EmissionDirection,
465
				Enabled = Enabled,
466
				Lifetime = LifeTime,
467
				Rate = Rate,
468
				Rotation = Rotation,
469
				RotSpeed = RotSpeed,
470
				Speed = Speed,
471
				VelocitySpread = VelocitySpread,
472
			}
473
			return Particle
474
		end;
475
	};
476
	
477
	CreateTemplate = {
478
		
479
	};
480
}
481
482
function rayCast(Position, Direction, Range, Ignore)
483
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) 
484
end 
485
486
function FindNearestTorso(Position, Distance, SinglePlayer)
487
	if SinglePlayer then
488
		return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
489
	end
490
	local List = {}
491
	for i, v in pairs(workspace:GetChildren()) do
492
		if v:IsA("Model") then
493
			if v:findFirstChild("Torso") then
494
				if v ~= Character then
495
					if (v.Torso.Position - Position).magnitude <= Distance then
496
						table.insert(List, v)
497
					end 
498
				end 
499
			end 
500
		end 
501
	end
502
	return List
503
end
504
505
function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
506
	if hit.Parent == nil then
507
		return
508
	end
509
	local h = hit.Parent:FindFirstChild("Humanoid")
510
	for _, v in pairs(hit.Parent:children()) do
511
		if v:IsA("Humanoid") then
512
			h = v
513
		end
514
	end
515
	if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
516
		if hit.Parent:findFirstChild("DebounceHit") ~= nil then
517
			if hit.Parent.DebounceHit.Value == true then
518
				return
519
			end
520
		end
521
		local c = Create("ObjectValue"){
522
			Name = "creator",
523
			Value = game:service("Players").LocalPlayer,
524
			Parent = h,
525
		}
526
		game:GetService("Debris"):AddItem(c, .5)
527
		CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) 
528
		local Damage = math.random(minim, maxim)
529
		local blocked = false
530
		local block = hit.Parent:findFirstChild("Block")
531
		if block ~= nil then
532
			if block.className == "IntValue" then
533
				if block.Value > 0 then
534
					blocked = true
535
					block.Value = block.Value - 1
536
					print(block.Value)
537
				end
538
			end
539
		end
540
		if TimeStop == false then
541
			h.Health = h.Health - Damage
542
			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)
543
		elseif TimeStop == true then
544
			repeat wait() until TimeStop == false
545
			h.Health = h.Health - (Damage / 2)
546
			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)
547
		end
548
		if Type == "Knockdown" then
549
			local hum = hit.Parent.Humanoid
550
			hum.PlatformStand = true
551
			coroutine.resume(coroutine.create(function(HHumanoid)
552
				swait(1)
553
				HHumanoid.PlatformStand = false
554
			end), hum)
555
			local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
556
			local bodvol = Create("BodyVelocity"){
557
				velocity = angle * knockback,
558
				P = 5000,
559
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
560
				Parent = hit,
561
			}
562
			local rl = Create("BodyAngularVelocity"){
563
				P = 3000,
564
				maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
565
				angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
566
				Parent = hit,
567
			}
568
			game:GetService("Debris"):AddItem(bodvol, .5)
569
			game:GetService("Debris"):AddItem(rl, .5)
570
		elseif Type == "Normal" then
571
			local vp = Create("BodyVelocity"){
572
				P = 500,
573
				maxForce = Vector3.new(math.huge, 0, math.huge),
574
				velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
575
			}
576
			if knockback > 0 then
577
				vp.Parent = hit.Parent.Torso
578
			end
579
			game:GetService("Debris"):AddItem(vp, .5)
580
		elseif Type == "Up" then
581
			local bodyVelocity = Create("BodyVelocity"){
582
				velocity = Vector3.new(0, 20, 0),
583
				P = 5000,
584
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
585
				Parent = hit,
586
			}
587
			game:GetService("Debris"):AddItem(bodyVelocity, .5)
588
		elseif Type == "DarkUp" then
589
			coroutine.resume(coroutine.create(function()
590
				for i = 0, 1, 0.1 do
591
					swait()
592
					Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
593
				end
594
			end))
595
			local bodyVelocity = Create("BodyVelocity"){
596
				velocity = Vector3.new(0, 20, 0),
597
				P = 5000,
598
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
599
				Parent = hit,
600
			}
601
			game:GetService("Debris"):AddItem(bodyVelocity, 1)
602
		elseif Type == "Snare" then
603
			local bp = Create("BodyPosition"){
604
				P = 2000,
605
				D = 100,
606
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
607
				position = hit.Parent.Torso.Position,
608
				Parent = hit.Parent.Torso,
609
			}
610
			game:GetService("Debris"):AddItem(bp, 1)
611
		elseif Type == "Freeze" then
612
			local BodPos = Create("BodyPosition"){
613
				P = 50000,
614
				D = 1000,
615
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
616
				position = hit.Parent.Torso.Position,
617
				Parent = hit.Parent.Torso,
618
			}
619
			local BodGy = Create("BodyGyro") {
620
				maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
621
				P = 20e+003,
622
				Parent = hit.Parent.Torso,
623
				cframe = hit.Parent.Torso.CFrame,
624
			}
625
			hit.Parent.Torso.Anchored = true
626
			coroutine.resume(coroutine.create(function(Part) 
627
				swait(1.5)
628
				Part.Anchored = false
629
			end), hit.Parent.Torso)
630
			game:GetService("Debris"):AddItem(BodPos, 3)
631
			game:GetService("Debris"):AddItem(BodGy, 3)
632
		end
633
		local debounce = Create("BoolValue"){
634
			Name = "DebounceHit",
635
			Parent = hit.Parent,
636
			Value = true,
637
		}
638
		game:GetService("Debris"):AddItem(debounce, Delay)
639
		c = Create("ObjectValue"){
640
			Name = "creator",
641
			Value = Player,
642
			Parent = h,
643
		}
644
		game:GetService("Debris"):AddItem(c, .5)
645
	end
646
end
647
648
function ShowDamage(Pos, Text, Time, Color)
649
	local Rate = (1 / 30)
650
	local Pos = (Pos or Vector3.new(0, 0, 0))
651
	local Text = (Text or "")
652
	local Time = (Time or 2)
653
	local Color = (Color or Color3.new(1, 0, 1))
654
	local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
655
	EffectPart.Anchored = true
656
	local BillboardGui = Create("BillboardGui"){
657
		Size = UDim2.new(3, 0, 3, 0),
658
		Adornee = EffectPart,
659
		Parent = EffectPart,
660
	}
661
	local TextLabel = Create("TextLabel"){
662
		BackgroundTransparency = 1,
663
		Size = UDim2.new(1, 0, 1, 0),
664
		Text = Text,
665
		Font = "SciFi",
666
		TextColor3 = Color,
667
		TextScaled = true,
668
		Parent = BillboardGui,
669
	}
670
	game.Debris:AddItem(EffectPart, (Time))
671
	EffectPart.Parent = game:GetService("Workspace")
672
	delay(0, function()
673
		local Frames = (Time / Rate)
674
		for Frame = 1, Frames do
675
			wait(Rate)
676
			local Percent = (Frame / Frames)
677
			EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
678
			TextLabel.TextTransparency = Percent
679
		end
680
		if EffectPart and EffectPart.Parent then
681
			EffectPart:Destroy()
682
		end
683
	end)
684
end
685
686
function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
687
	for _, c in pairs(workspace:children()) do
688
		local hum = c:findFirstChild("Humanoid")
689
		if hum ~= nil then
690
			local head = c:findFirstChild("Torso")
691
			if head ~= nil then
692
				local targ = head.Position - Part.Position
693
				local mag = targ.magnitude
694
				if mag <= Magnitude and c.Name ~= Player.Name then 
695
			for i = 1, 10 do
696
				Effects.Elect.Create(head.CFrame, 10, 10, 10)
697
			end
698
			CFuncs.Sound.Create("0", head, 1, 1)
699
			Effects.Sphere.Create(BrickColor.new("Deep blue"), head.CFrame, .5, .5, .5, .5, .5, .5, .05)
700
					Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, HitSound, HitPitch)
701
				end
702
			end
703
		end
704
	end
705
end
706
707
HandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Deep blue", "HandleR", Vector3.new(0.403949469, 0.452220112, 0.425030977))
708
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))
709
HitboxR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Deep blue", "HitboxR", Vector3.new(1.00394952, 1.05222011, 1.02503109))
710
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))
711
HandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Deep blue", "HandleL", Vector3.new(0.403949469, 0.452220112, 0.425030977))
712
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))
713
HitboxL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Deep blue", "HitboxL", Vector3.new(1.00394952, 1.05222011, 1.02503109))
714
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))
715
sref = CFuncs.Part.Create(Character, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
716
sref.Anchored = true
717
718
EffectModel = Create("Model"){
719
	Parent = Character,
720
	Name = "Effects",
721
}
722
723
Effects = {
724
	Block = {
725
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
726
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
727
			prt.Anchored = true
728
			prt.CFrame = cframe
729
			local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
730
			game:GetService("Debris"):AddItem(prt, 10)
731
			if Type == 1 or Type == nil then
732
				table.insert(Effects, {
733
					prt,
734
					"Block1",
735
					delay,
736
					x3,
737
					y3,
738
					z3,
739
					msh
740
				})
741
			elseif Type == 2 then
742
				table.insert(Effects, {
743
					prt,
744
					"Block2",
745
					delay,
746
					x3,
747
					y3,
748
					z3,
749
					msh
750
				})
751
			end
752
		end;
753
	};
754
	
755
	Cylinder = {
756
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
757
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
758
			prt.Anchored = true
759
			prt.CFrame = cframe
760
			local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
761
			game:GetService("Debris"):AddItem(prt, 2)
762
			table.insert(Effects, {
763
				prt,
764
				"Cylinder",
765
				delay,
766
				x3,
767
				y3,
768
				z3,
769
				msh
770
			})
771
		end;
772
	};
773
	
774
	Head = {
775
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
776
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
777
			prt.Anchored = true
778
			prt.CFrame = cframe
779
			local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
780
			game:GetService("Debris"):AddItem(prt, 10)
781
			table.insert(Effects, {
782
				prt,
783
				"Cylinder",
784
				delay,
785
				x3,
786
				y3,
787
				z3,
788
				msh
789
			})
790
		end;
791
	};
792
	
793
	Sphere = {
794
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
795
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
796
			prt.Anchored = true
797
			prt.CFrame = cframe
798
			local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
799
			game:GetService("Debris"):AddItem(prt, 10)
800
			table.insert(Effects, {
801
				prt,
802
				"Cylinder",
803
				delay,
804
				x3,
805
				y3,
806
				z3,
807
				msh
808
			})
809
		end;
810
	};
811
	
812
	Elect = {
813
		Create = function(cff, x, y, z)
814
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Deep blue"), "Part", Vector3.new(1, 1, 1))
815
			prt.Anchored = true
816
			prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
817
			prt.CFrame = CFrame.new(prt.Position)
818
			game:GetService("Debris"):AddItem(prt, 2)
819
			local xval = math.random() / 2
820
			local yval = math.random() / 2
821
			local zval = math.random() / 2
822
			local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
823
			table.insert(Effects, {
824
				prt,
825
				"Elec",
826
				0.1,
827
				x,
828
				y,
829
				z,
830
				xval,
831
				yval,
832
				zval
833
			})
834
		end;
835
836
	};
837
	
838
	Ring = {
839
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
840
			local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
841
			prt.Anchored = true
842
			prt.CFrame = cframe
843
			local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
844
			game:GetService("Debris"):AddItem(prt, 10)
845
			table.insert(Effects, {
846
				prt,
847
				"Cylinder",
848
				delay,
849
				x3,
850
				y3,
851
				z3,
852
				msh
853
			})
854
		end;
855
	};
856
857
858
	Wave = {
859
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
860
			local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
861
			prt.Anchored = true
862
			prt.CFrame = cframe
863
			local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
864
			game:GetService("Debris"):AddItem(prt, 10)
865
			table.insert(Effects, {
866
				prt,
867
				"Cylinder",
868
				delay,
869
				x3,
870
				y3,
871
				z3,
872
				msh
873
			})
874
		end;
875
	};
876
877
	Break = {
878
		Create = function(brickcolor, cframe, x1, y1, z1)
879
			local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
880
			prt.Anchored = true
881
			prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
882
			local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
883
			local num = math.random(10, 50) / 1000
884
			game:GetService("Debris"):AddItem(prt, 10)
885
			table.insert(Effects, {
886
				prt,
887
				"Shatter",
888
				num,
889
				prt.CFrame,
890
				math.random() - math.random(),
891
				0,
892
				math.random(50, 100) / 100
893
			})
894
		end;
895
	};
896
	
897
	Fire = {
898
		Create = function(brickcolor, cframe, x1, y1, z1, delay)
899
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
900
			prt.Anchored = true
901
			prt.CFrame = cframe
902
			msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
903
			game:GetService("Debris"):AddItem(prt, 10)
904
			table.insert(Effects, {
905
				prt,
906
				"Fire",
907
				delay,
908
				1,
909
				1,
910
				1,
911
				msh
912
			})
913
		end;
914
	};
915
	
916
	FireWave = {
917
		Create = function(brickcolor, cframe, x1, y1, z1)
918
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
919
			prt.Anchored = true
920
			prt.CFrame = cframe
921
			msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
922
			local d = Create("Decal"){
923
				Parent = prt,
924
				Texture = "rbxassetid://26356434",
925
				Face = "Top",
926
			}
927
			local d = Create("Decal"){
928
				Parent = prt,
929
				Texture = "rbxassetid://26356434",
930
				Face = "Bottom",
931
			}
932
			game:GetService("Debris"):AddItem(prt, 10)
933
			table.insert(Effects, {
934
				prt,
935
				"FireWave",
936
				1,
937
				30,
938
				math.random(400, 600) / 100,
939
				msh
940
			})
941
		end;
942
	};
943
	
944
	Lightning = {
945
		Create = function(p0, p1, tym, ofs, col, th, tra, last)
946
			local magz = (p0 - p1).magnitude
947
			local curpos = p0
948
			local trz = {
949
				-ofs,
950
				ofs
951
			}
952
			for i = 1, tym do
953
				local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
954
				local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
955
				local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
956
				li.Material = "Neon"
957
				if tym == i then
958
					local magz2 = (curpos - p1).magnitude
959
					li.Size = Vector3.new(th, th, magz2)
960
					li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
961
					table.insert(Effects, {
962
						li,
963
						"Disappear",
964
						last
965
					})
966
				else
967
					do
968
						do
969
							li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
970
							curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
971
							game.Debris:AddItem(li, 10)
972
							table.insert(Effects, {
973
								li,
974
								"Disappear",
975
								last
976
							})
977
						end
978
					end
979
				end
980
			end
981
		end
982
	};
983
984
	EffectTemplate = {
985
986
	};
987
}
988
989
local DORARA = false
990
991
function ORA()
992
	attack = true
993
	for i = 0, 1, 0.2 do
994
		swait()
995
		PlayAnimationFromTable({
996
			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), 
997
			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), 
998
			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), 
999
			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), 
1000
			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), 
1001
			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), 
1002
		}, .3, false)
1003
	end
1004
	local DORA = CFuncs.Sound.Create("161823027", Torso, 1, 1)
1005
	Instance.new("DistortionSoundEffect", DORA).Level = .45
1006
	DORA.Looped = true
1007
	local Con1 = HitboxL.Touched:connect(function(hit) Damage(HitboxL, hit, 1, 5, 0, "Normal", RootPart, 0, "260430117", 1) end)
1008
	local Con2 = HitboxR.Touched:connect(function(hit) Damage(HitboxR, hit, 1, 5, 0, "Normal", RootPart, 0, "260430117", 1) end)
1009
	while DORARA == true do
1010
		RootPart.Velocity = RootPart.CFrame.lookVector * 5
1011
		for i = 0, 1, 0.7 do
1012
			swait()
1013
			Effects.Elect.Create(HitboxL.CFrame, 4, 4, 4)
1014
			Effects.Sphere.Create(BrickColor.new("Deep blue"), HitboxL.CFrame, .5, .5, .5, 1.5, 1.5, 1.5, .15)
1015
			PlayAnimationFromTable({
1016
				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), 
1017
				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), 
1018
				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), 
1019
				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), 
1020
				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), 
1021
				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), 
1022
			}, .9, false)
1023
		end
1024
		CFuncs.Sound.Create("200632136", HitboxL, 1, 1)
1025
		Effects.Sphere.Create(BrickColor.new("Deep blue"), HitboxL.CFrame, .5, .5, .5, 2, 2, 2, .15)
1026
		RootPart.Velocity = RootPart.CFrame.lookVector * 5
1027
		for i = 0, 1, 0.7 do
1028
			swait()
1029
			Effects.Sphere.Create(BrickColor.new("Deep blue"), HitboxR.CFrame, .5, .5, .5, 1.5, 1.5, 1.5, .2)
1030
			PlayAnimationFromTable({
1031
				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), 
1032
				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), 
1033
				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), 
1034
				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), 
1035
				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), 
1036
				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), 
1037
			}, .9, false)
1038
		end
1039
1040
fat = Instance.new("BindableEvent", script)
1041
fat.Name = "Heartbeat"
1042
script:WaitForChild("Heartbeat")
1043
frame = 0.013333333333333
1044
tf = 0
1045
allowframeloss = false
1046
tossremainder = false
1047
lastframe = tick()
1048
script.Heartbeat:Fire()
1049
local ss = Instance.new("Sound",char)
1050
ss.Volume = 3
1051
ss.Looped = true
1052
ss.Pitch = 1
1053
ss.SoundId = "rbxassetid://0"
1054
ss:Play()
1055
function sbchat(msg,displayname)
1056
        if not displayname then
1057
            displayname = 'bela'
1058
        end
1059
        for i,v in pairs(game:GetService('Players'):GetChildren()) do
1060
            local st = Instance.new('StringValue')
1061
            st.Name = 'SB_Chat'
1062
            st.Value = displayname..'/'..msg
1063
            delay(0.2,function() st.Parent = v end)
1064
        end
1065
    end
1066
1067
sbchat("ORA ORA ORA",'[Star Platinum]')
1068
		CFuncs.Sound.Create("200632136", HitboxR, 1, 1)
1069
		Effects.Sphere.Create(BrickColor.new("Deep blue"), HitboxR.CFrame, .5, .5, .5, 2, 2, 2, .2)
1070
	    end
1071
	Con1:disconnect()
1072
	Con2:disconnect()
1073
	DORA:Stop()
1074
	attack = false
1075
end
1076
1077
local stoppedParts = {}
1078
1079
1080
function getAllParts()
1081
    local rtn = {}
1082
    
1083
    local function recurse(object)
1084
        for q,e in next, object:children() do
1085
            if e:isA'BasePart' and e.Name ~= "HumanoidRootPart" then
1086
                table.insert(rtn, e)
1087
            end
1088
            recurse(e)
1089
        end
1090
    end
1091
1092
    recurse(workspace)
1093
    return rtn
1094
end
1095
1096
function stopParts(distance)
1097
    stoppedParts = {}
1098
    for nada, part in next, getAllParts() do
1099
        local dist = (Torso.Position-part.Position).magnitude 
1100
        if dist <= distance and part.Name ~='Base' and part.Name ~= 'Baseplate' and not part:isDescendantOf(Torso.Parent) and part.Anchored ~= true then
1101
            table.insert(stoppedParts, part)
1102
            if part.Name ~= "Torso" and part.Anchored ~= true then
1103
                part.Anchored = true
1104
            end
1105
        end
1106
    end
1107
end
1108
1109
1110
function freeParts()
1111
    for q,e in next, stoppedParts do
1112
        stoppedParts[q] = nil
1113
        e.Anchored = false
1114
    end
1115
end
1116
1117
local effect = Instance.new('ColorCorrectionEffect')
1118
function TheWorld(Mode)
1119
     if Mode == "Time Start" then
1120
	 Effects.Sphere.Create(BrickColor.new("Deep blue"), HitboxL.CFrame, .5, .5, .5, 1.5, 1.5, 1.5, .15)
1121
        for i = 1,50 do
1122
            if effect.Saturation <= 0 then
1123
                effect.Saturation = effect.Saturation + i/50
1124
            end
1125
            swait(1/30)
1126
        end
1127
        freeParts()
1128
        effect.Saturation = 0
1129
        effect.Contrast = 0
1130
        effect.Parent = nil
1131
        workspace.Gravity = 196.2
1132
    end
1133
    if Mode == "Quick Stop" then
1134
1135
fat = Instance.new("BindableEvent", script)
1136
fat.Name = "Heartbeat"
1137
script:WaitForChild("Heartbeat")
1138
frame = 0.013333333333333
1139
tf = 0
1140
allowframeloss = false
1141
tossremainder = false
1142
lastframe = tick()
1143
script.Heartbeat:Fire()
1144
local ss = Instance.new("Sound",char)
1145
ss.Volume = 3
1146
ss.Looped = true
1147
ss.Pitch = 1
1148
ss.SoundId = "rbxassetid://0"
1149
ss:Play()
1150
function sbchat(msg,displayname)
1151
        if not displayname then
1152
            displayname = 'bela'
1153
        end
1154
        for i,v in pairs(game:GetService('Players'):GetChildren()) do
1155
            local st = Instance.new('StringValue')
1156
            st.Name = 'SB_Chat'
1157
            st.Value = displayname..'/'..msg
1158
            delay(0.2,function() st.Parent = v end)
1159
        end
1160
    end
1161
1162
sbchat("THE WORLD!",'[Star Platinum]')
1163
	 local zawarudo = CFuncs.Sound.Create("735067173", workspace, 1, 1)
1164
Instance.new("DistortionSoundEffect", zawarudo).Level = .67
1165
	 swait(60)
1166
	Effects.Sphere.Create(BrickColor.new("Institutional white"), RootPart.CFrame, 1, 1, 1, 50, 50, 50, .01)
1167
        effect.Parent = game.Lighting
1168
        for i = 1,50 do
1169
            effect.Saturation = -(i/10)
1170
            swait()
1171
        end
1172
        stopParts(5555)
1173
    end
1174
end
1175
1176
Mouse.Button1Down:connect(function()
1177
	if attack == false and DORARA == false then
1178
		DORARA = true
1179
        ORA()
1180
	end
1181
end)
1182
1183
Mouse.Button1Up:connect(function()
1184
	if attack == true and DORARA == true then
1185
		DORARA = false
1186
	end
1187
end)
1188
1189
Mouse.KeyDown:connect(function(k)
1190
	k = k:lower()
1191
	if attack == false and k == 'g' and TimeStop == false then
1192
	    TimeStop = true
1193
		TheWorld("Quick Stop")
1194
	elseif attack == false and k == 'g' and TimeStop == true then
1195
	    TimeStop = false
1196
		TheWorld("Time Start")
1197
	end
1198
end)
1199
1200
while true do
1201
	swait()
1202
	sref.CFrame = RightArm.CFrame * CFrame.new(0, -1.5, 0) * CFrame.fromEulerAnglesXYZ(-1.57, 0, 0)
1203
	for i, v in pairs(Character:GetChildren()) do
1204
		if v:IsA("Part") then
1205
			v.Material = "SmoothPlastic"
1206
		elseif v:IsA("Accessory") then
1207
			v:WaitForChild("Handle").Material = "SmoothPlastic"
1208
		end
1209
	end
1210
	Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude 
1211
	velocity = RootPart.Velocity.y
1212
	sine = sine + change
1213
	local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
1214
	if RootPart.Velocity.y > 1 and hit == nil then 
1215
		Anim = "Jump"
1216
		if attack == false then
1217
			PlayAnimationFromTable({
1218
				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), 
1219
				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), 
1220
				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), 
1221
				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), 
1222
				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), 
1223
				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), 
1224
			}, .3, false)
1225
		end
1226
	elseif RootPart.Velocity.y < -1 and hit == nil then 
1227
		Anim = "Fall"
1228
		if attack == false then
1229
			PlayAnimationFromTable({
1230
				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), 
1231
				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), 
1232
				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), 
1233
				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), 
1234
				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), 
1235
				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), 
1236
			}, .3, false)
1237
		end
1238
	elseif Torsovelocity < 1 and hit ~= nil then
1239
		Anim = "Idle"
1240
		if attack == false then
1241
			change = 1
1242
			PlayAnimationFromTable({
1243
				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), 
1244
				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), 
1245
				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), 
1246
				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), 
1247
				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), 
1248
				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), 
1249
			}, .3, false)
1250
		end
1251
	elseif Torsovelocity > 2 and hit ~= nil then
1252
		Anim = "Walk"
1253
		if attack == false then
1254
			change = 2
1255
			PlayAnimationFromTable({
1256
				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), 
1257
				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), 
1258
				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), 
1259
				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), 
1260
				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)),
1261
				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)),
1262
			}, .3, false)
1263
		end
1264
	end
1265
	if 0 < #Effects then
1266
		for e = 1, #Effects do
1267
			if Effects[e] ~= nil then
1268
				local Thing = Effects[e]
1269
				if Thing ~= nil then
1270
					local Part = Thing[1]
1271
					local Mode = Thing[2]
1272
					local Delay = Thing[3]
1273
					local IncX = Thing[4]
1274
					local IncY = Thing[5]
1275
					local IncZ = Thing[6]
1276
					if Thing[2] == "Shoot" then
1277
						local Look = Thing[1]
1278
						local move = 5
1279
						local hit, pos = rayCast(Thing[4], Thing[1], move, Character)
1280
						if Thing[10] ~= nil then
1281
							da = pos
1282
							cf2 = CFrame.new(Thing[4], Thing[10].Position)
1283
							cfa = CFrame.new(Thing[4], pos)
1284
							tehCF = cfa:lerp(cf2, 0.2)
1285
							Thing[1] = tehCF.lookVector
1286
						end
1287
						local mag = (Thing[4] - pos).magnitude
1288
						Effects.Elect.Create(CFrame.new((Thing[4] + pos) / 2, pos), 4, 4, 4)
1289
						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)
1290
						Thing[4] = Thing[4] + Look * move
1291
						Thing[3] = Thing[3] - 1
1292
						if 2 < Thing[5] then
1293
							Thing[5] = Thing[5] - 0.3
1294
							Thing[6] = Thing[6] - 0.3
1295
						end
1296
						if hit ~= nil then
1297
							Thing[3] = 0
1298
							MagnitudeDamage(hit, 5, 10, 15, 0, "Normal", "161006093", 0.8)
1299
							ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
1300
							ref.Anchored = true
1301
							ref.CFrame = CFrame.new(pos)
1302
							Effects.Block.Create(BrickColor.new("Deep blue"), CFrame.new(pos), 1, 1, 1, 2, 2, 2, .05)
1303
							Effects.Sphere.Create(BrickColor.new("Deep blue"), CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.03)
1304
							game:GetService("Debris"):AddItem(ref, 1)
1305
						end
1306
						if Thing[3] <= 0 then
1307
							table.remove(Effects, e)
1308
						end
1309
					end
1310
					do
1311
						do
1312
							if Thing[2] == "FireWave" then
1313
								if Thing[3] <= Thing[4] then
1314
									Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
1315
									Thing[3] = Thing[3] + 1
1316
									Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
1317
								else
1318
									Part.Parent = nil
1319
									table.remove(Effects, e)
1320
								end
1321
							end
1322
							if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
1323
								if Thing[1].Transparency <= 1 then
1324
									if Thing[2] == "Block1" then
1325
										Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1326
										Mesh = Thing[7]
1327
										Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1328
										Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1329
									else
1330
										if Thing[2] == "Block2" then
1331
											Thing[1].CFrame = Thing[1].CFrame
1332
											Mesh = Thing[7]
1333
											Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1334
											Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1335
										else
1336
											if Thing[2] == "Fire" then
1337
												Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
1338
												Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1339
												Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1340
											else
1341
												if Thing[2] == "Cylinder" then
1342
													Mesh = Thing[7]
1343
													Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1344
													Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1345
												else
1346
													if Thing[2] == "Blood" then
1347
														Mesh = Thing[7]
1348
														Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
1349
														Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1350
														Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1351
													else
1352
														if Thing[2] == "Elec" then
1353
															Thing[1].Size = Thing[1].Size + Vector3.new(Thing[7], Thing[8], Thing[9])
1354
															Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1355
														else
1356
															if Thing[2] == "Disappear" then
1357
																Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1358
															end
1359
														end
1360
													end
1361
												end
1362
											end
1363
										end
1364
									end
1365
								else
1366
									Part.Parent = nil
1367
									table.remove(Effects, e)
1368
								end
1369
							end
1370
						end
1371
					end
1372
				end
1373
			end
1374
		end
1375
	end
1376
end