View difference between Paste ID: YN7Adx3P and 7XZWHcGs
SHOW: | | - or go back to the newest paste.
1-
--When'sWaifu
1+
--When's Waifu
2
local US = require(4003249972) -- https://web.roblox.com/library/4003249972/ScriptUtilities
3
mouse = US.MouseService:Get(owner.Name)
4
wait(0.2)
5-
local hoh = game:GetService"Players".LocalPlayer
5+
6
print("You Pervert!!!")
7
local hoh = owner
8
local char = hoh.Character
9
local Head = char.Head
10
	local LeftArm = char["Left Arm"]
11
	local RightArm = char["Right Arm"]
12-
mouse = hoh:GetMouse()
12+
13
	local RightLeg = char["Right Leg"]
14
local cam = game.Workspace.CurrentCamera
15
local RootPart = char.HumanoidRootPart
16
local RootJoint = RootPart.RootJoint
17
	local Anim = "Idle"
18
	local idle = 0
19
	local Effects = {}
20
	local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
21
vt = Vector3.new
22
local cf = CFrame.new
23
local mr = math.rad
24
local angles = CFrame.Angles
25
local ud = UDim2.new
26
local c3 = Color3.new
27
	local velocity = RootPart.Velocity.y
28
	local sine = 0
29
	local change = 1
30
	local grabbed = false
31
	local cn = CFrame.new
32
	local mr = math.rad
33
	local angles = CFrame.Angles
34
	local ud = UDim2.new
35
	local c3 = Color3.new
36
	local d = Instance.new('Model', char)
37
    d.Name = "KKK"
38
    attack = false
39
    nak = false
40
    disable = false
41
    attacktype = 1
42
    equipped = false
43
	char.Humanoid.Animator.Parent = nil
44
	char.Animate.Parent = nil
45
	local newMotor = function(part0, part1, c0, c1)
46
	local w = Instance.new("Motor", part0)
47
	w.Part0 = part0
48
	w.Part1 = part1
49
	w.C0 = c0
50
	w.C1 = c1
51
	return w
52
	end
53
		clerp = function(a, b, t)
54
	
55
	return a:lerp(b, t)
56
		end
57
		
58
		for i,v in pairs(char:children()) do
59
    if v:IsA("Hat") then
60
        v:Destroy()
61
    end
62
for i,v in pairs(char:children()) do
63
    if v:IsA("Accessory") then
64
        v:Destroy()
65
    end
66
for i,v in pairs(char:children()) do
67
    if v:IsA("ShirtGraphic") then
68
        v:Destroy()
69
    end
70
end
71
end
72
end
73
74
ypcall(function()
75
char.Torso.roblox:Remove()
76
char.Shirt:Destroy()
77
char.Pants:Destroy()
78
char.Head.face:Destroy()
79
shirt = Instance.new("Shirt", char)
80
shirt.Name = "Shirt"
81
Pants = Instance.new("Pants", char)
82
Pants.Name = "Pants"
83
face = Instance.new("Decal", char.Head)
84
face.Name = "face"
85
char.Shirt.ShirtTemplate = "rbxassetid://251988595"
86
char.Pants.PantsTemplate = "rbxassetid://324421595"
87
char.Head.face.Texture = "rbxassetid://648887959"
88
end)
89
function CreateSound(id, par, vol, pit) 
90
	coroutine.resume(coroutine.create(function()
91
		local sou = Instance.new("Sound", par or workspace)
92
		sou.Volume = vol
93
		sou.Pitch = pit or 1
94
		sou.SoundId = id
95
		wait() 
96
		sou:play() 
97
		game:GetService("Debris"):AddItem(sou, 6)
98
	end))
99
end
100
New = function(Object, Parent, Name, Data)
101
	local Object = Instance.new(Object)
102
	for Index, Value in pairs(Data or {}) do
103
		Object[Index] = Value
104
	end
105
	Object.Parent = Parent
106
	Object.Name = Name
107
	return Object
108
end
109
		
110
111
	local co1 = 5
112
	local co2 = 8
113
	local co3 = 10
114
	local co4 = 25
115
	local cooldown1 = 0
116
	local cooldown2 = 0
117
	local cooldown3 = 0
118
	local cooldown4 = 0
119
	local skillcolorscheme = BrickColor.new("Navy blue").Color
120
	local scrn = Instance.new("ScreenGui", hoh.PlayerGui)
121
	makeframe = function(par, trans, pos, size, color)
122
	
123
	local frame = Instance.new("Frame", par)
124
	frame.BackgroundTransparency = trans
125
	frame.BorderSizePixel = 0
126
	frame.Position = pos
127
	frame.Size = size
128
	frame.BackgroundColor3 = color
129
	return frame
130
end
131
132
	makelabel = function(par, text)
133
	
134
	local label = Instance.new("TextLabel", par)
135
	label.BackgroundTransparency = 1
136
	label.Size = UDim2.new(1, 0, 1, 0)
137
	label.Position = UDim2.new(0, 0, 0, 0)
138
	label.TextColor3 = Color3.new(255, 255, 0)
139
	label.TextStrokeTransparency = 0
140
	label.FontSize = Enum.FontSize.Size32
141
	label.Font = Enum.Font.SourceSansLight
142
	label.BorderSizePixel = 0
143
	label.TextScaled = true
144
	label.Text = text
145
end
146
147
	framesk1 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.85, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
148
	framesk2 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.74, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
149
	framesk3 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.63, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
150
	framesk4 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.52, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
151
	bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
152
	bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
153
	bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
154
	bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
155
	text1 = Instance.new("TextLabel", framesk1)
156
	text1.BackgroundTransparency = 1
157
	text1.Size = UDim2.new(1, 0, 1, 0)
158
	text1.Position = UDim2.new(0, 0, 0, 0)
159
	text1.TextColor3 = Color3.new(255, 255, 0)
160
	text1.TextStrokeTransparency = 0
161
	text1.FontSize = Enum.FontSize.Size18
162
	text1.Font = Enum.Font.SourceSansLight
163
	text1.BorderSizePixel = 0
164
	text1.TextScaled = true
165
	text1.Text = "[Z]\n honk"
166
	text2 = Instance.new("TextLabel", framesk2)
167
	text2.BackgroundTransparency = 1
168
	text2.Size = UDim2.new(1, 0, 1, 0)
169
	text2.Position = UDim2.new(0, 0, 0, 0)
170
	text2.TextColor3 = Color3.new(255, 255, 0)
171
	text2.TextStrokeTransparency = 0
172
	text2.FontSize = Enum.FontSize.Size18
173
	text2.Font = Enum.Font.SourceSansLight
174
	text2.BorderSizePixel = 0
175
	text2.TextScaled = true
176
	text2.Text = "[X]\n idk"
177
	text3 = Instance.new("TextLabel", framesk3)
178
	text3.BackgroundTransparency = 1
179
	text3.Size = UDim2.new(1, 0, 1, 0)
180
	text3.Position = UDim2.new(0, 0, 0, 0)
181
	text3.TextColor3 = Color3.new(255, 255, 0)
182
	text3.TextStrokeTransparency = 0
183
	text3.FontSize = Enum.FontSize.Size18
184
	text3.Font = Enum.Font.SourceSansLight
185
	text3.BorderSizePixel = 0
186
	text3.TextScaled = false
187
	text3.Text = "[C]\n aaaaa"
188
	text4 = Instance.new("TextLabel", framesk4)
189
	text4.BackgroundTransparency = 1
190
	text4.Size = UDim2.new(1, 0, 1, 0)
191
	text4.Position = UDim2.new(0, 0, 0, 0)
192
	text4.TextColor3 = Color3.new(255, 255, 0)
193
	text4.TextStrokeTransparency = 0
194
	text4.FontSize = Enum.FontSize.Size18
195
	text4.Font = Enum.Font.SourceSansLight
196
	text4.BorderSizePixel = 0
197
	text4.TextScaled = true
198
	text4.Text = "[V]\n kil me"
199
200
	ArtificialHB = Instance.new("BindableEvent", hoh.PlayerGui)
201
	ArtificialHB.Name = "Heartbeat"
202
	hoh.PlayerGui:WaitForChild("Heartbeat")
203
	frame = 0.033333333333333
204
	tf = 0
205
	allowframeloss = false
206
	tossremainder = false
207
	lastframe = tick()
208
	hoh.PlayerGui.Heartbeat:Fire()
209
	local gg = false
210
	game:GetService("RunService").Heartbeat:connect(function(s, p)
211
	
212
	if hoh.PlayerGui:FindFirstChild("Heartbeat") == nil then
213
		gg = true
214
	end
215
	if gg == true then
216
		return 
217
	end
218
	tf = tf + s
219
	if frame <= tf then
220
		if allowframeloss then
221
			hoh.PlayerGui.Heartbeat:Fire()
222
			lastframe = tick()
223
		else
224
			for i = 1, math.floor(tf / frame) do
225
				hoh.PlayerGui.Heartbeat:Fire()
226
			end
227
			lastframe = tick()
228
		end
229
		if tossremainder then
230
			tf = 0
231
		else
232
			tf = tf - frame * math.floor(tf / frame)
233
		end
234
	end
235
end
236
	)
237
		swait = function(num)
238
	
239
	if num == 0 or num == nil then
240
		ArtificialHB.Event:wait()
241
	else
242
		for i = 0, num do
243
			ArtificialHB.Event:wait()
244
		end
245
	end
246
end
247
		local RbxUtility = LoadLibrary("RbxUtility")
248
	local Create = RbxUtility.Create
249
	RemoveOutlines = function(part)
250
	
251
	part.TopSurface = 10
252
end
253
		CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
254
	
255
	local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
256
	RemoveOutlines(Part)
257
	return Part
258
end
259
260
	CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
261
	
262
	local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
263
	if Mesh == "SpecialMesh" then
264
		Msh.MeshType = MeshType
265
		Msh.MeshId = MeshId
266
	end
267
	return Msh
268
end
269
270
	CreateWeld = function(Parent, Part0, Part1, C0, C1)
271
	
272
	local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
273
	return Weld
274
end
275
276
	CFuncs = {
277
Part = {Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
278
	
279
	local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
280
	RemoveOutlines(Part)
281
	return Part
282
end
283
}
284
, 
285
Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
286
	
287
	local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
288
	if Mesh == "SpecialMesh" then
289
		Msh.MeshType = MeshType
290
		Msh.MeshId = MeshId
291
	end
292
	return Msh
293
end
294
}
295
, 
296
Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
297
	
298
	local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
299
	if Mesh == "SpecialMesh" then
300
		Msh.MeshType = MeshType
301
		Msh.MeshId = MeshId
302
	end
303
	return Msh
304
end
305
}
306
, 
307
Weld = {Create = function(Parent, Part0, Part1, C0, C1)
308
	
309
	local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
310
	return Weld
311
end
312
}
313
, 
314
Sound = {Create = function(id, par, vol, pit)
315
	
316
	coroutine.resume(coroutine.create(function()
317
		
318
		local S = Create("Sound")({Volume = vol, Pitch = pit or 1, SoundId = id, Parent = par or workspace})
319
		wait()
320
		S:play()
321
		game:GetService("Debris"):AddItem(S, 6)
322
	end
323
))
324
end
325
}
326
, 
327
ParticleEmitter = {Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
328
	
329
	local fp = Create("ParticleEmitter")({Parent = Parent, Color = ColorSequence.new(Color1, Color2), LightEmission = LightEmission, Size = Size, Texture = Texture, Transparency = Transparency, ZOffset = ZOffset, Acceleration = Accel, Drag = Drag, LockedToPart = LockedToPart, VelocityInheritance = VelocityInheritance, EmissionDirection = EmissionDirection, Enabled = Enabled, Lifetime = LifeTime, Rate = Rate, Rotation = Rotation, RotSpeed = RotSpeed, Speed = Speed, VelocitySpread = VelocitySpread})
330
	return fp
331
end
332
}
333
}
334
	
335
336
337
	rayCast = function(Position, Direction, Range, Ignore)
338
	
339
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
340
end
341
342
	local GetNearest = function(obj, distance)
343
	
344
	local last, lastx = distance + 1, nil
345
	for i,v in pairs(workspace:GetChildren()) do
346
		if v:IsA("Model") and v ~= char and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
347
			local t = v.Torso
348
			local dist = (t.Position - obj.Position).magnitude
349
			if dist <= distance and dist < last then
350
				last = dist
351
				lastx = v
352
			end
353
		end
354
	end
355
	return lastx
356
	end
357
358
359
--[[armweld = Instance.new("Weld", char.Torso)
360
armweld.C0 = CFrame.new(1.5, .5, 0)
361
armweld.C1 = CFrame.new(0, .5, 0)
362
armweld.Part0 = char.Torso
363
armweld.Part1 = char["Right Arm"]]
364
365
local Fhead = Instance.new("Part", char)
366
Fhead.Name = "a"
367
Fhead.Size = Vector3.new(2, 1, 1)
368
Fhead.Transparency = 1
369
Fhead.CanCollide = false
370
M = Instance.new("SpecialMesh", Fhead)
371
M.Scale = Vector3.new(1.26,1.26,1.26)
372
Das = Instance.new("Decal", Fhead)
373
Das.Texture = "rbxassetid://660774132"
374
Das.Transparency = 1
375
376
377
		local har1 = Instance.new("Part", char.Head)
378
		har1.BrickColor = BrickColor.new("Brown")
379
		har1.Name = "Hair" 
380
		har1.formFactor = 0
381
		har1.Size = Vector3.new(0,-0.25,0) 
382
		har1.BottomSurface = 0 
383
		har1.TopSurface = 0 
384
		har1.CanCollide = false
385
		Mesh = Instance.new("SpecialMesh",har1)
386
        Mesh.MeshId = "http://www.roblox.com/asset/?id=13070796"
387
        Mesh.TextureId = "http://www.roblox.com/asset/?id=13694600"
388
        Mesh.Scale=Vector3.new(1.01, .99, 1.01)
389
        local bWeld = Instance.new("Weld", char.Head)
390
        bWeld.Part0 = char.Head
391
        bWeld.Part1 = har1
392
        bWeld.C1 = CFrame.new(0,.4,0)
393
394
395
local main = Instance.new("Part", char.Torso)
396
main.Size = Vector3.new(.1, .1, .1)
397
main.BrickColor = BrickColor.new("White")
398
main.TopSurface = "SmoothNoOutlines"
399
main.Name = "asd"
400
main.Transparency = 1
401
main.CanCollide = false
402
403
	local Handle = Instance.new("Part",d)
404
    Handle.Size = Vector3.new(0.3, 1.8, 3)
405
    Handle.Name = "Pan"
406
    Handle:BreakJoints()
407
    Handle.Anchored = false
408
    Handle.Transparency = 1
409
    Handle.CanCollide = false
410
    Handle.Shape = "Block"
411
    Handle.TopSurface = "SmoothNoOutlines"
412
    Handle.BottomSurface = "SmoothNoOutlines"
413
    ddd = Instance.new("SpecialMesh",Handle)
414
    ddd.Scale=Vector3.new(2, 2, 2)
415
    ddd.MeshId = "http://www.roblox.com/asset/?id=11820238"
416
    ddd.TextureId = "http://www.roblox.com/asset/?id=11820143"
417
	local Hitbox = Instance.new("Part",d)
418
    Hitbox.Size = Vector3.new(0.3, 1.8, 3)
419
    Hitbox.Name = "Hitbox"
420
    Hitbox:BreakJoints()
421
    Hitbox.Anchored = false
422
    Hitbox.Transparency = 1
423
    Hitbox.CanCollide = false
424
    Hitbox.Shape = "Block"
425
    Hitbox.TopSurface = "SmoothNoOutlines"
426
    Hitbox.BottomSurface = "SmoothNoOutlines"
427
    ddd = Instance.new("SpecialMesh",Handle)
428
    ddd.Scale=Vector3.new(2, 2, 2)
429
    ddd.MeshId = "http://www.roblox.com/asset/?id=11820238"
430
    ddd.TextureId = "http://www.roblox.com/asset/?id=11820143"
431
	local FakeHandle = Instance.new("Part",d)
432
    FakeHandle.Size = Vector3.new(0.3, 1.9, 3)
433
    FakeHandle.Name = "FakeHandle"
434
    FakeHandle:BreakJoints()
435
    FakeHandle.Anchored = false
436
    FakeHandle.Transparency = 1
437
    FakeHandle.CanCollide = false
438
    FakeHandle.Shape = "Block"
439
    FakeHandle.TopSurface = "SmoothNoOutlines"
440
    FakeHandle.BottomSurface = "SmoothNoOutlines"
441
    ddd = Instance.new("SpecialMesh",FakeHandle)
442
    ddd.Scale=Vector3.new(2, 2, 2)
443
    ddd.MeshId = "http://www.roblox.com/asset/?id=11820238"
444
    ddd.TextureId = "http://www.roblox.com/asset/?id=11820143"
445
446
447
448
local aWeld = Instance.new("Weld", char.Head)
449
aWeld.Part0 = char.Head
450
aWeld.Part1 = Fhead
451
local aWeld = Instance.new("Weld", char.Torso)
452
aWeld.Part0 = char.Torso
453
aWeld.C1 = CFrame.new(0,1.2,.5)
454
local aWeld = Instance.new("Weld", char.Torso)
455
aWeld.Part0 = char.Torso
456
aWeld.Part1 = A1
457
aWeld.C1 = CFrame.new(.5,-.5,.5)
458
local aWeld = Instance.new("Weld", char.Torso)
459
aWeld.Part0 = char.Torso
460
aWeld.Part1 = A2
461
aWeld.C1 = CFrame.new(-.5,-.5,.5)
462
local aWeld = Instance.new("Weld", char.Torso)
463
aWeld.Part0 = char.Torso
464
aWeld.Part1 = A3
465
aWeld.C1 = CFrame.new(0,-1,.5)
466
local aWeld = Instance.new("Weld", char.Torso)
467
aWeld.Part0 = char.Torso
468
aWeld.Part1 = A4
469
aWeld.C1 = CFrame.new(.6,-1,0)
470
local aWeld = Instance.new("Weld", char.Torso)
471
aWeld.Part0 = char.Torso
472
aWeld.Part1 = A5
473
aWeld.C1 = CFrame.new(-.6,-1,0)
474
local aWeld = Instance.new("Weld", char.Torso)
475
aWeld.Part0 = char.Torso
476
aWeld.Part1 = A6
477
aWeld.C1 = CFrame.new(0,-1,-.42)
478
local aWeld = Instance.new("Weld", char.Torso)
479
aWeld.Part0 = char.Torso
480
aWeld.Part1 = A7
481
aWeld.C1 = CFrame.new(0,.6,0)
482
local aWeld = Instance.new("Weld", char.Torso)
483
aWeld.Part0 = char.Torso
484
aWeld.Part1 = A8
485
aWeld.C1 = CFrame.new(0,-1,-.55)
486
local aWeld = Instance.new("Weld", char.Torso)
487
aWeld.Part0 = char.Torso
488
aWeld.Part1 = A9
489
aWeld.C1 = CFrame.new(0,.6,-.55)
490
local aWeld = Instance.new("Weld", char.Torso)
491
aWeld.Part0 = char.Torso
492
aWeld.Part1 = da
493
aWeld.C1 = CFrame.new(0,.2,.5)
494
local aWeld = Instance.new("Weld", char.Torso)
495
aWeld.Part0 = char.Torso
496
aWeld.Part1 = da1
497
aWeld.C1 = CFrame.new(0,.2,.5)
498
499
    Weld = Instance.new("Weld",Handle) 
500
    Weld.Part0 = Weld.Parent 
501
    Weld.Part1 = FakeHandle
502
    Weld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,-math.rad(0))
503
    Weld = Instance.new("Weld",Hitbox) 
504
    Weld.Part0 = Weld.Parent 
505
    Weld.Part1 = FakeHandle
506
    Weld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,-math.rad(0))
507
    FakeHandleWeld = Instance.new("Weld",FakeHandle) 
508
    FakeHandleWeld.Part0 = FakeHandle
509
    FakeHandleWeld.Part1 = char["Right Arm"]
510
    FakeHandleWeld.C0 = CFrame.new(1.2,0,-1)*CFrame.Angles(math.rad(180),0,-math.rad(90))
511
512
513
       local manWeld = Instance.new("Weld", char.Torso)
514
       manWeld.Part0 = char.Torso
515
       manWeld.Part1 = main
516
       manWeld.C1 = CFrame.new(0,1.4,0)*CFrame.Angles(math.rad(90),math.rad(40),-math.rad(90))
517
       manWeld.C0 = CFrame.new(0,-0.4,0)--*CFrame.Angles(math.rad(90),0,0)
518
519
        local cWeld = Instance.new("Weld", char.Torso)
520
        cWeld.Part0 = main
521
        --cWeld.C1 = CFrame.new(0,0,0)*CFrame.angles(0,0,0)
522
-----
523
	RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
524
	NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
525
	local RW = newMotor(char.Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
526
	local LW = newMotor(char.Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
527
	local RH = newMotor(char.Torso, RightLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0))
528
	local LH = newMotor(char.Torso, LeftLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0))
529
	RootJoint.C1 = CFrame.new(0, 0, 0)
530
	RootJoint.C0 = CFrame.new(0, 0, 0)
531
	char.Torso.Neck.C1 = CFrame.new(0, 0, 0)
532
	char.Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
533
	local rarmc1 = RW.C1
534
	local larmc1 = LW.C1
535
	local rlegc1 = RH.C1
536
	local llegc1 = LH.C1
537
	local resetc1 = false
538
	PlayAnimationFromTable = function(table, speed, bool)	
539
	RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
540
	char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, table[2], speed)
541
	RW.C0 = clerp(RW.C0, table[3], speed)
542
	LW.C0 = clerp(LW.C0, table[4], speed)
543
	RH.C0 = clerp(RH.C0, table[5], speed)
544
	LH.C0 = clerp(LH.C0, table[6], speed)
545
	if bool == true and resetc1 == false then
546
		resetc1 = true
547
		RootJoint.C1 = RootJoint.C1
548
		char.Torso.Neck.C1 = char.Torso.Neck.C1
549
		RW.C1 = rarmc1
550
		LW.C1 = larmc1
551
		RH.C1 = rlegc1
552
		LH.C1 = llegc1
553
	end
554
	end
555
556
--
557
		Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
558
	
559
	if hit.Parent == nil then
560
		return 
561
	end
562
	local h = hit.Parent:FindFirstChild("Humanoid")
563
	for _,v in pairs(hit.Parent:children()) do
564
		if v:IsA("Humanoid") then
565
			h = v
566
		end
567
	end
568
	if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
569
		if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
570
			return 
571
		end
572
		local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").LocalPlayer, Parent = h})
573
		game:GetService("Debris"):AddItem(c, 0.5)
574
		if HitSound ~= nil and HitPitch ~= nil then
575
			CreateSound(HitSound, hit, 1, HitPitch)
576
		end
577
		local Damage = math.random(minim, maxim)
578
		local blocked = false
579
		local block = hit.Parent:findFirstChild("Block")
580
		if block ~= nil and block.className == "IntValue" and block.Value > 0 then
581
			blocked = true
582
			block.Value = block.Value - 1
583
			print(block.Value)
584
		end
585
		if blocked == false then
586
			h.Health = h.Health - Damage
587
			ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
588
		else
589
			h.Health = h.Health - Damage / 2
590
			ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
591
		end
592
		if Type == "Knockdown" then
593
			local hum = hit.Parent.Humanoid
594
			hum.PlatformStand = true
595
			coroutine.resume(coroutine.create(function(HHumanoid)
596
		
597
		swait(1)
598
		HHumanoid.PlatformStand = false
599
	end
600
), hum)
601
			local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
602
			local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
603
			local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
604
			game:GetService("Debris"):AddItem(bodvol, 0.5)
605
			game:GetService("Debris"):AddItem(rl, 0.5)
606
		elseif Type == "Normal" then
607
					local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05})
608
					if knockback > 0 then
609
						vp.Parent = hit.Parent.Torso
610
					end
611
					game:GetService("Debris"):AddItem(vp, 0.5)
612
				elseif Type == "Up" then
613
							local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
614
							game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
615
							local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
616
							game:GetService("Debris"):AddItem(bodyVelocity, 1)
617
						elseif Type == "Snare" then
618
									local bp = Create("BodyPosition")({P = 2000, D = 100, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
619
									game:GetService("Debris"):AddItem(bp, 1)
620
								elseif Type == "Freeze" then
621
											local BodPos = Create("BodyPosition")({P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
622
											local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame})
623
											hit.Parent.Torso.Anchored = true
624
											coroutine.resume(coroutine.create(function(Part)
625
		
626
		swait(1.5)
627
		Part.Anchored = false
628
	end
629
), hit.Parent.Torso)
630
											game:GetService("Debris"):AddItem(BodPos, 3)
631
											game:GetService("Debris"):AddItem(BodGy, 3)
632
										end
633
											local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true})
634
											game:GetService("Debris"):AddItem(debounce, Delay)
635
											c = Instance.new("ObjectValue")
636
											c.Name = "creator"
637
											c.Value = hoh
638
											c.Parent = h
639
											game:GetService("Debris"):AddItem(c, 0.5)
640
										end
641
									end
642
643
	ShowDamage = function(Pos, Text, Time, Color)
644
	
645
	local Rate = 0.033333333333333
646
	if not Pos then
647
		local Pos = Vector3.new(0, 0, 0)
648
	end
649
	local Text = Text or ""
650
	local Time = Time or 2
651
	if not Color then
652
		local Color = Color3.new(1, 1, 0)
653
	end
654
	local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
655
	EffectPart.Anchored = true
656
	local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart})
657
	local TextLabel = Create("TextLabel")({BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = Text, TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui})
658
	game.Debris:AddItem(EffectPart, Time + 0.1)
659
	EffectPart.Parent = game:GetService("Workspace")
660
	delay(0, function()
661
		
662
		local Frames = Time / Rate
663
		for Frame = 1, Frames do
664
			wait(Rate)
665
			local Percent = Frame / Frames
666
			EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
667
			TextLabel.TextTransparency = Percent
668
		end
669
		if EffectPart and EffectPart.Parent then
670
			EffectPart:Destroy()
671
		end
672
	end
673
)
674
end
675
676
	MagniDamage = function(Part, magni, mindam, maxdam, knock, Type)
677
	
678
	for _,c in pairs(workspace:children()) do
679
		local hum = c:findFirstChild("Humanoid")
680
		if hum ~= nil then
681
			local head = c:findFirstChild("Torso")
682
			if head ~= nil then
683
				local targ = head.Position - Part.Position
684
				local mag = targ.magnitude
685
				if mag <= magni and c.Name ~= hoh.Name then
686
					Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=231917784", 1)
687
				end
688
			end
689
		end
690
	end
691
end
692
693
	EffectModel = Instance.new("Model", char)
694
	EffectModel.Name = "Effects"
695
	Effects = {
696
Block = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
697
	
698
	local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
699
	prt.Anchored = true
700
	prt.CFrame = cframe
701
	local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
702
	game:GetService("Debris"):AddItem(prt, 10)
703
	if Type == 1 or Type == nil then
704
		table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
705
	else
706
		if Type == 2 then
707
			table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
708
		end
709
	end
710
end
711
}
712
, 
713
Sphere = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
714
	
715
	local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
716
	prt.Anchored = true
717
	prt.CFrame = cframe
718
	local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
719
	game:GetService("Debris"):AddItem(prt, 10)
720
	table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
721
end
722
}
723
, 
724
Cylinder = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
725
	
726
	local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
727
	prt.Anchored = true
728
	prt.CFrame = cframe
729
	local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
730
	game:GetService("Debris"):AddItem(prt, 10)
731
	table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
732
end
733
}
734
, 
735
Wave = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
736
	
737
	local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
738
	prt.Anchored = true
739
	prt.CFrame = cframe
740
	local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
741
	game:GetService("Debris"):AddItem(prt, 10)
742
	table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
743
end
744
}
745
, 
746
Ring = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
747
	
748
	local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
749
	prt.Anchored = true
750
	prt.CFrame = cframe
751
	local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
752
	game:GetService("Debris"):AddItem(prt, 10)
753
	table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
754
end
755
}
756
, 
757
Break = {Create = function(brickcolor, cframe, x1, y1, z1)
758
	
759
	local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
760
	prt.Anchored = true
761
	prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
762
	local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
763
	local num = math.random(10, 50) / 1000
764
	game:GetService("Debris"):AddItem(prt, 10)
765
	table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
766
end
767
}
768
}
769
	BlockEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
770
	
771
	local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
772
	prt.Anchored = true
773
	prt.CFrame = cframe
774
	local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
775
	game:GetService("Debris"):AddItem(prt, 10)
776
	if Type == 1 or Type == nil then
777
		table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
778
	else
779
		if Type == 2 then
780
			table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
781
		end
782
	end
783
end
784
	Laser = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
785
	
786
	local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
787
	prt.Anchored = true
788
	prt.CFrame = cframe
789
	prt.Material = "Neon"
790
	local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
791
	game:GetService("Debris"):AddItem(prt, 10)
792
	coroutine.resume(coroutine.create(function(Part, Mesh)
793
		
794
		for i = 0, 1, delay do
795
			swait()
796
			Part.Transparency = i
797
			Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
798
		end
799
		Part.Parent = nil
800
	end
801
), prt, msh)
802
end
803
804
	shoottraildd = function(mouse, partt, SpreadAmount)
805
	
806
	local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
807
	local MainPos = partt.Position
808
	local MainPos2 = mouse.Hit.p + SpreadVectors
809
	local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
810
	local speed = 15
811
	local num = 20
812
	coroutine.resume(coroutine.create(function()
813
		
814
		repeat
815
			swait()
816
			local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
817
			local mag = (MainPos - pos).magnitude
818
			Laser(BrickColor.new("Bright red"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.175, 0, -0.175, 0.15)
819
			MainPos = MainPos + MouseLook.lookVector * speed
820
			num = num - 1
821
			MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
822
			if hit ~= nil then
823
				num = 0
824
				local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
825
				refpart.Anchored = true
826
				refpart.CFrame = CFrame.new(pos)
827
				game:GetService("Debris"):AddItem(refpart, 2)
828
			end
829
			do
830
				if num <= 0 then
831
					local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
832
					refpart.Anchored = true
833
					refpart.CFrame = CFrame.new(pos)
834
					if hit ~= nil then
835
						CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 1, 1)
836
						BlockEffect(BrickColor.new("Br. yellowish orange"), refpart.CFrame, 1, 1, 1, 10, 10, 10, 0.05)
837
						BlockEffect(BrickColor.new("Bright red"), refpart.CFrame, 1, 1, 1, 10, 10, 10, 0.07)
838
						MagniDamage(refpart, 15, 10, 15, 0, "Normal")
839
					end
840
					game:GetService("Debris"):AddItem(refpart, 0)
841
				end
842
			end
843
		until num <= 0
844
	end
845
))
846
end
847
-----
848
function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
849
  local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
850
  prt.Anchored = true
851
  prt.CFrame = cframe
852
  local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
853
  game:GetService("Debris"):AddItem(prt, 10)
854
  table.insert(Effects, {
855
    prt,
856
    "Cylinder",
857
    delay,
858
    x3,
859
    y3,
860
    z3,
861
    msh
862
  })
863
end
864
-----
865
function AppearDisappear()
866
	local ez = Instance.new("Part",char)
867
    ez.Size = Vector3.new(1,1,1)
868
    ez.Name = "a"
869
    ez:BreakJoints()
870
    ez.Anchored = false
871
    ez.Transparency = 0
872
    ez.CanCollide = false
873
    ez.Shape = "Block"
874
    ez.Material='Neon'
875
    ez.TopSurface = "SmoothNoOutlines"
876
    ez.BottomSurface = "SmoothNoOutlines"
877
    ez.BrickColor = BrickColor.new("White")
878
    ddd = Instance.new("SpecialMesh",ez)
879
    ddd.MeshType="Sphere"
880
    ddd.Scale=Vector3.new(6,6,6)
881
    Weld = Instance.new("Weld",ez) 
882
    Weld.Part0 = Weld.Parent 
883
    Weld.Part1 = char.Torso
884
		for a = 0, 1, .05 do
885
        ddd.Scale = ddd.Scale + Vector3.new(.5, .5, .5)
886
        ez.Transparency = ez.Transparency + .1
887
        wait()
888
		end
889
		ez:Remove()
890
end
891
function AppearDisappear1()
892
	Das.Transparency = 0
893
char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=582878615"
894
char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=468148440"
895
	CreateSound("http://roblox.com/asset/?id=356427062", char.Torso, 1.2, 1)
896
end
897
function AppearDisappear2()
898
	Das.Transparency = 0
899
char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=582878615"
900
char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=330970993"
901
        CreateSound("http://roblox.com/asset/?id=356427062", char.Torso, 1.2, .8)
902
end
903
function equip()
904
	Handle.Transparency = 0
905
	local ez = Instance.new("Part",char)
906
    ez.Size = Vector3.new(1,1,1)
907
    ez.Name = "a"
908
    ez:BreakJoints()
909
    ez.Anchored = false
910
    ez.Transparency = 0
911
    ez.CanCollide = false
912
    ez.Shape = "Block"
913
    ez.Material='Neon'
914
    ez.TopSurface = "SmoothNoOutlines"
915
    ez.BottomSurface = "SmoothNoOutlines"
916
    ez.BrickColor = BrickColor.new("New Yeller")
917
    ddd = Instance.new("SpecialMesh",ez)
918
    ddd.MeshType="Sphere"
919
    ddd.Scale=Vector3.new(1,1,1)
920
    Weld = Instance.new("Weld",ez) 
921
    Weld.Part0 = Weld.Parent 
922
    Weld.Part1 = Handle
923
    CreateSound("http://roblox.com/asset/?id=356427062", char.Torso, 1.2, 1)
924
		for a = 0, 1, .05 do--while wait() and ez and ez.Transparency <= 1 do
925
        ddd.Scale = ddd.Scale + Vector3.new(1, 1, 1)
926
        ez.Transparency = ez.Transparency + .1
927
        wait()
928
		end
929
		ez:Remove()
930
end
931
function unequip()
932
    Handle.Transparency = 1
933
	local ez = Instance.new("Part",char)
934
    ez.Size = Vector3.new(1,1,1)
935
    ez.Name = "a"
936
    ez:BreakJoints()
937
    ez.Anchored = false
938
    ez.Transparency = 0
939
    ez.CanCollide = false
940
    ez.Shape = "Block"
941
    ez.Material='Neon'
942
    ez.TopSurface = "SmoothNoOutlines"
943
    ez.BottomSurface = "SmoothNoOutlines"
944
    ez.BrickColor = BrickColor.new("New Yeller")
945
    ddd = Instance.new("SpecialMesh",ez)
946
    ddd.MeshType="Sphere"
947
    ddd.Scale=Vector3.new(1,1,1)
948
    Weld = Instance.new("Weld",ez) 
949
    Weld.Part0 = Weld.Parent 
950
    Weld.Part1 = Handle
951
    CreateSound("http://roblox.com/asset/?id=356427062", char.Torso, 1.2, .8)
952
		for a = 0, 1, .05 do
953
        ddd.Scale = ddd.Scale + Vector3.new(1, 1, 1)
954
        ez.Transparency = ez.Transparency + .1
955
        wait()
956
		end
957
		ez:Remove()
958
end
959
attack1 = function()
960
		attack = true
961
	local con = Hitbox.Touched:connect(function(hit)
962
		
963
		Damagefunc(Hitbox, hit, 10, 30, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
964
	end
965
)
966
	for i = 0, 1, 0.1 do
967
		swait()
968
		--PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.529917479, 0, -0.848049283, 0, 1, 0, 0.848049283, 0, 0.529917479), CFrame.new(0, 1.49999499, 0, 0.406736165, 0, 0.913545728, 0, 1, 0, -0.913545728, 0, 0.406736165), CFrame.new(1.35679102, 0.782658279, 0.0675592273, 0.707045317, -0.527684033, 0.470782787, 0.133834034, -0.553849995, -0.82178998, 0.694388449, 0.644049466, -0.320975006), CFrame.new(-1.69279337, 0.499999672, -0.79492861, 0.717408359, 0.691137791, 0.0874861553, -0.0527720191, 0.179133937, -0.982408345, -0.694651246, 0.700171173, 0.164984912), CFrame.new(0.641659617, -1.99999392, 0.125842437, 0.882947862, 0, -0.469471127, 0, 1, 0, 0.469471127, 0, 0.882947862), CFrame.new(-0.348587006, -1.99999392, -0.0133331716, 0.898793101, 0, 0.438373119, 0, 1, 0, -0.438373119, 0, 0.898793101)}, 0.3, false)
969
        			RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(50), math.rad(0)), 0.3)
970
					char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
971
					RW.C0 = clerp(RW.C0, CFrame.new(1.3, 1.6, -.6) * angles(math.rad(160), math.rad(0), math.rad(0)), 0.3)
972
					LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
973
					RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
974
					LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
975
				
976
	end
977
	CFuncs.Sound.Create("http://roblox.com/asset/?id=231917950", char.Torso, 1, 1.5)
978
	for i = 0, 1, 0.1 do
979
		swait()
980
		        	RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), 0.3)
981
					char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
982
					RW.C0 = clerp(RW.C0, CFrame.new(.9, -.1, -.8) * angles(math.rad(30), math.rad(0), math.rad(0)), 0.3)
983
					LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
984
					RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
985
					LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
986
				
987
988
		--PlayAnimationFromTable({CFrame.new(0.180807382, 0, 0.0999719128, 0.342022538, 0, 0.939691782, 0, 1, 0, -0.939691782, 0, 0.342022538), CFrame.new(0.0106580649, 1.49999499, -0.0643079877, 0.469472408, 0, -0.882947266, 0, 1, 0, 0.882947266, 0, 0.469472408), CFrame.new(1.83224225, 0.376015127, 0.0757035911, 0.135973215, -0.988979697, 0.0585707389, 0.0630049929, -0.0503679588, -0.996741474, 0.988707185, 0.139220387, 0.0554619655), CFrame.new(-0.541033506, 0.699999869, -0.891753554, 0.658596575, -0.726630569, 0.195598423, 0.0759940296, -0.194378868, -0.977978408, 0.74864924, 0.658957481, -0.072797671), CFrame.new(0.641663194, -1.99999392, 0.125834763, 0.406737477, 0, -0.913545191, 0, 1, 0, 0.913545191, 0, 0.406737477), CFrame.new(-0.590457141, -1.99999392, 0.164175183, 0.984808207, 0, -0.173646241, 0, 1, 0, 0.173646241, 0, 0.984808207)}, 0.3, false)
989
		--FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(60), math.rad(0), math.rad(-90)), 0.3)
990
	end
991
	con:disconnect()
992
	attack = false
993
end
994
attack2 = function()
995
		attack = true
996
	local con = Hitbox.Touched:connect(function(hit)
997
		
998
		Damagefunc(Hitbox, hit, 10, 30, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
999
	end
1000
)
1001
	for i = 0, 1, 0.1 do
1002
		swait()
1003
		--PlayAnimationFromTable({CFrame.new(0.338935494, 0, 0.0863927901, -0.0348953009, 0, 0.999391079, 0, 1, 0, -0.999391079, 0, -0.0348953009), CFrame.new(-0.0100401761, 1.49999499, -0.00284555811, 0.500002861, 0, -0.866023898, 0, 1, 0, 0.866023898, 0, 0.500002861), CFrame.new(1.21845579, 0.576015115, -0.684895277, 0.950073838, 0.308843106, 0.0444484204, 0.0630049855, -0.0503680073, -0.996741474, -0.305597931, 0.949778438, -0.0673119873), CFrame.new(-0.681373537, 0.699999809, -0.527025938, 0.839439929, -0.516847908, 0.167955339, 0.0759939924, -0.194378883, -0.977978468, 0.538113117, 0.833717644, -0.123892054), CFrame.new(0.641661644, -1.99999392, 0.125842005, 0.76604569, 0, -0.642786264, 0, 1, 0, 0.642786264, 0, 0.76604569), CFrame.new(-0.451956809, -1.99999392, -0.00807090476, 0.994521499, 0, 0.104533166, 0, 1, 0, -0.104533151, 0, 0.994521499)}, 0.3, false)
1004
        			RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(50), math.rad(0)), 0.3)
1005
					char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1006
					RW.C0 = clerp(RW.C0, CFrame.new(1.2, .75, -1) * angles(math.rad(110), -math.rad(80), math.rad(15)), 0.3)
1007
					LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
1008
					RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1009
					LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1010
                    --FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(60), math.rad(0), math.rad(-90)), 0.3)
1011
	end
1012
	CFuncs.Sound.Create("http://roblox.com/asset/?id=231917950", char.Torso, 1, 2)
1013
	for i = 0, 1, 0.1 do
1014
		swait()
1015
		--PlayAnimationFromTable({CFrame.new(0.2283867, 0, 0.115197472, 0.438369602, 0, -0.89879483, 0, 1, 0, 0.89879483, 0, 0.438369602), CFrame.new(0.0305867679, 1.49999499, -0.105302036, 0.438370466, 0, 0.898794472, 0, 1, 0, -0.898794472, 0, 0.438370436), CFrame.new(1.67825615, 0.576015353, -0.394908488, 0.46593222, -0.881719947, 0.0740077272, 0.063004978, -0.0503680483, -0.996741474, 0.88257432, 0.469076842, 0.0320846587), CFrame.new(-1.00808418, 0.399999917, -0.988827169, 0.839437604, -0.542131007, 0.0379279964, 0.0759930089, 0.0479900427, -0.995952845, 0.538116753, 0.838922501, 0.0814828053), CFrame.new(0.641682267, -1.99999392, 0.125833988, 0.9993909, 0, -0.0348993391, 0, 1, 0, 0.0348993391, 0, 0.9993909), CFrame.new(-0.451955765, -1.99999392, -0.00807018578, 0.898794293, 0, 0.438370645, 0, 1, 0, -0.438370645, 0, 0.898794293)}, 0.3, false)
1016
		--FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(60), math.rad(0), math.rad(-90)), 0.3)
1017
        			RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), 0.3)
1018
					char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1019
					RW.C0 = clerp(RW.C0, CFrame.new(.3, .3, -.3) * angles(math.rad(40), math.rad(30), -math.rad(70)), 0.3)
1020
					LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
1021
					RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1022
					LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1023
1024
	end
1025
	con:disconnect()
1026
	attack = false
1027
end
1028
attack3 = function()
1029
		attack = true
1030
	local con = Hitbox.Touched:connect(function(hit)
1031
		
1032
		Damagefunc(Hitbox, hit, 10, 30, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
1033
	end)
1034
	
1035
		for i = 0, 1, 0.1 do
1036
		swait()
1037
		--PlayAnimationFromTable({CFrame.new(0.338935494, 0, 0.0863927901, -0.0348953009, 0, 0.999391079, 0, 1, 0, -0.999391079, 0, -0.0348953009), CFrame.new(-0.0100401761, 1.49999499, -0.00284555811, 0.500002861, 0, -0.866023898, 0, 1, 0, 0.866023898, 0, 0.500002861), CFrame.new(1.21845579, 0.576015115, -0.684895277, 0.950073838, 0.308843106, 0.0444484204, 0.0630049855, -0.0503680073, -0.996741474, -0.305597931, 0.949778438, -0.0673119873), CFrame.new(-0.681373537, 0.699999809, -0.527025938, 0.839439929, -0.516847908, 0.167955339, 0.0759939924, -0.194378883, -0.977978468, 0.538113117, 0.833717644, -0.123892054), CFrame.new(0.641661644, -1.99999392, 0.125842005, 0.76604569, 0, -0.642786264, 0, 1, 0, 0.642786264, 0, 0.76604569), CFrame.new(-0.451956809, -1.99999392, -0.00807090476, 0.994521499, 0, 0.104533166, 0, 1, 0, -0.104533151, 0, 0.994521499)}, 0.3, false)
1038
        			RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(15), math.rad(0)), 0.3)
1039
					char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1040
					RW.C0 = clerp(RW.C0, CFrame.new(.35, .5, -.7) * angles(math.rad(205), math.rad(20), -math.rad(110)), 0.3)
1041
					LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
1042
					RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1043
					LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1044
	end
1045
	CFuncs.Sound.Create("http://roblox.com/asset/?id=231917950", char.Torso, 1, 2)
1046
			for i = 0, .2, 0.1 do
1047
		swait()
1048
		--PlayAnimationFromTable({CFrame.new(0.338935494, 0, 0.0863927901, -0.0348953009, 0, 0.999391079, 0, 1, 0, -0.999391079, 0, -0.0348953009), CFrame.new(-0.0100401761, 1.49999499, -0.00284555811, 0.500002861, 0, -0.866023898, 0, 1, 0, 0.866023898, 0, 0.500002861), CFrame.new(1.21845579, 0.576015115, -0.684895277, 0.950073838, 0.308843106, 0.0444484204, 0.0630049855, -0.0503680073, -0.996741474, -0.305597931, 0.949778438, -0.0673119873), CFrame.new(-0.681373537, 0.699999809, -0.527025938, 0.839439929, -0.516847908, 0.167955339, 0.0759939924, -0.194378883, -0.977978468, 0.538113117, 0.833717644, -0.123892054), CFrame.new(0.641661644, -1.99999392, 0.125842005, 0.76604569, 0, -0.642786264, 0, 1, 0, 0.642786264, 0, 0.76604569), CFrame.new(-0.451956809, -1.99999392, -0.00807090476, 0.994521499, 0, 0.104533166, 0, 1, 0, -0.104533151, 0, 0.994521499)}, 0.3, false)
1049
                    FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0,0,-2.4)*CFrame.Angles(math.rad(0),math.rad(90),-math.rad(90)), 0.3)
1050
        			RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(90), math.rad(0)), 0.3)
1051
					char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1052
					RW.C0 = clerp(RW.C0, CFrame.new(1.2, .55, -1) * angles(math.rad(90), math.rad(100), math.rad(0)), 0.3)
1053
					LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
1054
					RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1055
					LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1056
			end
1057
					for i = 0, .2, 0.1 do
1058
		swait()
1059
		--PlayAnimationFromTable({CFrame.new(0.338935494, 0, 0.0863927901, -0.0348953009, 0, 0.999391079, 0, 1, 0, -0.999391079, 0, -0.0348953009), CFrame.new(-0.0100401761, 1.49999499, -0.00284555811, 0.500002861, 0, -0.866023898, 0, 1, 0, 0.866023898, 0, 0.500002861), CFrame.new(1.21845579, 0.576015115, -0.684895277, 0.950073838, 0.308843106, 0.0444484204, 0.0630049855, -0.0503680073, -0.996741474, -0.305597931, 0.949778438, -0.0673119873), CFrame.new(-0.681373537, 0.699999809, -0.527025938, 0.839439929, -0.516847908, 0.167955339, 0.0759939924, -0.194378883, -0.977978468, 0.538113117, 0.833717644, -0.123892054), CFrame.new(0.641661644, -1.99999392, 0.125842005, 0.76604569, 0, -0.642786264, 0, 1, 0, 0.642786264, 0, 0.76604569), CFrame.new(-0.451956809, -1.99999392, -0.00807090476, 0.994521499, 0, 0.104533166, 0, 1, 0, -0.104533151, 0, 0.994521499)}, 0.3, false)
1060
        			RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(180), math.rad(0)), 0.3)
1061
					char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1062
					RW.C0 = clerp(RW.C0, CFrame.new(1.2, .55, -1) * angles(math.rad(90), math.rad(100), math.rad(0)), 0.3)
1063
					LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
1064
					RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1065
					LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1066
					end
1067
							for i = 0, .2, 0.1 do
1068
		swait()
1069
		--PlayAnimationFromTable({CFrame.new(0.338935494, 0, 0.0863927901, -0.0348953009, 0, 0.999391079, 0, 1, 0, -0.999391079, 0, -0.0348953009), CFrame.new(-0.0100401761, 1.49999499, -0.00284555811, 0.500002861, 0, -0.866023898, 0, 1, 0, 0.866023898, 0, 0.500002861), CFrame.new(1.21845579, 0.576015115, -0.684895277, 0.950073838, 0.308843106, 0.0444484204, 0.0630049855, -0.0503680073, -0.996741474, -0.305597931, 0.949778438, -0.0673119873), CFrame.new(-0.681373537, 0.699999809, -0.527025938, 0.839439929, -0.516847908, 0.167955339, 0.0759939924, -0.194378883, -0.977978468, 0.538113117, 0.833717644, -0.123892054), CFrame.new(0.641661644, -1.99999392, 0.125842005, 0.76604569, 0, -0.642786264, 0, 1, 0, 0.642786264, 0, 0.76604569), CFrame.new(-0.451956809, -1.99999392, -0.00807090476, 0.994521499, 0, 0.104533166, 0, 1, 0, -0.104533151, 0, 0.994521499)}, 0.3, false)
1070
        			RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(270), math.rad(0)), 0.3)
1071
					char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1072
					RW.C0 = clerp(RW.C0, CFrame.new(1.2, .55, -1) * angles(math.rad(90), math.rad(100), math.rad(0)), 0.3)
1073
					LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
1074
					RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1075
					LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1076
	end
1077
	
1078
	
1079
	
1080
	
1081
	for i = 0, 1, 0.1 do
1082
		swait()
1083
		--PlayAnimationFromTable({CFrame.new(0.2283867, 0, 0.115197472, 0.438369602, 0, -0.89879483, 0, 1, 0, 0.89879483, 0, 0.438369602), CFrame.new(0.0305867679, 1.49999499, -0.105302036, 0.438370466, 0, 0.898794472, 0, 1, 0, -0.898794472, 0, 0.438370436), CFrame.new(1.67825615, 0.576015353, -0.394908488, 0.46593222, -0.881719947, 0.0740077272, 0.063004978, -0.0503680483, -0.996741474, 0.88257432, 0.469076842, 0.0320846587), CFrame.new(-1.00808418, 0.399999917, -0.988827169, 0.839437604, -0.542131007, 0.0379279964, 0.0759930089, 0.0479900427, -0.995952845, 0.538116753, 0.838922501, 0.0814828053), CFrame.new(0.641682267, -1.99999392, 0.125833988, 0.9993909, 0, -0.0348993391, 0, 1, 0, 0.0348993391, 0, 0.9993909), CFrame.new(-0.451955765, -1.99999392, -0.00807018578, 0.898794293, 0, 0.438370645, 0, 1, 0, -0.438370645, 0, 0.898794293)}, 0.3, false)
1084
		FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0,0,-2.4)*CFrame.Angles(math.rad(0),math.rad(90),-math.rad(90)), 0.3)
1085
        			RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(40), math.rad(0)), 0.3)
1086
					char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1087
					RW.C0 = clerp(RW.C0, CFrame.new(2, .5, 0) * angles(-math.rad(180), math.rad(0), math.rad(90)), 0.3)
1088
					LW.C0 = clerp(LW.C0, CFrame.new(-2, .5, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
1089
					RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1090
					LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1091
end
1092
	
1093
	con:disconnect()
1094
	attack = false
1095
end
1096
function kek1()
1097
			attack = true
1098
			Effects.Sphere.Create(BrickColor.new("New Yeller"), FakeHandle.CFrame * angles(math.random(-3,3), math.random(-3,3), math.random(-3,3)), 6.5, 6.5, 6.5, 4, 4, 4, 0.07)
1099
		
1100
			CFuncs.Sound.Create("http://www.roblox.com/asset?id=200633707", char.Torso, 0.8, 1.1)
1101
			
1102
		local Aaaa = Instance.new("Part", RootPart)
1103
         Aaaa.Size = Vector3.new(.1, .1, .1)
1104
         Aaaa.BrickColor = BrickColor.new("White")
1105
         Aaaa.Transparency = 1
1106
         Aaaa.CanCollide = false
1107
        local abbWeld = Instance.new("Weld", RootPart)
1108
        abbWeld.Part0 = RootPart
1109
        abbWeld.Part1 = Aaaa
1110
        abbWeld.C1 = CFrame.new(0,0,9)
1111
1112
	for i = 0, 2.5, 0.1 do
1113
		swait()
1114
					Effects.Ring.Create(BrickColor.new("Navy blue"), FakeHandle.CFrame * angles(math.random(-3,3), math.random(-3,3), math.random(-3,3)), 1.5, 1.5, 0, 0.5, 0.5, 0, 0.07)
1115
		--PlayAnimationFromTable({CFrame.new(0.338935494, 0, 0.0863927901, -0.0348953009, 0, 0.999391079, 0, 1, 0, -0.999391079, 0, -0.0348953009), CFrame.new(-0.0100401761, 1.49999499, -0.00284555811, 0.500002861, 0, -0.866023898, 0, 1, 0, 0.866023898, 0, 0.500002861), CFrame.new(1.21845579, 0.576015115, -0.684895277, 0.950073838, 0.308843106, 0.0444484204, 0.0630049855, -0.0503680073, -0.996741474, -0.305597931, 0.949778438, -0.0673119873), CFrame.new(-0.681373537, 0.699999809, -0.527025938, 0.839439929, -0.516847908, 0.167955339, 0.0759939924, -0.194378883, -0.977978468, 0.538113117, 0.833717644, -0.123892054), CFrame.new(0.641661644, -1.99999392, 0.125842005, 0.76604569, 0, -0.642786264, 0, 1, 0, 0.642786264, 0, 0.76604569), CFrame.new(-0.451956809, -1.99999392, -0.00807090476, 0.994521499, 0, 0.104533166, 0, 1, 0, -0.104533151, 0, 0.994521499)}, 0.3, false)
1116
                    RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.1)
1117
					char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
1118
					RW.C0 = clerp(RW.C0, CFrame.new(.35, .5, -.7) * angles(math.rad(205), math.rad(20), -math.rad(110)), 0.1)
1119
					LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.1)
1120
					RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
1121
					LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
1122
					
1123
	end
1124
			for i = 0, 0.2, 0.1 do
1125
		swait()
1126
		--PlayAnimationFromTable({CFrame.new(0.2283867, 0, 0.115197472, 0.438369602, 0, -0.89879483, 0, 1, 0, 0.89879483, 0, 0.438369602), CFrame.new(0.0305867679, 1.49999499, -0.105302036, 0.438370466, 0, 0.898794472, 0, 1, 0, -0.898794472, 0, 0.438370436), CFrame.new(1.67825615, 0.576015353, -0.394908488, 0.46593222, -0.881719947, 0.0740077272, 0.063004978, -0.0503680483, -0.996741474, 0.88257432, 0.469076842, 0.0320846587), CFrame.new(-1.00808418, 0.399999917, -0.988827169, 0.839437604, -0.542131007, 0.0379279964, 0.0759930089, 0.0479900427, -0.995952845, 0.538116753, 0.838922501, 0.0814828053), CFrame.new(0.641682267, -1.99999392, 0.125833988, 0.9993909, 0, -0.0348993391, 0, 1, 0, 0.0348993391, 0, 0.9993909), CFrame.new(-0.451955765, -1.99999392, -0.00807018578, 0.898794293, 0, 0.438370645, 0, 1, 0, -0.438370645, 0, 0.898794293)}, 0.3, false)
1127
		--FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0,0,-2.4)*CFrame.Angles(math.rad(0),math.rad(90),-math.rad(90)), 0.3)
1128
        			RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(50), math.rad(0)), 0.3)
1129
					char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3)
1130
					RW.C0 = clerp(RW.C0, CFrame.new(2, .5, 0) * angles(math.rad(0), math.rad(0), -math.rad(5)), 0.3)
1131
					LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
1132
					RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1133
					LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1134
	end
1135
	Effects.Sphere.Create(BrickColor.new("Navy blue"), Aaaa.CFrame * angles(math.random(-3,3), math.random(-3,3), math.random(-3,3)), 2.5, 2.5, 2.5, 3.5, 3.5, 3.5, 0.07)
1136
	Effects.Ring.Create(BrickColor.new("Navy blue"), Aaaa.CFrame * angles(0, 0, math.random(-3,3)), 2.5, 2.5, 2.5, 1, 1, 1, 0.07)
1137
1138
    CFuncs.Sound.Create("http://roblox.com/asset/?id=231917950", Aaaa, 1, 1)
1139
	CFuncs.Sound.Create("http://roblox.com/asset/?id=279675650", FakeHandle, 1, 1.1)
1140
	  local con = Aaaa.Touched:connect(function(hit)
1141
		MagniDamage(Aaaa, 30, 30, 55, 4, "Knockdown")
1142
		--Damagefunc(Hitbox, hit, 30, 60, math.random(1, 5), "Knockdown", RootPart, 0.2, "rbxassetid://199149221", 0.8)
1143
	end
1144
	)
1145
		for i = 0, 1, 0.1 do
1146
		swait()
1147
		--PlayAnimationFromTable({CFrame.new(0.2283867, 0, 0.115197472, 0.438369602, 0, -0.89879483, 0, 1, 0, 0.89879483, 0, 0.438369602), CFrame.new(0.0305867679, 1.49999499, -0.105302036, 0.438370466, 0, 0.898794472, 0, 1, 0, -0.898794472, 0, 0.438370436), CFrame.new(1.67825615, 0.576015353, -0.394908488, 0.46593222, -0.881719947, 0.0740077272, 0.063004978, -0.0503680483, -0.996741474, 0.88257432, 0.469076842, 0.0320846587), CFrame.new(-1.00808418, 0.399999917, -0.988827169, 0.839437604, -0.542131007, 0.0379279964, 0.0759930089, 0.0479900427, -0.995952845, 0.538116753, 0.838922501, 0.0814828053), CFrame.new(0.641682267, -1.99999392, 0.125833988, 0.9993909, 0, -0.0348993391, 0, 1, 0, 0.0348993391, 0, 0.9993909), CFrame.new(-0.451955765, -1.99999392, -0.00807018578, 0.898794293, 0, 0.438370645, 0, 1, 0, -0.438370645, 0, 0.898794293)}, 0.3, false)
1148
		--FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0,0,-2.4)*CFrame.Angles(math.rad(0),math.rad(90),-math.rad(90)), 0.3)
1149
        			RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(50), math.rad(0)), 0.3)
1150
					char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3)
1151
					RW.C0 = clerp(RW.C0, CFrame.new(2, .5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
1152
					LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
1153
					RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1154
					LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1155
		end
1156
		Aaaa:Remove()
1157
	con:disconnect()
1158
	attack = false
1159
end
1160
function kek2()
1161
		attack = true
1162
		
1163
1164
		for i = 0, 1, 0.1 do
1165
		swait()
1166
		RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1167
		char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(25), math.rad(0), math.rad(0)), 0.3)
1168
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
1169
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 1, 0) * angles(math.rad(179), math.rad(0), math.rad(0)), 0.3)
1170
		RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1171
		LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1172
		end
1173
		CFuncs.Sound.Create("rbxassetid://169380505", RootPart, 0.8, 1.5)
1174
		Effects.Cylinder.Create(BrickColor.new("New Yeller"), LeftArm.CFrame * angles(math.rad(2), 0, 0), 1, 9999, 1, 1, 1, 1, 0.07)
1175
		for i = 0, 2, 0.1 do
1176
		swait()
1177
		RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1178
		char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(25), math.rad(0), math.rad(0)), 0.3)
1179
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
1180
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 1, 0) * angles(math.rad(179), math.rad(0), math.rad(0)), 0.3)
1181
		RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1182
		LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1183
		end
1184
	    CFuncs.Sound.Create("rbxassetid://169445602", RootPart, 1, 1.2)
1185
	    local cf2 = mouse.Hit.p + Vector3.new(math.random(-100, 100) / 50, 50, math.random(-100, 100) / 50)
1186
	    local hit2, pos2 = rayCast(cf2, CFrame.new(cf2, cf2 - Vector3.new(0, 1, 0)).lookVector, 999, char)
1187
	    if hit2 ~= nil then
1188
		local d1 = CFuncs.Part.Create(workspace, "Neon", 0, 0.5, BrickColor.new("Navy blue"), "Effect", Vector3.new())
1189
		d1.Anchored = true
1190
		d1.CFrame = CFrame.new(pos2)
1191
		MagniDamage(d1, 20, 10, 25, 5, "Snare")
1192
		Effects.Cylinder.Create(BrickColor.new("New Yeller"), d1.CFrame * angles(0, 0, 0), 1, 9999, 1, 4, 1, 4, 0.07)
1193
	    local con = Hitbox.Touched:connect(function(hit)
1194
         end)
1195
		game:GetService("Debris"):AddItem(d1, 5)
1196
		local msh = CFuncs.Mesh.Create("CylinderMesh", d1, "nil", "nil", Vector3.new(0, 0, 0), Vector3.new(100, 5, 100))
1197
		local d2 = d1:Clone()
1198
		d2.Parent = d1
1199
		d2.CFrame = CFrame.new(d1.Position)
1200
		d2.BrickColor = BrickColor.new("New Yeller")
1201
		d2.Mesh.Scale = Vector3.new(0, 5, 0)
1202
		table.insert(Effects, {d1, "QuadShot", d2, d2.Mesh, 0})
1203
	end
1204
	attack = false
1205
1206
end
1207
function kek3()
1208
  cooldown1 = cooldown1 - 5
1209
  local dacf = Handle.CFrame * angles(-1.57 + math.random(40, 80) / 100, 0, math.random(-80, 80) / 100)
1210
  local icepart1 = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new("Cyan"), "Ice", vt())
1211
  icepart1.Anchored = true
1212
  i1msh = CreateMesh("SpecialMesh", icepart1, "Sphere", "", vt(0, 0, 0), vt(5, 5, 5))
1213
  icepart1.CFrame = dacf
1214
  for i = 0, 1, 0.1 do
1215
    swait()
1216
    icepart1.CFrame = dacf
1217
  end
1218
  local cfinc = 99999
1219
  icepart1.Transparency = 1
1220
  CreateSound("rbxassetid://334325056", icepart1, 1, 1)
1221
  game:GetService("Debris"):AddItem(icepart1, 1)
1222
  local spread = vt((math.random(-1, 0) + math.random()) * 16, (math.random(-1, 0) + math.random()) * 16, (math.random(-1, 0) + math.random()) * 16) * (icepart1.Position - (icepart1.Position + vt(0, -1, 0))).magnitude / 100
1223
  local TheHit = mouse.Hit.p
1224
  local MouseLook = cf((icepart1.Position + TheHit) / 2, TheHit + spread)
1225
  local hit, pos = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
1226
  local target1, distance1 = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
1227
  local test1, dist1 = mouse.Hit.p, nil
1228
  if target1 ~= nil then
1229
    cfda = target1.Position + vt(math.random(-3000, 3000) / 100, 20, math.random(-3000, 3000) / 100)
1230
    local hit2, pos2 = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
1231
    local d1 = CreatePart(effect, "SmoothPlastic", 0, 0.5, BrickColor.new("White"), "Effect", vt())
1232
    d1.Anchored = true
1233
    d1.CFrame = cf(pos2)
1234
    MagniDamage(d1, 10, 12, 15, -10, "Normal", "231917784")
1235
    SphereEffect(BrickColor.new("White"), cf(pos2), 100, 100, 100, 10, 10, 10, 0.07)
1236
    msh = CreateMesh("SpecialMesh", d1, "Sphere", "", vt(0, 0, 0), vt(80, 80, 80))
1237
    d2 = d1:Clone()
1238
    d2.Parent = d1
1239
    d2.CFrame = cf(d1.Position)
1240
    d2.BrickColor = BrickColor.new("Toothpaste")
1241
    d2.Mesh.Scale = vt(0, 5, 0)
1242
    table.insert(Effects, {
1243
      d1,
1244
      "SatelliteStrike",
1245
      d2,
1246
      d2.Mesh,
1247
      0
1248
    })
1249
  end
1250
end
1251
1252
function kek4()
1253
	
1254
end
1255
	mouse.Button1Down:connect(function()
1256
	
1257
	if attack == false and attacktype == 1 and equipped == true then
1258
		attacktype = 2
1259
		attack1()
1260
	else
1261
		if attack == false and attacktype == 2 and equipped == true then
1262
			attacktype = 3
1263
			attack2()
1264
		else
1265
			if attack == false and attacktype == 3 and equipped == true then
1266
				attacktype = 1
1267
				attack3()
1268
			end
1269
		end
1270
	end
1271
end
1272
	)
1273
	
1274
	updateskills = function()
1275
	
1276
	if cooldown1 <= co1 then
1277
		cooldown1 = cooldown1 + 0.033333333333333
1278
	end
1279
	if cooldown2 <= co2 then
1280
		cooldown2 = cooldown2 + 0.033333333333333
1281
	end
1282
	if cooldown3 <= co3 then
1283
		cooldown3 = cooldown3 + 0.033333333333333
1284
	end
1285
	if cooldown4 <= co4 then
1286
		cooldown4 = cooldown4 + 0.033333333333333
1287
	end
1288
end
1289
1290
--[[function onKeyDown(key)
1291
if key == "u" then
1292
if nak == false and disable == false then
1293
	disable = true
1294
    AppearDisappear1()
1295
	AppearDisappear()
1296
	nak = true
1297
	wait(1)
1298
	disable = false
1299
elseif disable == false then
1300
	AppearDisappear2()
1301
    AppearDisappear()
1302
1303
    nak = false
1304
    wait(1)
1305
    disable = false
1306
end
1307
end
1308
1309
if key == "f" then
1310
if equipped == false and disable == false then
1311
		disable = true
1312
		equipped = true
1313
		equip()
1314
	    wait(1)
1315
	    disable = false
1316
	    elseif equipped == true and disable == false then
1317
		disable = true
1318
		unequip()
1319
		equipped = false
1320
	wait(1)
1321
	disable = false
1322
end
1323
end]]
1324
mouse.KeyDown:connect(function(k)
1325
	
1326
	k = k:lower()
1327
	if attack == false and equipped == true and k == "z" and co1 <= cooldown1 then
1328
		cooldown1 = 0
1329
		kek1()
1330
	else
1331
		if attack == false and equipped == true and k == "x" and co2 <= cooldown2 then
1332
			cooldown2 = 0
1333
			kek2()
1334
		else
1335
			if attack == false and equipped == true and k == "c" and co3 <= cooldown3 then
1336
				cooldown3 = 0
1337
				kek3()
1338
			else
1339
				if attack == false and k == "v" and co4 <= cooldown4 then
1340
					cooldown4 = 0
1341
					kek4()
1342
						else
1343
		if attack == false and k == "f" and equipped == false and disable == false  then
1344
			
1345
		disable = true
1346
		equipped = true
1347
		equip()
1348
	    wait(.5)
1349
	    disable = false
1350
		    else
1351
			if k == "f" and equipped == true and disable == false then
1352
		disable = true
1353
		equipped = false
1354
		unequip()
1355
	    wait(.5)
1356
	    disable = false
1357
1358
1359
				        else
1360
		if k == "u" and nak == false and disable == false  then
1361
		        disable = true
1362
               AppearDisappear1()
1363
	          AppearDisappear()
1364
	          nak = true
1365
	          wait(.5)
1366
	           disable = false
1367
		                  else 
1368
			if k == "u" and nak == true and disable == false  then
1369
				   disable = true
1370
					AppearDisappear2()
1371
                    AppearDisappear()
1372
                    nak = false
1373
                    wait(.5)
1374
                 disable = false
1375
			end
1376
			end
1377
		end
1378
			end
1379
		end
1380
		end
1381
	end
1382
	 end       
1383
end)
1384
1385
	while 1 do
1386
		swait()
1387
		updateskills()
1388
		bar4:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", 0.5)
1389
		bar3:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", 0.5)
1390
		bar1:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", 0.5)
1391
		bar2:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", 0.5)
1392
		for i,v in pairs(char:GetChildren()) do
1393
			if v:IsA("Part") then
1394
				v.Material = "SmoothPlastic"
1395
			else
1396
				if v:IsA("Hat") then
1397
					v:WaitForChild("Handle").Material = "SmoothPlastic"
1398
				end
1399
			end
1400
		end
1401
		Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
1402
		velocity = RootPart.Velocity.y
1403
		sine = sine + change
1404
		local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, char)
1405
		if equipped == true or equipped == false then
1406
			if 1 < RootPart.Velocity.y and hit == nil then
1407
				Anim = "Jump"
1408
				if attack == false then
1409
					manWeld.C1 = clerp(manWeld.C1, CFrame.new(0,1.4,0)*CFrame.Angles(math.rad(90),math.rad(65),-math.rad(90)), 0.3)
1410
					manWeld.C0 = clerp(manWeld.C0, CFrame.new(0,-0.3,0)*CFrame.Angles(math.rad(0),math.rad(0),-math.rad(0)),0.3)
1411
                    FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(1.2,0,-1)*CFrame.Angles(math.rad(180),0,-math.rad(90)), 0.3)
1412
					RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1413
					char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
1414
					RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
1415
					LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
1416
					RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0.35) * angles(math.rad(-15), math.rad(0), math.rad(0)), 0.3)
1417
					LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0.35) * angles(math.rad(-15), math.rad(0), math.rad(0)), 0.3)
1418
				end
1419
			else
1420
				if RootPart.Velocity.y < -1 and hit == nil then
1421
					Anim = "Fall"
1422
					if attack == false then
1423
						manWeld.C1 = clerp(manWeld.C1, CFrame.new(0,1.4,0)*CFrame.Angles(math.rad(90),math.rad(15),-math.rad(90)), 0.3)
1424
						manWeld.C0 = clerp(manWeld.C0, CFrame.new(0,-0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),-math.rad(0)),0.3)
1425
                        FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(1.2,0,-1)*CFrame.Angles(math.rad(180),0,-math.rad(90)), 0.3)
1426
						RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1427
						char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
1428
						RW.C0 = clerp(RW.C0, CFrame.new(1.7, 0.2, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
1429
						LW.C0 = clerp(LW.C0, CFrame.new(-1.7, 0.2, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3)
1430
						RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0.5) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3)
1431
						LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0.5) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3)
1432
					end
1433
				else
1434
					if Torsovelocity < 1 and hit ~= nil then
1435
						Anim = "Idle"
1436
						if attack == false then
1437
							if equipped == true then
1438
							change = 1
1439
							manWeld.C1 = clerp(manWeld.C1, CFrame.new(0,1.4,0)*CFrame.Angles(math.rad(90 - 15 * math.cos((sine) / 45)),math.rad(40),-math.rad(90)), 0.3)
1440
							manWeld.C0 = clerp(manWeld.C0, CFrame.new(0,-0.4,0)*CFrame.Angles(math.rad(0),math.rad(0),-math.rad(0)),0.3)
1441
							FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(1.2,0,-1)*CFrame.Angles(math.rad(180),0,-math.rad(90)), 0.3)
1442
							RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0 - 0.04 * math.cos((sine) / 30), 0) * angles(math.rad(0), -math.rad(20), math.rad(0)), 0.3)
1443
							char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(5), math.rad(20), math.rad(0)), 0.3)
1444
							RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
1445
							LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
1446
							RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2 + 0.04 * math.cos((sine) / 30), 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1447
							LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2 + 0.04 * math.cos((sine) / 30), 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1448
							else
1449
							change = 1
1450
							manWeld.C1 = clerp(manWeld.C1, CFrame.new(0,1.4,0)*CFrame.Angles(math.rad(90 - 15 * math.cos((sine) / 45)),math.rad(40),-math.rad(90)), 0.3)
1451
							manWeld.C0 = clerp(manWeld.C0, CFrame.new(0,-0.4,0)*CFrame.Angles(math.rad(0),math.rad(0),-math.rad(0)),0.3)
1452
							FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(1.2,0,-1)*CFrame.Angles(math.rad(180),0,-math.rad(90)), 0.3)
1453
							RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0 - 0.06 * math.cos((sine) / 30), 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1454
							char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1455
							RW.C0 = clerp(RW.C0, CFrame.new(0.7, 0.1, -0.45) * angles(math.rad(20), math.rad(0), -math.rad(40)), 0.3)
1456
							LW.C0 = clerp(LW.C0, CFrame.new(-0.7, 0.1, -0.45) * angles(math.rad(20), math.rad(0), math.rad(40)), 0.3)
1457
							RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2 + 0.04 * math.cos((sine) / 30), 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1458
							LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2 + 0.04 * math.cos((sine) / 30), 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1459
1460
							end
1461
							end
1462
					else
1463
						if 2 < Torsovelocity and hit ~= nil then
1464
							Anim = "Walk"
1465
							if attack == false then
1466
								manWeld.C1 = clerp(manWeld.C1, CFrame.new(0,1.4,0)*CFrame.Angles(math.rad(90),math.rad(40),-math.rad(90)), 0.3)
1467
							    manWeld.C0 = clerp(manWeld.C0, CFrame.new(0,-0.4,0)*CFrame.Angles(math.rad(0),math.rad(0),-math.rad(0)),0.3)
1468
                                FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(1.2,0,-1)*CFrame.Angles(math.rad(180),0,-math.rad(90)), 0.3)
1469
								RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
1470
								char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
1471
								RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
1472
								LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
1473
								RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0 + 1 * math.cos((sine) / 3)) * angles(math.rad(0 - 50 * math.cos((sine) / 3)), math.rad(0), math.rad(0)), 0.3)
1474
								LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0 - 1 * math.cos((sine) / 3)) * angles(math.rad(0 + 50 * math.cos((sine) / 3)), math.rad(0), math.rad(0)), 0.3)
1475
							end
1476
						end
1477
					end
1478
				end
1479
			end
1480
		end
1481
		if 0 < #Effects then
1482
			for e = 1, #Effects do
1483
				if Effects[e] ~= nil then
1484
					local Thing = Effects[e]
1485
					if Thing ~= nil then
1486
						local Part = Thing[1]
1487
						local Mode = Thing[2]
1488
						local Delay = Thing[3]
1489
						local IncX = Thing[4]
1490
						local IncY = Thing[5]
1491
						local IncZ = Thing[6]
1492
						if Thing[1].Transparency <= 1 then
1493
							if Thing[2] == "Block1" then
1494
								Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1495
								Mesh = Thing[1].Mesh
1496
								Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1497
								Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1498
							else
1499
								if Thing[2] == "Block2" then
1500
									Thing[1].CFrame = Thing[1].CFrame
1501
									Mesh = Thing[7]
1502
									Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1503
									Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1504
								else
1505
									if Thing[2] == "Cylinder" then
1506
										Mesh = Thing[1].Mesh
1507
										Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1508
										Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1509
									else
1510
										if Thing[2] == "Blood" then
1511
											Mesh = Thing[7]
1512
											Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
1513
											Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1514
											Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1515
										else
1516
											if Thing[2] == "Elec" then
1517
												Mesh = Thing[1].Mesh
1518
												Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
1519
												Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1520
											else
1521
												if Thing[2] == "Disappear" then
1522
													Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1523
												else
1524
													if Thing[2] == "Shatter" then
1525
														Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1526
														Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
1527
														Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
1528
														Thing[6] = Thing[6] + Thing[5]
1529
													else
1530
														if Thing[2] == "QuadShot" then
1531
											if Thing[5] < 100 then
1532
												Thing[5] = Thing[5] + 2.5
1533
												Thing[4].Scale = Vector3.new(Thing[5], 5, Thing[5])
1534
											else
1535
												refda = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
1536
												refda.Anchored = true
1537
												refda.CFrame = CFrame.new(Thing[1].Position)
1538
												game:GetService("Debris"):AddItem(refda, 5)
1539
												CFuncs.Sound.Create("rbxassetid://203691378", refda, 1, 1.2)
1540
												CFuncs.Sound.Create("rbxassetid://184718741", refda, 1, 0.8)
1541
												--MagniDamage(refda, 40, 20, 50, BrickColor.new("Navy blue"), BrickColor.new("New Yeller"))
1542
												MagniDamage(refda, 40, 20, 50, 50, "Freeze")
1543
												Effects.Sphere.Create(BrickColor.new("New Yeller"), CFrame.new(refda.Position), 3, 3, 3, 10, 10, 10, 0.05)
1544
												Effects.Sphere.Create(BrickColor.new("Navy blue"), CFrame.new(refda.Position), 15, 15, 15, 10, 10, 10, 0.05)
1545
												--Effects.Sphere.Create(BrickColor.new("New Yeller"), refda.CFrame, 10, 10, 10, 10, 10, 10, 0.06)
1546
												Effects.Block.Create(BrickColor.new("New Yeller"), refda.CFrame, 10, 10, 10, 10, 10, 10, 0.06, 1)
1547
												Effects.Wave.Create(BrickColor.new("New Yeller"), refda.CFrame, 1, 1, 1, 3, 3, 3, 0.06)
1548
												Thing[1].Parent = nil
1549
												table.remove(Effects, e)
1550
											    end
1551
												end
1552
															end
1553
														end
1554
													end
1555
												end
1556
											end
1557
										end
1558
									end
1559
						else
1560
							Part.Parent = nil
1561
							table.remove(Effects, e)
1562
							end
1563
						end
1564
					end
1565
				end
1566
			end
1567
end