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