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