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