View difference between Paste ID: b4fz2vqD and pdCbyvgR
SHOW: | | - or go back to the newest paste.
1
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
2
local Player = owner
3
local Mouse,mouse,UserInputService,ContextActionService
4
do
5
    script.Parent = RhiBel00351
6
    local CAS = {Actions={}}
7
    local Event = Instance.new("RemoteEvent")
8
    Event.Name = "UserInput_Event"
9
    Event.Parent = Player.Character
10
    local fakeEvent = function()
11
        local t = {_fakeEvent=true}
12
        t.Connect = function(self,f)self.Function=f end
13
        t.connect = t.Connect
14
        return t
15
    end
16
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
17
    local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
18
    function CAS:BindAction(name,fun,touch,...)
19
        CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
20
    end
21
    function CAS:UnbindAction(name)
22
        CAS.Actions[name] = nil
23
    end
24
    local function te(self,ev,...)
25
        local t = m[ev]
26
        if t and t._fakeEvent and t.Function then
27
            t.Function(...)
28
        end
29
    end
30
    m.TrigEvent = te
31
    UIS.TrigEvent = te
32
    Event.OnServerEvent:Connect(function(plr,io)
33
        if plr~=Player then return end
34
        if io.isMouse then
35
            m.Target = io.Target
36
            m.Hit = io.Hit
37
        elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
38
            if io.UserInputState == Enum.UserInputState.Begin then
39
                m:TrigEvent("Button1Down")
40
            else
41
                m:TrigEvent("Button1Up")
42
            end
43
        else
44
            for n,t in pairs(CAS.Actions) do
45
                for _,k in pairs(t.Keys) do
46
                    if k==io.KeyCode then
47
                        t.Function(t.Name,io.UserInputState,io)
48
                    end
49
                end
50
            end
51
            if io.UserInputState == Enum.UserInputState.Begin then
52
                m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
53
                UIS:TrigEvent("InputBegan",io,false)
54
            else
55
                m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
56
                UIS:TrigEvent("InputEnded",io,false)
57
            end
58
        end
59
    end)
60
    NLS([==[
61
    local Player = game:GetService("Players").LocalPlayer
62
   
63
    local Char = Player.Character
64
    local Event = Char:WaitForChild("UserInput_Event")
65
   
66
    local UIS = game:GetService("UserInputService")
67
   
68
    local input = function(io,a)
69
        if a then return end
70
        local io = {KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}
71
        Event:FireServer(io)
72
    end
73
    UIS.InputBegan:Connect(input)
74
    UIS.InputEnded:Connect(input)
75
    local Changed = false
76
    local Mouse = Player:GetMouse()
77
    local h,t = Mouse.Hit,Mouse.Target
78
    while wait(1/30) do
79
        if h~=Mouse.Hit or t~=Mouse.Target then
80
            Event:FireServer({isMouse=true,Target=Mouse.Target,Hit=Mouse.Hit})
81
            h,t=Mouse.Hit,Mouse.Target
82
        end
83
    end
84
    ]==],Player.Character)
85
    Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
86
end
87
 
88
 
89
wait(0.2)
90
intro = true
91
sine = 0
92
change = 1
93
sprint=false
94
local Player = owner
95
local Character = owner.Character
96
97
local Torso = Character:FindFirstChild("Torso")
98
local rootPart = Character:FindFirstChild("HumanoidRootPart")
99
local Humanoid = Character:FindFirstChild("Humanoid")
100
local Head = Character:FindFirstChild("Head")
101
local Right_Arm = Character:FindFirstChild("Right Arm")
102
local Left_Arm = Character:FindFirstChild("Left Arm")
103
local Right_Leg = Character:FindFirstChild("Right Leg")
104
local Left_Leg = Character:FindFirstChild("Left Leg")
105
local Right_Shoulder = Torso:FindFirstChild("Right Shoulder")
106
local Left_Shoulder = Torso:FindFirstChild("Left Shoulder")
107
local Right_Hip = Torso:FindFirstChild("Right Hip")
108
local Left_Hip = Torso:FindFirstChild("Left Hip")
109
local Neck = Torso:FindFirstChild("Neck")
110
local rootPart = Character:FindFirstChild("HumanoidRootPart")
111
local rootJoint = rootPart:FindFirstChild("RootJoint")
112
local CurrentIdle = "Idling1"
113
local Degree = 0.0175438596491228
114
local canremove = false
115
local debounce = false
116
local UIService=game:GetService'UserInputService'
117
_G.SongName = math.random(1,9025232)
118
sin = math.sin
119
Right_Leg.FormFactor 		= "Custom";
120
Left_Leg.FormFactor			= "Custom";
121
rootPart.Archivable 		= true;
122
rootJoint.Archivable 		= true;
123
c_new						= CFrame.new;
124
c_angles					= CFrame.Angles;
125
i_new = Instance.new
126
Humanoid:ClearAllChildren();
127
local isAttacking = false
128
local isSprinting = false
129
local Animations = false
130
local Angle = 0
131
local Axis = 0
132
local angleSpeed = 1
133
local axisSpeed = angleSpeed
134
local currentAnim
135
local levetatingheight = 3
136
local WalkType = "Ground"
137
138
Humanoid.MaxHealth = 1000
139
Humanoid.Health = Humanoid.MaxHealth
140
141
Theme = Instance.new("Sound")
142
Theme.Parent = Character.Torso
143
Theme.SoundId = "rbxassetid://269366083"
144
Theme.Volume = 9.6
145
Theme.Looped = true
146
Theme.Pitch = 1
147
Theme:Play()
148
149
function swait(num)
150
	if num == 0 or num == nil then
151
		game:GetService("RunService").Stepped:wait(0)
152
	else
153
		for i = 0, num do
154
			game:GetService("RunService").Stepped:wait(0)
155
		end
156
	end
157
end
158
159
for i,v in pairs(Character:GetChildren()) do
160
	if v:IsA('ShirtGraphic')  then
161
		v:Destroy()
162
	end
163
end
164
165
for i,v in pairs(Character:GetChildren()) do
166
	if v:IsA('CharacterMesh') then
167
		v:Destroy()
168
	end
169
end
170
171
for i,v in pairs(Character:GetChildren()) do
172
	if v:IsA('Accoutrement') or v:IsA('Shirt') or v:IsA('Pants') then
173
		v:Destroy()
174
	elseif v:IsA('Part') and v.Name=='Head' then
175
		v.face:Destroy()
176
	end
177
end
178
179
180
Character['Body Colors'].HeadColor=BrickColor.new('Reddish brown')
181
Character['Body Colors'].TorsoColor=BrickColor.new('Reddish brown')
182
Character['Body Colors'].RightArmColor=BrickColor.new('Reddish brown')
183
Character['Body Colors'].LeftArmColor=BrickColor.new('Reddish brown')
184
Character['Body Colors'].RightLegColor=BrickColor.new('Reddish brown')
185
Character['Body Colors'].LeftLegColor=BrickColor.new('Reddish brown')
186
187
shirt = Instance.new("Shirt",Character)
188
pants = Instance.new("Pants",Character)
189
shirt.ShirtTemplate = "rbxassetid://18622157"
190
pants.PantsTemplate = "rbxassetid://18616286"
191
192
Humanoid.DisplayDistanceType='None'
193
194
Head.Transparency = 1
195
local _Head = Instance.new("Part",Head)
196
_Head.Name = "_Head"
197
_Head.Shape = Enum.PartType.Block
198
_Head.CanCollide = false
199
_Head.BrickColor = BrickColor.new("Reddish brown")
200
_Head.Transparency = 0
201
_Head.Material = "Wood"
202
_Head.Size = Vector3.new(1.5, 1.5, 1.5)
203
_Head.TopSurface = Enum.SurfaceType.Smooth
204
_Head.BottomSurface = Enum.SurfaceType.Smooth	local Weld = Instance.new("Weld", _Head)
205
Weld.Part0 = Head
206
Weld.Part1 = _Head
207
Weld.C1 = CFrame.new(0,-0.15,0)
208
_HeadMesh = Instance.new("SpecialMesh",_Head)
209
_HeadMesh.MeshType = "Sphere"
210
_HeadMesh.Scale = Vector3.new(1,1,1)
211
212
local Tael = Instance.new("Part",Character)
213
Tael.Name = "Tael"
214
Tael.Shape = Enum.PartType.Block
215
Tael.CanCollide = false
216
Tael.BrickColor = BrickColor.new("Dark indigo")
217
Tael.Transparency = 0
218
Tael.Material = "Neon"
219
Tael.Size = Vector3.new(0.5, 0.5, 0.5)
220
Tael.TopSurface = Enum.SurfaceType.Smooth
221
Tael.BottomSurface = Enum.SurfaceType.Smooth	
222
local Tael2 = Instance.new("Weld", Tael)
223
Tael2.Part0 = rootPart
224
Tael2.Part1 = Tael
225
Tael2.C1 = CFrame.new(0,-5,3.5)
226
Mesh = Instance.new("SpecialMesh",Tael)
227
Mesh.MeshType = "Sphere"
228
Mesh.Scale = Vector3.new(1,1,1)
229
230
local Tatl = Instance.new("Part",Character)
231
Tatl.Name = "Tatl"
232
Tatl.Shape = Enum.PartType.Block
233
Tatl.CanCollide = false
234
Tatl.BrickColor = BrickColor.new("New Yeller")
235
Tatl.Transparency = 0
236
Tatl.Material = "Neon"
237
Tatl.Size = Vector3.new(0.5, 0.5, 0.5)
238
Tatl.TopSurface = Enum.SurfaceType.Smooth
239
Tatl.BottomSurface = Enum.SurfaceType.Smooth	
240
local Tatl2 = Instance.new("Weld", Tatl)
241
Tatl2.Part0 = rootPart
242
Tatl2.Part1 = Tatl
243
Tatl2.C1 = CFrame.new(0,-2,3.5)
244
Mesh = Instance.new("SpecialMesh",Tatl)
245
Mesh.MeshType = "Sphere"
246
Mesh.Scale = Vector3.new(1,1,1)
247
248
249
GUI = Instance.new("BillboardGui",Tael)
250
GUI.Size = UDim2.new(1.3,0,1,0)
251
GUI.MaxDistance = "inf"
252
GUI.ExtentsOffset = Vector3.new(0,0.1,0)
253
254
Wings = Instance.new("ImageLabel",GUI)
255
Wings.Position = UDim2.new(0,0,0,0)
256
Wings.Image = "rbxassetid://1345656252"
257
Wings.BackgroundTransparency = 1
258
Wings.Size = UDim2.new(1,0,1,0)
259
260
GUI2 = Instance.new("BillboardGui",Tatl)
261
GUI2.Size = UDim2.new(1.3,0,1,0)
262
GUI2.MaxDistance = "inf"
263
GUI2.ExtentsOffset = Vector3.new(0,0.1,0)
264
265
Wings2 = Instance.new("ImageLabel",GUI2)
266
Wings2.Position = UDim2.new(0,0,0,0)
267
Wings2.Image = "rbxassetid://1345656252"
268
Wings2.BackgroundTransparency = 1
269
Wings2.Size = UDim2.new(1,0,1,0)
270
271
coroutine.wrap(function()
272
while true do
273
for i = 1,5 do
274
GUI.Size = GUI.Size - UDim2.new(0.1,0,0,0)
275
GUI2.Size = GUI2.Size - UDim2.new(0.1,0,0,0)
276
swait()
277
end
278
for i = 1,5 do
279
GUI.Size = GUI.Size + UDim2.new(0.1,0,0,0)
280
GUI2.Size = GUI2.Size + UDim2.new(0.1,0,0,0)
281
swait()
282
end
283
end
284
end)()
285
286
287
atch0 = Instance.new("Attachment",Tatl)
288
atch0.Position = Vector3.new(0,0,Tatl.Size.Z/2)
289
atch1 = Instance.new("Attachment",Tatl)
290
atch1.Position = Vector3.new(0,0,-Tatl.Size.Z/2)
291
trail = Instance.new("Trail",Tatl)
292
trail.Attachment0 = atch0
293
trail.Attachment1 = atch1
294
trail.Lifetime = 0.2
295
trail.Enabled = true
296
trail.LightEmission = 1
297
trail.LightInfluence = 0
298
trail.FaceCamera = true
299
trail.WidthScale = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
300
trail.Color = ColorSequence.new(Color3.new(1,1,0))
301
trail.Transparency = NumberSequence.new(0,1)
302
303
atch2 = Instance.new("Attachment",Tael)
304
atch2.Position = Vector3.new(0,0,Tael.Size.Z/2)
305
atch3 = Instance.new("Attachment",Tael)
306
atch3.Position = Vector3.new(0,0,-Tael.Size.Z/2)
307
trail2 = Instance.new("Trail",Tael)
308
trail2.Attachment0 = atch2
309
trail2.Attachment1 = atch3
310
trail2.Lifetime = 0.2
311
trail2.Enabled = true
312
trail2.LightEmission = 1
313
trail2.LightInfluence = 0
314
trail2.FaceCamera = true
315
trail2.WidthScale = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
316
trail2.Color = ColorSequence.new(Color3.fromRGB(61, 21, 133))
317
trail2.Transparency = NumberSequence.new(0,1)
318
319
Twinkles=Instance.new('ParticleEmitter',Tael)
320
Twinkles.Color = ColorSequence.new(Color3.fromRGB(61, 21, 133))
321
Twinkles.LightEmission=1
322
Twinkles.Texture='rbxassetid://187012669'
323
Twinkles.Size=NumberSequence.new({NumberSequenceKeypoint.new(0, 0.05, 0), NumberSequenceKeypoint.new(1, 0, 0)})
324
Twinkles.EmissionDirection='Back'
325
Twinkles.Lifetime = NumberRange.new(0.5)
326
Twinkles.Rate = 10
327
Twinkles.SpreadAngle=Vector2.new(-90,90)
328
329
Twinkles=Instance.new('ParticleEmitter',Tatl)
330
Twinkles.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0))
331
Twinkles.LightEmission=1
332
Twinkles.Texture='rbxassetid://187012669'
333
Twinkles.Size=NumberSequence.new({NumberSequenceKeypoint.new(0, 0.05, 0), NumberSequenceKeypoint.new(1, 0, 0)})
334
Twinkles.EmissionDirection='Back'
335
Twinkles.Lifetime = NumberRange.new(0.5)
336
Twinkles.Rate = 10
337
Twinkles.SpreadAngle=Vector2.new(-90,90)
338
339
local Particle = Instance.new("ParticleEmitter",Tael)
340
Particle.Enabled = true
341
Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
342
Particle.LightEmission = 1
343
Particle.Rate = 2000
344
Particle.ZOffset = 1
345
Particle.Lifetime = NumberRange.new(0.5)
346
Particle.Speed = NumberRange.new(1)
347
Particle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.3), NumberSequenceKeypoint.new(1, 1, 0.1)})
348
Particle.Rotation = NumberRange.new(-180, 180)
349
Particle.RotSpeed = NumberRange.new(-180, 180)
350
Particle.Texture = "http://www.roblox.com/asset/?id=303194966"
351
Particle.Color = ColorSequence.new(Color3.fromRGB(61, 21, 133),Color3.fromRGB(61, 21, 133))
352
Particle.VelocitySpread = 360
353
Particle.LockedToPart = false
354
355
local Particle = Instance.new("ParticleEmitter",Tatl)
356
Particle.Enabled = true
357
Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
358
Particle.LightEmission = 1
359
Particle.Rate = 2000
360
Particle.ZOffset = 1
361
Particle.Lifetime = NumberRange.new(0.5)
362
Particle.Speed = NumberRange.new(1)
363
Particle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2, 0), NumberSequenceKeypoint.new(1, 0.5, 0)})
364
Particle.Rotation = NumberRange.new(-180, 180)
365
Particle.RotSpeed = NumberRange.new(-180, 180)
366
Particle.Texture = "http://www.roblox.com/asset/?id=303194966"
367
Particle.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0),Color3.fromRGB(255, 255, 0))
368
Particle.VelocitySpread = 360
369
Particle.LockedToPart = false
370
371
372
local Beak = Instance.new("Part",Head)
373
Beak.Name = "Beak"
374
Beak.Shape = Enum.PartType.Ball
375
Beak.CanCollide = false
376
Beak.Color = Color3.new(0,0,0)
377
Beak.Transparency = 0
378
Beak.Material = "SmoothPlastic"
379
Beak.Size = Vector3.new(0.1, 0.1, 0.1)
380
Beak.TopSurface = Enum.SurfaceType.Smooth
381
Beak.BottomSurface = Enum.SurfaceType.Smooth	
382
local Weld = Instance.new("Weld", Beak)
383
Weld.Part0 = Head
384
Weld.Part1 = Beak
385
Weld.C1 = CFrame.new(0,0.1,0.7)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0))
386
BeakMesh = Instance.new("FileMesh",Beak)
387
BeakMesh.MeshId = "http://www.roblox.com/asset/?id=1241049633"
388
BeakMesh.TextureId = "http://www.roblox.com/asset/?id=1179215218"
389
BeakMesh.Scale = Vector3.new(0.5,0.15,0.1)
390
BeakMesh.VertexColor = Vector3.new(1,0.5,0)
391
392
local Mask = Instance.new("Part",Head)
393
Mask.Name = "Majora's Mask"
394
Mask.Shape = Enum.PartType.Ball
395
Mask.CanCollide = false
396
Mask.Color = Color3.new(0,0,0)
397
Mask.Transparency = 1
398
Mask.Material = "SmoothPlastic"
399
Mask.Size = Vector3.new(0.1, 0.1, 0.1)
400
Mask.TopSurface = Enum.SurfaceType.Smooth
401
Mask.BottomSurface = Enum.SurfaceType.Smooth	
402
local MaskWeld = Instance.new("Weld", Mask)
403
MaskWeld.Part0 = Head
404
MaskWeld.Part1 = Mask
405
MaskWeld.C1 = CFrame.new(0,-0.7,-0.25)*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(0))
406
MaskMesh = Instance.new("FileMesh",Mask)
407
MaskMesh.MeshId = "http://www.roblox.com/asset/?id=2054429467"
408
MaskMesh.TextureId = "http://www.roblox.com/asset/?id=2054436209"
409
MaskMesh.Scale = Vector3.new(0.38,0.38,0.38)
410
411
local Ocarina = Instance.new("Part",Character)
412
Ocarina.Name = "Link's Ocarina"
413
Ocarina.Shape = Enum.PartType.Ball
414
Ocarina.CanCollide = false
415
Ocarina.Color = Color3.new(0,0,0)
416
Ocarina.Transparency = 1
417
Ocarina.Material = "SmoothPlastic"
418
Ocarina.Size = Vector3.new(0.1, 0.1, 0.1)
419
Ocarina.TopSurface = Enum.SurfaceType.Smooth
420
Ocarina.BottomSurface = Enum.SurfaceType.Smooth	
421
local OcarinaWeld = Instance.new("Weld", Ocarina)
422
OcarinaWeld.Part0 = Left_Arm
423
OcarinaWeld.Part1 = Ocarina
424
OcarinaWeld.C1 = CFrame.new(-0.2,0,1)*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(0))
425
OcarinaMesh = Instance.new("FileMesh",Ocarina)
426
OcarinaMesh.MeshId = "http://www.roblox.com/asset/?id=1591417841"
427
OcarinaMesh.TextureId = "http://www.roblox.com/asset/?id=1591417870"
428
OcarinaMesh.Scale = Vector3.new(0.05,0.05,0.05)
429
430
local Hat = Instance.new("Part",Head)
431
Hat.Name = "Hat"
432
Hat.Shape = Enum.PartType.Ball
433
Hat.CanCollide = false
434
Hat.Color = Color3.new(0,0,0)
435
Hat.Transparency = 0
436
Hat.Material = "SmoothPlastic"
437
Hat.Size = Vector3.new(0.1, 0.1, 0.1)
438
Hat.TopSurface = Enum.SurfaceType.Smooth
439
Hat.BottomSurface = Enum.SurfaceType.Smooth	
440
local Weld = Instance.new("Weld", Hat)
441
Weld.Part0 = Head
442
Weld.Part1 = Hat
443
Weld.C1 = CFrame.new(0,-1,0.1)*CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(0),math.rad(0))
444
HatMesh = Instance.new("FileMesh",Hat)
445
HatMesh.MeshId = "http://www.roblox.com/asset/?id=12811687"
446
HatMesh.TextureId = "http://www.roblox.com/asset/?id=12811694"
447
HatMesh.Scale = Vector3.new(1.2,1.4,1.4)
448
449
local Poncho = Instance.new("Part",Torso)
450
Poncho.Name = "Poncho"
451
Poncho.Shape = Enum.PartType.Ball
452
Poncho.CanCollide = false
453
Poncho.Color = Color3.fromRGB(157, 168, 0)
454
Poncho.Transparency = 0
455
Poncho.Material = "SmoothPlastic"
456
Poncho.Size = Vector3.new(0.1, 0.1, 0.1)
457
Poncho.TopSurface = Enum.SurfaceType.Smooth
458
Poncho.BottomSurface = Enum.SurfaceType.Smooth	
459
local Weld = Instance.new("Weld", Poncho)
460
Weld.Part0 = Torso
461
Weld.Part1 = Poncho
462
Weld.C1 = CFrame.new(0.25,-0.05,0.45)*CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-90),math.rad(0))
463
PonchoMesh = Instance.new("FileMesh",Poncho)
464
PonchoMesh.MeshId = "http://www.roblox.com/asset/?id=2057076845"
465
--PonchoMesh.TextureId = "http://www.roblox.com/asset/?id=12811694"
466
PonchoMesh.Scale = Vector3.new(0.25,0.2,0.2)
467
468
local BodMesh = Instance.new("CharacterMesh", Character)
469
BodMesh.BodyPart = "Torso"
470
BodMesh.MeshId = "27111894"
471
local BodMesh = Instance.new("CharacterMesh", Character)
472
BodMesh.BodyPart = "RightArm"
473
BodMesh.MeshId = "27111864"
474
local BodMesh = Instance.new("CharacterMesh", Character)
475
BodMesh.BodyPart = "LeftArm"
476
BodMesh.MeshId = "27111419"
477
local BodMesh = Instance.new("CharacterMesh", Character)
478
BodMesh.BodyPart = "RightLeg"
479
BodMesh.MeshId = "27111882"
480
local BodMesh = Instance.new("CharacterMesh", Character)
481
BodMesh.BodyPart = "LeftLeg"
482
BodMesh.MeshId = "27111857"
483
484
newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
485
	wld = Instance.new("Weld", wp1)
486
	wld.Part0 = wp0
487
	wld.Part1 = wp1
488
	wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
489
	return wld
490
end
491
492
function noOutline(part)
493
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
494
end
495
496
local function Part(Name,Color, Material, Transparency,Shape, Size, CFrame,CanCollide,Anchored,parent)
497
	local partie = i_new("Part",parent)
498
	partie.Name=Name
499
	partie.BrickColor = BrickColor.new(Color)
500
	partie.Material = Material
501
	partie.Shape = Shape
502
	partie.Transparency = Transparency
503
	partie.Size = Size
504
	partie.CFrame = CFrame
505
	partie.CanCollide = CanCollide
506
	partie.Anchored = Anchored
507
	return partie
508
end
509
510
local REye=Part('REye','New Yeller','Neon',0,'Ball',Vector3.new(.15,.15,.15),CFrame.new(0,0,0),false,false,Character)
511
newWeld(Head,REye,.305,.13,-.655)
512
local LEye=Part('LEye','New Yeller','Neon',0,'Ball',Vector3.new(.15,.15,.15),CFrame.new(0,0,0),false,false,Character)
513
newWeld(Head,LEye,-.305,.13,-.655)
514
local REye=Part('REye','CGA brown','Neon',0,'Ball',Vector3.new(.2,.2,.2),CFrame.new(0,0,0),false,false,Character)
515
newWeld(Head,REye,.3,.13,-.625)
516
local LEye=Part('LEye','CGA brown','Neon',0,'Ball',Vector3.new(.2,.2,.2),CFrame.new(0,0,0),false,false,Character)
517
newWeld(Head,LEye,-.3,.13,-.625)
518
519
function mesh(Mesh, part, meshtype, meshid, offset, scale)
520
	local mesh = i_new(Mesh)
521
	mesh.Parent = part
522
	if Mesh == "SpecialMesh" then
523
		mesh.MeshType = meshtype
524
		mesh.MeshId = meshid
525
	end
526
	mesh.Offset = offset
527
	mesh.Scale = scale
528
	return mesh
529
end
530
531
function findCloseHumanoid(centre, distance)
532
  local tab = {}
533
  for _, child in pairs(game.Workspace:GetChildren()) do
534
    if child:findFirstChild("Humanoid") and child:findFirstChild("Humanoid") ~= Humanoid and child:findFirstChild("Torso") then
535
      local vtors = child.Torso
536
      local mag = math.abs((vtors.Position - centre).magnitude)
537
      if distance >= mag then
538
        table.insert(tab, child.Humanoid)
539
      end
540
    end
541
  end
542
  return tab
543
end
544
545
function FindNearestTorso(Position, Distance, SinglePlayer)
546
	if SinglePlayer then
547
		return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
548
	end
549
	local List = {}
550
	for i, v in pairs(workspace:GetChildren()) do
551
		if v:IsA("Model") then
552
			if v:findFirstChild("Torso") then
553
				if v ~= Character then
554
					if (v.Torso.Position - Position).magnitude <= Distance then
555
						table.insert(List, v)
556
					end 
557
				end 
558
			end 
559
		end 
560
	end
561
	return List
562
end
563
564
--[[
565
S = Instance.new("Sound")
566
S.Parent = Character.Torso
567
S.SoundId = "rbxassetid://337667089"
568
S.Volume = 10
569
S.Looped = false
570
S.Pitch = 1
571
S:Play()
572
--]]
573
574-
mouse = Player:GetMouse()
574+
575
576
577
attack = false -- Self Explanatory
578
attack2 = false -- Disables Movement
579
fattack = false -- Fairies Stop Buzzing and attacks
580
581
local Effects = Instance.new("Folder",Character)
582
Effects.Name = "Effects and Decoys"
583
584
function Intro()
585
attack = true
586
attack2 = true
587
Animations = true
588
589
local Decoy = Instance.new("Part",Head)
590
Decoy.Name = "Majora's Decoy"
591
Decoy.Shape = Enum.PartType.Ball
592
Decoy.CanCollide = false
593
Decoy.Anchored = true
594
Decoy.Color = Color3.new(0,0,0)
595
Decoy.Transparency = 0
596
Decoy.Material = "SmoothPlastic"
597
Decoy.Size = Vector3.new(0.1, 0.1, 0.1)
598
Decoy.TopSurface = Enum.SurfaceType.Smooth
599
Decoy.BottomSurface = Enum.SurfaceType.Smooth	
600
Decoy.CFrame = rootPart.CFrame * CFrame.new(0,-2.8,-2) * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(-200),math.rad(0))
601
Mesh = Instance.new("FileMesh",Decoy)
602
Mesh.MeshId = "http://www.roblox.com/asset/?id=2054429467"
603
Mesh.TextureId = "http://www.roblox.com/asset/?id=2054436209"
604
Mesh.Scale = Vector3.new(0.38,0.38,0.38)
605
606
for i = 0,1,0.01 do
607
Decoy.CFrame = rootPart.CFrame * CFrame.new(0,-2.8,-2) * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(-200),math.rad(0))
608
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15)
609
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.5, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15)
610
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.sin(sine/4)/3,math.rad(0),math.rad(0)), 0.15)
611
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(-math.sin(sine/4)/3,math.rad(0),math.rad(0)), 0.15)
612
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine/7.5)/15, 10 + i*-10) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15)
613
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5 + math.sin(sine/7.5)/15, 0 - math.sin(sine/7.5)/15) * c_angles(math.rad(0) - math.sin(sine/7.5)/15,math.rad(0), math.rad(0)), 0.15)
614
swait()
615
end
616
S = Instance.new("Sound")
617
S.Parent = Character.Torso
618
S.SoundId = "rbxassetid://2057274656"
619
S.Volume = 10
620
S.Looped = false
621
S.Pitch = 1
622
S:Play()
623
for i = 0,1,0.01 do
624
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15)
625
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15)
626
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(10),math.rad(0),math.rad(0)), 0.15)
627
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(10),math.rad(0),math.rad(0)), 0.15)
628
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0, -1,0) * c_angles(math.rad(-10), math.rad(0),math.rad(0)), 0.15)
629
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5, -0.2) * c_angles(math.rad(-20),math.rad(0), math.rad(0)), 0.15)
630
swait()
631
end
632
633
634
for i = 0,1,0.01 do
635
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.5) * c_angles(math.rad(90),math.rad(0),math.rad(-20)), 0.15)
636
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.5, 0.5, -0.5) * c_angles(math.rad(90),math.rad(0),math.rad(20)), 0.15)
637
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(80),math.rad(0),math.rad(0)), 0.15)
638
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(80),math.rad(0),math.rad(0)), 0.15)
639
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0, -1,0) * c_angles(math.rad(-80), math.rad(0),math.rad(0)), 0.15)
640
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5, -0.2) * c_angles(math.rad(-20),math.rad(0), math.rad(0)), 0.15)
641
swait()
642
end
643
Decoy.Anchored = false
644
local Weld = Instance.new("Weld", Decoy)
645
Weld.Part0 = Torso
646
Weld.Part1 = Decoy
647
Weld.C1 = CFrame.new(0,2,-1.5)*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),math.rad(0))
648
for i = 0,1,0.01 do
649
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.5) * c_angles(math.rad(120),math.rad(0),math.rad(-30)), 0.15)
650
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.5, 0.5, -0.5) * c_angles(math.rad(120),math.rad(0),math.rad(30)), 0.15)
651
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15)
652
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15)
653
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0, -1,0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15)
654
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0),math.rad(0), math.rad(0)), 0.15)
655
swait()
656
end
657
Decoy.Anchored = true
658
Weld:Destroy()
659
for i = 1,18 do
660
Decoy.CFrame = Decoy.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(10))
661
swait()
662
end
663
for i = 0,1,0.01 do
664
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.5) * c_angles(math.rad(120),math.rad(0),math.rad(-20)), 0.15)
665
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.5, 0.5, -0.5) * c_angles(math.rad(120),math.rad(0),math.rad(20)), 0.15)
666
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15)
667
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15)
668
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0, -1,0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15)
669
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0),math.rad(0), math.rad(0)), 0.15)
670
swait()
671
end
672
for i = 1,5 do
673
Decoy.CFrame = Decoy.CFrame * CFrame.new(0,-0.25,0)
674
swait()
675
end
676
Decoy:Destroy()
677
Mask.Transparency = 0
678
679
S = Instance.new("Sound")
680
S.Parent = Character.Torso
681
S.SoundId = "rbxassetid://2057161687"
682
S.Volume = 10
683
S.Looped = false
684
S.Pitch = 1
685
S:Play()
686
687
Theme.SoundId = "rbxassetid://200893259"
688
Theme:Play()
689
for i = 0,1,0.01 do
690
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.25, 0.5, 0.2) * c_angles(math.rad(-30),math.rad(-60),math.rad(0)), 0.15)
691
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.25, 0.5, 0.2) * c_angles(math.rad(-30),math.rad(60),math.rad(0)), 0.15)
692
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-30),math.rad(0),math.rad(0)), 0.15)
693
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-30),math.rad(0),math.rad(0)), 0.15)
694
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0, -1,0) * c_angles(math.rad(30), math.rad(0),math.rad(0)), 0.15)
695
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20),math.rad(0), math.rad(0)), 0.15)
696
swait()
697
end
698
699
for i = 0,0.05,0.01 do
700
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.5) * c_angles(math.rad(30),math.rad(-0),math.rad(0)), 0.15)
701
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.5, 0.5, -0.5) * c_angles(math.rad(30),math.rad(0),math.rad(0)), 0.15)
702
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(30),math.rad(0),math.rad(0)), 0.15)
703
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(30),math.rad(0),math.rad(0)), 0.15)
704
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0, -1,0) * c_angles(math.rad(-30), math.rad(0),math.rad(0)), 0.15)
705
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(-20),math.rad(0), math.rad(0)), 0.15)
706
swait()
707
end
708
709
for i = 0,1,0.01 do
710
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(150),math.rad(-0),math.rad(0)), 0.15)
711
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(150),math.rad(0),math.rad(0)), 0.15)
712
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-10),math.rad(0),math.rad(0)), 0.15)
713
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-10),math.rad(0),math.rad(0)), 0.15)
714
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0, -2.5,0) * c_angles(math.rad(-80), math.rad(0),math.rad(0)), 0.15)
715
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0),math.rad(0), math.rad(0)), 0.15)
716
swait()
717
end
718
719
S = Instance.new("Sound")
720
S.Parent = Character.Torso
721
S.SoundId = "rbxassetid://160195008"
722
S.Volume = 10
723
S.Looped = false
724
S.Pitch = 1
725
S:Play()
726
727
fattack = true
728
for i = 0,2,0.01 do
729
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(-30),math.rad(-0),math.rad(0)), 0.15)
730
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(-30),math.rad(0),math.rad(0)), 0.15)
731
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-120),math.rad(0),math.rad(0)), 0.15)
732
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-120),math.rad(0),math.rad(0)), 0.15)
733
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0, -2.5,0) * c_angles(math.rad(30), math.rad(0),math.rad(0)), 0.15)
734
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20 + math.random(-100,100)/10),math.rad(0), math.rad(math.random(-100,100)/10)), 0.4)
735
local rng2 = Instance.new("Part",Character)
736
rng2.Anchored = true
737
rng2.BrickColor = BrickColor.new("Dark indigo")
738
rng2.CanCollide = false
739
rng2.FormFactor = 3
740
rng2.Name = "Shockwave"
741
rng2.Size = Vector3.new(1, 1, 1)
742
rng2.Transparency = 0.35
743
rng2.TopSurface = 0
744
rng2.BottomSurface = 0
745
rng2.CFrame = rootPart.CFrame * CFrame.Angles(0,math.rad(90),math.rad(0))
746
local rngm2 = Instance.new("SpecialMesh", rng2)
747
rngm2.MeshId = "http://www.roblox.com/asset/?id=20329976"
748
rngm2.Scale = Vector3.new(0, 0, 0)
749
rngm2.Offset = Vector3.new(0,0,-0.5)
750
Spawn(function()
751
	for i = 1, 60, 2 do
752
		rng2.CFrame = rng2.CFrame * CFrame.Angles(0,math.rad(5) + i*math.random(1,10),math.rad(0))
753
		rngm2.Scale = Vector3.new(5 + i*0.3, 2  - i*0.1 ,5 + i*0.3)
754
		rng2.Transparency = i/30
755
		rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0)
756
		swait()
757
	end
758
	wait()
759
	rng2:Destroy()
760
end)
761
Tael2.C1 = Tael2.C1 * CFrame.fromEulerAnglesXYZ(math.rad(2) + math.sin(sine/7.5)/30,math.rad(4) - math.sin(sine/7.5)/30,math.rad(0) + math.sin(sine/7.5)/30)
762
Tatl2.C1 = Tatl2.C1 * CFrame.fromEulerAnglesXYZ(math.rad(3) - math.sin(sine/7.5)/25,math.rad(-4) + math.sin(sine/7.5)/12,math.rad(0) - math.sin(sine/7.5)/30)
763
swait()
764
end
765
Theme.SoundId = "rbxassetid://302493616"
766
Theme:Play()
767
Ocarina.Transparency = 0
768
Animations = false
769
attack2 = false
770
fattack = false
771
attack = false
772
end
773
--[[ Laughing and pointing
774
function Laugh()
775
attack = true
776
attack2 = true
777
Animations = true
778
lafz = math.random(1,3)
779
S = Instance.new("Sound")
780
S.Parent = Character.Torso
781
if lafz == 1 then
782
S.SoundId = "rbxassetid://2057149157"
783
elseif lafz == 2 then
784
S.SoundId = "rbxassetid://2057150436"
785
elseif lafz == 3 then
786
S.SoundId = "rbxassetid://2057595082"
787
end
788
S.Volume = 10
789
S.Looped = false
790
S.Pitch = 1
791
S:Play()
792
for i = 0,1,0.01 do
793
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.25, 0.5, -0.5) * c_angles(math.rad(45) - math.sin(sine/7.5)/15, math.rad(30) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15), 0.15)
794
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.25, 0.5, -0.5) * c_angles(math.rad(45) + math.sin(sine/7.5)/15, math.rad(0),math.rad(30)), 0.15)
795
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(30) + math.sin(sine/4)/1, math.rad(0),math.rad(-5) - math.sin(sine/7.5)/25), 0.15)
796
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(30) - math.sin(sine/4)/1, math.rad(0) ,math.rad(5) + math.sin(sine/7.5)/25), 0.15)
797
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/15)/5, -0.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(45) - math.sin(sine/15)/15 , math.rad(0), math.rad(0)), 0.15)
798
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(-20) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/15)/30, math.rad(0) + math.sin(sine/2)/2), 0.15)
799
MaskWeld.C1 = MaskWeld.C1 * CFrame.fromEulerAnglesXYZ(0,0,math.rad(0) - math.sin(sine/2)/25)
800
swait()
801
end
802
MaskWeld.C1 = CFrame.new(0,-0.7,-0.25)*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(0))
803
804
Animations = false
805
attack2 = false
806
attack = false
807
end
808
--]]
809
810
local Create = LoadLibrary("RbxUtility").Create
811
function Laugh()
812
attack = true
813
attack2 = true
814
Animations = true
815
lafz = math.random(1,5)
816
S = Instance.new("Sound")
817
S.Parent = Character.Torso
818
if lafz == 1 then
819
S.SoundId = "rbxassetid://2057149157"
820
elseif lafz == 2 then
821
S.SoundId = "rbxassetid://2057150436"
822
elseif lafz == 3 then
823
S.SoundId = "rbxassetid://2057595082"
824
elseif lafz == 4 then
825
S.SoundId = "rbxassetid://2065249482"
826
elseif lafz == 5 then
827
S.SoundId = "rbxassetid://2065252593"
828
end
829
S.Volume = 10
830
S.Looped = false
831
S.Pitch = 1
832
S:Play()
833
S = Instance.new("Sound")
834
S.Parent = Character.Torso
835
S.SoundId = "rbxassetid://21338895"
836
S.Volume = 4
837
S.Looped = false
838
S.Pitch = 0.8
839
S:Play()
840
laughi = math.random(1,3)
841
if laughi == 1 then
842
for i = 0,1,0.01 do
843
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.25, 0.5, -0.5) * c_angles(math.rad(45) - math.sin(sine/7.5)/15, math.rad(0) + math.sin(sine/7.5)/15,math.rad(-30) + math.sin(sine/7.5)/15), 0.15)
844
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.25, 0.5, -0.5) * c_angles(math.rad(45) + math.sin(sine/7.5)/15, math.rad(0),math.rad(30)), 0.15)
845
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(30) + math.sin(sine/4)/1, math.rad(0),math.rad(-5) - math.sin(sine/7.5)/25), 0.15)
846
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(30) - math.sin(sine/4)/1, math.rad(0) ,math.rad(5) + math.sin(sine/7.5)/25), 0.15)
847
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/15)/5, -0.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(10) - math.sin(sine/15)/15 , math.rad(0), math.rad(0)), 0.15)
848
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(-10) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/15)/30, math.rad(0) + math.sin(sine/2)/2), 0.15)
849
MaskWeld.C1 = MaskWeld.C1 * CFrame.fromEulerAnglesXYZ(0,0,math.rad(0) - math.sin(sine/2)/25)
850
swait()
851
end
852
elseif laughi == 2 then
853
for i = 0,1,0.01 do
854
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.25, 0.5, -0.5) * c_angles(math.rad(45) - math.sin(sine/7.5)/15, math.rad(30) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15), 0.15)
855
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.25, 0.5, -0.5) * c_angles(math.rad(45) + math.sin(sine/7.5)/15, math.rad(0),math.rad(30)), 0.15)
856
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(30) + math.sin(sine/4)/1, math.rad(0),math.rad(-5) - math.sin(sine/7.5)/25), 0.15)
857
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(30) - math.sin(sine/4)/1, math.rad(0) ,math.rad(5) + math.sin(sine/7.5)/25), 0.15)
858
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/15)/5, -0.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(45) - math.sin(sine/15)/15 , math.rad(0), math.rad(0)), 0.15)
859
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(-20) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/15)/30, math.rad(0) + math.sin(sine/2)/2), 0.15)
860
MaskWeld.C1 = MaskWeld.C1 * CFrame.fromEulerAnglesXYZ(0,0,math.rad(0) - math.sin(sine/2)/25)
861
swait()
862
end
863
elseif laughi == 3 then
864
for i = 0,1,0.01 do
865
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(0.8, 0.5, -0.65) * c_angles(math.rad(50) + math.sin(sine/15)/35,math.rad(-5) - math.sin(sine/15)/35,math.rad(-76) + math.sin(sine/15)/15), 0.15)
866
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-0.8, 0.5, -0.65) * c_angles(math.rad(45) + math.sin(sine/15)/25,math.rad(-10) + math.sin(sine/15)/45,math.rad(76) + math.sin(sine/15)/15), 0.15)
867
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(20),math.rad(0),math.rad(5) - math.sin(sine/15)/30), 0.15)
868
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15,math.rad(-30) - math.sin(sine/15)/30), 0.15)
869
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(2 + math.sin(sine/7.5)/15, 0.5 + math.sin(sine/15)/5, 0) * c_angles(math.rad(50), math.rad(0),math.rad(60) + math.sin(sine/7.5)/30), 0.15)
870
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5, -1) * c_angles(math.rad(-60),math.rad(45) , math.rad(-20) + math.sin(sine/2)/2), 0.15)
871
MaskWeld.C1 = MaskWeld.C1 * CFrame.fromEulerAnglesXYZ(0,0,math.rad(0) - math.sin(sine/2)/25)
872
swait()
873
end
874
end
875
MaskWeld.C1 = CFrame.new(0,-0.7,-0.25)*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(0))
876
877
Animations = false
878
attack2 = false
879
attack = false
880
end
881
882
target = nil
883
function Laser()
884
attack = true
885
attack2 = true
886
Animations = true
887
888
local Hitbox = Instance.new("Part",Head)
889
Hitbox.Name = "Hitbox"
890
Hitbox.Shape = Enum.PartType.Block
891
Hitbox.CanCollide = false
892
Hitbox.Color = Color3.new(0,0,0)
893
Hitbox.Transparency = 1
894
Hitbox.Material = "Metal"
895
Hitbox.Size = Vector3.new(0.25, 0.25, 15)
896
Hitbox.TopSurface = Enum.SurfaceType.Smooth
897
Hitbox.BottomSurface = Enum.SurfaceType.Smooth	local Weld = Instance.new("Weld", Hitbox)
898
Weld.Part0 = Head
899
Weld.Part1 = Hitbox
900
Weld.C1 = CFrame.new(0,0,8)
901
902
local Lahsr = Instance.new("Part",Head)
903
Lahsr.Name = "Lahsr"
904
Lahsr.Shape = Enum.PartType.Block
905
Lahsr.CanCollide = false
906
Lahsr.Color = Color3.new(1,0.2,0)
907
Lahsr.Transparency = 1
908
Lahsr.Material = "Neon"
909
Lahsr.Size = Vector3.new(0.25, 0.25, 16)
910
Lahsr.TopSurface = Enum.SurfaceType.Smooth
911
Lahsr.BottomSurface = Enum.SurfaceType.Smooth	local Weld = Instance.new("Weld", Lahsr)
912
Weld.Part0 = Head
913
Weld.Part1 = Lahsr
914
Weld.C1 = CFrame.new(0.45,-0.24,8)
915
Miehsh = Instance.new("SpecialMesh",Lahsr)
916
Miehsh.MeshType = "Sphere"
917
Miehsh.Scale = Vector3.new(1,1,1)
918
919
local Layzar = Instance.new("Part",Head)
920
Layzar.Name = "Layzar"
921
Layzar.Shape = Enum.PartType.Block
922
Layzar.CanCollide = false
923
Layzar.Color = Color3.new(1,0.2,0)
924
Layzar.Transparency = 1
925
Layzar.Material = "Neon"
926
Layzar.Size = Vector3.new(0.25, 0.25, 16)
927
Layzar.TopSurface = Enum.SurfaceType.Smooth
928
Layzar.BottomSurface = Enum.SurfaceType.Smooth	local Weld = Instance.new("Weld", Layzar)
929
Weld.Part0 = Head
930
Weld.Part1 = Layzar
931
Weld.C1 = CFrame.new(-0.45,-0.24,8)
932
Miehsh = Instance.new("SpecialMesh",Layzar)
933
Miehsh.MeshType = "Sphere"
934
Miehsh.Scale = Vector3.new(1,1,1)
935
936
S = Instance.new("Sound")
937
S.Parent = Character.Torso
938
S.SoundId = "rbxassetid://2057149157"
939
S.Volume = 10
940
S.Looped = false
941
S.Pitch = 1
942
S:Play()
943
944
for i = 0,0.15,0.01 do
945
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.25) * c_angles(math.rad(20) - math.sin(sine/7.5)/15, math.rad(30) + math.sin(sine/7.5)/15,math.rad(80) + math.sin(sine/7.5)/15), 0.15)
946
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(90) + math.sin(sine/7.5)/15, math.rad(0),math.rad(-80)), 0.15)
947
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(30) + math.sin(sine/15)/5, math.rad(0),math.rad(-5) - math.sin(sine/7.5)/25), 0.15)
948
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(15) + math.sin(sine/15)/5, math.rad(0) ,math.rad(5) + math.sin(sine/7.5)/25), 0.15)
949
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/15)/5, -0.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-70) - math.sin(sine/15)/15 , math.rad(0), math.rad(0)), 0.15)
950
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(70) + math.sin(sine/7.5)/15,math.rad(90), math.rad(0) + math.sin(sine/15)/30), 0.15)
951
swait()
952
end
953
S = Instance.new("Sound")
954
S.Parent = Character.Torso
955
S.SoundId = "rbxassetid://215270668"
956
S.Volume = 5
957
S.Looped = false
958
S.Pitch = 1
959
S:Play()
960
Lahsr.Transparency = 0
961
Layzar.Transparency = 0
962
for i = 0,0.8,0.01 do
963
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.25) * c_angles(math.rad(20) - math.sin(sine/7.5)/15, math.rad(30) + math.sin(sine/7.5)/15,math.rad(80) + math.sin(sine/7.5)/15), 0.15)
964
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(90) + math.sin(sine/7.5)/15, math.rad(0),math.rad(-80)), 0.15)
965
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(30) + math.sin(sine/15)/5, math.rad(0),math.rad(-5) - math.sin(sine/7.5)/25), 0.15)
966
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(15) + math.sin(sine/15)/5, math.rad(0) ,math.rad(5) + math.sin(sine/7.5)/25), 0.15)
967
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/15)/5, -0.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-70) - math.sin(sine/15)/15 , math.rad(0), math.rad(0)), 0.15)
968
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(70) + math.sin(sine/7.5)/15,math.rad(90) - i*3.8, math.rad(0) + math.sin(sine/15)/30), 0.15)
969
Layzar.Transparency = Layzar.Transparency + 0.005
970
Lahsr.Transparency = Lahsr.Transparency + 0.005
971
Laserhitbox=Hitbox.Touched:connect(function(hit)
972
if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name and hit.Parent.Name ~= target then
973
target = hit.Parent.Name
974
hit.Parent.Humanoid:TakeDamage(math.random(4,8))
975
S = Instance.new("Sound")
976
S.Parent = Character.Torso
977
S.SoundId = "rbxassetid://545219984"
978
S.Volume = 8
979
S.Looped = false
980
S.Pitch = 1
981
S:Play()			
982
		end
983
end)
984
985
local rng2 = Instance.new("Part",Effects)
986
rng2.Anchored = true
987
rng2.Color = Color3.new(1,0.2,0)
988
rng2.CanCollide = false
989
rng2.FormFactor = 3
990
rng2.Name = "Shockwave"
991
rng2.Material = "Neon"
992
rng2.Size = Vector3.new(1, 1, 1)
993
rng2.Transparency = 0.35
994
rng2.TopSurface = 0
995
rng2.BottomSurface = 0
996
rng2.CFrame = Head.CFrame
997
rng2.CFrame = rng2.CFrame * CFrame.new(1,0,-15)
998
local rngm2 = Instance.new("SpecialMesh", rng2)
999
rngm2.Scale = Vector3.new(1, 0, 1)
1000
rngm2.Offset = Vector3.new(0,0,0)
1001
rngm2.MeshType = "Sphere"
1002
Spawn(function()
1003
	for i = 1, 60, 2 do
1004
		rngm2.Scale = Vector3.new(2 - i*0.1,2  - i*0.1 ,2 - i*0.1)
1005
		rng2.Transparency = i/30
1006
		swait()
1007
	end
1008
	wait()
1009
	rng2:Destroy()
1010
end)
1011
1012
local rng2 = Instance.new("Part",Character)
1013
rng2.Anchored = true
1014
rng2.Color = Color3.new(1,0.2,0)
1015
rng2.CanCollide = false
1016
rng2.FormFactor = 3
1017
rng2.Name = "Shockwave"
1018
rng2.Size = Vector3.new(1, 1, 1)
1019
rng2.Transparency = 0.35
1020
rng2.TopSurface = 0
1021
rng2.BottomSurface = 0
1022
rng2.CFrame = Head.CFrame
1023
rng2.CFrame = rng2.CFrame * CFrame.new(0,0,-17) * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
1024
local rngm2 = Instance.new("SpecialMesh", rng2)
1025
rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
1026
rngm2.Scale = Vector3.new(0, 0, 0)
1027
rngm2.Offset = Vector3.new(0,0,0)
1028
Spawn(function()
1029
	for i = 1, 60, 2 do
1030
		rngm2.Scale = Vector3.new(0 + i*0.6, 0  + i*0.6 ,0 + i*0.3)
1031
		rng2.Transparency = i/30
1032
		swait()
1033
	end
1034
	wait()
1035
	rng2:Destroy()
1036
end)
1037
1038
target = nil
1039
swait()
1040
end
1041
Lahsr:Destroy()
1042
Layzar:Destroy()
1043
Hitbox:Destroy()
1044
1045
Animations = false
1046
attack2 = false
1047
wait(0.25)
1048
attack = false
1049
end
1050
1051
function ShadowBomb()
1052
attack = true
1053
attack2 = true
1054
Animations = true
1055
1056
local SB = Instance.new("Part",Effects)
1057
SB.Name = "ShadowBallz"
1058
SB.Shape = Enum.PartType.Block
1059
SB.CanCollide = false
1060
SB.BrickColor = BrickColor.new("Dark indigo")
1061
SB.Transparency = 0
1062
SB.Material = "Neon"
1063
SB.Size = Vector3.new(0.25, 0.25, 0.25)
1064
SB.TopSurface = Enum.SurfaceType.Smooth
1065
SB.BottomSurface = Enum.SurfaceType.Smooth	local SBWeld = Instance.new("Weld", SB)
1066
SBWeld.Part0 = rootPart
1067
SBWeld.Part1 = SB
1068
SBWeld.C1 = CFrame.new(0,-18,0)
1069
grow = Instance.new("SpecialMesh",SB)
1070
grow.MeshType = "Sphere"
1071
grow.Scale = Vector3.new(0,0,0)
1072
1073
SBS = Instance.new("Sound")
1074
SBS.Parent = SB
1075
SBS.SoundId = "rbxassetid://300916082"
1076
SBS.Volume = 8
1077
SBS.Looped = false
1078
SBS.Pitch = 0
1079
SBS:Play()
1080
1081
S = Instance.new("Sound")
1082
S.Parent = Character.Torso
1083
S.SoundId = "rbxassetid://2061650183"
1084
S.Volume = 10
1085
S.Looped = false
1086
S.Pitch = 1
1087
S:Play()
1088
fattack = true
1089
for i = 0,2.7,0.01 do
1090
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.25) * c_angles(math.rad(160) - math.sin(sine/7.5)/15, math.rad(0) + math.sin(sine/7.5)/15,math.rad(20) + math.sin(sine/7.5)/15), 0.15)
1091
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(160) + math.sin(sine/7.5)/15, math.rad(0),math.rad(-20)), 0.15)
1092
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(30) + math.sin(sine/15)/5, math.rad(0),math.rad(-30) - math.sin(sine/7.5)/25), 0.15)
1093
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(15) + math.sin(sine/15)/5, math.rad(0) ,math.rad(30) + math.sin(sine/7.5)/25), 0.15)
1094
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/15)/5, 5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(0) - math.sin(sine/15)/15 , math.rad(0), math.rad(0)), 0.15)
1095
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(70) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/15)/30, math.rad(0) + math.sin(sine/15)/30), 0.15)
1096
grow.Scale = grow.Scale + Vector3.new(0.2,0.2,0.2)
1097
SBS.Pitch = SBS.Pitch + 0.0025
1098
Tael2.C1 = Tael2.C1 * CFrame.fromEulerAnglesXYZ(math.rad(2) + math.sin(sine/7.5)/30,math.rad(4) - math.sin(sine/7.5)/30,math.rad(0) + math.sin(sine/7.5)/30)
1099
Tatl2.C1 = Tatl2.C1 * CFrame.fromEulerAnglesXYZ(math.rad(3) - math.sin(sine/7.5)/25,math.rad(-4) + math.sin(sine/7.5)/12,math.rad(0) - math.sin(sine/7.5)/30)
1100
local rng2 = Instance.new("Part",Character)
1101
rng2.Anchored = true
1102
rng2.BrickColor = BrickColor.new("Dark indigo")
1103
rng2.CanCollide = false
1104
rng2.FormFactor = 3
1105
rng2.Name = "Shockwave"
1106
rng2.Size = Vector3.new(1, 1, 1)
1107
rng2.Transparency = 0.35
1108
rng2.TopSurface = 0
1109
rng2.BottomSurface = 0
1110
rng2.CFrame = SB.CFrame * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
1111
local rngm2 = Instance.new("SpecialMesh", rng2)
1112
rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
1113
rngm2.Scale = Vector3.new(0, 0, 0)
1114
rngm2.Offset = Vector3.new(0,0,0)
1115
Spawn(function()
1116
	for i = 1, 60, 2 do
1117
		rngm2.Scale = Vector3.new(0 + i*0.6, 0  + i*0.6 ,0 + i*0.3)
1118
		rng2.Transparency = i/30
1119
		swait()
1120
	end
1121
	wait()
1122
	rng2:Destroy()
1123
end)
1124
1125
local rng2 = Instance.new("Part",Character)
1126
rng2.Anchored = true
1127
rng2.BrickColor = BrickColor.new("Really black")
1128
rng2.CanCollide = false
1129
rng2.FormFactor = 3
1130
rng2.Name = "Shockwave"
1131
rng2.Size = Vector3.new(1, 1, 1)
1132
rng2.Transparency = 0.35
1133
rng2.TopSurface = 0
1134
rng2.BottomSurface = 0
1135
rng2.CFrame = SB.CFrame * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
1136
local rngm2 = Instance.new("SpecialMesh", rng2)
1137
rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
1138
rngm2.Scale = Vector3.new(0, 0, 0)
1139
rngm2.Offset = Vector3.new(0,0,0)
1140
Spawn(function()
1141
	for i = 1, 60, 2 do
1142
		rngm2.Scale = Vector3.new(0 + i*0.3, 0  + i*0.3 ,0 + i*0.3)
1143
		rng2.Transparency = i/30
1144
		swait()
1145
	end
1146
	wait()
1147
	rng2:Destroy()
1148
end)
1149
1150
swait()
1151
end
1152
S = Instance.new("Sound")
1153
S.Parent = Character.Torso
1154
S.SoundId = "rbxassetid://199145761"
1155
S.Volume = 5
1156
S.Looped = false
1157
S.Pitch = 1
1158
S:Play()
1159
Point = Instance.new("BodyGyro")
1160
Point.Parent = rootPart
1161
Point.D = 175
1162
Point.P = 20000
1163
Point.MaxTorque = Vector3.new(0,4000000,0)
1164
for i = 0,0.25,0.01 do
1165
Point.cframe = CFrame.new(rootPart.Position,Mouse.Hit.Position)
1166
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.25) * c_angles(math.rad(90) - math.sin(sine/7.5)/15, math.rad(0) + math.sin(sine/7.5)/15,math.rad(20) + math.sin(sine/7.5)/15), 0.15)
1167
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(90) + math.sin(sine/7.5)/15, math.rad(0),math.rad(-20)), 0.15)
1168
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(30) + math.sin(sine/15)/5, math.rad(0),math.rad(-30) - math.sin(sine/7.5)/25), 0.15)
1169
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(15) + math.sin(sine/15)/5, math.rad(0) ,math.rad(30) + math.sin(sine/7.5)/25), 0.15)
1170
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/15)/5, 4 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-60) - math.sin(sine/15)/15 , math.rad(0), math.rad(0)), 0.15)
1171
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(30) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/15)/30, math.rad(0) + math.sin(sine/15)/30), 0.15)
1172
Tael2.C1 = Tael2.C1 * CFrame.fromEulerAnglesXYZ(math.rad(2) + math.sin(sine/7.5)/30,math.rad(4) - math.sin(sine/7.5)/30,math.rad(0) + math.sin(sine/7.5)/30)
1173
Tatl2.C1 = Tatl2.C1 * CFrame.fromEulerAnglesXYZ(math.rad(3) - math.sin(sine/7.5)/25,math.rad(-4) + math.sin(sine/7.5)/12,math.rad(0) - math.sin(sine/7.5)/30)
1174
swait()
1175
end
1176
Point:Destroy()
1177
fattack = false
1178
1179
SBWeld:Destroy()
1180
1181
S = Instance.new("Sound")
1182
S.Parent = SB
1183
S.SoundId = "rbxassetid://1202657035"
1184
S.Volume = 8
1185
S.Looped = false
1186
S.Pitch = 1
1187
S.PlayOnRemove = true
1188
1189
SB.CanCollide = true
1190
local bodyVelocity2 = Create("BodyVelocity")({
1191
velocity = (Mouse.Hit.p - SB.CFrame.p).unit * 165,
1192
P = 5000,
1193
maxForce = Vector3.new(8000, 8000, 8000),
1194
Parent = SB
1195
})
1196
1197
1198
game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
1199
SB.Touched:connect(function(hit)
1200
if(not Character:IsAncestorOf(hit) or hit.Name == "ShadowBallz") then
1201
for i, v in pairs(FindNearestTorso(SB.CFrame.p, 15)) do
1202
		if v:FindFirstChild('Humanoid') then
1203
		v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(40,60)
1204
		end
1205
end
1206
local rng2 = Instance.new("Part",Effects)
1207
rng2.Anchored = true
1208
rng2.BrickColor = BrickColor.new("Dark indigo")
1209
rng2.CanCollide = false
1210
rng2.FormFactor = 3
1211
rng2.Name = "Shockwave"
1212
rng2.Material = "Neon"
1213
rng2.Size = Vector3.new(1, 1, 1)
1214
rng2.Transparency = 0.35
1215
rng2.TopSurface = 0
1216
rng2.BottomSurface = 0
1217
rng2.CFrame = SB.CFrame
1218
SB:Destroy()
1219
local rngm2 = Instance.new("SpecialMesh", rng2)
1220
rngm2.Scale = Vector3.new(1, 0, 1)
1221
rngm2.Offset = Vector3.new(0,0,0)
1222
rngm2.MeshType = "Sphere"
1223
Spawn(function()
1224
	for i = 1, 60, 2 do
1225
		rngm2.Scale = Vector3.new(13 + i*0.3, 13  + i*0.3 ,13 + i*0.3)
1226
		rng2.Transparency = i/60
1227
		swait()
1228
	end
1229
	wait()
1230
	rng2:Destroy()
1231
end)
1232
for i = 1,6 do
1233
local rng2 = Instance.new("Part",Character)
1234
rng2.Anchored = true
1235
rng2.BrickColor = BrickColor.new("Dark indigo")
1236
rng2.CanCollide = false
1237
rng2.FormFactor = 3
1238
rng2.Name = "Shockwave"
1239
rng2.Size = Vector3.new(1, 1, 1)
1240
rng2.Transparency = 0.35
1241
rng2.TopSurface = 0
1242
rng2.BottomSurface = 0
1243
rng2.CFrame = SB.CFrame * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
1244
local rngm2 = Instance.new("SpecialMesh", rng2)
1245
rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
1246
rngm2.Scale = Vector3.new(0, 0, 0)
1247
rngm2.Offset = Vector3.new(0,0,-0.5)
1248
Spawn(function()
1249
	for i = 1, 60, 2 do
1250
		rngm2.Scale = Vector3.new(50 + i*1, 50  + i*1 ,2 + i*0.3)
1251
		rng2.Transparency = i/30
1252
		rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0)
1253
		swait()
1254
	end
1255
	wait()
1256
	rng2:Destroy()
1257
end)
1258
1259
local rng2 = Instance.new("Part",Character)
1260
rng2.Anchored = true
1261
rng2.BrickColor = BrickColor.new("Really black")
1262
rng2.CanCollide = false
1263
rng2.FormFactor = 3
1264
rng2.Name = "Shockwave"
1265
rng2.Size = Vector3.new(1, 1, 1)
1266
rng2.Transparency = 0.35
1267
rng2.TopSurface = 0
1268
rng2.BottomSurface = 0
1269
rng2.CFrame = SB.CFrame * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
1270
local rngm2 = Instance.new("SpecialMesh", rng2)
1271
rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
1272
rngm2.Scale = Vector3.new(0, 0, 0)
1273
rngm2.Offset = Vector3.new(0,0,-0.5)
1274
Spawn(function()
1275
	for i = 1, 60, 2 do
1276
		rngm2.Scale = Vector3.new(50 + i*1, 50  + i*1 ,2 + i*0.3)
1277
		rng2.Transparency = i/30
1278
		rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0)
1279
		swait()
1280
	end
1281
	wait()
1282
	rng2:Destroy()
1283
end)
1284
end
1285
	end
1286
	end)
1287
1288
lafz = math.random(1,3)
1289
S = Instance.new("Sound")
1290
S.Parent = Character.Torso
1291
if lafz == 1 then
1292
S.SoundId = "rbxassetid://2057149157"
1293
elseif lafz == 2 then
1294
S.SoundId = "rbxassetid://2057150436"
1295
elseif lafz == 3 then
1296
S.SoundId = "rbxassetid://2057595082"
1297
end
1298
S.Volume = 10
1299
S.Looped = false
1300
S.Pitch = 1
1301
S:Play()
1302
S = Instance.new("Sound")
1303
S.Parent = Character.Torso
1304
S.SoundId = "rbxassetid://21338895"
1305
S.Volume = 4
1306
S.Looped = false
1307
S.Pitch = 0.8
1308
S:Play()
1309
for i = 0,1,0.01 do
1310
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.25, 0.5, -0.5) * c_angles(math.rad(45) - math.sin(sine/7.5)/15, math.rad(0) + math.sin(sine/7.5)/15,math.rad(-30) + math.sin(sine/7.5)/15), 0.15)
1311
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.25, 0.5, -0.5) * c_angles(math.rad(45) + math.sin(sine/7.5)/15, math.rad(0),math.rad(30)), 0.15)
1312
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(30) + math.sin(sine/4)/1, math.rad(0),math.rad(-5) - math.sin(sine/7.5)/25), 0.15)
1313
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(30) - math.sin(sine/4)/1, math.rad(0) ,math.rad(5) + math.sin(sine/7.5)/25), 0.15)
1314
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/15)/5, -0.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(45) - math.sin(sine/15)/15 , math.rad(0), math.rad(0)), 0.15)
1315
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(-20) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/15)/30, math.rad(0) + math.sin(sine/2)/2), 0.15)
1316
MaskWeld.C1 = MaskWeld.C1 * CFrame.fromEulerAnglesXYZ(0,0,math.rad(0) - math.sin(sine/2)/25)
1317
swait()
1318
end
1319
MaskWeld.C1 = CFrame.new(0,-0.7,-0.25)*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(0))
1320
1321
Animations = false
1322
attack2 = false
1323
attack = false
1324
end
1325
1326
function Attackone()
1327
attack = true
1328
fattack = true
1329
Animations = true
1330
S = Instance.new("Sound")
1331
S.Parent = Character.Torso
1332
S.SoundId = "rbxassetid://1890071374"
1333
S.Volume = 8
1334
S.Looped = false
1335
S.Pitch = 1.7
1336
S:Play()
1337
1338
S = Instance.new("Sound")
1339
S.Parent = Character.Torso
1340
S.SoundId = "rbxassetid://2064874129"
1341
S.Volume = 10
1342
S.Looped = false
1343
S.Pitch = 1
1344
S:Play()
1345
1346
S = Instance.new("Sound")
1347
S.Parent = Character.Torso
1348
S.SoundId = "rbxassetid://2066402292"
1349
S.Volume = 9.5
1350
S.Looped = false
1351
S.Pitch = 1
1352
S.TimePosition = 0.25
1353
S:Play()
1354
1355
Tatl2.C1 = CFrame.new(2.5,3,3)
1356
Tael2.C1 = CFrame.new(-2.5,3,3)
1357
tale=Tael.Touched:connect(function(hit)
1358
		if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name and hit.Parent.Name ~= target then
1359
			target = hit.Parent.Name
1360
			hit.Parent.Humanoid:TakeDamage(math.random(10,20))
1361
S = Instance.new("Sound")
1362
S.Parent = Character.Torso
1363
S.SoundId = "rbxassetid://1907654067"
1364
S.Volume = 8
1365
S.Looped = false
1366
S.Pitch = 1
1367
S:Play()
1368
		end
1369
end)
1370
tattle=Tatl.Touched:connect(function(hit)
1371
		if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name and hit.Parent.Name ~= target then
1372
			target = hit.Parent.Name
1373
			hit.Parent.Humanoid:TakeDamage(math.random(10,20))
1374
S = Instance.new("Sound")
1375
S.Parent = Character.Torso
1376
S.SoundId = "rbxassetid://1907654067"
1377
S.Volume = 8
1378
S.Looped = false
1379
S.Pitch = 1
1380
S:Play()
1381
		end
1382
end)
1383
for i = 0,0.08,0.01 do
1384
rootPart.Velocity = rootPart.CFrame.lookVector * 50
1385
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.25) * c_angles(math.rad(20) - math.sin(sine/7.5)/15, math.rad(30) + math.sin(sine/7.5)/15,math.rad(5) + math.sin(sine/7.5)/15), 0.3)
1386
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(120) + math.sin(sine/7.5)/15, math.rad(10),math.rad(30)), 0.3)
1387
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -0.7, -0.3) * c_angles(math.rad(-10) + math.sin(sine/15)/5, math.sin((rootPart.RotVelocity.Y/10))/2,math.rad(-15) - math.sin(sine/7.5)/25), 0.15)
1388
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-20) + math.sin(sine/15)/5, -math.sin((rootPart.RotVelocity.Y/10))/2,math.rad(-5) + math.sin(sine/7.5)/25), 0.15)
1389
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(1 + math.sin(sine/15)/5, -0.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-30) - math.sin(sine/15)/15, math.rad(0), math.rad(-20)), 0.15)
1390
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(10) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/15)/30, math.rad(0) + math.sin(sine/15)/30), 0.3)
1391
Tael2.C1 = Tael2.C1 * CFrame.new(0.5,-1,0)
1392
Tatl2.C1 = Tatl2.C1 * CFrame.new(-0.5,-1,0)
1393
swait()
1394
end
1395
tale:disconnect()
1396
tattle:disconnect()
1397
Tael2.C1 = CFrame.new(0,-5,3.5)
1398
Tatl2.C1 = CFrame.new(0,-2,3.5)
1399
1400
target = nil
1401
Animations = false
1402
fattack = false
1403
attack = false
1404
end
1405
1406
function Attacktwo()
1407
attack = true
1408
fattack = true
1409
Animations = true
1410
S = Instance.new("Sound")
1411
S.Parent = Character.Torso
1412
S.SoundId = "rbxassetid://1890071374"
1413
S.Volume = 8
1414
S.Looped = false
1415
S.Pitch = 1.7
1416
S:Play()
1417
1418
S = Instance.new("Sound")
1419
S.Parent = Character.Torso
1420
S.SoundId = "rbxassetid://2066402292"
1421
S.Volume = 9.5
1422
S.Looped = false
1423
S.Pitch = 1
1424
S.TimePosition = 0.25
1425
S:Play()
1426
1427
Tatl2.C1 = CFrame.new(2.5,-6,3)
1428
Tael2.C1 = CFrame.new(-2.5,-6,3)
1429
tale=Tael.Touched:connect(function(hit)
1430
		if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name and hit.Parent.Name ~= target then
1431
			target = hit.Parent.Name
1432
			hit.Parent.Humanoid:TakeDamage(math.random(10,20))
1433
S = Instance.new("Sound")
1434
S.Parent = Character.Torso
1435
S.SoundId = "rbxassetid://1907654067"
1436
S.Volume = 8
1437
S.Looped = false
1438
S.Pitch = 1
1439
S:Play()
1440
		end
1441
end)
1442
tattle=Tatl.Touched:connect(function(hit)
1443
		if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name and hit.Parent.Name ~= target then
1444
			target = hit.Parent.Name
1445
			hit.Parent.Humanoid:TakeDamage(math.random(10,20))
1446
S = Instance.new("Sound")
1447
S.Parent = Character.Torso
1448
S.SoundId = "rbxassetid://1907654067"
1449
S.Volume = 8
1450
S.Looped = false
1451
S.Pitch = 1
1452
S:Play()
1453
		end
1454
end)
1455
for i = 0,0.08,0.01 do
1456
rootPart.Velocity = rootPart.CFrame.lookVector * 50
1457
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.25) * c_angles(math.rad(20) - math.sin(sine/7.5)/15, math.rad(30) + math.sin(sine/7.5)/15,math.rad(5) + math.sin(sine/7.5)/15), 0.3)
1458
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(120) + math.sin(sine/7.5)/15, math.rad(10),math.rad(30)), 0.3)
1459
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -0.7, -0.3) * c_angles(math.rad(-10) + math.sin(sine/15)/5, math.sin((rootPart.RotVelocity.Y/10))/2,math.rad(5) - math.sin(sine/7.5)/25), 0.15)
1460
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-20) + math.sin(sine/15)/5, -math.sin((rootPart.RotVelocity.Y/10))/2,math.rad(15) + math.sin(sine/7.5)/25), 0.15)
1461
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(-1 + math.sin(sine/15)/5, -0.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-30) - math.sin(sine/15)/15, math.rad(0), math.rad(20)), 0.15)
1462
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(10) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/15)/30, math.rad(0) + math.sin(sine/15)/30), 0.3)
1463
Tael2.C1 = Tael2.C1 * CFrame.new(0.5,1,0)
1464
Tatl2.C1 = Tatl2.C1 * CFrame.new(-0.5,1,0)
1465
swait()
1466
end
1467
tattle:disconnect()
1468
tale:disconnect()
1469
Tael2.C1 = CFrame.new(0,-5,3.5)
1470
Tatl2.C1 = CFrame.new(0,-2,3.5)
1471
1472
target = nil
1473
Animations = false
1474
fattack = false
1475
attack = false
1476
end
1477
1478
function Attackthree()
1479
attack = true
1480
fattack = true
1481
Animations = true
1482
S = Instance.new("Sound")
1483
S.Parent = Character.Torso
1484
S.SoundId = "rbxassetid://1890071374"
1485
S.Volume = 8
1486
S.Looped = false
1487
S.Pitch = 1.8
1488
S:Play()
1489
S = Instance.new("Sound")
1490
S.Parent = Character.Torso
1491
S.SoundId = "rbxassetid://2057150436"
1492
S.Volume = 10
1493
S.Looped = false
1494
S.Pitch = 1
1495
S:Play()
1496
Tatl2.C1 = CFrame.new(1,0,3)
1497
Tael2.C1 = CFrame.new(-1,0,3)
1498
tale=Tael.Touched:connect(function(hit)
1499
		if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name and hit.Parent.Name ~= target then
1500
			target = hit.Parent.Name
1501
			hit.Parent.Humanoid:TakeDamage(math.random(10,20))
1502
S = Instance.new("Sound")
1503
S.Parent = Character.Torso
1504
S.SoundId = "rbxassetid://1907654067"
1505
S.Volume = 8
1506
S.Looped = false
1507
S.Pitch = 1
1508
S:Play()
1509
		end
1510
end)
1511
tattle=Tatl.Touched:connect(function(hit)
1512
		if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name and hit.Parent.Name ~= target then
1513
			target = hit.Parent.Name
1514
			hit.Parent.Humanoid:TakeDamage(math.random(10,20))
1515
S = Instance.new("Sound")
1516
S.Parent = Character.Torso
1517
S.SoundId = "rbxassetid://1907654067"
1518
S.Volume = 8
1519
S.Looped = false
1520
S.Pitch = 1
1521
S:Play()
1522
		end
1523
end)
1524
for i = 0,0.4,0.01 do
1525
rootPart.Velocity = rootPart.CFrame.lookVector * 50
1526
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.25, 0.5, -0.5) * c_angles(math.rad(45) - math.sin(sine/7.5)/15, math.rad(0) + math.sin(sine/7.5)/15,math.rad(-30) + math.sin(sine/7.5)/15), 0.15)
1527
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(120) + math.sin(sine/7.5)/15, math.rad(10),math.rad(30)), 0.3)
1528
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(30) + math.sin(sine/2)/1, math.rad(0),math.rad(-5) - math.sin(sine/7.5)/25), 0.15)
1529
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(30) - math.sin(sine/2)/1, math.rad(0) ,math.rad(5) + math.sin(sine/7.5)/25), 0.15)
1530
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/15)/5, -0.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-10) - math.sin(sine/15)/15 , math.rad(180), math.rad(0)), 0.15)
1531
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(5) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/15)/30, math.rad(0) + math.sin(sine/2)/2), 0.15)
1532
MaskWeld.C1 = MaskWeld.C1 * CFrame.fromEulerAnglesXYZ(0,0,math.rad(0) - math.sin(sine/2)/25)
1533
local rng2 = Instance.new("Part",Character)
1534
rng2.Anchored = true
1535
rng2.BrickColor = BrickColor.new("Dark indigo")
1536
rng2.CanCollide = false
1537
rng2.FormFactor = 3
1538
rng2.Name = "Shockwave"
1539
rng2.Size = Vector3.new(1, 1, 1)
1540
rng2.Transparency = 0.6
1541
rng2.TopSurface = 0
1542
rng2.BottomSurface = 0
1543
rng2.CFrame = rootPart.CFrame * CFrame.Angles(0,math.rad(90),math.rad(90))
1544
local rngm2 = Instance.new("SpecialMesh", rng2)
1545
rngm2.MeshId = "http://www.roblox.com/asset/?id=20329976"
1546
rngm2.Scale = Vector3.new(0, 0, 0)
1547
rngm2.Offset = Vector3.new(0,-2,-0.5)
1548
Spawn(function()
1549
	for i = 1, 60, 2 do
1550
		rng2.CFrame = rng2.CFrame * CFrame.Angles(0,math.rad(5) + i*math.random(1,10),math.rad(0))
1551
		rngm2.Scale = Vector3.new(5 + i*0.3, 9  + i*0.1 ,5 + i*0.3)
1552
		rng2.Transparency = i/15
1553
		rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0)
1554
		swait()
1555
	end
1556
	wait()
1557
	rng2:Destroy()
1558
end)
1559
swait()
1560
end
1561
tattle:disconnect()
1562
tale:disconnect()
1563
MaskWeld.C1 = CFrame.new(0,-0.7,-0.25)*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(0))
1564
Tael2.C1 = CFrame.new(0,-5,3.5)
1565
Tatl2.C1 = CFrame.new(0,-2,3.5)
1566
1567
target = nil
1568
Animations = false
1569
fattack = false
1570
attack = false
1571
end
1572
1573
function Attackfour()
1574
attack = true
1575
fattack = true
1576
Animations = true
1577
Tatl2.C1 = CFrame.new(2,0,-1)
1578
Tael2.C1 = CFrame.new(-2,0,-1)
1579
con1=Head.Touched:connect(function(hit)
1580
		if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name and hit.Parent.Name ~= target then
1581
			target = hit.Parent.Name
1582
			hit.Parent.Humanoid:TakeDamage(math.random(10,20))
1583
S = Instance.new("Sound")
1584
S.Parent = Character.Torso
1585
S.SoundId = "rbxassetid://1907654067"
1586
S.Volume = 8
1587
S.Looped = false
1588
S.Pitch = 1
1589
S:Play()
1590
		end
1591
end)
1592
for i = 0,0.25,0.01 do
1593
rootPart.Velocity = rootPart.CFrame.lookVector * 80
1594
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.25) * c_angles(math.rad(-30) - math.sin(sine/7.5)/15, math.rad(30) + math.sin(sine/7.5)/15,math.rad(5) + math.sin(sine/7.5)/15), 0.15)
1595
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(90) + math.sin(sine/7.5)/15, math.rad(60),math.rad(-20)), 0.15)
1596
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -0.7, -0.3) * c_angles(math.rad(-20) + math.sin(sine/15)/5, math.sin((rootPart.RotVelocity.Y/10))/2,math.rad(-5) - math.sin(sine/7.5)/25), 0.15)
1597
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-30) + math.sin(sine/15)/5, -math.sin((rootPart.RotVelocity.Y/10))/2,math.rad(5) + math.sin(sine/7.5)/25), 0.15)
1598
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/15)/5, -0.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-40) - math.sin(sine/15)/15, math.rad(0), math.sin((rootPart.RotVelocity.Y/30))/2), 0.15)
1599
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(40) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/15)/30, math.rad(0) + math.sin(sine/15)/30), 0.15)
1600
swait()
1601
end
1602
con1:disconnect()
1603
Tael2.C1 = CFrame.new(0,-5,3.5)
1604
Tatl2.C1 = CFrame.new(0,-2,3.5)
1605
1606
target = nil
1607
Animations = false
1608
fattack = false
1609
attack = false
1610
end
1611
1612
function Attackfive()
1613
attack = true
1614
fattack = true
1615
Animations = true
1616
S = Instance.new("Sound")
1617
S.Parent = Character.Torso
1618
S.SoundId = "rbxassetid://1890071374"
1619
S.Volume = 8
1620
S.Looped = false
1621
S.Pitch = 1.7
1622
S:Play()
1623
1624
twirl = Instance.new("Sound")
1625
twirl.Parent = Character.Torso
1626
twirl.SoundId = "rbxassetid://1152719084"
1627
twirl.Volume = 8
1628
twirl.Looped = false
1629
twirl.Pitch = 1.7
1630
twirl:Play()
1631
1632
S = Instance.new("Sound")
1633
S.Parent = Character.Torso
1634
S.SoundId = "rbxassetid://2065259544"
1635
S.Volume = 10
1636
S.Looped = false
1637
S.Pitch = 1
1638
S:Play()
1639
1640
Tatl2.C1 = CFrame.new(5,-1,0)
1641
Tael2.C1 = CFrame.new(-6,0,0)
1642
tale=Tael.Touched:connect(function(hit)
1643
		if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name then
1644
			hit.Parent.Humanoid:TakeDamage(math.random(4,6))
1645
S = Instance.new("Sound")
1646
S.Parent = Character.Torso
1647
S.SoundId = "rbxassetid://1907654067"
1648
S.Volume = 8
1649
S.Looped = false
1650
S.Pitch = 1
1651
S:Play()
1652
		end
1653
end)
1654
tattle=Tatl.Touched:connect(function(hit)
1655
		if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name then
1656
			hit.Parent.Humanoid:TakeDamage(math.random(4,6))
1657
S = Instance.new("Sound")
1658
S.Parent = Character.Torso
1659
S.SoundId = "rbxassetid://1907654067"
1660
S.Volume = 8
1661
S.Looped = false
1662
S.Pitch = 1
1663
S:Play()
1664
		end
1665
end)
1666
for i = 0,0.5,0.01 do
1667
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.25) * c_angles(math.rad(0) - math.sin(sine/7.5)/15, math.rad(30) + math.sin(sine/7.5)/15,math.rad(90) + math.sin(sine/7.5)/15), 0.15)
1668
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(0) + math.sin(sine/7.5)/15, math.rad(60),math.rad(-90)), 0.15)
1669
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -0.7, -0.3) * c_angles(math.rad(-10) + math.sin(sine/15)/5, math.sin((rootPart.RotVelocity.Y/10))/2,math.rad(-5) - math.sin(sine/7.5)/25), 0.15)
1670
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-20) + math.sin(sine/15)/5, -math.sin((rootPart.RotVelocity.Y/10))/2,math.rad(5) + math.sin(sine/7.5)/25), 0.15)
1671
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/15)/5, -0.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(0) - math.sin(sine/15)/15, math.rad(0) - i*30, math.rad(0)), 0.15)
1672
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(-10) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/15)/30, math.rad(0) + math.sin(sine/15)/30), 0.3)
1673
Tael2.C1 = Tael2.C1 * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(30),math.rad(0))
1674
Tatl2.C1 = Tatl2.C1 * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(30),math.rad(0))
1675
swait()
1676
end
1677
1678
S = Instance.new("Sound")
1679
S.Parent = Character.Torso
1680
S.SoundId = "rbxassetid://2066402292"
1681
S.Volume = 9.5
1682
S.Looped = false
1683
S.Pitch = 1
1684
S.TimePosition = 0.25
1685
S:Play()
1686
1687
twirl:Destroy()
1688
tale:disconnect()
1689
tattle:disconnect()
1690
Tael2.C1 = CFrame.new(0,-5,3.5)
1691
Tatl2.C1 = CFrame.new(0,-2,3.5)
1692
1693
target = nil
1694
Animations = false
1695
fattack = false
1696
attack = false
1697
end
1698
1699
function Attacksix()
1700
attack = true
1701
fattack = true
1702
Animations = true
1703
1704
S = Instance.new("Sound")
1705
S.Parent = Character.Torso
1706
S.SoundId = "rbxassetid://2061663467"
1707
S.Volume = 10
1708
S.Looped = false
1709
S.Pitch = 1
1710
S:Play()
1711
1712
Tatl2.C1 = CFrame.new(2.5,3,3)
1713
Tael2.C1 = CFrame.new(-2.5,3,3)
1714
1715
for i = 0,0.08,0.01 do
1716
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.25) * c_angles(math.rad(20) - math.sin(sine/7.5)/15, math.rad(30) + math.sin(sine/7.5)/15,math.rad(5) + math.sin(sine/7.5)/15), 0.3)
1717
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(120) + math.sin(sine/7.5)/15, math.rad(10),math.rad(30)), 0.3)
1718
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -0.7, -0.3) * c_angles(math.rad(-10) + math.sin(sine/15)/5, math.sin((rootPart.RotVelocity.Y/10))/2,math.rad(-5) - math.sin(sine/7.5)/25), 0.15)
1719
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-20) + math.sin(sine/15)/5, -math.sin((rootPart.RotVelocity.Y/10))/2,math.rad(5) + math.sin(sine/7.5)/25), 0.15)
1720
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/15)/5, 10 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-30) - math.sin(sine/15)/15, math.rad(0), math.rad(0)), 0.15)
1721
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(10) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/15)/30, math.rad(0) + math.sin(sine/15)/30), 0.3)
1722
Tael2.C1 = CFrame.new(2,-3 - math.sin(sine/7.5)/20,-1)
1723
Tatl2.C1 = CFrame.new(-2,-3 + math.sin(sine/7.5)/12,-1)
1724
swait()
1725
end
1726
1727
for i = 0,0.08,0.01 do
1728
rootPart.Velocity = rootPart.CFrame.lookVector * 100
1729
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.25) * c_angles(math.rad(20) - math.sin(sine/7.5)/15, math.rad(30) + math.sin(sine/7.5)/15,math.rad(5) + math.sin(sine/7.5)/15), 0.3)
1730
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(120) + math.sin(sine/7.5)/15, math.rad(10),math.rad(30)), 0.3)
1731
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -0.7, -0.3) * c_angles(math.rad(-10) + math.sin(sine/15)/5, math.sin((rootPart.RotVelocity.Y/10))/2,math.rad(-5) - math.sin(sine/7.5)/25), 0.15)
1732
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-20) + math.sin(sine/15)/5, -math.sin((rootPart.RotVelocity.Y/10))/2,math.rad(5) + math.sin(sine/7.5)/25), 0.15)
1733
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/15)/5, -5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-30) - math.sin(sine/15)/15, math.rad(0), math.rad(0)), 0.15)
1734
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(10) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/15)/30, math.rad(0) + math.sin(sine/15)/30), 0.3)
1735
Tael2.C1 = CFrame.new(2,-3 - math.sin(sine/7.5)/20,-1)
1736
Tatl2.C1 = CFrame.new(-2,-3 + math.sin(sine/7.5)/12,-1)
1737
swait()
1738
end
1739
local rng2 = Instance.new("Part",Character)
1740
rng2.Anchored = true
1741
rng2.BrickColor = BrickColor.new("Medium stone grey")
1742
rng2.CanCollide = false
1743
rng2.FormFactor = 3
1744
rng2.Name = "Shockwave"
1745
rng2.Size = Vector3.new(1, 1, 1)
1746
rng2.Transparency = 0.35
1747
rng2.TopSurface = 0
1748
rng2.BottomSurface = 0
1749
rng2.CFrame = rootPart.CFrame
1750
local rngm2 = Instance.new("SpecialMesh", rng2)
1751
rngm2.MeshId = "http://www.roblox.com/asset/?id=20329976"
1752
rngm2.Scale = Vector3.new(1, 0, 1)
1753
rngm2.Offset = Vector3.new(0,0,-2)
1754
Spawn(function()
1755
	for i = 1, 60, 2 do
1756
		rngm2.Scale = Vector3.new(1 + i*0.3, 5  - i*0.1 ,1 + i*0.3)
1757
		rng2.Transparency = i/30
1758
		rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0)
1759
		swait()
1760
	end
1761
	wait()
1762
	rng2:Destroy()
1763
end)
1764
S = Instance.new("Sound")
1765
S.Parent = Character.Torso
1766
S.SoundId = "rbxassetid://2064874783"
1767
S.Volume = 8
1768
S.Looped = false
1769
S.Pitch = 1
1770
S:Play()
1771
for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 7)) do
1772
		if v:FindFirstChild('Humanoid') then
1773
		v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(10,20)
1774
		end
1775
end
1776
Tael2.C1 = CFrame.new(0,-5,3.5)
1777
Tatl2.C1 = CFrame.new(0,-2,3.5)
1778
1779
target = nil
1780
Animations = false
1781
fattack = false
1782
attack = false
1783
end
1784
1785
function Attackseven()
1786
attack = true
1787
fattack = true
1788
Animations = true
1789
S = Instance.new("Sound")
1790
S.Parent = Character.Torso
1791
S.SoundId = "rbxassetid://1890059896"
1792
S.Volume = 8
1793
S.Looped = false
1794
S.Pitch = 1.8
1795
S:Play()
1796
1797
S = Instance.new("Sound")
1798
S.Parent = Character.Torso
1799
S.SoundId = "rbxassetid://2057595082"
1800
S.Volume = 10
1801
S.Looped = false
1802
S.Pitch = 1
1803
S:Play()
1804
1805
twirl = Instance.new("Sound")
1806
twirl.Parent = Character.Torso
1807
twirl.SoundId = "rbxassetid://1152719084"
1808
twirl.Volume = 8
1809
twirl.Looped = false
1810
twirl.Pitch = 1.7
1811
twirl:Play()
1812
Tatl2.C1 = CFrame.new(5,0,0)
1813
Tael2.C1 = CFrame.new(-5,0,0)
1814
for i = 0,0.35,0.01 do
1815
rootPart.Velocity = rootPart.CFrame.lookVector * 100
1816
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.25) * c_angles(math.rad(20) - math.sin(sine/7.5)/15, math.rad(30) + math.sin(sine/7.5)/15,math.rad(80) + math.sin(sine/7.5)/15), 0.15)
1817
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(90) + math.sin(sine/7.5)/15, math.rad(0),math.rad(-80)), 0.15)
1818
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(30) + math.sin(sine/15)/5, math.rad(0),math.rad(-5) - math.sin(sine/7.5)/25), 0.15)
1819
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(15) + math.sin(sine/15)/5, math.rad(0) ,math.rad(5) + math.sin(sine/7.5)/25), 0.15)
1820
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/15)/5, -0.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-70) - math.sin(sine/15)/15 , math.rad(0) - i*30, math.rad(0)), 0.15)
1821
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(68) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/15)/30, math.rad(0) + math.sin(sine/15)/30), 0.15)
1822
Tael2.C1 = Tael2.C1 * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(25))
1823
Tatl2.C1 = Tatl2.C1 * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(25))
1824
for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 7)) do
1825
		if v:FindFirstChild('Humanoid') then
1826
		v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(5,8)
1827
		end
1828
end
1829
local rng2 = Instance.new("Part",Character)
1830
rng2.Anchored = true
1831
rng2.BrickColor = BrickColor.new("Dark indigo")
1832
rng2.CanCollide = false
1833
rng2.FormFactor = 3
1834
rng2.Name = "Shockwave"
1835
rng2.Size = Vector3.new(1, 1, 1)
1836
rng2.Transparency = 0.35
1837
rng2.TopSurface = 0
1838
rng2.BottomSurface = 0
1839
rng2.CFrame = rootPart.CFrame * CFrame.Angles(0,math.rad(90),math.rad(90))
1840
local rngm2 = Instance.new("SpecialMesh", rng2)
1841
rngm2.MeshId = "http://www.roblox.com/asset/?id=20329976"
1842
rngm2.Scale = Vector3.new(0, 0, 0)
1843
rngm2.Offset = Vector3.new(0,-5,-0.5)
1844
Spawn(function()
1845
	for i = 1, 60, 2 do
1846
		rng2.CFrame = rng2.CFrame * CFrame.Angles(0,math.rad(5) + i*math.random(1,10),math.rad(0))
1847
		rngm2.Scale = Vector3.new(4 + i*0.3, 8  + i*0.1 ,4 + i*0.3)
1848
		rng2.Transparency = i/30
1849
		rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0)
1850
		swait()
1851
	end
1852
	wait()
1853
	rng2:Destroy()
1854
end)
1855
swait()
1856
end
1857
twirl:Destroy()
1858
Tael2.C1 = CFrame.new(0,-5,3.5)
1859
Tatl2.C1 = CFrame.new(0,-2,3.5)
1860
1861
target = nil
1862
Animations = false
1863
fattack = false
1864
attack = false
1865
end
1866
1867
function ShadowBallBarrage()
1868
local SB = Instance.new("Part",Effects)
1869
SB.Name = "ShadowBallz"
1870
SB.Shape = Enum.PartType.Block
1871
SB.CanCollide = false
1872
SB.BrickColor = BrickColor.new("Dark indigo")
1873
SB.Transparency = 0
1874
SB.Material = "Neon"
1875
SB.Size = Vector3.new(0.25, 0.25, 0.25)
1876
SB.TopSurface = Enum.SurfaceType.Smooth
1877
SB.BottomSurface = Enum.SurfaceType.Smooth	local SBWeld = Instance.new("Weld", SB)
1878
SBWeld.Part0 = Right_Arm
1879
SBWeld.Part1 = SB
1880
SBWeld.C1 = CFrame.new(0,1,0)
1881
boom = Instance.new("SpecialMesh",SB)
1882
boom.MeshType = "Sphere"
1883
boom.Scale = Vector3.new(3,3,3)
1884
S = Instance.new("Sound")
1885
S.Parent = SB
1886
S.SoundId = "rbxassetid://315746833"
1887
S.Volume = 5
1888
S.Looped = false
1889
S.Pitch = 2
1890
S:Play()
1891
1892
S = Instance.new("Sound")
1893
S.Parent = SB
1894
S.SoundId = "rbxassetid://203691653"
1895
S.Volume = 8
1896
S.Looped = false
1897
S.Pitch = 1
1898
S.PlayOnRemove = true
1899
for i = 0,0.04,0.01 do
1900
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.25) * c_angles(math.rad(-30) - math.sin(sine/7.5)/15, math.rad(-90) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15), 0.15)
1901
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(90) + math.sin(sine/7.5)/15, math.rad(60),math.rad(-20)), 0.15)
1902
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -0.7 + math.sin(sine/7.5)/5, -0.25) * c_angles(math.rad(20) + math.sin(sine/7.5)/1,math.rad(0),math.rad(0) - math.sin(sine/7.5)/15), 0.15)
1903
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -0.7 - math.sin(sine/7.5)/5, -0.25) * c_angles(math.rad(20) - math.sin(sine/7.5)/1,math.rad(0),math.rad(0) - math.sin(sine/7.5)/15), 0.15)
1904
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0 - math.sin(sine/7.5)/1, -1.3 + math.sin(sine/3.75)/5, 0) * c_angles(math.rad(0), math.rad(0),math.rad(10)), 0.15)
1905
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0) + math.sin(sine/3.75)/5,math.rad(0), math.rad(0) - math.sin(sine/15)/4), 0.15)
1906
swait()
1907
end
1908
for i = 0,0.05,0.01 do
1909
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.25) * c_angles(math.rad(120) - math.sin(sine/7.5)/15, math.rad(-90) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15), 0.15)
1910
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(90) + math.sin(sine/7.5)/15, math.rad(60),math.rad(-20)), 0.15)
1911
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -0.7 + math.sin(sine/7.5)/5, -0.25) * c_angles(math.rad(20) + math.sin(sine/7.5)/1,math.rad(0),math.rad(0) - math.sin(sine/7.5)/15), 0.15)
1912
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -0.7 - math.sin(sine/7.5)/5, -0.25) * c_angles(math.rad(20) - math.sin(sine/7.5)/1,math.rad(0),math.rad(0) - math.sin(sine/7.5)/15), 0.15)
1913
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0 - math.sin(sine/7.5)/1, -1.3 + math.sin(sine/3.75)/5, 0) * c_angles(math.rad(0), math.rad(0),math.rad(20)), 0.15)
1914
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0) + math.sin(sine/3.75)/5,math.rad(0), math.rad(0) - math.sin(sine/15)/4), 0.15)
1915
swait()
1916
end
1917
1918
SBWeld:Destroy()
1919
SB.CanCollide = true
1920
local bodyVelocity2 = Create("BodyVelocity")({
1921
velocity = (Mouse.Hit.p - SB.CFrame.p).unit * 165,
1922
P = 5000,
1923
maxForce = Vector3.new(8000, 8000, 8000),
1924
Parent = SB
1925
})
1926
1927
game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
1928
	SB.Touched:connect(function(hit)
1929
	if(not Character:IsAncestorOf(hit) or hit.Name == "ShadowBallz") then
1930
for i, v in pairs(FindNearestTorso(SB.CFrame.p, 7)) do
1931
		if v:FindFirstChild('Humanoid') then
1932
		v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(25,66)/10
1933
		end
1934
end
1935
local rng2 = Instance.new("Part",Effects)
1936
rng2.Anchored = true
1937
rng2.BrickColor = BrickColor.new("Dark indigo")
1938
rng2.CanCollide = false
1939
rng2.FormFactor = 3
1940
rng2.Name = "Shockwave"
1941
rng2.Material = "Neon"
1942
rng2.Size = Vector3.new(1, 1, 1)
1943
rng2.Transparency = 0.35
1944
rng2.TopSurface = 0
1945
rng2.BottomSurface = 0
1946
rng2.CFrame = SB.CFrame
1947
SB:Destroy()
1948
local rngm2 = Instance.new("SpecialMesh", rng2)
1949
rngm2.Scale = Vector3.new(1, 0, 1)
1950
rngm2.Offset = Vector3.new(0,0,0)
1951
rngm2.MeshType = "Sphere"
1952
Spawn(function()
1953
	for i = 1, 60, 2 do
1954
		rngm2.Scale = Vector3.new(5 + i*0.3, 5  + i*0.3 ,5 + i*0.3)
1955
		rng2.Transparency = i/60
1956
		swait()
1957
	end
1958
	wait()
1959
	rng2:Destroy()
1960
end)
1961
for i = 1,6 do
1962
local rng2 = Instance.new("Part",Character)
1963
rng2.Anchored = true
1964
rng2.BrickColor = BrickColor.new("Dark indigo")
1965
rng2.CanCollide = false
1966
rng2.FormFactor = 3
1967
rng2.Name = "Shockwave"
1968
rng2.Size = Vector3.new(1, 1, 1)
1969
rng2.Transparency = 0.35
1970
rng2.TopSurface = 0
1971
rng2.BottomSurface = 0
1972
rng2.CFrame = SB.CFrame * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
1973
local rngm2 = Instance.new("SpecialMesh", rng2)
1974
rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
1975
rngm2.Scale = Vector3.new(0, 0, 0)
1976
rngm2.Offset = Vector3.new(0,0,-0.5)
1977
Spawn(function()
1978
	for i = 1, 60, 2 do
1979
		rngm2.Scale = Vector3.new(2 + i*1, 2  + i*1 ,2 + i*0.3)
1980
		rng2.Transparency = i/30
1981
		rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0)
1982
		swait()
1983
	end
1984
	wait()
1985
	rng2:Destroy()
1986
end)
1987
1988
local rng2 = Instance.new("Part",Character)
1989
rng2.Anchored = true
1990
rng2.BrickColor = BrickColor.new("Really black")
1991
rng2.CanCollide = false
1992
rng2.FormFactor = 3
1993
rng2.Name = "Shockwave"
1994
rng2.Size = Vector3.new(1, 1, 1)
1995
rng2.Transparency = 0.35
1996
rng2.TopSurface = 0
1997
rng2.BottomSurface = 0
1998
rng2.CFrame = SB.CFrame * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
1999
local rngm2 = Instance.new("SpecialMesh", rng2)
2000
rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
2001
rngm2.Scale = Vector3.new(0, 0, 0)
2002
rngm2.Offset = Vector3.new(0,0,-0.5)
2003
Spawn(function()
2004
	for i = 1, 60, 2 do
2005
		rngm2.Scale = Vector3.new(2 + i*1, 2  + i*1 ,2 + i*0.3)
2006
		rng2.Transparency = i/30
2007
		rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0)
2008
		swait()
2009
	end
2010
	wait()
2011
	rng2:Destroy()
2012
end)
2013
end
2014
	end
2015
	end)
2016
end
2017
2018
function ShadowBallBarrage2()
2019
local SB = Instance.new("Part",Effects)
2020
SB.Name = "ShadowBallz"
2021
SB.Shape = Enum.PartType.Block
2022
SB.CanCollide = false
2023
SB.BrickColor = BrickColor.new("Dark indigo")
2024
SB.Transparency = 0
2025
SB.Material = "Neon"
2026
SB.Size = Vector3.new(0.25, 0.25, 0.25)
2027
SB.TopSurface = Enum.SurfaceType.Smooth
2028
SB.BottomSurface = Enum.SurfaceType.Smooth	local SBWeld = Instance.new("Weld", SB)
2029
SBWeld.Part0 = Left_Arm
2030
SBWeld.Part1 = SB
2031
SBWeld.C1 = CFrame.new(0,1,0)
2032
booem = Instance.new("SpecialMesh",SB)
2033
booem.MeshType = "Sphere"
2034
booem.Scale = Vector3.new(3,3,3)
2035
S = Instance.new("Sound")
2036
S.Parent = SB
2037
S.SoundId = "rbxassetid://315746833"
2038
S.Volume = 5
2039
S.Looped = false
2040
S.Pitch = 2
2041
S:Play()
2042
2043
S = Instance.new("Sound")
2044
S.Parent = SB
2045
S.SoundId = "rbxassetid://203691653"
2046
S.Volume = 8
2047
S.Looped = false
2048
S.Pitch = 1
2049
S.PlayOnRemove = true
2050
for i = 0,0.04,0.01 do
2051
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.25) * c_angles(math.rad(20) - math.sin(sine/7.5)/15, math.rad(30) + math.sin(sine/7.5)/15,math.rad(5) + math.sin(sine/7.5)/15), 0.15)
2052
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(-30) + math.sin(sine/7.5)/15, math.rad(90),math.rad(0)), 0.15)
2053
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -0.7 + math.sin(sine/7.5)/5, -0.25) * c_angles(math.rad(20) + math.sin(sine/7.5)/1,math.rad(0),math.rad(0) - math.sin(sine/7.5)/15), 0.15)
2054
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -0.7 - math.sin(sine/7.5)/5, -0.25) * c_angles(math.rad(20) - math.sin(sine/7.5)/1,math.rad(0),math.rad(0) - math.sin(sine/7.5)/15), 0.15)
2055
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0 - math.sin(sine/7.5)/1, -1.3 + math.sin(sine/3.75)/5, 0) * c_angles(math.rad(0), math.rad(0),math.rad(-10)), 0.15)
2056
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0) + math.sin(sine/3.75)/5,math.rad(0), math.rad(0) - math.sin(sine/15)/4), 0.15)
2057
swait()
2058
end
2059
for i = 0,0.05,0.01 do
2060
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.25) * c_angles(math.rad(20) - math.sin(sine/7.5)/15, math.rad(30) + math.sin(sine/7.5)/15,math.rad(5) + math.sin(sine/7.5)/15), 0.15)
2061
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(90) + math.sin(sine/7.5)/15, math.rad(90),math.rad(0)), 0.15)
2062
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -0.7 + math.sin(sine/7.5)/5, -0.25) * c_angles(math.rad(20) + math.sin(sine/7.5)/1,math.rad(0),math.rad(0) - math.sin(sine/7.5)/15), 0.15)
2063
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -0.7 - math.sin(sine/7.5)/5, -0.25) * c_angles(math.rad(20) - math.sin(sine/7.5)/1,math.rad(0),math.rad(0) - math.sin(sine/7.5)/15), 0.15)
2064
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0 - math.sin(sine/7.5)/1, -1.3 + math.sin(sine/3.75)/5, 0) * c_angles(math.rad(0), math.rad(0),math.rad(-20)), 0.15)
2065
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0) + math.sin(sine/3.75)/5,math.rad(0), math.rad(0) - math.sin(sine/15)/4), 0.15)
2066
swait()
2067
end
2068
2069
SBWeld:Destroy()
2070
SB.CanCollide = true
2071
local bodyVelocity2 = Create("BodyVelocity")({
2072
velocity = (Mouse.Hit.p - SB.CFrame.p).unit * 165,
2073
P = 5000,
2074
maxForce = Vector3.new(8000, 8000, 8000),
2075
Parent = SB
2076
})
2077
2078
2079
game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
2080
	SB.Touched:connect(function(hit)
2081
	if(not Character:IsAncestorOf(hit) or hit.Name == "ShadowBallz") then
2082
for i, v in pairs(FindNearestTorso(SB.CFrame.p, 7)) do
2083
		if v:FindFirstChild('Humanoid') then
2084
		v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(25,66)/10
2085
		end
2086
end
2087
local rng2 = Instance.new("Part",Effects)
2088
rng2.Anchored = true
2089
rng2.BrickColor = BrickColor.new("Dark indigo")
2090
rng2.CanCollide = false
2091
rng2.FormFactor = 3
2092
rng2.Name = "Shockwave"
2093
rng2.Material = "Neon"
2094
rng2.Size = Vector3.new(1, 1, 1)
2095
rng2.Transparency = 0.35
2096
rng2.TopSurface = 0
2097
rng2.BottomSurface = 0
2098
rng2.CFrame = SB.CFrame
2099
SB:Destroy()
2100
local rngm2 = Instance.new("SpecialMesh", rng2)
2101
rngm2.Scale = Vector3.new(1, 0, 1)
2102
rngm2.Offset = Vector3.new(0,0,0)
2103
rngm2.MeshType = "Sphere"
2104
Spawn(function()
2105
	for i = 1, 60, 2 do
2106
		rngm2.Scale = Vector3.new(5 + i*0.3, 5  + i*0.3 ,5 + i*0.3)
2107
		rng2.Transparency = i/60
2108
		swait()
2109
	end
2110
	wait()
2111
	rng2:Destroy()
2112
end)
2113
for i = 1,6 do
2114
local rng2 = Instance.new("Part",Character)
2115
rng2.Anchored = true
2116
rng2.BrickColor = BrickColor.new("Dark indigo")
2117
rng2.CanCollide = false
2118
rng2.FormFactor = 3
2119
rng2.Name = "Shockwave"
2120
rng2.Size = Vector3.new(1, 1, 1)
2121
rng2.Transparency = 0.35
2122
rng2.TopSurface = 0
2123
rng2.BottomSurface = 0
2124
rng2.CFrame = SB.CFrame * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
2125
local rngm2 = Instance.new("SpecialMesh", rng2)
2126
rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
2127
rngm2.Scale = Vector3.new(0, 0, 0)
2128
rngm2.Offset = Vector3.new(0,0,-0.5)
2129
Spawn(function()
2130
	for i = 1, 60, 2 do
2131
		rngm2.Scale = Vector3.new(2 + i*1, 2  + i*1 ,2 + i*0.3)
2132
		rng2.Transparency = i/30
2133
		rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0)
2134
		swait()
2135
	end
2136
	wait()
2137
	rng2:Destroy()
2138
end)
2139
2140
local rng2 = Instance.new("Part",Character)
2141
rng2.Anchored = true
2142
rng2.BrickColor = BrickColor.new("Really black")
2143
rng2.CanCollide = false
2144
rng2.FormFactor = 3
2145
rng2.Name = "Shockwave"
2146
rng2.Size = Vector3.new(1, 1, 1)
2147
rng2.Transparency = 0.35
2148
rng2.TopSurface = 0
2149
rng2.BottomSurface = 0
2150
rng2.CFrame = SB.CFrame * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
2151
local rngm2 = Instance.new("SpecialMesh", rng2)
2152
rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
2153
rngm2.Scale = Vector3.new(0, 0, 0)
2154
rngm2.Offset = Vector3.new(0,0,-0.5)
2155
Spawn(function()
2156
	for i = 1, 60, 2 do
2157
		rngm2.Scale = Vector3.new(2 + i*1, 2  + i*1 ,2 + i*0.3)
2158
		rng2.Transparency = i/30
2159
		rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0)
2160
		swait()
2161
	end
2162
	wait()
2163
	rng2:Destroy()
2164
end)
2165
end
2166
	end
2167
	end)
2168
end
2169
2170
function ShadowBarrage()
2171
attack = true
2172
attack2 = true
2173
Animations = true
2174
Ocarina.Transparency = 1
2175
Point = Instance.new("BodyGyro")
2176
Point.Parent = rootPart
2177
Point.D = 175
2178
Point.P = 20000
2179
Point.MaxTorque = Vector3.new(0,4000000,0)
2180
for i = 1,5 do
2181
Point.cframe = CFrame.new(rootPart.Position,Mouse.Hit.Position)
2182
ShadowBallBarrage()
2183
Point.cframe = CFrame.new(rootPart.Position,Mouse.Hit.Position)
2184
ShadowBallBarrage2()
2185
end
2186
Point:Destroy()
2187
Ocarina.Transparency = 0
2188
Animations = false
2189
attack2 = false
2190
attack = false
2191
end
2192
2193
function MajorasWrath()
2194
attack = true
2195
attack2 = true
2196
Animations = true
2197
fattack = true
2198
Ocarina.Transparency = 1
2199
S = Instance.new("Sound")
2200
S.Parent = Character.Torso
2201
S.SoundId = "rbxassetid://2061656299"
2202
S.Volume = 10
2203
S.Looped = false
2204
S.Pitch = 1
2205
S:Play()
2206
2207
local Particle = Instance.new("ParticleEmitter",Torso)
2208
Particle.Enabled = true
2209
Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
2210
Particle.Rate = 2000
2211
Particle.ZOffset = 1
2212
Particle.Lifetime = NumberRange.new(0.5)
2213
Particle.Speed = NumberRange.new(1)
2214
Particle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.3), NumberSequenceKeypoint.new(1, 1, 0.1)})
2215
Particle.Rotation = NumberRange.new(-180, 180)
2216
Particle.RotSpeed = NumberRange.new(-180, 180)
2217
Particle.Texture = "http://www.roblox.com/asset/?id=303194966"
2218
Particle.Color = ColorSequence.new(Color3.new(0,0,0),Color3.new(0,0,0))
2219
Particle.VelocitySpread = 360
2220
Particle.LockedToPart = false
2221
2222
local Particle2 = Instance.new("ParticleEmitter",Right_Arm)
2223
Particle2.Enabled = true
2224
Particle2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
2225
Particle2.Rate = 2000
2226
Particle2.ZOffset = 1
2227
Particle2.Lifetime = NumberRange.new(0.5)
2228
Particle2.Speed = NumberRange.new(1)
2229
Particle2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.3), NumberSequenceKeypoint.new(1, 1, 0.1)})
2230
Particle2.Rotation = NumberRange.new(-180, 180)
2231
Particle2.RotSpeed = NumberRange.new(-180, 180)
2232
Particle2.Texture = "http://www.roblox.com/asset/?id=303194966"
2233
Particle2.Color = ColorSequence.new(Color3.fromRGB(61, 21, 133),Color3.fromRGB(61, 21, 133))
2234
Particle2.VelocitySpread = 360
2235
Particle2.LockedToPart = false
2236
2237
local Particle3 = Instance.new("ParticleEmitter",Left_Arm)
2238
Particle3.Enabled = true
2239
Particle3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
2240
Particle3.Rate = 2000
2241
Particle3.ZOffset = 1
2242
Particle3.Lifetime = NumberRange.new(0.5)
2243
Particle3.Speed = NumberRange.new(1)
2244
Particle3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.3), NumberSequenceKeypoint.new(1, 1, 0.1)})
2245
Particle3.Rotation = NumberRange.new(-180, 180)
2246
Particle3.RotSpeed = NumberRange.new(-180, 180)
2247
Particle3.Texture = "http://www.roblox.com/asset/?id=303194966"
2248
Particle3.Color = ColorSequence.new(Color3.fromRGB(61, 21, 133),Color3.fromRGB(61, 21, 133))
2249
Particle3.VelocitySpread = 360
2250
Particle3.LockedToPart = false
2251
2252
local Particle4 = Instance.new("ParticleEmitter",Right_Leg)
2253
Particle4.Enabled = true
2254
Particle4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
2255
Particle4.Rate = 2000
2256
Particle4.ZOffset = 1
2257
Particle4.Lifetime = NumberRange.new(0.5)
2258
Particle4.Speed = NumberRange.new(1)
2259
Particle4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.3), NumberSequenceKeypoint.new(1, 1, 0.1)})
2260
Particle4.Rotation = NumberRange.new(-180, 180)
2261
Particle4.RotSpeed = NumberRange.new(-180, 180)
2262
Particle4.Texture = "http://www.roblox.com/asset/?id=303194966"
2263
Particle4.Color = ColorSequence.new(Color3.fromRGB(61, 21, 133),Color3.fromRGB(61, 21, 133))
2264
Particle4.VelocitySpread = 360
2265
Particle4.LockedToPart = false
2266
2267
local Particle5 = Instance.new("ParticleEmitter",Left_Leg)
2268
Particle5.Enabled = true
2269
Particle5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
2270
Particle5.Rate = 2000
2271
Particle5.ZOffset = 1
2272
Particle5.Lifetime = NumberRange.new(0.5)
2273
Particle5.Speed = NumberRange.new(1)
2274
Particle5.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.3), NumberSequenceKeypoint.new(1, 1, 0.1)})
2275
Particle5.Rotation = NumberRange.new(-180, 180)
2276
Particle5.RotSpeed = NumberRange.new(-180, 180)
2277
Particle5.Texture = "http://www.roblox.com/asset/?id=303194966"
2278
Particle5.Color = ColorSequence.new(Color3.fromRGB(61, 21, 133),Color3.fromRGB(61, 21, 133))
2279
Particle5.VelocitySpread = 360
2280
Particle5.LockedToPart = false
2281
2282
2283
for i = 0,0.25,0.01 do
2284
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15,math.rad(60) - math.sin(sine/7.5)/15), 0.15)
2285
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.5, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0) - math.sin(sine/7.5)/15,math.rad(-60) + math.sin(sine/7.5)/15), 0.15)
2286
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(20),math.rad(0),math.rad(-20)), 0.15)
2287
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(20),math.rad(0),math.rad(20)), 0.15)
2288
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0, -0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(20), math.rad(0),math.rad(0)), 0.15)
2289
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5 + math.sin(sine/7.5)/15, -0.25) * c_angles(math.rad(30),math.rad(0), math.rad(0)), 0.15)
2290
swait()
2291
end
2292
for i = 0,0.8,0.01 do
2293
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.2, 0.4, -0.4) * c_angles(math.rad(110), math.rad(-60) + math.sin(sine/2)/1, math.rad(-60)  - math.sin(sine/20)/10), 0.15)
2294
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.2, 0.4, -0.4) * c_angles(math.rad(110), math.rad(60) + math.sin(sine/2)/1, math.rad(60) + math.sin(sine/20)/10), 0.15)
2295
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -0.85, -0.25) * c_angles(math.rad(30) - math.sin(sine/2)/1, math.rad(0),math.rad(-5) - math.sin(sine/7.5)/25), 0.15)
2296
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -0.85, -0.25) * c_angles(math.rad(15) + math.sin(sine/2)/1, math.rad(0) ,math.rad(5) + math.sin(sine/7.5)/25), 0.15)
2297
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/15)/5, -0.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-20) - math.sin(sine/15)/15 , math.rad(0) + math.sin(sine/4)/3, math.rad(0)), 0.15)
2298
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(-10) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/2)/1, math.rad(0) + math.sin(sine/15)/30), 0.15)
2299
Tael2.C1 = Tael2.C1 * CFrame.fromEulerAnglesXYZ(math.rad(2) + math.sin(sine/7.5)/30,math.rad(4) - math.sin(sine/7.5)/30,math.rad(0) + math.sin(sine/7.5)/30)
2300
Tatl2.C1 = Tatl2.C1 * CFrame.fromEulerAnglesXYZ(math.rad(3) - math.sin(sine/7.5)/25,math.rad(-4) + math.sin(sine/7.5)/12,math.rad(0) - math.sin(sine/7.5)/30)
2301
swait()
2302
end
2303
S = Instance.new("Sound")
2304
S.Parent = Character.Torso
2305
S.SoundId = "rbxassetid://300916082"
2306
S.Volume = 8
2307
S.Looped = false
2308
S.Pitch = 1
2309
S:Play()
2310
S = Instance.new("Sound")
2311
S.Parent = Character.Torso
2312
S.SoundId = "rbxassetid://21338895"
2313
S.Volume = 4
2314
S.Looped = false
2315
S.Pitch = 1
2316
S:Play()
2317
for i = 0,0.6,0.01 do
2318
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.2, 0.4, -0.4) * c_angles(math.rad(160), math.rad(0) + math.sin(sine/1)/1, math.rad(-10)  - math.sin(sine/20)/10), 0.15)
2319
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.2, 0.4, -0.4) * c_angles(math.rad(160), math.rad(0) + math.sin(sine/1)/1, math.rad(10) + math.sin(sine/20)/10), 0.15)
2320
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -0.5 - math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(-20),math.rad(0),math.rad(-5)), 0.15)
2321
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -0.5 - math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(-20),math.rad(0),math.rad(5)), 0.15)
2322
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0, 0 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15)
2323
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5 + math.sin(sine/7.5)/15, -0.8) * c_angles(math.rad(-80),math.rad(0) + math.sin(sine/1)/1, math.rad(0)), 0.15)
2324
Tael2.C1 = Tael2.C1 * CFrame.fromEulerAnglesXYZ(math.rad(2) + math.sin(sine/7.5)/7,math.rad(4) - math.sin(sine/7.5)/7,math.rad(0) + math.sin(sine/7.5)/8)
2325
Tatl2.C1 = Tatl2.C1 * CFrame.fromEulerAnglesXYZ(math.rad(3) - math.sin(sine/7.5)/5,math.rad(-4) + math.sin(sine/7.5)/12,math.rad(0) - math.sin(sine/7.5)/15)
2326
local rng2 = Instance.new("Part",Character)
2327
rng2.Anchored = true
2328
rng2.BrickColor = BrickColor.new("Dark indigo")
2329
rng2.CanCollide = false
2330
rng2.FormFactor = 3
2331
rng2.Name = "Shockwave"
2332
rng2.Size = Vector3.new(1, 1, 1)
2333
rng2.Transparency = 0.35
2334
rng2.TopSurface = 0
2335
rng2.BottomSurface = 0
2336
rng2.CFrame = rootPart.CFrame * CFrame.Angles(0,math.rad(90),math.rad(0))
2337
local rngm2 = Instance.new("SpecialMesh", rng2)
2338
rngm2.MeshId = "http://www.roblox.com/asset/?id=20329976"
2339
rngm2.Scale = Vector3.new(0, 0, 0)
2340
rngm2.Offset = Vector3.new(0,0,-0.5)
2341
Spawn(function()
2342
	for i = 1, 60, 2 do
2343
		rng2.CFrame = rng2.CFrame * CFrame.Angles(0,math.rad(5) + i*math.random(1,10),math.rad(0))
2344
		rngm2.Scale = Vector3.new(5 + i*0.3, 1  + i*0.2 ,5 + i*0.3)
2345
		rng2.Transparency = i/30
2346
		rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0)
2347
		swait()
2348
	end
2349
	wait()
2350
	rng2:Destroy()
2351
end)
2352
2353
local rng2 = Instance.new("Part",Character)
2354
rng2.Anchored = true
2355
rng2.BrickColor = BrickColor.new("Really black")
2356
rng2.CanCollide = false
2357
rng2.FormFactor = 3
2358
rng2.Name = "Shockwave"
2359
rng2.Size = Vector3.new(1, 1, 1)
2360
rng2.Transparency = 0.35
2361
rng2.TopSurface = 0
2362
rng2.BottomSurface = 0
2363
rng2.CFrame = rootPart.CFrame * CFrame.Angles(0,math.rad(90),math.rad(0))
2364
local rngm2 = Instance.new("SpecialMesh", rng2)
2365
rngm2.MeshId = "http://www.roblox.com/asset/?id=20329976"
2366
rngm2.Scale = Vector3.new(0, 0, 0)
2367
rngm2.Offset = Vector3.new(0,0,-0.5)
2368
Spawn(function()
2369
	for i = 1, 60, 2 do
2370
		rng2.CFrame = rng2.CFrame * CFrame.Angles(0,math.rad(5) + i*math.random(1,10),math.rad(0))
2371
		rngm2.Scale = Vector3.new(5 + i*1, 0  + i*0.1 ,5 + i*1)
2372
		rng2.Transparency = i/30
2373
		rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0)
2374
		swait()
2375
	end
2376
	wait()
2377
	rng2:Destroy()
2378
end)
2379
swait()
2380
end
2381
S = Instance.new("Sound")
2382
S.Parent = Character.Torso
2383
S.SoundId = "rbxassetid://338601305"
2384
S.Volume = 8
2385
S.Looped = false
2386
S.Pitch = 1
2387
S:Play()
2388
2389
S = Instance.new("Sound")
2390
S.Parent = Character.Torso
2391
S.SoundId = "rbxassetid://1135968340"
2392
S.Volume = 7
2393
S.Looped = false
2394
S.Pitch = 1
2395
S:Play()
2396
2397
2398
S = Instance.new("Sound")
2399
S.Parent = Character.Torso
2400
S.SoundId = "rbxassetid://2057161687"
2401
S.Volume = 10
2402
S.Looped = false
2403
S.Pitch = 1
2404
S:Play()
2405
for i, v in pairs(FindNearestTorso(rootPart.CFrame.p, 20)) do
2406
		if v:FindFirstChild('Humanoid') then
2407
		v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(666,1050)/10
2408
		end
2409
end
2410
local rng2 = Instance.new("Part",Effects)
2411
rng2.Anchored = true
2412
rng2.BrickColor = BrickColor.new("Dark indigo")
2413
rng2.CanCollide = false
2414
rng2.FormFactor = 3
2415
rng2.Name = "Shockwave"
2416
rng2.Material = "Neon"
2417
rng2.Size = Vector3.new(1, 1, 1)
2418
rng2.Transparency = 0.35
2419
rng2.TopSurface = 0
2420
rng2.BottomSurface = 0
2421
rng2.CFrame = rootPart.CFrame
2422
local rngm2 = Instance.new("SpecialMesh", rng2)
2423
rngm2.Scale = Vector3.new(1, 0, 1)
2424
rngm2.Offset = Vector3.new(0,0,0)
2425
rngm2.MeshType = "Sphere"
2426
Spawn(function()
2427
	for i = 1, 60, 2 do
2428
		rngm2.Scale = Vector3.new(0 + i*1, 0  + i*1 ,0 + i*1)
2429
		rng2.Transparency = i/60
2430
		swait()
2431
	end
2432
	wait()
2433
	rng2:Destroy()
2434
end)
2435
Particle:Destroy()
2436
Particle2:Destroy()
2437
Particle3:Destroy()
2438
Particle4:Destroy()
2439
Particle5:Destroy()
2440
for i = 0,0.8,0.01 do
2441
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15,math.rad(60) - math.sin(sine/7.5)/15), 0.15)
2442
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.5, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0) - math.sin(sine/7.5)/15,math.rad(-60) + math.sin(sine/7.5)/15), 0.15)
2443
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(20),math.rad(0),math.rad(-20)), 0.15)
2444
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(20),math.rad(0),math.rad(20)), 0.15)
2445
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0, -0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(20), math.rad(0),math.rad(0)), 0.15)
2446
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5 + math.sin(sine/7.5)/15, -0.25) * c_angles(math.rad(30),math.rad(0), math.rad(0)), 0.15)
2447
Tael2.C1 = Tael2.C1 * CFrame.fromEulerAnglesXYZ(math.rad(2) + math.sin(sine/7.5)/30,math.rad(4) - math.sin(sine/7.5)/30,math.rad(0) + math.sin(sine/7.5)/30)
2448
Tatl2.C1 = Tatl2.C1 * CFrame.fromEulerAnglesXYZ(math.rad(3) - math.sin(sine/7.5)/25,math.rad(-4) + math.sin(sine/7.5)/12,math.rad(0) - math.sin(sine/7.5)/30)
2449
2450
local rng2 = Instance.new("Part",Effects)
2451
rng2.Anchored = true
2452
rng2.BrickColor = BrickColor.new("Dark indigo")
2453
rng2.CanCollide = false
2454
rng2.FormFactor = 3
2455
rng2.Name = "Shockwave"
2456
rng2.Material = "Neon"
2457
rng2.Size = Vector3.new(1, 1, 1)
2458
rng2.Transparency = 0.35
2459
rng2.TopSurface = 0
2460
rng2.BottomSurface = 0
2461
rng2.CFrame = rootPart.CFrame
2462
local rngm2 = Instance.new("SpecialMesh", rng2)
2463
rngm2.Scale = Vector3.new(1, 0, 1)
2464
rngm2.Offset = Vector3.new(0,0,0)
2465
rngm2.MeshType = "Sphere"
2466
Spawn(function()
2467
	for i = 1, 60, 2 do
2468
		rngm2.Scale = Vector3.new(0 + i*1.5, 0  + i*1.5 ,0 + i*1.5)
2469
		rng2.Transparency = i/60
2470
		swait()
2471
	end
2472
	wait()
2473
	rng2:Destroy()
2474
end)
2475
2476
local rng2 = Instance.new("Part",Character)
2477
rng2.Anchored = true
2478
rng2.BrickColor = BrickColor.new("Dark indigo")
2479
rng2.CanCollide = false
2480
rng2.FormFactor = 3
2481
rng2.Name = "Shockwave"
2482
rng2.Size = Vector3.new(1, 1, 1)
2483
rng2.Transparency = 0.35
2484
rng2.TopSurface = 0
2485
rng2.BottomSurface = 0
2486
rng2.CFrame = rootPart.CFrame * CFrame.Angles(0,math.rad(90),math.rad(0))
2487
local rngm2 = Instance.new("SpecialMesh", rng2)
2488
rngm2.MeshId = "http://www.roblox.com/asset/?id=20329976"
2489
rngm2.Scale = Vector3.new(0, 0, 0)
2490
rngm2.Offset = Vector3.new(0,0,-0.5)
2491
Spawn(function()
2492
	for i = 1, 60, 2 do
2493
		rng2.CFrame = rng2.CFrame * CFrame.Angles(0,math.rad(5) + i*math.random(1,10),math.rad(0))
2494
		rngm2.Scale = Vector3.new(5 + i*1, 8  + i*0.1 ,5 + i*1)
2495
		rng2.Transparency = i/30
2496
		rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0)
2497
		swait()
2498
	end
2499
	wait()
2500
	rng2:Destroy()
2501
end)
2502
2503
local rng2 = Instance.new("Part",Character)
2504
rng2.Anchored = true
2505
rng2.BrickColor = BrickColor.new("Really black")
2506
rng2.CanCollide = false
2507
rng2.FormFactor = 3
2508
rng2.Name = "Shockwave"
2509
rng2.Size = Vector3.new(1, 1, 1)
2510
rng2.Transparency = 0.35
2511
rng2.TopSurface = 0
2512
rng2.BottomSurface = 0
2513
rng2.CFrame = rootPart.CFrame * CFrame.Angles(0,math.rad(90),math.rad(0))
2514
local rngm2 = Instance.new("SpecialMesh", rng2)
2515
rngm2.MeshId = "http://www.roblox.com/asset/?id=20329976"
2516
rngm2.Scale = Vector3.new(0, 0, 0)
2517
rngm2.Offset = Vector3.new(0,0,-0.5)
2518
Spawn(function()
2519
	for i = 1, 60, 2 do
2520
		rng2.CFrame = rng2.CFrame * CFrame.Angles(0,math.rad(5) + i*math.random(1,10),math.rad(0))
2521
		rngm2.Scale = Vector3.new(5 + i*1, 8  + i*0.1 ,5 + i*1)
2522
		rng2.Transparency = i/30
2523
		rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0)
2524
		swait()
2525
	end
2526
	wait()
2527
	rng2:Destroy()
2528
end)
2529
2530
local rng2 = Instance.new("Part",Character)
2531
rng2.Anchored = true
2532
rng2.BrickColor = BrickColor.new("Dark indigo")
2533
rng2.CanCollide = false
2534
rng2.FormFactor = 3
2535
rng2.Name = "Shockwave"
2536
rng2.Size = Vector3.new(1, 1, 1)
2537
rng2.Transparency = 0.35
2538
rng2.TopSurface = 0
2539
rng2.BottomSurface = 0
2540
rng2.CFrame = rootPart.CFrame * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
2541
local rngm2 = Instance.new("SpecialMesh", rng2)
2542
rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
2543
rngm2.Scale = Vector3.new(0, 0, 0)
2544
rngm2.Offset = Vector3.new(0,0,-0.5)
2545
Spawn(function()
2546
	for i = 1, 60, 2 do
2547
		rngm2.Scale = Vector3.new(60 + i*1, 60  + i*1 ,2 + i*0.3)
2548
		rng2.Transparency = i/30
2549
		rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0)
2550
		swait()
2551
	end
2552
	wait()
2553
	rng2:Destroy()
2554
end)
2555
2556
local rng2 = Instance.new("Part",Character)
2557
rng2.Anchored = true
2558
rng2.BrickColor = BrickColor.new("Really black")
2559
rng2.CanCollide = false
2560
rng2.FormFactor = 3
2561
rng2.Name = "Shockwave"
2562
rng2.Size = Vector3.new(1, 1, 1)
2563
rng2.Transparency = 0.35
2564
rng2.TopSurface = 0
2565
rng2.BottomSurface = 0
2566
rng2.CFrame = rootPart.CFrame * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
2567
local rngm2 = Instance.new("SpecialMesh", rng2)
2568
rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
2569
rngm2.Scale = Vector3.new(0, 0, 0)
2570
rngm2.Offset = Vector3.new(0,0,-0.5)
2571
Spawn(function()
2572
	for i = 1, 60, 2 do
2573
		rngm2.Scale = Vector3.new(60 + i*1, 60  + i*1 ,2 + i*0.3)
2574
		rng2.Transparency = i/30
2575
		rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0)
2576
		swait()
2577
	end
2578
	wait()
2579
	rng2:Destroy()
2580
end)
2581
2582
swait()
2583
end
2584
fattack = false
2585
for i = 0,2,0.01 do
2586
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.5, 0.25, 0) * c_angles(math.rad(0) - math.sin(sine/7.5)/15, math.rad(0) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15), 0.15)
2587
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.5, 0.25, 0) * c_angles(math.rad(0) + math.sin(sine/7.5)/15, math.rad(0) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15), 0.15)
2588
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0) + math.sin(sine/15)/5, math.rad(0) + math.sin(sine/7.5)/15,math.rad(0) - math.sin(sine/7.5)/25), 0.15)
2589
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0) - math.sin(sine/15)/5, math.rad(0) - math.sin(sine/7.5)/15,math.rad(0) - math.sin(sine/7.5)/25), 0.15)
2590
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0 - math.sin(sine/15)/1.5, -0.5 - math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(0) - math.sin(sine/15)/15 , math.rad(0), math.rad(0) + math.sin(sine/15)/10), 0.15)
2591
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0 + math.sin(sine/15)/6, 1.5 - math.sin(sine/7.5)/15, -0.1) * c_angles(math.rad(0) + math.sin(sine/15)/15,math.rad(0), math.rad(0) - math.sin(sine/15)/10), 0.15)
2592
swait()
2593
end
2594
2595
Ocarina.Transparency = 0
2596
Animations = false
2597
attack2 = false
2598
attack = false
2599
end
2600
2601
function Tornado()
2602
attack = true
2603
attack2 = true
2604
Animations = true
2605
2606
S = Instance.new("Sound")
2607
S.Parent = Character.Torso
2608
S.SoundId = "rbxassetid://455375894"
2609
S.Volume = 8
2610
S.Looped = false
2611
S.Pitch = 1
2612
S.TimePosition = 0.25
2613
S:Play()
2614
2615
for i = 0,2.6,0.01 do
2616
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.25, 0.5, -0.25) * c_angles(math.rad(90),math.rad(-40) + math.sin(sine/3.75)/5,math.rad(-45)), 0.15)
2617
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.25, 0.5, -0.25) * c_angles(math.rad(90),math.rad(40) - math.sin(sine/3.75)/5,math.rad(45)), 0.15)
2618
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -0.7 + math.sin(sine/7.5)/5, -0.25) * c_angles(math.rad(20) + math.sin(sine/7.5)/1,math.rad(0),math.rad(0) - math.sin(sine/7.5)/15), 0.15)
2619
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -0.7 - math.sin(sine/7.5)/5, -0.25) * c_angles(math.rad(20) - math.sin(sine/7.5)/1,math.rad(0),math.rad(0) - math.sin(sine/7.5)/15), 0.15)
2620
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0 - math.sin(sine/7.5)/1, -1.3 + math.sin(sine/3.75)/5, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0) + math.sin(sine/7.5)/4), 0.15)
2621
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0) + math.sin(sine/3.75)/5,math.rad(0), math.rad(0) - math.sin(sine/15)/4), 0.15)
2622
swait()
2623
end
2624
local tornada = Instance.new("Part",Character)
2625
tornada.Anchored = true
2626
tornada.BrickColor = BrickColor.new("Dark stone grey")
2627
tornada.CanCollide = false
2628
tornada.FormFactor = 3
2629
tornada.Name = "Shockwave"
2630
tornada.Size = Vector3.new(1, 1, 1)
2631
tornada.Transparency = 0.35
2632
tornada.TopSurface = 0
2633
tornada.BottomSurface = 0
2634
tornada.CFrame = rootPart.CFrame * CFrame.new(0,0,-10) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0)
2635
local rngm2 = Instance.new("SpecialMesh", tornada)
2636
rngm2.MeshId = "http://www.roblox.com/asset/?id=36755354"
2637
rngm2.Scale = Vector3.new(0, 0, 0)
2638
rngm2.Offset = Vector3.new(0,0,-0.5)
2639
for i, v in pairs(FindNearestTorso(tornada.CFrame.p, 20)) do
2640
	if v:FindFirstChild('Humanoid') then
2641
		local bodpos = Instance.new("BodyPosition",v:FindFirstChild("HumanoidRootPart"))
2642
		bodpos.D = 175
2643
		bodpos.P = 20000
2644
		bodpos.MaxForce = Vector3.new(4000,40000,4000)
2645
		bodpos.Position = tornada.Position + Vector3.new(0,15,0)
2646
		target = v
2647
		coroutine.wrap(function()
2648
		for i = 0,2.5,0.01 do
2649
		v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(1,5)/100
2650
		swait()
2651
		end
2652
		bodpos:Destroy()
2653
		end)()
2654
	end
2655
end
2656
Spawn(function()
2657
	for i = 1, 60, 2 do
2658
		rngm2.Scale = Vector3.new(0.2 + i*0.25, 0  + i*0.3 ,0.2 + i*0.25)
2659
		tornada.CFrame = tornada.CFrame * CFrame.new(0,-0.5,0)
2660
		swait()
2661
	end
2662
	for i = 0,2,0.01 do
2663
		tornada.CFrame = tornada.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(20),0)
2664
		swait()
2665
	end
2666
	for i = 1, 60, 2 do
2667
		rngm2.Scale = Vector3.new(7 + i*0.3, 6  + i*1 ,7 + i*0.3)
2668
		tornada.Transparency = i/30
2669
		swait()
2670
	end
2671
	wait()
2672
	tornada:Destroy()
2673
end)
2674
for i = 0,2,0.01 do
2675
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.25) * c_angles(math.rad(20) - math.sin(sine/7.5)/15, math.rad(30) + math.sin(sine/7.5)/15,math.rad(5) + math.sin(sine/7.5)/15), 0.15)
2676
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(90) + math.sin(sine/7.5)/15, math.rad(60),math.rad(-20)), 0.15)
2677
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(30) + math.sin(sine/15)/5, math.rad(0),math.rad(-5) - math.sin(sine/7.5)/25), 0.15)
2678
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(15) + math.sin(sine/15)/5, math.rad(0) ,math.rad(5) + math.sin(sine/7.5)/25), 0.15)
2679
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/15)/5, -0.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(0) - math.sin(sine/15)/15 , math.rad(0), math.rad(0)), 0.15)
2680
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(30) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/15)/30, math.rad(0) + math.sin(sine/15)/30), 0.15)
2681
swait()
2682
end
2683
2684
local SB = Instance.new("Part",Effects)
2685
SB.Name = "ShadowBallz"
2686
SB.Shape = Enum.PartType.Block
2687
SB.CanCollide = false
2688
SB.BrickColor = BrickColor.new("Deep orange")
2689
SB.Transparency = 0
2690
SB.Material = "Neon"
2691
SB.Size = Vector3.new(0.25, 0.25, 0.25)
2692
SB.TopSurface = Enum.SurfaceType.Smooth
2693
SB.BottomSurface = Enum.SurfaceType.Smooth	
2694
SB.CFrame = tornada.CFrame * CFrame.new(0,-10,0)
2695
boom = Instance.new("SpecialMesh",SB)
2696
boom.MeshType = "Sphere"
2697
boom.Scale = Vector3.new(6,6,6)
2698
S = Instance.new("Sound")
2699
S.Parent = SB
2700
S.SoundId = "rbxassetid://213656638"
2701
S.Volume = 5
2702
S.Looped = false
2703
S.Pitch = 2
2704
S:Play()
2705
2706
S = Instance.new("Sound")
2707
S.Parent = SB
2708
S.SoundId = "rbxassetid://206049428"
2709
S.Volume = 8
2710
S.Looped = false
2711
S.Pitch = 1
2712
S.PlayOnRemove = true
2713
2714
SB.CanCollide = true
2715
2716
	SB.Touched:connect(function(hit)
2717
	if(not Character:IsAncestorOf(hit) or hit.Name == "ShadowBallz") then
2718
for i, v in pairs(FindNearestTorso(SB.CFrame.p, 7)) do
2719
		if v:FindFirstChild('Humanoid') then
2720
		v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(25,30)
2721
		end
2722
end
2723
local rng2 = Instance.new("Part",Effects)
2724
rng2.Anchored = true
2725
rng2.BrickColor = BrickColor.new("Really red")
2726
rng2.CanCollide = false
2727
rng2.FormFactor = 3
2728
rng2.Name = "Shockwave"
2729
rng2.Material = "Neon"
2730
rng2.Size = Vector3.new(1, 1, 1)
2731
rng2.Transparency = 0.35
2732
rng2.TopSurface = 0
2733
rng2.BottomSurface = 0
2734
rng2.CFrame = SB.CFrame
2735
SB:Destroy()
2736
local rngm2 = Instance.new("SpecialMesh", rng2)
2737
rngm2.Scale = Vector3.new(1, 0, 1)
2738
rngm2.Offset = Vector3.new(0,0,0)
2739
rngm2.MeshType = "Sphere"
2740
Spawn(function()
2741
	for i = 1, 60, 2 do
2742
		rngm2.Scale = Vector3.new(5 + i*0.3, 5  + i*0.3 ,5 + i*0.3)
2743
		rng2.Transparency = i/60
2744
		swait()
2745
	end
2746
	wait()
2747
	rng2:Destroy()
2748
end)
2749
for i = 1,6 do
2750
local rng2 = Instance.new("Part",Character)
2751
rng2.Anchored = true
2752
rng2.BrickColor = BrickColor.new("Deep orange")
2753
rng2.CanCollide = false
2754
rng2.FormFactor = 3
2755
rng2.Name = "Shockwave"
2756
rng2.Size = Vector3.new(1, 1, 1)
2757
rng2.Transparency = 0.35
2758
rng2.TopSurface = 0
2759
rng2.BottomSurface = 0
2760
rng2.CFrame = SB.CFrame * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
2761
local rngm2 = Instance.new("SpecialMesh", rng2)
2762
rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
2763
rngm2.Scale = Vector3.new(0, 0, 0)
2764
rngm2.Offset = Vector3.new(0,0,-0.5)
2765
Spawn(function()
2766
	for i = 1, 60, 2 do
2767
		rngm2.Scale = Vector3.new(2 + i*1, 2  + i*1 ,2 + i*0.3)
2768
		rng2.Transparency = i/30
2769
		rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0)
2770
		swait()
2771
	end
2772
	wait()
2773
	rng2:Destroy()
2774
end)
2775
2776
local rng2 = Instance.new("Part",Character)
2777
rng2.Anchored = true
2778
rng2.BrickColor = BrickColor.new("New Yeller")
2779
rng2.CanCollide = false
2780
rng2.FormFactor = 3
2781
rng2.Name = "Shockwave"
2782
rng2.Size = Vector3.new(1, 1, 1)
2783
rng2.Transparency = 0.35
2784
rng2.TopSurface = 0
2785
rng2.BottomSurface = 0
2786
rng2.CFrame = SB.CFrame * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
2787
local rngm2 = Instance.new("SpecialMesh", rng2)
2788
rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
2789
rngm2.Scale = Vector3.new(0, 0, 0)
2790
rngm2.Offset = Vector3.new(0,0,-0.5)
2791
Spawn(function()
2792
	for i = 1, 60, 2 do
2793
		rngm2.Scale = Vector3.new(2 + i*1, 2  + i*1 ,2 + i*0.3)
2794
		rng2.Transparency = i/30
2795
		rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0)
2796
		swait()
2797
	end
2798
	wait()
2799
	rng2:Destroy()
2800
end)
2801
end
2802
	end
2803
	end)
2804
2805
for i = 0,0.8,0.01 do
2806
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.25) * c_angles(math.rad(20) - math.sin(sine/7.5)/15, math.rad(30) + math.sin(sine/7.5)/15,math.rad(5) + math.sin(sine/7.5)/15), 0.15)
2807
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(90) + math.sin(sine/7.5)/15, math.rad(60),math.rad(-20)), 0.15)
2808
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(30) + math.sin(sine/15)/5, math.rad(0),math.rad(-5) - math.sin(sine/7.5)/25), 0.15)
2809
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(15) + math.sin(sine/15)/5, math.rad(0) ,math.rad(5) + math.sin(sine/7.5)/25), 0.15)
2810
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/15)/5, -0.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(0) - math.sin(sine/15)/15 , math.rad(0), math.rad(0)), 0.15)
2811
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(-10) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/15)/30, math.rad(0) + math.sin(sine/15)/30), 0.15)
2812
swait()
2813
end
2814
S = Instance.new("Sound")
2815
S.Parent = Character.Torso
2816
S.SoundId = "rbxassetid://2064874783"
2817
S.Volume = 10
2818
S.Looped = false
2819
S.Pitch = 1
2820
S:Play()
2821
attack2 = false
2822
target = nil
2823
Animations = false
2824
attack = false
2825
end
2826
2827
function FallingMoon() -- Are you sure you wanna do this?
2828
attack = true
2829
Animations = true
2830
Ocarina.Transparency = 1
2831
-- This is it, life on this planet ends here --
2832
local Moon = Instance.new("Part",game.Workspace)
2833
Moon.Name = "You're Dead"
2834
Moon.Shape = Enum.PartType.Ball
2835
Moon.CanCollide = true
2836
Moon.Anchored = true
2837
Moon.Color = Color3.new(0,0,0)
2838
Moon.Material = "SmoothPlastic"
2839
Moon.Size = Vector3.new(1000, 1000, 1000)
2840
Moon.TopSurface = Enum.SurfaceType.Smooth
2841
Moon.BottomSurface = Enum.SurfaceType.Smooth
2842
Moon.CFrame = rootPart.CFrame * CFrame.new(0,10000,0)
2843
Moon.CFrame = Moon.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0)
2844
MoonMesh = Instance.new("FileMesh",Moon)
2845
MoonMesh.MeshId = "http://www.roblox.com/asset/?id=1432303611"
2846
MoonMesh.TextureId = "http://www.roblox.com/asset/?id=1432303667"
2847
MoonMesh.Scale = Vector3.new(15,15,15)
2848
2849
2850
game.Lighting.Brightness = 0
2851
game.Lighting.TimeOfDay = 0
2852
game.Lighting.OutdoorAmbient = Color3.fromRGB(127,50,50)
2853
ski = Instance.new("Sky",game.Lighting)
2854
ski.MoonAngularSize = 0
2855
ski.StarCount = 0
2856
2857
2858
2859
2860
Theme:Destroy()
2861
S = Instance.new("Sound")
2862
S.Parent = Character
2863
S.SoundId = "rbxassetid://160745944"
2864
S.Volume = 10
2865
S.Looped = false
2866
S.Pitch = 0.7
2867
S:Play()
2868
2869
2870
S = Instance.new("Sound")
2871
S.Parent = Character
2872
S.SoundId = "rbxassetid://306183328"
2873
S.Volume = 10
2874
S.Looped = true
2875
S.Pitch = 1
2876
S:Play()
2877
2878
coroutine.wrap(function()
2879
while true do
2880
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.5, 0.25, 0) * c_angles(math.rad(0) - math.sin(sine/7.5)/15, math.rad(0) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15), 0.15)
2881
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.5, 0.25, 0) * c_angles(math.rad(0) + math.sin(sine/7.5)/15, math.rad(0) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15), 0.15)
2882
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0) + math.sin(sine/15)/5, math.rad(0) + math.sin(sine/7.5)/15,math.rad(0) - math.sin(sine/7.5)/25), 0.15)
2883
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0) - math.sin(sine/15)/5, math.rad(0) - math.sin(sine/7.5)/15,math.rad(0) - math.sin(sine/7.5)/25), 0.15)
2884
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0 - math.sin(sine/15)/1.5, -0.5 - math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(0) - math.sin(sine/15)/15 , math.rad(0), math.rad(0) + math.sin(sine/15)/10), 0.15)
2885
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0 + math.sin(sine/15)/6, 1.5 - math.sin(sine/7.5)/15, -0.1) * c_angles(math.rad(0) + math.sin(sine/15)/15,math.rad(0), math.rad(0) - math.sin(sine/15)/10), 0.15)
2886
Humanoid.MaxHealth = 1e100
2887
Humanoid.Health = 1e100
2888
swait()
2889
end
2890
end)()
2891
coroutine.wrap(function()
2892
while true do
2893
Moon.CFrame = Moon.CFrame * CFrame.new(0,1,0)
2894
swait()
2895
end
2896
end)()
2897
2898
Moon.Touched:connect(function(hit)
2899
if(not Character:IsAncestorOf(hit)) then
2900
for i, v in pairs(FindNearestTorso(Moon.CFrame.p, 99999999999999999999999)) do
2901
	if v:FindFirstChild('Humanoid') then
2902
		v:FindFirstChild("Humanoid").Health = 0
2903
	end
2904
end
2905
end
2906
end)
2907
2908
end
2909
2910
function MagicTrap()
2911
attack = true
2912
attack2 = true
2913
Animations = true
2914
2915
lafz = math.random(1,2)
2916
S = Instance.new("Sound")
2917
S.Parent = Character.Torso
2918
if lafz == 1 then
2919
S.SoundId = "rbxassetid://2065249482"
2920
elseif lafz == 2 then
2921
S.SoundId = "rbxassetid://2065252593"
2922
end
2923
S.Volume = 10
2924
S.Looped = false
2925
S.Pitch = 1
2926
S:Play()
2927
S = Instance.new("Sound")
2928
S.Parent = Character.Torso
2929
S.SoundId = "rbxassetid://21338895"
2930
S.Volume = 4
2931
S.Looped = false
2932
S.Pitch = 0.8
2933
S:Play()
2934
2935
CircleMagic = Instance.new("Part",Character)
2936
CircleMagic.Transparency=1
2937
CircleMagic.Size=Vector3.new(30,0,30)
2938
CircleMagic.Anchored=true
2939
CircleMagic.CanCollide=false
2940
CircleMagic.CFrame = rootPart.CFrame * CFrame.new(0,-3,-15)
2941
CMT=Instance.new('Decal',CircleMagic)
2942
CMT.Face='Top'
2943
CMT.Texture='http://www.roblox.com/asset/?id=1193737071'
2944
CMT.Transparency=1
2945
2946
for i = 0,1.5,0.01 do
2947
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(0.8, 0.5, -0.65) * c_angles(math.rad(50) + math.sin(sine/15)/35,math.rad(-5) - math.sin(sine/15)/35,math.rad(-76) + math.sin(sine/15)/15), 0.15)
2948
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-0.8, 0.5, -0.65) * c_angles(math.rad(45) + math.sin(sine/15)/25,math.rad(-10) + math.sin(sine/15)/45,math.rad(76) + math.sin(sine/15)/15), 0.15)
2949
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(20),math.rad(0),math.rad(5) - math.sin(sine/15)/30), 0.15)
2950
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15,math.rad(-30) - math.sin(sine/15)/30), 0.15)
2951
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(2 + math.sin(sine/7.5)/15, 0.5 + math.sin(sine/15)/5, 0) * c_angles(math.rad(50), math.rad(0),math.rad(60) + math.sin(sine/7.5)/30), 0.15)
2952
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5, -1) * c_angles(math.rad(-60),math.rad(45) , math.rad(-20) + math.sin(sine/2)/2), 0.15)
2953
MaskWeld.C1 = MaskWeld.C1 * CFrame.fromEulerAnglesXYZ(0,0,math.rad(0) - math.sin(sine/2)/25)
2954
CircleMagic.CFrame = CircleMagic.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(15),0)
2955
swait()
2956
CMT.Transparency = CMT.Transparency - 0.006
2957
end
2958
MaskWeld.C1 = CFrame.new(0,-0.7,-0.25)*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(0))
2959
2960
for i, v in pairs(FindNearestTorso(CircleMagic.CFrame.p, 20)) do
2961
	if v:FindFirstChild('Humanoid') then
2962
		local bodpos = Instance.new("BodyPosition",v:FindFirstChild("HumanoidRootPart"))
2963
		bodpos.D = 175
2964
		bodpos.P = 20000
2965
		bodpos.MaxForce = Vector3.new(4000,40000,4000)
2966
		bodpos.Position = CircleMagic.Position + Vector3.new(0,4,0)
2967
		target = v
2968
		coroutine.wrap(function()
2969
		for i = 0,2.5,0.01 do
2970
		v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(5,30)/100
2971
		swait()
2972
		end
2973
		bodpos:Destroy()
2974
		end)()
2975
	end
2976
end
2977
2978
Spawn(function()
2979
wait(1.5)
2980
for i = 1,9 do
2981
CMT.Transparency = CMT.Transparency + 0.1
2982
swait()
2983
end
2984
CircleMagic:Destroy()
2985
end)
2986
for i = 0,0.5,0.01 do
2987
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(0.8, 0.5, -0.65) * c_angles(math.rad(50) + math.sin(sine/15)/35,math.rad(-5) - math.sin(sine/15)/35,math.rad(-76) + math.sin(sine/15)/15), 0.15)
2988
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-0.8, 0.5, -0.65) * c_angles(math.rad(45) + math.sin(sine/15)/25,math.rad(-10) + math.sin(sine/15)/45,math.rad(76) + math.sin(sine/15)/15), 0.15)
2989
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(20),math.rad(0),math.rad(5) - math.sin(sine/15)/30), 0.15)
2990
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15,math.rad(-30) - math.sin(sine/15)/30), 0.15)
2991
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(2 + math.sin(sine/7.5)/15, 0.5 + math.sin(sine/15)/5, 0) * c_angles(math.rad(50), math.rad(0),math.rad(60) + math.sin(sine/7.5)/30), 0.15)
2992
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5, -1) * c_angles(math.rad(-60),math.rad(45), math.rad(-20)), 0.15)
2993
CircleMagic.CFrame = CircleMagic.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(15),0)
2994
swait()
2995
end
2996
S = Instance.new("Sound")
2997
S.Parent = Character.Torso
2998
S.SoundId = "rbxassetid://323678263"
2999
S.Volume = 9.5
3000
S.Looped = false
3001
S.Pitch = 1
3002
S:Play()
3003
for i = 0,0.5,0.01 do
3004
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.1, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(60),math.rad(0),math.rad(-60)), 0.15)
3005
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.1, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(80),math.rad(0),math.rad(60)), 0.15)
3006
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -0.5 - math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(-20),math.rad(0),math.rad(-5)), 0.15)
3007
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -0.5 - math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(-20),math.rad(0),math.rad(5)), 0.15)
3008
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0, 0 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(5)), 0.15)
3009
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5 + math.sin(sine/7.5)/15, -0.8) * c_angles(math.rad(-80),math.rad(0), math.rad(0)), 0.15)
3010
CircleMagic.CFrame = CircleMagic.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(5),0)
3011
swait()
3012
end
3013
for i, v in pairs(FindNearestTorso(CircleMagic.CFrame.p, 25)) do
3014
	if v:FindFirstChild('Humanoid') then
3015
		v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(30,40)
3016
	end
3017
end
3018
local rng2 = Instance.new("Part",Effects)
3019
rng2.Anchored = true
3020
rng2.BrickColor = BrickColor.new("Dark indigo")
3021
rng2.CanCollide = false
3022
rng2.FormFactor = 3
3023
rng2.Name = "Shockwave"
3024
rng2.Material = "Neon"
3025
rng2.Size = Vector3.new(1, 1, 1)
3026
rng2.Transparency = 0.35
3027
rng2.TopSurface = 0
3028
rng2.BottomSurface = 0
3029
rng2.CFrame = CircleMagic.CFrame
3030
local rngm2 = Instance.new("SpecialMesh", rng2)
3031
rngm2.Scale = Vector3.new(1, 0, 1)
3032
rngm2.Offset = Vector3.new(0,0,0)
3033
rngm2.MeshType = "Sphere"
3034
Spawn(function()
3035
	for i = 1, 60, 2 do
3036
		rngm2.Scale = Vector3.new(13 + i*0.3, 13  + i*0.3 ,13 + i*0.3)
3037
		rng2.Transparency = i/60
3038
		swait()
3039
	end
3040
	wait()
3041
	rng2:Destroy()
3042
end)
3043
for i = 1,6 do
3044
local rng2 = Instance.new("Part",Character)
3045
rng2.Anchored = true
3046
rng2.BrickColor = BrickColor.new("Dark indigo")
3047
rng2.CanCollide = false
3048
rng2.FormFactor = 3
3049
rng2.Name = "Shockwave"
3050
rng2.Size = Vector3.new(1, 1, 1)
3051
rng2.Transparency = 0.35
3052
rng2.TopSurface = 0
3053
rng2.BottomSurface = 0
3054
rng2.CFrame = CircleMagic.CFrame * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
3055
local rngm2 = Instance.new("SpecialMesh", rng2)
3056
rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
3057
rngm2.Scale = Vector3.new(0, 0, 0)
3058
rngm2.Offset = Vector3.new(0,0,-0.5)
3059
Spawn(function()
3060
	for i = 1, 60, 2 do
3061
		rngm2.Scale = Vector3.new(50 + i*1, 50  + i*1 ,2 + i*0.3)
3062
		rng2.Transparency = i/30
3063
		rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0)
3064
		swait()
3065
	end
3066
	wait()
3067
	rng2:Destroy()
3068
end)
3069
3070
local rng2 = Instance.new("Part",Character)
3071
rng2.Anchored = true
3072
rng2.BrickColor = BrickColor.new("Really black")
3073
rng2.CanCollide = false
3074
rng2.FormFactor = 3
3075
rng2.Name = "Shockwave"
3076
rng2.Size = Vector3.new(1, 1, 1)
3077
rng2.Transparency = 0.35
3078
rng2.TopSurface = 0
3079
rng2.BottomSurface = 0
3080
rng2.CFrame = CircleMagic.CFrame * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
3081
local rngm2 = Instance.new("SpecialMesh", rng2)
3082
rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
3083
rngm2.Scale = Vector3.new(0, 0, 0)
3084
rngm2.Offset = Vector3.new(0,0,-0.5)
3085
Spawn(function()
3086
	for i = 1, 60, 2 do
3087
		rngm2.Scale = Vector3.new(50 + i*1, 50  + i*1 ,2 + i*0.3)
3088
		rng2.Transparency = i/30
3089
		rng2.CFrame = rng2.CFrame - Vector3.new(0,0.2,0)
3090
		swait()
3091
	end
3092
	wait()
3093
	rng2:Destroy()
3094
end)
3095
end
3096
for i = 0,0.5,0.01 do
3097
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15,math.rad(60) - math.sin(sine/7.5)/15), 0.15)
3098
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.5, 0.5 + math.sin(sine/7.5)/15, -0.5) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0) - math.sin(sine/7.5)/15,math.rad(-60) + math.sin(sine/7.5)/15), 0.15)
3099
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(20),math.rad(0),math.rad(-20)), 0.15)
3100
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/15, 0) * c_angles(math.rad(20),math.rad(0),math.rad(20)), 0.15)
3101
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0, -0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(20), math.rad(0),math.rad(0)), 0.15)
3102
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5 + math.sin(sine/7.5)/15, -0.25) * c_angles(math.rad(30),math.rad(0), math.rad(0)), 0.15)
3103
swait()
3104
end
3105
3106
target = nil
3107
Animations = false
3108
attack2 = false
3109
attack = false
3110
end
3111
3112
-- Moves --
3113
mouse.KeyDown:Connect(function(key)
3114
key = key:lower()
3115-
if key == "r" and attack == false then
3115+
3116
Laugh()
3117
end
3118
if key == "b" and attack == false then
3119
MagicTrap()
3120
end
3121
if key == "c" and attack == false then
3122
Laser()
3123
end
3124
if key == "z" and attack == false then
3125
ShadowBomb()
3126
3127
end
3128
if key == "x" and attack == false then
3129
MajorasWrath()
3130
end
3131
if key == "v" and attack == false then
3132
FallingMoon()
3133
end
3134
if key == "n" and attack == false then
3135-
if key == "m" and attack == false then
3135+
3136
end
3137
end)
3138
3139
3140
attk = 1
3141-
Tornado()
3141+
3142
if attack == false then
3143
if attk == 1 then
3144
Attackone()
3145-
if key == ";" and attack == false then
3145+
3146
elseif attk == 2 then
3147
Attacktwo()
3148
attk = attk + 1
3149
elseif attk == 3 then
3150
Attackthree()
3151
attk = attk + 1
3152
elseif attk == 4 then
3153
Attackfour()
3154
attk = attk + 1
3155
elseif attk == 5 then
3156
Attackfive()
3157
attk = attk + 1
3158
elseif attk == 6 then
3159
Attacksix()
3160
attk = attk + 1
3161
elseif attk == 7 then
3162
Attackseven()
3163
attk = 1
3164
end
3165
end
3166
end)
3167
3168
-- End Of Moves --
3169
3170
3171
function rayCast(Pos, Dir, Max, Ignore) -- Origin Position, Direction, MaxDistance, IgnoreDescendants
3172
	return game:GetService("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) 
3173
end
3174
3175
function QuaternionFromCFrame(cf) 
3176
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() 
3177
	local trace = m00 + m11 + m22 
3178
	if trace > 0 then 
3179
		local s = math.sqrt(1 + trace) 
3180
		local recip = 0.5/s 
3181
		return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 
3182
	else 
3183
		local i = 0 
3184
		if m11 > m00 then
3185
			i = 1
3186
		end
3187
		if m22 > (i == 0 and m00 or m11) then 
3188
			i = 2 
3189
		end 
3190
		if i == 0 then 
3191
			local s = math.sqrt(m00-m11-m22+1) 
3192
			local recip = 0.5/s 
3193
			return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip 
3194
		elseif i == 1 then 
3195
			local s = math.sqrt(m11-m22-m00+1) 
3196
			local recip = 0.5/s 
3197
			return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip 
3198
		elseif i == 2 then 
3199
			local s = math.sqrt(m22-m00-m11+1) 
3200
			local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip 
3201
		end 
3202
	end 
3203
end
3204
 
3205
function QuaternionToCFrame(px, py, pz, x, y, z, w) 
3206
	local xs, ys, zs = x + x, y + y, z + z 
3207
	local wx, wy, wz = w*xs, w*ys, w*zs 
3208
	local xx = x*xs 
3209
	local xy = x*ys 
3210
	local xz = x*zs 
3211
	local yy = y*ys 
3212
	local yz = y*zs 
3213
	local zz = z*zs 
3214
	return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) 
3215
end
3216
 
3217
function QuaternionSlerp(a, b, t) 
3218
	local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] 
3219
	local startInterp, finishInterp; 
3220
	if cosTheta >= 0.0001 then 
3221
		if (1 - cosTheta) > 0.0001 then 
3222
			local theta = math.acos(cosTheta) 
3223
			local invSinTheta = 1/math.sin(theta) 
3224
			startInterp = math.sin((1-t)*theta)*invSinTheta 
3225
			finishInterp = math.sin(t*theta)*invSinTheta  
3226
		else 
3227
			startInterp = 1-t 
3228
			finishInterp = t 
3229
		end 
3230
	else 
3231
		if (1+cosTheta) > 0.0001 then 
3232
			local theta = math.acos(-cosTheta) 
3233
			local invSinTheta = 1/math.sin(theta) 
3234
			startInterp = math.sin((t-1)*theta)*invSinTheta 
3235
			finishInterp = math.sin(t*theta)*invSinTheta 
3236
		else 
3237
			startInterp = t-1 
3238
			finishInterp = t 
3239
		end 
3240
	end 
3241
	return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp 
3242
end
3243
3244
function clerp(a, b, t) 
3245
	local qa = {QuaternionFromCFrame(a)}
3246
	local qb = {QuaternionFromCFrame(b)} 
3247
	local ax, ay, az = a.x, a.y, a.z 
3248
	local bx, by, bz = b.x, b.y, b.z
3249
	local _t = 1-t
3250
	return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) 
3251
end
3252
3253
swait()
3254
LA_Weld = newWeld(Torso, Left_Arm, -1.5, 0.5, 0)
3255
Left_Arm.Weld.C1 = CFrame.new(0, 0.5, 0)
3256
RA_Weld = newWeld(Torso, Right_Arm, 1.5, 0.5, 0)
3257
Right_Arm.Weld.C1 = CFrame.new(0, 0.5, 0)
3258
LL_Weld = newWeld(Torso, Left_Leg, -0.5, -1, 0)
3259
Left_Leg.Weld.C1 = CFrame.new(0, 1, 0) -- Left_Leg.Weld.C1 = CFrame.new(0, 1, 0.15)
3260
RL_Weld = newWeld(Torso, Right_Leg, 0.5, -1, 0)
3261
Right_Leg.Weld.C1 = CFrame.new(0, 1, 0) -- Right_Leg.Weld.C1 = CFrame.new(0, 1, 0.15)
3262
Torso_Weld = newWeld(rootPart, Torso, 0, -1, 0)
3263
Torso.Weld.C1 = CFrame.new(0, -1, 0)
3264
Head_Weld = newWeld(Torso, Head, 0, 1.5, 0)
3265
3266
local punches={
3267
	a=false,
3268
	b=false,
3269
	c=false
3270
}
3271
3272
UIService.InputBegan:connect(function(Input,GUIProcessed)
3273
	if not GUIProcessed and Input.UserInputType==Enum.UserInputType.MouseButton1 then
3274
		if punches.a==false then
3275
			punches.a=true wait(.4) punches.a=false
3276
		else
3277
			punches.a=true
3278
			print('a ',punches.a)
3279
			if punches.b==false then
3280
				punches.b=true wait(.4) punches.b=false
3281
			else
3282
				punches.b=true
3283
				print('b ',punches.b)
3284
				if punches.c==false then
3285
					punches.c=true wait(.4) punches.c=false
3286
				else
3287
					punches.c=true
3288
					print('c ',punches.c)
3289
					print('a ',punches.a,'b ',punches.b,'c ',punches.c)
3290
				end
3291
			end
3292
		end
3293
	elseif not GUIProcessed and Input.KeyCode==Enum.KeyCode.LeftShift then
3294
		sprint=true
3295
	end
3296
end)
3297
3298
UIService.InputEnded:connect(function(Input,GUIProcessed)
3299
	if not GUIProcessed and Input.KeyCode==Enum.KeyCode.LeftShift then
3300
		sprint=false
3301
	end
3302
end)
3303
3304
coroutine.wrap(function()
3305
while true do
3306
if fattack == false then
3307
Tael2.C1 = CFrame.new(2,-3 - math.sin(sine/7.5)/20,-1)
3308
Tatl2.C1 = CFrame.new(-2,-3 + math.sin(sine/7.5)/12,-1)
3309
swait()
3310
else
3311
swait()
3312
end
3313
end
3314
end)()
3315
3316
coroutine.wrap(function()
3317
while true do
3318
if sprint == false then
3319
if attack2 == false then
3320
Humanoid.WalkSpeed = 8
3321
Humanoid.JumpPower = 50
3322
elseif attack2 == true then
3323
Humanoid.WalkSpeed = 0
3324
Humanoid.JumpPower = 0
3325
end
3326
elseif sprint == true then
3327
if attack2 == false then
3328
Humanoid.WalkSpeed = 25
3329
Humanoid.JumpPower = 100
3330
elseif attack2 == true then
3331
Humanoid.WalkSpeed = 0
3332
Humanoid.JumpPower = 0
3333
end
3334
end
3335
wait()
3336
end
3337
end)()
3338
3339
idly = 0
3340
idle = idly
3341
3342
coroutine.wrap(function()
3343
while true do 
3344
if currentAnim == "Idling" and attack == false and attack2 == false then
3345
idle=idle+1
3346
swait()
3347
else
3348
idle=idly
3349
swait()
3350
end
3351
end
3352
end)()
3353
3354
3355
mouse.KeyDown:connect(function(key)
3356
if key == "q" and attack == false then
3357
idle = 2500
3358
end end)
3359
3360
--[[ Base Animation
3361
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15)
3362
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15)
3363
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15)
3364
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15)
3365
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15)
3366
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0),math.rad(0), math.rad(0)), 0.15)
3367
]]--
3368
3369
--[[ Idle Anim
3370
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.25) * c_angles(math.rad(20) - math.sin(sine/7.5)/15, math.rad(30) + math.sin(sine/7.5)/15,math.rad(5) + math.sin(sine/7.5)/15), 0.15)
3371
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(90) + math.sin(sine/7.5)/15, math.rad(60),math.rad(-20)), 0.15)
3372
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(30) + math.sin(sine/15)/5, math.rad(0),math.rad(-5) - math.sin(sine/7.5)/25), 0.15)
3373
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(15) + math.sin(sine/15)/5, math.rad(0) ,math.rad(5) + math.sin(sine/7.5)/25), 0.15)
3374
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/15)/5, -0.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(0) - math.sin(sine/15)/15 , math.rad(0), math.rad(0)), 0.15)
3375
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(-10) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/15)/30, math.rad(0) + math.sin(sine/15)/30), 0.15)
3376
--]]
3377
warn("Loaded")
3378
warn("Skull Kid script Made by Zalgo_exe")
3379
game:GetService("RunService").Stepped:connect(function()
3380
	Angle = (Angle % 100) + angleSpeed/10
3381
	Axis = (Axis % 100) + axisSpeed/10
3382
	walkingMagnitude = Vector3.new(rootPart.Velocity.X, 0, rootPart.Velocity.Z).magnitude
3383
	jumpVel = Torso.Velocity.Y
3384
	sine = change + sine
3385
3386
	if(Humanoid.Jump) and jumpVel > 1 then
3387
		currentAnim = "Jumping"
3388
	elseif walkingMagnitude < 2 then
3389
		currentAnim = "Idling"
3390
	elseif isSprinting == true then
3391
		currentAnim = "Sprinting"
3392
	elseif walkingMagnitude > 2 then
3393-
game:GetService("RunService").RenderStepped:connect(function()
3393+
3394
	elseif isAttacking == true then
3395
		currentAnim = "Attacking"
3396
	end
3397
3398
	if currentAnim == "Jumping" and Animations == false then
3399
		angleSpeed = 2
3400
		axisSpeed = 2
3401
		RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
3402
		LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
3403
		LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
3404
		RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
3405
		Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
3406
		Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)	
3407
	elseif currentAnim == "Idling" and Animations == false then
3408
	if idle >= 0 and idle < 2000 then
3409
		angleSpeed = 1
3410
		axisSpeed = 1
3411
RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.25) * c_angles(math.rad(20) - math.sin(sine/7.5)/15, math.rad(30) + math.sin(sine/7.5)/15,math.rad(5) + math.sin(sine/7.5)/15), 0.15)
3412
LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(90) + math.sin(sine/7.5)/15, math.rad(60),math.rad(-20)), 0.15)
3413
LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(30) + math.sin(sine/15)/5, math.rad(0),math.rad(-5) - math.sin(sine/7.5)/25), 0.15)
3414
RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(15) + math.sin(sine/15)/5, math.rad(0) ,math.rad(5) + math.sin(sine/7.5)/25), 0.15)
3415
Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/15)/5, -0.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(0) - math.sin(sine/15)/15 , math.rad(0), math.rad(0)), 0.15)
3416
Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(-10) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/15)/30, math.rad(0) + math.sin(sine/15)/30), 0.15)
3417
	elseif idle >= 2000 then
3418
		RA_Weld.C0		= clerp(RA_Weld.C0, c_new(0.8, 0.5, -0.65) * c_angles(math.rad(50) + math.sin(sine/15)/35,math.rad(-5) - math.sin(sine/15)/35,math.rad(-76) + math.sin(sine/15)/15), 0.15)
3419
		LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-0.8, 0.5, -0.65) * c_angles(math.rad(45) + math.sin(sine/15)/25,math.rad(-10) + math.sin(sine/15)/45,math.rad(76) + math.sin(sine/15)/15), 0.15)
3420
		LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(20),math.rad(0),math.rad(5) - math.sin(sine/15)/30), 0.15)
3421
		RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/7.5)/15,math.rad(-30) - math.sin(sine/15)/30), 0.15)
3422
		Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(2 + math.sin(sine/7.5)/15, 0.5 + math.sin(sine/15)/5, 0) * c_angles(math.rad(50), math.rad(0),math.rad(60) + math.sin(sine/7.5)/30), 0.15)
3423
		Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5, -1) * c_angles(math.rad(-60),math.rad(45), math.rad(-20)), 0.15)
3424
	end
3425
	elseif currentAnim == "Walking" and Animations == false then
3426
		if sprint==false then
3427
			angleSpeed = 1
3428
			axisSpeed = 1
3429
			Humanoid.WalkSpeed = 30
3430
			RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.25) * c_angles(math.rad(-20) - math.sin(sine/7.5)/15, math.rad(30) + math.sin(sine/7.5)/15,math.rad(5) + math.sin(sine/7.5)/15), 0.15)
3431
			LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(100) + math.sin(sine/7.5)/15, math.rad(60),math.rad(-20)), 0.15)
3432
			LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -0.7, -0.3) * c_angles(math.rad(-10) + math.sin(sine/15)/5, math.sin((rootPart.RotVelocity.Y/10))/2,math.rad(-5) - math.sin(sine/7.5)/25), 0.15)
3433
			RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-20) + math.sin(sine/15)/5, -math.sin((rootPart.RotVelocity.Y/10))/2,math.rad(5) + math.sin(sine/7.5)/25), 0.15)
3434
			Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/15)/5, -0.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-30) - math.sin(sine/15)/15, math.rad(0), math.sin((rootPart.RotVelocity.Y/30))/2), 0.15)
3435
			Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(30) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/15)/30, math.rad(0) + math.sin(sine/15)/30), 0.15)
3436
		else
3437
			angleSpeed = 1
3438
			axisSpeed = 1
3439
			Humanoid.WalkSpeed = 45
3440
			RA_Weld.C0		= clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.25) * c_angles(math.rad(-30) - math.sin(sine/7.5)/15, math.rad(30) + math.sin(sine/7.5)/15,math.rad(5) + math.sin(sine/7.5)/15), 0.15)
3441
			LA_Weld.C0		= clerp(LA_Weld.C0, c_new(-1.25, 0.25, 0) * c_angles(math.rad(90) + math.sin(sine/7.5)/15, math.rad(60),math.rad(-20)), 0.15)
3442
			LL_Weld.C0		= clerp(LL_Weld.C0, c_new(-0.5, -0.7, -0.3) * c_angles(math.rad(-20) + math.sin(sine/15)/5, math.sin((rootPart.RotVelocity.Y/10))/2,math.rad(-5) - math.sin(sine/7.5)/25), 0.15)
3443
			RL_Weld.C0 		= clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-30) + math.sin(sine/15)/5, -math.sin((rootPart.RotVelocity.Y/10))/2,math.rad(5) + math.sin(sine/7.5)/25), 0.15)
3444
			Torso_Weld.C0 	= clerp(Torso_Weld.C0, c_new(0 + math.sin(sine/15)/5, -0.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(-40) - math.sin(sine/15)/15, math.rad(0), math.sin((rootPart.RotVelocity.Y/30))/2), 0.15)
3445
			Head_Weld.C0 	= clerp(Head_Weld.C0, c_new(0, 1.5, -0.1) * c_angles(math.rad(40) + math.sin(sine/7.5)/15,math.rad(0) + math.sin(sine/15)/30, math.rad(0) + math.sin(sine/15)/30), 0.15)
3446
		end
3447
	end
3448
end)
3449
if intro == true then
3450
Intro()
3451
else
3452
Ocarina.Transparency = 0
3453
Mask.Transparency = 0
3454
Theme.SoundId = "rbxassetid://302493616"
3455
Theme:Play()
3456
end