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