View difference between Paste ID: uPxG40mx and ugJaWref
SHOW: | | - or go back to the newest paste.
1
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
2
local Player,game,owner = owner,game
3
local RealPlayer = Player
4
do
5
	print("FE Compatibility code by Mokiros")
6
	local rp = RealPlayer
7
	script.Parent = rp.Character
8
	
9
	--RemoteEvent for communicating
10
	local Event = Instance.new("RemoteEvent")
11
	Event.Name = "UserInput_Event"
12
13
	--Fake event to make stuff like Mouse.KeyDown work
14
	local function fakeEvent()
15
		local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
16
		t.connect = t.Connect
17
		return t
18
	end
19
20
	--Creating fake input objects with fake variables
21
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
22
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
23
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
24
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
25
	end}
26
	--Merged 2 functions into one by checking amount of arguments
27
	CAS.UnbindAction = CAS.BindAction
28
29
	--This function will trigger the events that have been :Connect()'ed
30
	local function te(self,ev,...)
31
		local t = m[ev]
32
		if t and t._fakeEvent then
33
			for _,f in pairs(t.Functions) do
34
				f(...)
35
			end
36
		end
37
	end
38
	m.TrigEvent = te
39
	UIS.TrigEvent = te
40
41
	Event.OnServerEvent:Connect(function(plr,io)
42
	    if plr~=rp then return end
43
		m.Target = io.Target
44
		m.Hit = io.Hit
45
		if not io.isMouse then
46
			local b = io.UserInputState == Enum.UserInputState.Begin
47
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
48
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
49
			end
50
			if io.UserInputType == Enum.UserInputType.MouseButton2 then
51
				return m:TrigEvent(b and "Button2Down" or "Button2Up")
52
			end
53
			for _,t in pairs(CAS.Actions) do
54
				for _,k in pairs(t.Keys) do
55
					if k==io.KeyCode then
56
						t.Function(t.Name,io.UserInputState,io)
57
					end
58
				end
59
			end
60
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
61
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
62
	    end
63
	end)
64
	Event.Parent = NLS([==[
65
	local Player = game:GetService("Players").LocalPlayer
66
	local Event = script:WaitForChild("UserInput_Event")
67
	local Mouse = Player:GetMouse()
68
	local UIS = game:GetService("UserInputService")
69
	local input = function(io,a)
70
		if a then return end
71
		--Since InputObject is a client-side instance, we create and pass table instead
72
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
73
	end
74
	UIS.InputBegan:Connect(input)
75
	UIS.InputEnded:Connect(input)
76
	local h,t
77
	--Give the server mouse data 30 times every second, but only if the values changed
78
	--If player is not moving their mouse, client won't fire events
79
	while wait(1/30) do
80
		if h~=Mouse.Hit or t~=Mouse.Target then
81
			h,t=Mouse.Hit,Mouse.Target
82
			Event:FireServer({isMouse=true,Target=t,Hit=h})
83
		end
84
	end]==],Player.Character)
85
86
	----Sandboxed game object that allows the usage of client-side methods and services
87
	--Real game object
88
	local _rg = game
89
90
	--Metatable for fake service
91
	local fsmt = {
92
		__index = function(self,k)
93
			local s = rawget(self,"_RealService")
94
			if s then
95
				return typeof(s[k])=="function"
96
				and function(_,...)return s[k](s,...)end or s[k]
97
			end
98
		end,
99
		__newindex = function(self,k,v)
100
			local s = rawget(self,"_RealService")
101
			if s then s[k]=v end
102
		end
103
	}
104
	local function FakeService(t,RealService)
105
		t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
106
		return setmetatable(t,fsmt)
107
	end
108
109
	--Fake game object
110
	local g = {
111
		GetService = function(self,s)
112
			return rawget(self,s) or _rg:GetService(s)
113
		end,
114
		Players = FakeService({
115
			LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
116
		},"Players"),
117
		UserInputService = FakeService(UIS,"UserInputService"),
118
		ContextActionService = FakeService(CAS,"ContextActionService"),
119
		RunService = FakeService({
120
			_btrs = {},
121
			RenderStepped = _rg:GetService("RunService").Heartbeat,
122
			BindToRenderStep = function(self,name,_,fun)
123
				self._btrs[name] = self.Heartbeat:Connect(fun)
124
			end,
125
			UnbindFromRenderStep = function(self,name)
126
				self._btrs[name]:Disconnect()
127
			end,
128
		},"RunService")
129
	}
130
	rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
131
	g.service = g.GetService
132
	FakeService(g,game)
133
	--Changing owner to fake player object to support owner:GetMouse()
134
	game,owner = g,g.Players.LocalPlayer
135
end
136
137
local p = game.Players.LocalPlayer
138
local char = p.Character
139
local mouse = p:GetMouse()
140
local larm = char["Left Arm"]
141
local rarm = char["Right Arm"]
142
local lleg = char["Left Leg"]
143
local rleg = char["Right Leg"]
144
local hed = char.Head
145
local torso = char.Torso
146
local hum = char.Humanoid
147
local cam = game.Workspace.CurrentCamera
148
local root = char.HumanoidRootPart
149
local deb = false
150
local CanAttack = true
151
local shot = 0
152
local animpose = "Idle"
153
local lastanimpose = "Idle"
154
local stanceToggle = "Normal"
155
local l = game:GetService("Lighting")
156
local rs = game:GetService("RunService").RenderStepped
157
math.randomseed(os.time())
158
hum.MaxHealth = 9001
159
wait(1)
160
hum.Health = 9001
161
162
for i,v in pairs (hed:GetChildren()) do
163
	if v:IsA("Sound") then
164
		v:Destroy()
165
	end
166
end
167
--game:service'InsertService':LoadAsset(16469427):children()[1].Parent = char
168
--char.Reaper.Handle.Mesh.TextureId = "http://www.roblox.com/asset/?id=176349813"
169
170
----------------------------------------------------
171
--[[Additional Variables]]
172
173
174
175
176
177
local lightspeed = math.random(0.1,0.2)
178
local holy = false -- Is in holy/angel of death form?
179
local eColors = {"Lime green", "Really black"}
180
local idz = {"161006212", "161006195"}
181
local Effects={}
182
183
184
    hs = Instance.new("Sound",torso)
185
    hs.SoundId = "http://www.roblox.com/asset/?id=149560784"
186
    hs.Pitch = 1.2
187
    hs.Volume = 0.6
188
	hs.Looped = true
189
190
    ds = Instance.new("Sound",torso)
191
    ds.SoundId = "http://roblox.com/asset/?id=149560784"
192
    ds.Pitch = 0.3
193
    ds.Volume = 0.4
194
	ds.Looped = true
195
196
  
197
ds:play()
198
199
200
if holy == false then
201
eColors = {"Lime green", "Really black"}
202
else if holy == true then
203
eColors = {"Lime green"} 
204
end
205
end
206
207
208
209
210
211
----------------------------------------------------
212
--[[Additional Functions]]
213
214
	cf=CFrame.new
215
	vt=Vector3.new
216
217
	function swait(num)
218
    if num==0 or num==nil then
219
    game:service'RunService'.Stepped:wait(0)
220
    else
221
    for i=0,num do
222
    game:service'RunService'.Stepped:wait(0)
223
    end
224
    end
225
	end
226
227
so = function(id,par,vol,pit) 
228
coroutine.resume(coroutine.create(function()
229
local sou = Instance.new("Sound",par or workspace)
230
sou.Volume=vol
231
sou.Pitch=pit or 1
232
sou.SoundId=id
233
swait() 
234
sou:play() 
235
game:GetService("Debris"):AddItem(sou,6)
236
end))
237
end
238
239
240
241
242
243
----------------------------------------------------
244
Debounces = {
245
CanAttack = true;
246
CanJoke = true;
247
NoIdl = false;
248
Slashing = false;
249
Slashed = false;
250
Slapping = false;
251
Slapped = false;
252
ks = false;
253
}
254
255
local Touche = {char.Name, }
256
----------------------------------------------------
257
function HasntTouched(plrname)
258
local ret = true
259
for _, v in pairs(Touche) do
260
if v == plrname then
261
ret = false
262
end
263
end
264
return ret
265
end
266
----------------------------------------------------
267
function weld5(part0, part1, c0, c1)
268
    weeld=Instance.new("Weld", part0)
269
    weeld.Part0=part0
270
    weeld.Part1=part1
271
    weeld.C0=c0
272
    weeld.C1=c1
273
    return weeld
274
end
275
----------------------------------------------------
276
mod=Instance.new('Model',char)
277
278
function Burst()
279
    part=Instance.new('Part',mod)
280
    part.Anchored=true
281
    part.CanCollide=false
282
    part.FormFactor='Custom'
283
    part.Size=Vector3.new(.2,.2,.2)
284
    part.CFrame=root.CFrame*CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),0,0)
285
    part.Transparency=.7
286
287
if holy ~= true then
288
    part.BrickColor=BrickColor.new('Really black')
289
else
290
	part.BrickColor=BrickColor.new('Lime green')
291
end
292
293
    mesh=Instance.new('SpecialMesh',part)
294
    mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
295
    mesh.Scale=Vector3.new(10,5,10)
296
    part2=part:clone()
297
    part2.Parent=mod
298
299
if holy ~= true then
300
    part2.BrickColor=BrickColor.new('Lime green')
301
else
302
	part2.BrickColor=BrickColor.new('Lime green')
303
end
304
305
    mesh2=mesh:clone()
306
    mesh2.Parent=part2
307
    mesh2.Scale=Vector3.new(5,2.5,5)
308
    coroutine.resume(coroutine.create(function() 
309
        for i=0,1,0.1 do
310
            wait()
311
            part.CFrame=part.CFrame
312
            part.Transparency=i
313
            mesh.Scale=mesh.Scale+Vector3.new(1,1,1)
314
            part2.CFrame=part2.CFrame
315
            part2.Transparency=i
316
            mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1)
317
            end
318
        part.Parent=nil
319
        part2.Parent=nil
320
    end))
321
end
322
----------------------------------------------------
323
mod4 = Instance.new("Model",char)
324
325
ptez = {0.7, 0.8, 0.9, 1}
326
327
function FindNearestTorso(Position,Distance,SinglePlayer)
328
    if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
329
        local List = {}
330
        for i,v in pairs(workspace:GetChildren())do
331
            if v:IsA("Model")then
332
                if v:findFirstChild("Torso")then
333
                    if v ~= char then
334
                        if(v.Torso.Position -Position).magnitude <= Distance then
335
                            table.insert(List,v)
336
                        end 
337
                    end 
338
                end 
339
            end 
340
        end
341
    return List
342
end
343
344
function Slam()
345
    part=Instance.new('Part',mod4)
346
    part.Anchored=true
347
    part.CanCollide=false
348
    part.FormFactor='Custom'
349
    part.Size=Vector3.new(.2,.2,.2)
350
    part.CFrame=root.CFrame*CFrame.new(0,-2.8,-1.4)*CFrame.Angles(math.rad(90),0,0)
351
    part.Transparency=.7
352
353
if holy ~= true then
354
    part.BrickColor=BrickColor.new('Really black')
355
else
356
    part.BrickColor=BrickColor.new('Lime green')
357
end
358
	
359
    mesh=Instance.new('SpecialMesh',part)
360
    mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
361
    mesh.Scale=Vector3.new(3,3,3)
362
    part2=Instance.new('Part',mod4)
363
    part2.Anchored=true
364
    part2.CanCollide=false
365
    part2.FormFactor='Custom'
366
    part2.Size=Vector3.new(.2,.2,.2)
367
    part2.CFrame=root.CFrame*CFrame.new(0,-2.4,-1.6)
368
    part2.Transparency=.7
369
370
if holy ~= true then
371
    part2.BrickColor=BrickColor.new('Lime green')
372
else
373
    part2.BrickColor=BrickColor.new('Lime green')
374
end
375
376
    mesh2=Instance.new('SpecialMesh',part2)
377
    mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
378
    mesh2.Scale=Vector3.new(3,1.5,3)
379
    x = Instance.new("Sound",char)
380
    x.SoundId = "http://www.roblox.com/asset/?id=142070127"
381
    x.Pitch = ptez[math.random(1,#ptez)]
382
    x.Volume = 1
383
    wait(.1)
384
    x1 = Instance.new("Sound",char)
385
    x1.SoundId = "http://www.roblox.com/asset/?id=206082327"
386
    x1.Pitch = ptez[math.random(1,#ptez)]
387
    x1.Volume = 1
388
    wait(.1)
389
	x:Play()
390
    x1:Play()
391
    for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
392
        if v:FindFirstChild('Humanoid') then
393
            v.Humanoid:TakeDamage(math.random(99999999,99999999))
394
        end
395
    end
396
    coroutine.resume(coroutine.create(function() 
397
        for i=0,0.62,0.13 do
398
            wait()
399
            part.CFrame=part.CFrame
400
            part.Transparency=i
401
            mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
402
            part2.CFrame=part2.CFrame
403
            part2.Transparency=i
404
            mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
405
            end
406
        part.Parent=nil
407
        part2.Parent=nil
408
        x:Destroy()
409
    end))
410
end
411
----------------------------------------------------PUNCH FUNC
412
function Punch()
413
    part=Instance.new('Part',mod4)
414
    part.Anchored=true
415
    part.CanCollide=false
416
    part.FormFactor='Custom'
417
    part.Size=Vector3.new(.2,.2,.2)
418
    part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0)
419
    part.Transparency=.7
420
421
    part.BrickColor=BrickColor.new('Really black')
422
    mesh=Instance.new('SpecialMesh',part)
423
    mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
424
    mesh.Scale=Vector3.new(3,3,3)
425
    part2=Instance.new('Part',mod4)
426
    part2.Anchored=true
427
    part2.CanCollide=false
428
429
    part2.FormFactor='Custom'
430
    part2.Size=Vector3.new(.2,.2,.2)
431
    part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0)
432
    part2.Transparency=.7
433
    part2.BrickColor=BrickColor.new('Lime green')
434
    mesh2=Instance.new('SpecialMesh',part2)
435
    mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
436
    mesh2.Scale=Vector3.new(3,1.5,3)
437
    for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
438
        if v:FindFirstChild('Humanoid') then
439
            v.Humanoid:TakeDamage(math.random(2,6))
440
        end
441
    end
442
    coroutine.resume(coroutine.create(function()
443
        for i=0,0.62,0.4 do
444
            wait()
445
            part.CFrame=part.CFrame
446
            part.Transparency=i
447
            mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
448
            part2.CFrame=part2.CFrame
449
            part2.Transparency=i
450
            mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
451
            end
452
        part.Parent=nil
453
        part2.Parent=nil
454
    end))
455
end
456
----------------------------------------------------
457
GroundWave = function()
458
	local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
459
	local Colors = {"Lime green", "Really black"} 
460
		local wave = Instance.new("Part", torso)
461
		
462
		if holy == false then
463
		wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])	
464
		else
465
		wave.BrickColor = BrickColor.new("Lime green")		
466
		end
467
		
468
		wave.Anchored = true
469
		wave.CanCollide = false
470
		wave.Material = "Neon"
471
		wave.Locked = true
472
		wave.Size = Vector3.new(1, 1, 1)
473
		wave.TopSurface = "Smooth"
474
		wave.BottomSurface = "Smooth"
475
		wave.Transparency = 0.35
476
		wave.CFrame = HandCF
477
		wm = Instance.new("SpecialMesh", wave)
478
		wm.MeshId = "rbxassetid://3270017"
479
		coroutine.wrap(function()
480
		for i = 1, 14, 1 do
481
		wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1)
482
		wave.Size = wm.Scale
483
		wave.CFrame = HandCF
484
		wave.Transparency = i/14
485
		wait()
486
		end
487
		wait()
488
		wave:Destroy()
489
	end)()
490
end
491
----------------------------------------------------
492
Magik = function()
493
	Spawn(function()
494
		local function lerp(a,b,c)
495
			return a+(b-a)*c	
496
		end
497
		local function rndRange(rng)
498
			return math.random(-rng*1000,rng*1000)/1000	
499
		end
500
		local magik = Instance.new("Part", larm)
501
		local Colors = {"Lime green", "Really black"}
502
		magik.Anchored = true
503
		magik.Locked = true
504
		magik.Material = "Neon"
505
		magik.FormFactor = "Custom"
506
		magik.Size = Vector3.new(1.2, 1.2, 1.2)
507
		magik.TopSurface = "Smooth"
508
		magik.BottomSurface = "Smooth"
509
		magik.Transparency = 0
510
		magik.CanCollide = false
511
		
512
		if holy == false then
513
		magik.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
514
		else
515
		magik.BrickColor = BrickColor.new("Lime green")
516
		end
517
		
518
		local mr = math.rad
519
		local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180))
520
		local cf = larm.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)
521
		magik.CFrame = cf
522
		for i = 0, 1, .05 do
523
			local newTrans = lerp(0.5, 1, i)
524
			local ns = lerp(1,1.2,i)
525
			magik.Transparency = newTrans
526
			magik.Size = Vector3.new(ns,ns,ns)
527
			magik.CFrame = cf
528
			rs:wait()
529
	    end
530
		magik:Destroy()
531
		wait()
532
    end)
533
end
534
----------------------------------------------------
535
Magik2 = function()
536
	Spawn(function()
537
		if stanceToggle == "Melee" then
538
		local function lerp(a,b,c)
539
			return a+(b-a)*c	
540
		end
541
		local function rndRange(rng)
542
			return math.random(-rng*1000,rng*1000)/1000	
543
		end
544
		local magik2 = Instance.new("Part", rarm)
545
		local Colors = {"Lime green", "Really black"}
546
		magik2.Anchored = true
547
		magik2.Locked = true
548
		magik2.FormFactor = "Custom"
549
		magik2.Size = Vector3.new(1.2, 1.2, 1.2)
550
		magik2.TopSurface = "Smooth"
551
		magik2.BottomSurface = "Smooth"
552
		magik2.Transparency = 0
553
		magik2.Material = "Neon"
554
		magik2.CanCollide = false
555
		
556
		if holy == false then
557
		magik2.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
558
		else
559
		magik2.BrickColor = BrickColor.new("Lime green")
560
		end
561
		
562
		local mr = math.rad
563
		local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180))
564
		local cf = rarm.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)
565
		magik2.CFrame = cf
566
		for i = 0, 1, .05 do
567
			local newTrans = lerp(0.5, 1, i)
568
			local ns = lerp(1,1.2,i)
569
			magik2.Transparency = newTrans
570
			magik2.Size = Vector3.new(ns,ns,ns)
571
			magik2.CFrame = cf
572
			rs:wait()
573
	    end
574
		magik2:Destroy()
575
		elseif stanceToggle ~= "Melee" then
576
		wait()
577
		end
578
    end)
579
end
580
----------------------------------------------------
581
function lerp(a, b, t) -- Linear interpolation
582
	return a + (b - a)*t
583
end
584
 
585
function slerp(a, b, t) --Spherical interpolation
586
	dot = a:Dot(b)
587
	if dot > 0.99999 or dot < -0.99999 then
588
		return t <= 0.5 and a or b
589
	else
590
		r = math.acos(dot)
591
		return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
592
	end
593
end
594
 
595
function matrixInterpolate(a, b, t)
596
	local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
597
	local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
598
	local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
599
	local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector  right
600
	local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector  up
601
	local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector  back
602
	local t = v1:Dot(v2)
603
	if not (t < 0 or t == 0 or t > 0) then 	-- Failsafe
604
		return CFrame.new()
605
	end
606
	return CFrame.new(
607
	v0.x, v0.y, v0.z,
608
	v1.x, v1.y, v1.z,
609
	v2.x, v2.y, v2.z,
610
	v3.x, v3.y, v3.z)
611
end
612
----------------------------------------------------
613
function genWeld(a,b)
614
    local w = Instance.new("Weld",a)
615
    w.Part0 = a
616
    w.Part1 = b
617
    return w
618
end
619
function weld(a, b)
620
    local weld = Instance.new("Weld")
621
    weld.Name = "W"
622
    weld.Part0 = a
623
    weld.Part1 = b
624
    weld.C0 = a.CFrame:inverse() * b.CFrame
625
    weld.Parent = a
626
    return weld;
627
end
628
----------------------------------------------------
629
function Lerp(c1,c2,al)
630
local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
631
local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
632
for i,v in pairs(com1) do 
633
com1[i] = v+(com2[i]-v)*al
634
end
635
return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
636
end
637
----------------------------------------------------[[Dissolve function]]
638
function Dissolve(ret)
639
	
640
	ret.BrickColor = BrickColor.new("Really black")
641
	for i = 1, 10 do wait()
642
		for i,v in pairs(ret:GetChildren()) do
643
			if v:IsA("Part") or v:IsA("WedgePart") then
644
					v.Transparency = v.Transparency + 0.1
645
646
			end
647
		end
648
	end
649
	ret:Destroy()
650
end
651
652
----------------------------------------------------
653
newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
654
local wld = Instance.new("Weld", wp1)
655
wld.Part0 = wp0
656
wld.Part1 = wp1
657
wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
658
end
659
----------------------------------------------------
660
newWeld(torso, larm, -1.5, 0.5, 0)
661
larm.Weld.C1 = CFrame.new(0, 0.5, 0)
662
newWeld(torso, rarm, 1.5, 0.5, 0)
663
rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
664
newWeld(torso, hed, 0, 1.5, 0)
665
newWeld(torso, lleg, -0.5, -1, 0)
666
lleg.Weld.C1 = CFrame.new(0, 1, 0)
667
newWeld(torso, rleg, 0.5, -1, 0)
668
rleg.Weld.C1 = CFrame.new(0, 1, 0)
669
newWeld(root, torso, 0, -1, 0)
670
torso.Weld.C1 = CFrame.new(0, -1, 0)
671
----------------------------------------------------
672
--local SIDz = {"167985102, 163752916"}--181449739, 167161785, 148274436, 167985102, 163752916
673
z = Instance.new("Sound",char) --music
674
z.SoundId = "rbxassetid://0"--..SIDz[math.random(1,#SIDz)]
675
z.Looped = true
676
z.Volume = 1
677
z.Pitch = .72
678
wait(1)
679
z:Play()
680
hum.WalkSpeed = 10
681
682
683
684
685
686
--[[partic = Instance.new("ParticleEmitter",hed)
687
partic.Color = ColorSequence.new(Color3.new(15/225,0,225/45),Color3.new(20/255,0,205/255))
688
partic.LightEmission = .95
689
partic.VelocityInheritance = 0
690
partic.Rate = 300
691
partic.Texture = "rbxassetid:// 241650934" --56561915392079955
692
partic.Lifetime = NumberRange.new(0.1,0.2)
693
partic.RotSpeed = NumberRange.new(100,100)
694
partic.Speed = NumberRange.new(2,6)
695
partic.Enabled = true
696
partic.LockedToPart = true]]
697
698
--Nah
699
700
----------------------------------------------------
701
702
----------------------------------------------------
703
local m = Instance.new("Model")
704
m.Name = "Genkadda"
705
p1 = Instance.new("Part", m)
706
p1.Material = "Metal"
707
p1.BrickColor = BrickColor.new("Really black")
708
p1.Name = "BladePart"
709
p1.FormFactor = Enum.FormFactor.Symmetric
710
p1.Size = Vector3.new(1, 1, 1)
711
p1.CFrame = CFrame.new(103.003883, 10.755723, -7.61905956, 5.61699271e-005, -7.1823597e-006, 0.999998987, -0.984785616, -0.173714966, 3.55839729e-005, 0.173720747, -0.984761655, 5.9530139e-006)
712
p1.CanCollide = false
713
p1.Locked = true
714
p1.Elasticity = 0
715
p1.BottomSurface = Enum.SurfaceType.Smooth
716
p1.TopSurface = Enum.SurfaceType.Smooth
717
b1 = Instance.new("BlockMesh", p1)
718
b1.Name = "Mesh"
719
b1.Scale = Vector3.new(0.299999923, 1, 0.120000005)
720
p2 = Instance.new("Part", m)
721
p2.Material = "Metal"
722
p2.BrickColor = BrickColor.new("Really black")
723
p2.FormFactor = Enum.FormFactor.Symmetric
724
p2.Size = Vector3.new(1, 1, 1)
725
p2.CFrame = CFrame.new(103.00399, 10.7255898, -6.52608919, 0.00135809346, 0.00169118668, -0.999996662, 0.965820193, 0.259168088, 0.0017684648, 0.259154975, -0.965800881, -0.00130418094)
726
p2.CanCollide = false
727
p2.Locked = true
728
p2.Elasticity = 0
729
p2.BottomSurface = Enum.SurfaceType.Smooth
730
p2.TopSurface = Enum.SurfaceType.Smooth
731
b2 = Instance.new("BlockMesh", p2)
732
b2.Name = "Mesh"
733
b2.Scale = Vector3.new(0.099999927, 0.699999928, 0.099999927)
734
p3 = Instance.new("Part", m)
735
p3.Material = "Metal"
736
p3.BrickColor = BrickColor.new("Really black")
737
p3.FormFactor = Enum.FormFactor.Symmetric
738
p3.Size = Vector3.new(1, 2, 1)
739
p3.CFrame = CFrame.new(103.004028, 11.1456547, -6.819067, 1.43263023e-005, -2.88564479e-006, 0.999998987, -0.882936299, -0.469471544, -7.18829688e-006, 0.469469696, -0.882911503, 1.35099981e-005)
740
p3.CanCollide = false
741
p3.Locked = true
742
p3.Elasticity = 0
743
p3.BottomSurface = Enum.SurfaceType.Smooth
744
p3.TopSurface = Enum.SurfaceType.Smooth
745
b3 = Instance.new("BlockMesh", p3)
746
b3.Name = "Mesh"
747
b3.Scale = Vector3.new(0.099999927, 0.699999928, 0.099999927)
748
p4 = Instance.new("Part", m)
749
p4.Material = "Metal"
750
p4.BrickColor = BrickColor.new("Really black")
751
p4.Name = "BladePart"
752
p4.FormFactor = Enum.FormFactor.Symmetric
753
p4.Size = Vector3.new(1, 1, 1)
754
p4.CFrame = CFrame.new(103.003372, 10.965373, -6.66876507, 1.57370523e-005, -6.04354591e-006, 0.999996603, -0.965898931, -0.25886938, -7.14969246e-006, 0.258875549, -0.965874314, 1.58735529e-005)
755
p4.CanCollide = false
756
p4.Locked = true
757
p4.Elasticity = 0
758
p4.BottomSurface = Enum.SurfaceType.Smooth
759
p4.TopSurface = Enum.SurfaceType.Smooth
760
b4 = Instance.new("BlockMesh", p4)
761
b4.Name = "Mesh"
762
b4.Scale = Vector3.new(0.299999923, 1, 0.120000005)
763
p5 = Instance.new("Part", m)
764
p5.Material = "Metal"
765
p5.BrickColor = BrickColor.new("Really black")
766
p5.Name = "Hilt"
767
p5.FormFactor = Enum.FormFactor.Custom
768
p5.Size = Vector3.new(1, 0.400000006, 1.60000014)
769
p5.CFrame = CFrame.new(103.003395, 11.0653381, -6.1687479, -0.99999404, 5.54991711e-005, -0.000617815298, -0.000594727404, -0.000124425016, 0.999983907, 2.66434654e-005, 0.999962509, 0.000109782166)
770
p5.CanCollide = false
771
p5.Locked = true
772
p5.BottomSurface = Enum.SurfaceType.Smooth
773
p5.TopSurface = Enum.SurfaceType.Smooth
774
b5 = Instance.new("BlockMesh", p5)
775
b5.Name = "Mesh"
776
b5.Scale = Vector3.new(0.299999923, 0.399999917, 0.799999952)
777
p6 = Instance.new("Part", m)
778
p6.Material = "Metal"
779
p6.BrickColor = BrickColor.new("Really black")
780
p6.Name = "Handle"
781
p6.FormFactor = Enum.FormFactor.Custom
782
p6.Size = Vector3.new(1.29999995, 1, 1)
783
p6.CFrame = CFrame.new(103.000061, 11.0688219, -5.5480547, -1.23393656e-005, -1.36360759e-005, 0.999994218, 5.37017331e-006, 0.999984086, -9.45257489e-006, -0.999962509, -9.28580994e-006, 1.64470257e-005)
784
p6.CanCollide = false
785
p6.Locked = true
786
p6.BottomSurface = Enum.SurfaceType.Smooth
787
p6.TopSurface = Enum.SurfaceType.Smooth
788
b6 = Instance.new("SpecialMesh", p6)
789
b6.MeshType = Enum.MeshType.Cylinder
790
b6.Name = "Mesh"
791
b6.Scale = Vector3.new(1, 0.200000003, 0.200000003)
792
p7 = Instance.new("Part", m)
793
p7.Material = "Metal"
794
p7.BrickColor = BrickColor.new("Really black")
795
p7.FormFactor = Enum.FormFactor.Symmetric
796
p7.Size = Vector3.new(1, 1, 1)
797
p7.CFrame = CFrame.new(103.000099, 11.0688391, -4.79808855, -0.000332629686, 0.00429873355, -0.99998492, -4.5920292e-006, 0.999974728, 0.00432178052, 0.999962449, -8.49941443e-006, -0.000361445156)
798
p7.CanCollide = false
799
p7.Locked = true
800
b7 = Instance.new("SpecialMesh", p7)
801
b7.MeshId = "http://www.roblox.com/Asset/?id=9756362"
802
b7.TextureId = ""
803
b7.MeshType = Enum.MeshType.FileMesh
804
b7.Name = "Mesh"
805
b7.Scale = Vector3.new(0.400000006, 0.400000006, 0.400000006)
806
p8 = Instance.new("Part", m)
807
p8.Material = "Metal"
808
p8.BrickColor = BrickColor.new("Really black")
809
p8.Name = "BladePart"
810
p8.FormFactor = Enum.FormFactor.Symmetric
811
p8.Size = Vector3.new(1, 1, 1)
812
p8.CFrame = CFrame.new(103.003326, 10.6254845, -8.59870911, -2.92104669e-005, -1.10579058e-005, 0.999994218, -0.996175766, -0.0871899351, -5.3152442e-005, 0.0872026458, -0.996152997, 2.03179661e-005)
813
p8.CanCollide = false
814
p8.Locked = true
815
p8.Elasticity = 0
816
p8.BottomSurface = Enum.SurfaceType.Smooth
817
p8.TopSurface = Enum.SurfaceType.Smooth
818
b8 = Instance.new("BlockMesh", p8)
819
b8.Name = "Mesh"
820
b8.Scale = Vector3.new(0.299999923, 1, 0.120000005)
821
p9 = Instance.new("Part", m)
822
p9.Material = "Metal"
823
p9.BrickColor = BrickColor.new("Really black")
824
p9.Name = "BladePart"
825
p9.FormFactor = Enum.FormFactor.Symmetric
826
p9.Size = Vector3.new(1, 1, 1)
827
p9.CFrame = CFrame.new(103.003311, 10.625597, -9.51878738, -2.59891603e-005, -1.34348729e-005, 0.999994218, -0.996185422, 0.087079078, -4.78096408e-005, -0.0870626047, -0.996165276, 1.31400229e-005)
828
p9.CanCollide = false
829
p9.Locked = true
830
p9.Elasticity = 0
831
p9.BottomSurface = Enum.SurfaceType.Smooth
832
p9.TopSurface = Enum.SurfaceType.Smooth
833
b9 = Instance.new("BlockMesh", p9)
834
b9.Name = "Mesh"
835
b9.Scale = Vector3.new(0.299999923, 1, 0.120000005)
836
p10 = Instance.new("Part", m)
837
p10.Material = "Metal"
838
p10.BrickColor = BrickColor.new("Really black")
839
p10.Name = "BladeTip"
840
p10.FormFactor = Enum.FormFactor.Symmetric
841
p10.Size = Vector3.new(1, 1, 2)
842
p10.CFrame = CFrame.new(103.00309, 11.1081867, -11.6109829, -0.999994099, -0.000455793255, 4.643387e-005, 0.00045133481, -0.965918779, -0.25878337, 0.000134008093, -0.258763671, 0.965901971)
843
p10.CanCollide = false
844
p10.Locked = true
845
p10.Elasticity = 0
846
p10.BottomSurface = Enum.SurfaceType.Smooth
847
p10.TopSurface = Enum.SurfaceType.Smooth
848
b10 = Instance.new("SpecialMesh", p10)
849
b10.MeshType = Enum.MeshType.Wedge
850
b10.Name = "Mesh"
851
b10.Scale = Vector3.new(0.119999997, 0.299999923, 0.699999928)
852
p11 = Instance.new("Part", m)
853
p11.Material = "Metal"
854
p11.BrickColor = BrickColor.new("Really black")
855
p11.Name = "BladePart"
856
p11.FormFactor = Enum.FormFactor.Symmetric
857
p11.Size = Vector3.new(1, 1, 1)
858
p11.CFrame = CFrame.new(103.003296, 10.7956495, -10.4587727, 2.83485351e-005, -1.54050977e-005, 0.999994218, -0.96592474, 0.258761972, 8.27970416e-006, -0.258742362, -0.965907693, 2.1241216e-005)
859
p11.CanCollide = false
860
p11.Locked = true
861
p11.Elasticity = 0
862
p11.BottomSurface = Enum.SurfaceType.Smooth
863
p11.TopSurface = Enum.SurfaceType.Smooth
864
b11 = Instance.new("BlockMesh", p11)
865
b11.Name = "Mesh"
866
b11.Scale = Vector3.new(0.299999923, 1, 0.120000005)
867
p12 = Instance.new("Part", m)
868
p12.Material = "Metal"
869
p12.BrickColor = BrickColor.new("Really black")
870
p12.Name = "BladeTip2"
871
p12.FormFactor = Enum.FormFactor.Custom
872
p12.Size = Vector3.new(1, 1, 2.4000001)
873
p12.CFrame = CFrame.new(102.999977, 10.6319504, -10.4398403, -0.999994218, -5.5769262e-005, 6.55075928e-005, 4.61044419e-006, 0.882887006, 0.469551951, -0.000112806956, 0.469529003, -0.882874727)
874
p12.CanCollide = false
875
p12.Locked = true
876
p12.Elasticity = 0
877
p12.BottomSurface = Enum.SurfaceType.Smooth
878
p12.TopSurface = Enum.SurfaceType.Smooth
879
b12 = Instance.new("SpecialMesh", p12)
880
b12.MeshType = Enum.MeshType.Wedge
881
b12.Name = "Mesh"
882
b12.Scale = Vector3.new(0.119999997, 0.239999995, 0.699999928)
883
p13 = Instance.new("Part", m)
884
p13.Material = "Metal"
885
p13.BrickColor = BrickColor.new("Medium stone grey")
886
p13.Transparency = 1
887
p13.Name = "HitBox"
888
p13.FormFactor = Enum.FormFactor.Custom
889
p13.Size = Vector3.new(6.0999999, 0.400000006, 1.5999999)
890
p13.CFrame = CFrame.new(103.009995, 10.9988394, -9.2679081, 1.22519814e-005, -0.999994218, 1.36361559e-005, -5.27501106e-006, 9.45320426e-006, -0.999984264, 0.999962687, -1.65344682e-005, 9.20891762e-006)
891
p13.CanCollide = false
892
p13.Locked = true
893
p13.BottomSurface = Enum.SurfaceType.Smooth
894
p13.TopSurface = Enum.SurfaceType.Smooth
895
w1 = Instance.new("Weld", p1)
896
w1.Name = "Part_Weld"
897
w1.Part0 = p1
898
w1.C0 = CFrame.new(11.9124546, -5.63626003, -103.00383, 4.33940659e-005, -0.984795153, 0.173719674, 1.85460614e-009, -0.173719659, -0.984795094, 1, 4.27345876e-005, -7.53657105e-006)
899
w1.Part1 = p2
900
w1.C1 = CFrame.new(-8.80891991, -9.26009178, 102.975845, 0.00136663229, 0.965830803, 0.259170175, 0.00170310249, 0.25916782, -0.965830863, -0.999997616, 0.00176132878, -0.00129072159)
901
w2 = Instance.new("Weld", p2)
902
w2.Name = "Part_Weld"
903
w2.Part0 = p2
904
w2.C0 = CFrame.new(-8.80891991, -9.26009178, 102.975845, 0.00136663229, 0.965830803, 0.259170175, 0.00170310249, 0.25916782, -0.965830863, -0.999997616, 0.00176132878, -0.00129072159)
905
w2.Part1 = p3
906
w2.C1 = CFrame.new(13.0439634, -0.78926897, -103.003448, -4.37113883e-008, -0.88294369, 0.469478935, 0, -0.469478935, -0.88294369, 1, -3.85946954e-008, 2.05215755e-008)
907
w3 = Instance.new("Weld", p3)
908
w3.Name = "BladePart_Weld"
909
w3.Part0 = p3
910
w3.C0 = CFrame.new(13.0439634, -0.78926897, -103.003448, -4.37113883e-008, -0.88294369, 0.469478935, 0, -0.469478935, -0.88294369, 1, -3.85946954e-008, 2.05215755e-008)
911
w3.Part1 = p4
912
w3.C1 = CFrame.new(12.3193283, -3.60437131, -103.003067, 2.38418579e-006, -0.965907753, 0.258877277, 0, -0.258874893, -0.965907753, 0.999997616, 0, 2.38418579e-006)
913
w4 = Instance.new("Weld", p4)
914
w4.Name = "Hilt_Weld"
915
w4.Part0 = p4
916
w4.C0 = CFrame.new(12.3193283, -3.60437131, -103.003067, 2.38418579e-006, -0.965907753, 0.258877277, 0, -0.258874893, -0.965907753, 0.999997616, 0, 2.38418579e-006)
917
w4.Part1 = p5
918
w4.C1 = CFrame.new(103.010277, 6.16758585, -11.003541, -0.999999821, -0.00060418935, 4.31301851e-005, 4.32021443e-005, -0.000119086159, 1, -0.000604184228, 0.999999821, 0.000119112243)
919
w5 = Instance.new("Weld", p5)
920
w5.Name = "Handle_Weld"
921
w5.Part0 = p5
922
w5.C0 = CFrame.new(103.010277, 6.16758585, -11.003541, -0.999999821, -0.00060418935, 4.31301851e-005, 4.32021443e-005, -0.000119086159, 1, -0.000604184228, 0.999999821, 0.000119112243)
923
w5.Part1 = p6
924
w5.C1 = CFrame.new(-5.54999733, -11.0699978, -103, -4.37113883e-008, 2.98366913e-008, -1, 0, 1, 2.98366913e-008, 1, 1.3042032e-015, -4.37113883e-008)
925
w6 = Instance.new("Weld", p6)
926
w6.Name = "Part_Weld"
927
w6.Part0 = p6
928
w6.C0 = CFrame.new(-5.54999733, -11.0699978, -103, -4.37113883e-008, 2.98366913e-008, -1, 0, 1, 2.98366913e-008, 1, 1.3042032e-015, -4.37113883e-008)
929
w6.Part1 = p7
930
w6.C1 = CFrame.new(4.83552647, -11.5140886, 102.949669, -0.000344927335, 7.4505806e-007, 0.99999994, 0.00431239465, 0.999990702, 7.4505806e-007, -0.999990642, 0.00431239465, -0.000344927335)
931
w7 = Instance.new("Weld", p7)
932
w7.Name = "BladePart_Weld"
933
w7.Part0 = p7
934
w7.C0 = CFrame.new(4.83552647, -11.5140886, 102.949669, -0.000344927335, 7.4505806e-007, 0.99999994, 0.00431239465, 0.999990702, 7.4505806e-007, -0.999990642, 0.00431239465, -0.000344927335)
935
w7.Part1 = p8
936
w7.C1 = CFrame.new(11.3406382, -7.6414094, -103.0028, -4.38670977e-005, -0.996191144, 0.0871966407, 1.91451011e-009, -0.0871966407, -0.996191144, 1, -4.36998489e-005, 3.82696771e-006)
937
w8 = Instance.new("Weld", p8)
938
w8.Name = "BladePart_Weld"
939
w8.Part0 = p8
940
w8.C0 = CFrame.new(11.3406382, -7.6414094, -103.0028, -4.38670977e-005, -0.996191144, 0.0871966407, 1.91451011e-009, -0.0871966407, -0.996191144, 1, -4.36998489e-005, 3.82696771e-006)
941
w8.Part1 = p9
942
w8.C1 = CFrame.new(9.76131344, -10.4100504, -103.002922, -3.85031162e-005, -0.996201694, -0.0870751292, 1.47589729e-009, 0.0870751366, -0.996201754, 1, -3.83570004e-005, -3.35119148e-006)
943
w9 = Instance.new("Weld", p9)
944
w9.Name = "BladeTip_Weld"
945
w9.Part0 = p9
946
w9.C0 = CFrame.new(9.76131344, -10.4100504, -103.002922, -3.85031162e-005, -0.996201694, -0.0870751292, 1.47589729e-009, 0.0870751366, -0.996201754, 1, -3.83570004e-005, -3.35119148e-006)
947
w9.Part1 = p10
948
w9.C1 = CFrame.new(102.999939, 7.7735939, 14.0892649, -0.999999881, 0.000441889424, 0.000150508567, -0.000465785735, -0.965935588, -0.258782327, 3.10284122e-005, -0.258782327, 0.965935647)
949
w10 = Instance.new("Weld", p10)
950
w10.Name = "BladePart_Weld"
951
w10.Part0 = p10
952
w10.C0 = CFrame.new(102.999939, 7.7735939, 14.0892649, -0.999999881, 0.000441889424, 0.000150508567, -0.000465785735, -0.965935588, -0.258782327, 3.10284122e-005, -0.258782327, 0.965935647)
953
w10.Part1 = p11
954
w10.C1 = CFrame.new(7.72030354, -12.8984127, -103.003448, 1.83585671e-005, -0.965941429, -0.258760989, 3.25545535e-010, 0.258760959, -0.96594137, 1, 1.77332167e-005, 4.7507956e-006)
955
w11 = Instance.new("Weld", p11)
956
w11.Name = "BladeTip2_Weld"
957
w11.Part0 = p11
958
w11.C0 = CFrame.new(7.72030354, -12.8984127, -103.003448, 1.83585671e-005, -0.965941429, -0.258760989, 3.25545535e-010, 0.258760959, -0.96594137, 1, 1.77332167e-005, 4.7507956e-006)
959
w11.Part1 = p12
960
w11.C1 = CFrame.new(102.999031, -4.47981405, -14.2206001, -1, -4.84334305e-006, -9.63198472e-005, -4.95036402e-005, 0.882903397, 0.469554722, 8.27668991e-005, 0.469554722, -0.882903397)
961
w12 = Instance.new("Weld", p12)
962
w12.Name = "HitBox_Weld"
963
w12.Part0 = p12
964
w12.C0 = CFrame.new(102.999031, -4.47981405, -14.2206001, -1, -4.84334305e-006, -9.63198472e-005, -4.95036402e-005, 0.882903397, 0.469554722, 8.27668991e-005, 0.469554722, -0.882903397)
965
w12.Part1 = p13
966
w12.C1 = CFrame.new(9.27000427, 103.009995, 10.9999933, -4.37113883e-008, -4.37113883e-008, 1, -1, 1.91068547e-015, -4.37113883e-008, 0, -1, -4.37113883e-008)
967
w13 = Instance.new("Weld", p13)
968
w13.Name = "Weld"
969
w13.Part0 = p13
970
w13.C0 = CFrame.new(9.27000427, 103.009995, 10.9999933, -4.37113883e-008, -4.37113883e-008, 1, -1, 1.91068547e-015, -4.37113883e-008, 0, -1, -4.37113883e-008)
971
m.Parent = char
972
m:MakeJoints()
973
----------------------------------------------------
974
local cor = Instance.new("Part", char.Genkadda)
975
cor.Name = "Thingy"
976
cor.Locked = true
977
cor.BottomSurface = 0
978
cor.CanCollide = false
979
cor.Size = Vector3.new(1, 9, 1)
980
cor.Transparency = 1
981
cor.TopSurface = 0
982
corw = Instance.new("Weld", cor)
983
corw.Part0 = rarm
984
corw.Part1 = cor
985
corw.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(90))
986
corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
987
weld1 = Instance.new("Weld", char.Genkadda)
988
weld1.Part0 = cor
989
weld1.Part1 = p6
990
weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
991
---------------------------------------------------- Gauntlet
992
993
m=Instance.new('Model',char)
994
995
996
	local function weldBetween(a, b)
997
	    local weldd = Instance.new("ManualWeld")
998
	    weldd.Part0 = a
999
	    weldd.Part1 = b
1000
	    weldd.C0 = CFrame.new()
1001
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
1002
	    weldd.Parent = a
1003
	    return weldd
1004
	end
1005
	
1006
	it=Instance.new
1007
	
1008
	function nooutline(part)
1009
		part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
1010
	end
1011
	
1012
	function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
1013
		local fp=it("Part")
1014
		fp.formFactor=formfactor
1015
		fp.Parent=parent
1016
		fp.Reflectance=reflectance
1017
		fp.Transparency=transparency
1018
		fp.CanCollide=false
1019
		fp.Locked=true
1020
		fp.BrickColor=BrickColor.new(tostring(brickcolor))
1021
		fp.Name=name
1022
		fp.Size=size
1023
		fp.Position=char.Torso.Position
1024
		nooutline(fp)
1025
		fp.Material=material
1026
		fp:BreakJoints()
1027
		return fp
1028
	end
1029
	
1030
	function mesh(Mesh,part,meshtype,meshid,offset,scale)
1031
		local mesh=it(Mesh)
1032
		mesh.Parent=part
1033
		if Mesh=="SpecialMesh" then
1034
			mesh.MeshType=meshtype
1035
			mesh.MeshId=meshid
1036
		end
1037
		mesh.Offset=offset
1038
		mesh.Scale=scale
1039
		return mesh
1040
	end
1041
	
1042
	function weld(parent,part0,part1,c0,c1)
1043
		local weld=it("Weld")
1044
		weld.Parent=parent
1045
		weld.Part0=part0
1046
		weld.Part1=part1
1047
		weld.C0=c0
1048
		weld.C1=c1
1049
		return weld
1050
	end
1051
1052
MN=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Lime green","Handle",Vector3.new(1.09732866, 2.19465828, 1.09732854))
1053
MNweld=weld(m,char["Right Arm"],MN,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0323486328, -0.0509860516, -0.00120401382, -0.00500982394, 0.00520668458, 0.999973893, -0.00739898486, 0.999958873, -0.00524367485, -0.999960065, -0.00742506143, -0.0049710935))
1054
TR7=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Lime green","TR7",Vector3.new(1.09732866, 0.274332285, 1.09732854))
1055
TR7weld=weld(m,MN,TR7,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000442504883, 0.68581605, 0.000279426575, 1.00000381, 0.000690042973, -0.000169841573, 0.000690029934, -0.999999702, -0.000261242967, -0.000170052983, 0.000261111214, -1.00000393))
1056
mesh("SpecialMesh",TR7,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 1.02999997, 1.02999997))
1057
MD9=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD9",Vector3.new(1.09732866, 0.266768783, 1.09732854))
1058
MD9weld=weld(m,MN,MD9,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.741846681, 0.199262142, 1.00000405, -6.92205504e-06, 0.000154254027, 4.65649646e-05, 0.965939224, -0.25876984, -0.000147186685, 0.258768767, 0.965943158))
1059
mesh("SpecialMesh",MD9,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.01999998, 0.411340922, 1.01999998))
1060
MD1=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD1",Vector3.new(0.237408489, 0.259352177, 0.518704116))
1061
MD1weld=weld(m,MN,MD1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.402763367, -0.974855185, 0.682875633, 0.99988991, -0.0150081124, -0.00168980728, 0.0149988253, 0.999872923, -0.00539785437, 0.00177063467, 0.00537188631, 0.999988079))
1062
mesh("SpecialMesh",MD1,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
1063
MD10=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD10",Vector3.new(1.09732866, 0.274332285, 1.09732854))
1064
MD10weld=weld(m,MN,MD10,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-05, -0.960148811, -0.000584125519, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
1065
mesh("SpecialMesh",MD10,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
1066
MD11=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD11",Vector3.new(0.266768694, 1.09732914, 0.658397138))
1067
MD11weld=weld(m,MN,MD11,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.493839264, -0.274354219, 4.24385071e-05, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
1068
mesh("SpecialMesh",MD11,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 1, 1.00999999))
1069
MD12=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD12",Vector3.new(0.266768694, 1.09732914, 0.658397138))
1070
MD12weld=weld(m,MN,MD12,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.493812561, -0.274300575, -0.000376224518, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
1071
mesh("SpecialMesh",MD12,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 1, 1.00999999))
1072
MD13=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD13",Vector3.new(1.09732866, 0.822996795, 1.09732854))
1073
MD13weld=weld(m,MN,MD13,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.90734863e-05, 0.68582201, 0.000464439392, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
1074
mesh("SpecialMesh",MD13,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
1075
MD14=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD14",Vector3.new(1.09732866, 0.266768783, 1.09732854))
1076
MD14weld=weld(m,MN,MD14,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.90734863e-05, 0.603547096, 0.000416755676, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
1077
mesh("SpecialMesh",MD14,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.04999995, 0.411340922, 1.04999995))
1078
MD15=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD15",Vector3.new(1.09732866, 0.274332285, 1.09732854))
1079
MD15weld=weld(m,MN,MD15,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.62939453e-05, 0.137180567, -4.529953e-05, -1.0000037, -0.000862163957, 0.000179466791, -0.000862103421, 0.999999523, 0.000520790287, -0.000179945491, 0.000520619913, -1.00000381))
1080
mesh("SpecialMesh",MD15,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
1081
MD16=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD16",Vector3.new(1.09732866, 0.266768783, 1.09732854))
1082
MD16weld=weld(m,MN,MD16,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.86645508e-05, 0.932742357, 0.000658988953, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
1083
mesh("SpecialMesh",MD16,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.04999995, 0.411340922, 1.04999995))
1084
MD19=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD19",Vector3.new(1.09732866, 0.274332285, 1.09732854))
1085
MD19weld=weld(m,MN,MD19,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000442504883, 0.68581605, 0.000279426575, 1.00000381, 0.000690042973, -0.000169841573, 0.000690029934, -0.999999702, -0.000261242967, -0.000170052983, 0.000261111214, -1.00000393))
1086
mesh("SpecialMesh",MD19,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1.01999998, 1.01999998))
1087
MD18=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD18",Vector3.new(1.09732866, 0.266768783, 1.09732854))
1088
MD18weld=weld(m,MN,MD18,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.52587891e-05, -0.246893644, -0.00013256073, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
1089
mesh("SpecialMesh",MD18,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.01999998, 0.411340922, 1.01999998))
1090
MD2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD2",Vector3.new(0.2574085, 0.259352177, 0.518704116))
1091
MD2weld=weld(m,MN,MD2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.392555237, -0.573539257, 1.09872949, 0.999886394, -0.0152528733, -0.00162532134, 0.0119883548, 0.710953057, 0.70314008, -0.00956933573, -0.703074038, 0.71105516))
1092
mesh("SpecialMesh",MD2,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
1093
MD3=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD3",Vector3.new(0.247408509, 0.259352177, 0.518704116))
1094
MD3weld=weld(m,MN,MD3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.397964478, -0.817667723, 0.487944126, 0.999890864, -0.0149886403, -0.00193861127, 0.0139457425, 0.964460015, -0.263861924, 0.00582473399, 0.26380372, 0.964563668))
1095
mesh("SpecialMesh",MD3,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
1096
MD4=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD4",Vector3.new(0.247408509, 0.259352177, 0.518704116))
1097
MD4weld=weld(m,MN,MD4,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.422103882, -0.82026124, 0.507567406, 0.999890864, -0.0149886403, -0.00193861127, 0.0139457425, 0.964460015, -0.263861924, 0.00582473399, 0.26380372, 0.964563668))
1098
mesh("SpecialMesh",MD4,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
1099
MD5=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD5",Vector3.new(0.2574085, 0.259352177, 0.518704116))
1100
MD5weld=weld(m,MN,MD5,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.427509308, -0.557831764, 1.11046171, 0.999886394, -0.0152528733, -0.00162532134, 0.0119883548, 0.710953057, 0.70314008, -0.00956933573, -0.703074038, 0.71105516))
1101
mesh("SpecialMesh",MD5,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
1102
MD6=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD6",Vector3.new(0.237408489, 0.259352177, 0.518704116))
1103
MD6weld=weld(m,MN,MD6,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.417263031, -0.972257376, 0.702233315, 0.99988991, -0.0150081124, -0.00168980728, 0.0149988253, 0.999872923, -0.00539785437, 0.00177063467, 0.00537188631, 0.999988079))
1104
mesh("SpecialMesh",MD6,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
1105
MD7=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD7",Vector3.new(1.09732866, 0.274332285, 1.09732854))
1106
MD7weld=weld(m,MN,MD7,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000442504883, 0.68581605, 0.000279426575, 1.00000381, 0.000690042973, -0.000169841573, 0.000690029934, -0.999999702, -0.000261242967, -0.000170052983, 0.000261111214, -1.00000393))
1107
mesh("SpecialMesh",MD7,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
1108
MD8=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD8",Vector3.new(1.09732866, 0.274332285, 1.09732854))
1109
MD8weld=weld(m,MN,MD8,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-05, -0.960148811, -0.000584125519, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
1110
mesh("SpecialMesh",MD8,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1.01999998, 1.01999998))
1111
TR1=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Lime green","TR1",Vector3.new(0.266768694, 0.54866457, 0.548664272))
1112
TR1weld=weld(m,MN,TR1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.548826218, 0.30154109, 4.57763672e-05, -0.000205519143, -0.0001726388, -1, -4.31765802e-05, 1, -0.00017263052, 1, 4.314119e-05, -0.000205526594))
1113
mesh("SpecialMesh",TR1,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 0.700000048, 0.700000048))
1114
TR2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Lime green","TR2",Vector3.new(1.09732866, 0.266768783, 1.09732854))
1115
TR2weld=weld(m,MN,TR2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-05, 0.741921067, 0.198978901, 1.00000405, -2.92747281e-05, -1.7457176e-05, 2.37242784e-05, 0.965939343, -0.258769363, 2.44602561e-05, 0.25876832, 0.965943277))
1116
mesh("SpecialMesh",TR2,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.02999997, 0.0822681859, 1.02999997))
1117
TR3=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Lime green","TR3",Vector3.new(1.09732866, 0.266768783, 1.09732854))
1118
TR3weld=weld(m,MN,TR3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.81469727e-05, 0.603546381, 0.000186920166, 1.00000787, -8.63452442e-05, -2.6775524e-07, 8.62879679e-05, 1, -2.05411197e-07, 2.68686563e-07, 2.3024586e-07, 1.00000775))
1119
mesh("SpecialMesh",TR3,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.05999994, 0.0822681859, 1.05999994))
1120
TR4=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Lime green","TR4",Vector3.new(1.09732866, 0.266768783, 1.09732854))
1121
TR4weld=weld(m,MN,TR4,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000106811523, 0.93274045, 0.000304222107, 1.00000787, -8.63452442e-05, -2.6775524e-07, 8.62879679e-05, 1, -2.05411197e-07, 2.68686563e-07, 2.3024586e-07, 1.00000775))
1122
mesh("SpecialMesh",TR4,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.05999994, 0.0822681859, 1.05999994))
1123
TR5=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Lime green","TR5",Vector3.new(1.09732866, 0.274332285, 1.09732854))
1124
TR5weld=weld(m,MN,TR5,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-05, -0.960148811, -0.000584125519, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
1125
mesh("SpecialMesh",TR5,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 1.02999997, 1.02999997))
1126
TR6=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Lime green","TR6",Vector3.new(1.09732866, 0.266768783, 1.09732854))
1127
TR6weld=weld(m,MN,TR6,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.52587891e-05, -0.246893644, -0.00013256073, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
1128
mesh("SpecialMesh",TR6,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.02999997, 0.0822681859, 1.02999997))
1129
MD21=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","MD21",Vector3.new(0.266768694, 0.54866457, 0.548664272))
1130
MD21weld=weld(m,MN,MD21,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.548921585, 0.301375628, 0.000118255615, -0.000262488145, -9.39509191e-05, -1.00000393, -0.000154611655, 1, -9.38984886e-05, 1.00000393, 0.000154557638, -0.000262471847))
1131
mesh("SpecialMesh",MD21,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.411340952, 0.900000036, 0.900000036))
1132
1133
--[[TG1=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Lime green","Handle",Vector3.new(0.231713057, 0.953130603, 0.953130603))
1134
TG1weld=weld(m,char["HumanoidRootPart"],TG1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.042350769, 2.25753069, -2.74072218, -0.0144443018, -0.00148237997, 0.999894559, 0.138804898, -0.99031961, 0.000536966661, 0.990214407, 0.138798028, 0.0145102367))
1135
mesh("SpecialMesh",TG1,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 0.5, 0.5))]]
1136
1137
1138
local edit = function(name,mat,col)
1139
name.Material = mat
1140
name.BrickColor = BrickColor.new(col)
1141
end
1142
1143
local dark = function()
1144
edit(TR1,"Neon","Lime green")
1145
edit(TR2,"Neon","Lime green")
1146
edit(TR3,"Neon","Lime green")
1147
edit(TR4,"Neon","Lime green")
1148
edit(TR5,"Neon","Lime green")
1149
edit(TR6,"Neon","Lime green")
1150
edit(TR7,"Neon","Lime green")
1151
edit(MN,"Neon","Lime green")
1152
--
1153
1154
1155
end
1156
local light = function()
1157
edit(TR1,"Neon","Lime green")
1158
edit(TR2,"Neon","Lime green")
1159
edit(TR3,"Neon","Lime green")
1160
edit(TR4,"Neon","Lime green")
1161
edit(TR5,"Neon","Lime green")
1162
edit(TR6,"Neon","Lime green")
1163
edit(TR7,"Neon","Lime green")
1164
edit(MN,"Neon","Lime green")
1165
--
1166
1167
end
1168
1169
1170
dark()
1171
1172
--Messy
1173
1174
----------------------------------------------------
1175
function Vanish()
1176
	for i = 1, 10 do wait()
1177
		for i,v in pairs(char.Genkadda:GetChildren()) do
1178
			if v:IsA("Part") or v:IsA("WedgePart") then
1179
				if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
1180
					v.Transparency = v.Transparency + 0.1
1181
				end
1182
			end
1183
		end
1184
	end
1185
end
1186
----------------------------------------------------
1187
function Appear()
1188
	for i = 1, 10 do wait()
1189
		for i,v in pairs(char.Genkadda:GetChildren()) do
1190
			if v:IsA("Part") or v:IsA("WedgePart") then
1191
				if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
1192
					v.Transparency = v.Transparency - 0.1
1193
				end
1194
			end
1195
		end
1196
	end
1197
end
1198
----------------------------------------------------
1199
local player = game.Players.LocalPlayer
1200
local pchar = player.Character
1201
local mouse = player:GetMouse()
1202
local cam = workspace.CurrentCamera
1203
1204
local rad = math.rad
1205
1206
local keysDown = {}
1207
local flySpeed = 0
1208
local MAX_FLY_SPEED = 150
1209
1210
local canFly = false
1211
local flyToggled = false
1212
1213
local forward, side = 0, 0
1214
local lastForward, lastSide = 0, 0
1215
1216
local floatBP = Instance.new("BodyPosition")
1217
floatBP.maxForce = Vector3.new(0, math.huge, 0)
1218
local flyBV = Instance.new("BodyVelocity")
1219
flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9)
1220
local turnBG = Instance.new("BodyGyro")
1221
turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
1222
1223
mouse.KeyDown:connect(function(key)
1224
	keysDown[key] = true
1225
	
1226
	if key == "f" then
1227
		flyToggled = not flyToggled
1228
		
1229
	if not flyToggled then
1230
		stanceToggle = "Normal"
1231
		floatBP.Parent = nil
1232
		flyBV.Parent = nil
1233
		turnBG.Parent = nil
1234
		root.Velocity = Vector3.new()
1235
		pchar.Humanoid.PlatformStand = false
1236
	end
1237
end
1238
	
1239
end)
1240
mouse.KeyUp:connect(function(key)
1241
	keysDown[key] = nil
1242
end)
1243
1244
local function updateFly()
1245
1246
	if not flyToggled then return end
1247
	
1248
	lastForward = forward
1249
	lastSide = side
1250
	
1251
	forward = 0
1252
	side = 0
1253
	
1254
	if keysDown.w then
1255
		forward = forward + 1
1256
	end
1257
	if keysDown.s then
1258
		forward = forward - 1
1259
	end
1260
	if keysDown.a then
1261
		side = side - 1
1262
	end
1263
	if keysDown.d then
1264
		side = side + 1
1265
	end
1266
1267
	
1268
	canFly = (forward ~= 0 or side ~= 0)
1269
	
1270
	if canFly then
1271
		stanceToggle = "Floating"
1272
		turnBG.Parent = root
1273
		floatBP.Parent = nil
1274
		flyBV.Parent = root
1275
		
1276
		flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED)
1277
		if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end
1278
	else
1279
		floatBP.position = root.Position
1280
		floatBP.Parent = root
1281
		
1282
		flySpeed = flySpeed - 1
1283
		if flySpeed < 0 then flySpeed = 0 end
1284
	end
1285
	
1286
	local camCF = cam.CoordinateFrame
1287
	local in_forward = canFly and forward or lastForward
1288
	local in_side = canFly and side or lastSide
1289
	
1290
	flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side, 
1291
in_forward * 0.2, 0).p) - camCF.p) * flySpeed
1292
	
1293
	turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0, 
1294
0)
1295
end
1296
1297
game:service'RunService'.RenderStepped:connect(function()
1298
	if flyToggled then
1299
		pchar.Humanoid.PlatformStand = true
1300
	end
1301
	updateFly()
1302
end)
1303
----------------------------------------------------
1304
p13.Touched:connect(function(ht)
1305
    hit = ht.Parent
1306
    if ht and hit:IsA("Model") then
1307
            if hit:FindFirstChild("Humanoid") then
1308
                if hit.Name ~= p.Name then
1309
                    if Debounces.Slashing == true and Debounces.Slashed == false then
1310
                            Debounces.Slashed = true
1311
                                hit:FindFirstChild("Humanoid"):TakeDamage(math.random(20,25))
1312
                            wait(.3)
1313
                            Debounces.Slashed = false
1314
                    end
1315
                end
1316
            end
1317
    elseif ht and hit:IsA("Hat") then
1318
        if hit.Parent.Name ~= p.Name then
1319
            if hit.Parent:FindFirstChild("Humanoid") then
1320
                   if Debounces.Slashing == true and Debounces.Slashed == false then
1321
                            Debounces.Slashed = true
1322
                            hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(20,25))
1323
                            wait(.3)
1324
                Debounces.Slashed = false
1325
				end
1326
            end
1327
        end
1328
    end    
1329
end)
1330
----------------------------------------------------
1331
local ptz = {0.7, 0.8, 0.9, 1}
1332
ptz2 = {1.5, 1.6, 1.7, 1.8, 1.9, 2}
1333
idz = {"161006212", "161006195"}
1334
mouse.KeyDown:connect(function(key)
1335
    if key == "q" then
1336
        if Debounces.CanAttack == true then
1337
			Debounces.CanAttack = false
1338
			Debounces.NoIdl = true
1339
			Debounces.on = true
1340
			
1341
if holy == true then
1342
			for i = 1, 8 do
1343
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad  (60),math.rad(70),math.rad(70)), 0.2)
1344
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0) *CFrame.Angles(math.rad(-20),math.rad(0),math.rad  (-40)), 0.2)
1345
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-50), math.rad(0)),   0.2)
1346
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(-.4, -1, 0) * CFrame.Angles(math.rad(0), math.rad(70),   math.rad(0)), 0.2)
1347
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.2)
1348
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.2)
1349
			if Debounces.on == false then break end
1350
			rs:wait(2)
1351
			end
1352
	else 
1353
		for i = 1, 20 do
1354
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad  (60),math.rad(70),math.rad(70)), 0.2)
1355
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0) *CFrame.Angles(math.rad(-20),math.rad(0),math.rad  (-40)), 0.2)
1356
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-50), math.rad(0)),   0.2)
1357
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(-.4, -1, 0) * CFrame.Angles(math.rad(0), math.rad(70),   math.rad(0)), 0.2)
1358
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.2)
1359
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.2)
1360
			if Debounces.on == false then break end
1361
			rs:wait(2)
1362
			end			
1363
	end		
1364
			
1365
				z = Instance.new("Sound", hed)
1366
				z.SoundId = "rbxassetid://"..idz[math.random(1,#idz)]
1367
				z.Pitch = ptz[math.random(1,#ptz)]
1368
				z.Volume = 1
1369
				wait(.01)
1370
				z:Play()
1371
				
1372
				if holy == true then
1373
				--so("http://roblox.com/asset/?id=231917788",hed,1,1.7)
1374
				so("http://roblox.com/asset/?id=200633077",hed,1,ptz2[math.random(1,#ptz2)])
1375
				else
1376
				so("http://roblox.com/asset/?id=200633029",hed,1,ptz2[math.random(1,#ptz2)])
1377
				end
1378
				 
1379
				Debounces.Slashing = true
1380
				
1381
if holy == true then		
1382
			
1383
			for i = 1, 5 do
1384
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.65, 0) * CFrame.Angles(math.rad(-40),math.rad(-20),math.rad(40)), 0.3)
1385
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.65, -.3) * CFrame.Angles(math.rad(65),math.rad(-20),math.rad(30)), 0.3)
1386
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-9),math.rad(35), math.rad(0)), 0.3)
1387
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 1) * CFrame.Angles(math.rad(0), math.rad(-65), math.rad(0)), 0.3)
1388
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-10)), 0.3)
1389
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.3)
1390
			if Debounces.on == false then break end
1391
			rs:wait(2)
1392
			end
1393
			
1394
else
1395
	
1396
				for i = 1, 20 do
1397
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.65, 0) * CFrame.Angles(math.rad(-40),math.rad(-20),math.rad(40)), 0.3)
1398
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.65, -.3) * CFrame.Angles(math.rad(65),math.rad(-20),math.rad(30)), 0.3)
1399
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-9),math.rad(35), math.rad(0)), 0.3)
1400
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 1) * CFrame.Angles(math.rad(0), math.rad(-65), math.rad(0)), 0.3)
1401
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-10)), 0.3)
1402
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.3)
1403
			if Debounces.on == false then break end
1404
			rs:wait(2)
1405
				end
1406
				
1407
end
1408
                z1 = Instance.new("Sound", hed)
1409
                z1.SoundId = "rbxassetid://"..idz[math.random(1,#idz)]
1410
                z1.Pitch = ptz[math.random(1,#ptz)]
1411
                z1.Volume = 1
1412
                wait(.01)
1413
				z1:Play()
1414
				
1415
				if holy == true then
1416
				--so("http://roblox.com/asset/?id=231917788",hed,1,1.7)
1417
				so("http://roblox.com/asset/?id=200633077",hed,1,ptz2[math.random(1,#ptz2)])
1418
				else
1419
				so("http://roblox.com/asset/?id=200633029",hed,1,ptz2[math.random(1,#ptz2)])
1420
				end
1421
				
1422
1423
	
1424
				
1425
				Debounces.Slashing = true
1426
			for i = 1, 26 do
1427
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad  (90),math.rad(-40),math.rad(80)), 0.35)
1428
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad (- 70)), 0.35)
1429
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-90), math.rad(0)),   0.35)
1430
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, -1) * CFrame.Angles(math.rad(0), math.rad(90),   math.rad(0)), 0.35)
1431
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.35)
1432
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.35)
1433
            cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles (math.rad(0), math.rad(-30), math.rad(0)), 0.35)
1434
			if Debounces.on == false then break end
1435
			rs:wait(2)
1436
			end
1437
			
1438
			Debounces.Slashing = false
1439
			z:Destroy()
1440
			z1:Destroy()
1441
			cor.Weld.C1 = CFrame.Angles(0,0,0)
1442
		if Debounces.CanAttack == false then
1443
			Debounces.CanAttack = true
1444
			Debounces.NoIdl = false
1445
			Debounces.on = false
1446
			end
1447
		end
1448
	end
1449
end)
1450
-------------------------------
1451
pts = {4, 4.2, 4.4, 4.6, 4.8, 5, 5.2, 5.4}
1452
mouse.KeyDown:connect(function(key)
1453
    if key == "e" then
1454
        if Debounces.CanAttack == true then
1455
			Debounces.CanAttack = false
1456
			Debounces.NoIdl = true
1457
			Debounces.on = true
1458
			Debounces.ks = true
1459
	larm.Touched:connect(function(ht)
1460
        hit = ht.Parent
1461
        if ht and hit:IsA("Model") then
1462
                if hit:FindFirstChild("Humanoid") then
1463
                    if hit.Name ~= p.Name then
1464
                        if Debounces.Slapping == true and Debounces.Slapped == false then
1465
                                Debounces.Slapped = true
1466
                                    if Debounces.ks==true then
1467
                                    z = Instance.new("Sound",hed)
1468
                                    z.SoundId = "rbxassetid://169380525"
1469
                                    z.Volume = 1
1470
                                    z:Play()
1471
                                    z1 = Instance.new("Sound",char)
1472
                                    z1.SoundId = "rbxassetid://261010715"
1473
									z1.Pitch = pts[math.random(1,#pts)]
1474
                                    z1.Volume = 1
1475
                                    z2 = Instance.new("Sound",char)
1476
                                    z2.SoundId = "rbxassetid://261010715"
1477
									z2.Pitch = z1.Pitch
1478
                                    z2.Volume = 1
1479
                                    z3 = Instance.new("Sound",char)
1480
                                    z3.SoundId = "rbxassetid://261010715"
1481
									z3.Pitch = z1.Pitch
1482
                                    z3.Volume = 1
1483
                                    z1:Play()
1484
                                    z2:Play()
1485
                                    z3:Play()
1486
                                    Debounces.ks=false
1487
                                    end
1488
                                    hit:FindFirstChild("Humanoid"):TakeDamage(10)
1489
									hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 90
1490
                                wait(.5)
1491
                                Debounces.Slapped = false
1492
								z:Destroy()
1493
								z1:Destroy()
1494
								z2:Destroy()
1495
								z3:Destroy()
1496
                        end
1497
                    end
1498
                end
1499
        elseif ht and hit:IsA("Hat") then
1500
            if hit.Parent.Name ~= p.Name then
1501
                if hit.Parent:FindFirstChild("Humanoid") then
1502
                       if Debounces.Slapping == true and Debounces.Slapped == false then
1503
                                Debounces.Slapped = true
1504
                                    if Debounces.ks==true then
1505
                                    z = Instance.new("Sound",hed)
1506
                                    z.SoundId = "rbxassetid://169380525"
1507
                                    z.Volume = 1
1508
                                    z:Play()
1509
                                    z1 = Instance.new("Sound",char)
1510
                                    z1.SoundId = "rbxassetid://261010715"
1511
									z1.Pitch = pts[math.random(1,#pts)]
1512
                                    z1.Volume = 1
1513
                                    z2 = Instance.new("Sound",char)
1514
                                    z2.SoundId = "rbxassetid://261010715"
1515
									z2.Pitch = z1.Pitch
1516
                                    z2.Volume = 1
1517
                                    z3 = Instance.new("Sound",char)
1518
                                    z3.SoundId = "rbxassetid://261010715"
1519
									z3.Pitch = z1.Pitch
1520
                                    z3.Volume = 1
1521
                                    z1:Play()
1522
                                    z2:Play()
1523
                                    z3:Play()
1524
                                    Debounces.ks=false
1525
                                    end
1526
                                hit.Parent:FindFirstChild("Humanoid"):TakeDamage(10)
1527
                                wait(.5)
1528
                    Debounces.Slapped = false
1529
					z:Destroy()
1530
					z1:Destroy()
1531
					z2:Destroy()
1532
					z3:Destroy()
1533
					end
1534
                end
1535
            end
1536
        end    
1537
    end)
1538
				for i = 1, 14 do
1539
					larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3, 0.5, -.3) * CFrame.Angles(math.rad(50), 0, math.rad(40)), 0.5)
1540
					rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(40)), 0.5)
1541
					torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), 0.5)
1542
					hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 0.5)
1543
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.5)
1544
					rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.5)
1545
					if Debounces.on==false then break end
1546
					rs:wait(2)
1547
				end
1548
				Debounces.Slapping = true
1549
				for i = 1, 20 do
1550
					larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3, 0.7, .3) * CFrame.Angles(math.rad(50), 0, math.rad(-110)), 0.6)
1551
					rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(40)), 0.6)
1552
					torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-70), math.rad(0)), 0.6)
1553
					hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), 0.6)
1554
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6)
1555
					rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6)
1556
					if Debounces.on==false then break end
1557
					rs:wait(2)
1558
				end
1559
				Debounces.Slapping = false
1560
			if Debounces.CanAttack == false then
1561
				Debounces.CanAttack = true
1562
				Debounces.NoIdl = false
1563
				Debounces.on = false
1564
			end
1565
		end
1566
	end
1567
end)
1568
-------------------------------
1569
ptz2 = {1.5, 1.6, 1.7, 1.8, 1.9, 2}
1570
mouse.KeyDown:connect(function(key)
1571
    if key == "r" then
1572
        if Debounces.CanAttack == true then
1573
			Debounces.CanAttack = false
1574
			Debounces.NoIdl = true
1575
			Debounces.on = true
1576
			if holy ~= true then
1577
				for i = 1, 20 do
1578
					larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1, 0.6, -.4) * CFrame.Angles(math.rad(130), 0, math.rad(40)), 0.3)
1579
					rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1, 0.6, -.4) * CFrame.Angles(math.rad(130), 0, math.rad(-40)), 0.3)
1580
					torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), 0, 0), 0.3)
1581
					hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(50), 0, 0), 0.3)
1582
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, 0), 0.3)
1583
					rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.2, -.5) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
1584
					cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, -.2, 0) * CFrame.Angles (math.rad(40), math.rad(0), math.rad(0)), 0.35)
1585
					if Debounces.on==false then break end
1586
					rs:wait(2)
1587
				end
1588
				else						
1589
					for i = 1, 10 do
1590
					larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1, 0.6, -.4) * CFrame.Angles(math.rad(130), 0, math.rad(40)), 0.3)
1591
					rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1, 0.6, -.4) * CFrame.Angles(math.rad(130), 0, math.rad(-40)), 0.3)
1592
					torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), 0, 0), 0.3)
1593
					hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(50), 0, 0), 0.3)
1594
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, 0), 0.3)
1595
					rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.2, -.5) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
1596
					cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, -.2, 0) * CFrame.Angles (math.rad(40), math.rad(0), math.rad(0)), 0.35)
1597
					if Debounces.on==false then break end
1598
					rs:wait(2)
1599
					end
1600
					end
1601
				Debounces.Slashing = true
1602
				
1603
1604
				
1605
				z = Instance.new("Sound",hed)
1606
				z.SoundId = "rbxassetid://206083107"
1607
				z.Pitch = .75
1608
				z.Volume = .65
1609
				wait(0.1)
1610
				z:Play()
1611
				z1 = Instance.new("Sound", hed)
1612
				z1.SoundId = "rbxassetid://"..idz[math.random(1,#idz)]
1613
				z1.Pitch = ptz[math.random(1,#ptz)]
1614
				z1.Volume = 1
1615
				wait(.01)
1616
				z1:Play()
1617
				
1618
				if holy == true then
1619
				so("http://roblox.com/asset/?id=200633077",hed,1,ptz2[math.random(1,#ptz2)])
1620
				else
1621
				so("http://roblox.com/asset/?id=200633029",hed,1,ptz2[math.random(1,#ptz2)])
1622
				end
1623
				
1624
				if holy ~= true then
1625
				for i = 1, 20 do
1626
					larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1, 0.6, -.4) * CFrame.Angles(math.rad(50), 0, math.rad(40)), 0.3)
1627
					rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1, 0.6, -.4) * CFrame.Angles(math.rad(50), 0, math.rad(-40)), 0.3)
1628
					torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-30), 0, 0), 0.3)
1629
					hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(10), 0, 0), 0.3)
1630
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -.7) * CFrame.Angles(math.rad(20), 0, 0), 0.3)
1631
					rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-40), 0, 0), 0.3)
1632
					cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, -.2, 0) * CFrame.Angles (math.rad(40), math.rad(-20), math.rad(20)), 0.35)
1633
					if Debounces.on==false then break end
1634
					rs:wait(2)
1635
					end
1636
				else
1637
					for i = 1, 10 do
1638
					larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1, 0.6, -.4) * CFrame.Angles(math.rad(50), 0, math.rad(40)), 0.3)
1639
					rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1, 0.6, -.4) * CFrame.Angles(math.rad(50), 0, math.rad(-40)), 0.3)
1640
					torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-30), 0, 0), 0.3)
1641
					hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(10), 0, 0), 0.3)
1642
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -.7) * CFrame.Angles(math.rad(20), 0, 0), 0.3)
1643
					rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-40), 0, 0), 0.3)
1644
					cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, -.2, 0) * CFrame.Angles (math.rad(40), math.rad(-20), math.rad(20)), 0.35)
1645
					if Debounces.on==false then break end
1646
					rs:wait(2)
1647
					end
1648
				end
1649
				Debounces.Slashing = false
1650
				cor.Weld.C1 = CFrame.Angles(0,0,0)
1651
			if Debounces.CanAttack == false then
1652
				Debounces.CanAttack = true
1653
				Debounces.NoIdl = false
1654
				Debounces.on = false
1655
			end
1656
		end
1657
	end
1658
end)
1659
-------------------------------
1660
mouse.KeyDown:connect(function(key)
1661
    if key == "t" then
1662
        if Debounces.CanAttack == true then
1663
			Debounces.CanAttack = false
1664
			Debounces.on = true
1665
			Debounces.NoIdl = true
1666
		for i = 1,20 do
1667
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(0)), 0.2)
1668
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(0)), 0.2)
1669
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(0),0), 0.2)
1670
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, .4) * CFrame.Angles(math.rad(-20), math.rad(0), 0), 0.2)
1671
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-10)), 0.2)
1672
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.2)
1673
			if Debounces.on==false then break end
1674
			rs:wait(2)
1675
		end
1676
		for i = 1,20 do
1677
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), 0.2)
1678
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), 0.2)
1679
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-20),math.rad(0),0), 0.2)
1680
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, -.4) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.2)
1681
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.2)
1682
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10)), 0.2)
1683
			if Debounces.on==false then break end
1684
			rs:wait(2)
1685
		end
1686
        if Debounces.CanAttack == false then
1687
			Debounces.CanAttack = true
1688
			Debounces.on = false
1689
			Debounces.NoIdl = false
1690
            end
1691
        end
1692
    end
1693
end)
1694
-------------------------------
1695
local ptz3 = {0.5, 0.6, 0.7}
1696
mouse.KeyDown:connect(function(key)
1697
    if key == "g" then
1698
        if Debounces.CanAttack == true then
1699
			Debounces.CanAttack = false
1700
			Debounces.NoIdl = true
1701
			Debounces.on = true
1702
			Debounces.Slashing = true
1703
						
1704
		z = Instance.new("Sound", hed)
1705
				z.SoundId = "rbxassetid://"..idz[math.random(1,#idz)]
1706
				z.Pitch = ptz[math.random(1,#ptz)]
1707
				z.Volume = 1
1708
				
1709
			
1710
			if holy == true then
1711
			eColors = {"Lime green"} 
1712
			
1713
1714
		for i,v in pairs(char.Genkadda:GetChildren()) do
1715
			if v:IsA("Part") or v:IsA("WedgePart") then
1716
				if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
1717
					v.BrickColor = BrickColor.new("Lime green")
1718
					v.Material = "Neon"
1719
				end
1720
			end
1721
		end
1722
		
1723
	
1724
	char.Humanoid.WalkSpeed = 50
1725
	
1726
				GroundWave()	
1727
			so("http://roblox.com/asset/?id=200633077",hed,1,ptz3[math.random(1,#ptz3)])
1728
			so("http://www.roblox.com/asset/?id=241816017",hed,1,0.5)
1729
			so("http://www.roblox.com/asset/?id=241816017",hed,1,1)
1730
			 
1731
	
1732
			else
1733
			so("http://roblox.com/asset/?id=200633029",hed,1,0.9)
1734
			end
1735
			
1736
1737
				for i = 1, 8 do
1738
					z:play()
1739
					larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-90)), 0.8)
1740
					rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(90)), 0.8)
1741
					torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, 0, 0), 0.8)
1742
					hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(0, 0, 0), 0.8)
1743
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.8)
1744
					rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.8)
1745
					if Debounces.on==false then break end
1746
					rs:wait(2)
1747
				end
1748
				for i = 1, 2880, 48 do
1749
            		torso.Weld.C1 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(i), math.rad(0))
1750
					rs:wait(4)
1751
				end
1752
				
1753
		
1754
				
1755
				
1756
1757
				
1758
						
1759
				torso.Weld.C1 = CFrame.new(0, -1, 0)
1760
				Debounces.Slashing = false
1761
				
1762
			if Debounces.CanAttack == false then
1763
				Debounces.CanAttack = true
1764
				Debounces.NoIdl = false
1765
				Debounces.on = false
1766
				
1767
1768
1769
		
1770
		char.Humanoid.WalkSpeed = 10
1771
		
1772
				
1773
				end
1774
				
1775
1776
				
1777
			end
1778
		
1779
	
1780
		
1781
		end
1782
1783
1784
end)
1785
----------------------------------------------------
1786
pt = {6.6, 6.8, 7, 7.2, 7.4}
1787
mouse.KeyDown:connect(function(key)
1788
    if key == "l" then
1789
        if Debounces.CanJoke == true then
1790
            Debounces.CanJoke = false
1791
            u = Instance.new("Sound",char)
1792
            u.SoundId = "http://www.roblox.com/asset/?id=261303790"
1793
            u.Pitch = pt[math.random(1,#pt)]
1794
            u.Volume = 1
1795
            u2 = Instance.new("Sound",char)
1796
            u2.SoundId = "http://www.roblox.com/asset/?id=261303790"
1797
            u2.Pitch = u.Pitch
1798
            u2.Volume = 1
1799
            u3 = Instance.new("Sound",char)
1800
            u3.SoundId = "http://www.roblox.com/asset/?id=261303790"
1801
            u3.Pitch = u.Pitch
1802
            u3.Volume = 1
1803
            wait(.01)
1804
            u:Play()
1805
            u2:Play()
1806
            u3:Play()
1807
            wait(1.5)
1808
            u:Destroy()
1809
            u2:Destroy()
1810
            u3:Destroy()
1811
            if Debounces.CanJoke == false then
1812
                Debounces.CanJoke = true
1813
            end
1814
        end
1815
    end
1816
end)
1817
1818
------------------------------- BEGIN GRABPUNCH
1819
mouse.KeyDown:connect(function(key)
1820
    if key == "x" then
1821
        Debounces.on = true
1822
        Debounces.NoIdl = true
1823
		Debounces.ks = true
1824
        if Grab == false then
1825
        gp = nil
1826
1827
        if Melee == false then
1828
            Melee = true
1829
			Vanish()
1830
        stanceToggle = "Melee"
1831
    elseif Melee == true then
1832
        Melee = false
1833
		Appear()
1834
        stanceToggle = "Normal"
1835
        end
1836
1837
		for i = 1, 20 do
1838
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.2)
1839
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.2)
1840
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
1841
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
1842
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2)
1843
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2)
1844
			if Debounces.on == false then break end
1845
			rs:wait()
1846
		end
1847
        con1=larm.Touched:connect(function(hit) -- this is grab
1848
            ht = hit.Parent
1849
            hum1=ht:FindFirstChild('Humanoid')
1850
            if hum1 ~= nil then
1851
			    if Debounces.ks==true then
1852
                z = Instance.new("Sound",hed)
1853
                z.SoundId = "rbxassetid://169380525"
1854
                z.Volume = 1
1855
                z:Play()
1856
                Debounces.ks=false
1857
				end
1858
                hum1.PlatformStand=true
1859
                gp = ht
1860
                Grab = true
1861
                asd=weld5(root,ht:FindFirstChild("Torso"),CFrame.new(0,0,-2.4),CFrame.new(0,0,0))
1862
                asd.Parent = larm
1863
                asd.Name = "asd"
1864
                asd.C0=asd.C0*CFrame.Angles(math.rad(0),math.rad(180),0)
1865
            --[[elseif hum1 == nil then
1866
                con1:disconnect()
1867
                wait() return]]--
1868
            end
1869
        end)
1870
		for i = 1, 20 do
1871
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.2)
1872
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.2)
1873
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
1874
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
1875
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2)
1876
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2)
1877
			if Debounces.on == false then break end
1878
			rs:wait()
1879
		end
1880
	if hum1 == nil then
1881
    Debounces.on = false
1882
    Debounces.NoIdl = false
1883
	end
1884
	con1:disconnect()
1885
    elseif Grab == true then
1886
        Grab = false
1887
		Punch()
1888
		z = Instance.new("Sound",hed)
1889
		z.SoundId = "rbxassetid://169380525"
1890
		z.Pitch = ptz[math.random(1,#ptz)]
1891
		z.Volume = 1
1892
		z:Play()
1893
		for i = 1, 10 do
1894
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
1895
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
1896
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
1897
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
1898
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
1899
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
1900
			if Debounces.on == false then break end
1901
			rs:wait()
1902
		end
1903
		Punch()
1904
		z = Instance.new("Sound",hed)
1905
		z.SoundId = "rbxassetid://169380525"
1906
		z.Pitch = ptz[math.random(1,#ptz)]
1907
		z.Volume = 1
1908
		z:Play()
1909
		for i = 1, 10 do
1910
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
1911
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
1912
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
1913
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
1914
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
1915
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
1916
			if Debounces.on == false then break end
1917
			rs:wait()
1918
		end
1919
		Punch()
1920
		z = Instance.new("Sound",hed)
1921
		z.SoundId = "rbxassetid://169380525"
1922
		z.Pitch = ptz[math.random(1,#ptz)]
1923
		z.Volume = 1
1924
		z:Play()
1925
		for i = 1, 10 do
1926
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
1927
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
1928
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
1929
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
1930
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
1931
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
1932
			if Debounces.on == false then break end
1933
			rs:wait()
1934
		end
1935
		Punch()
1936
		z = Instance.new("Sound",hed)
1937
		z.SoundId = "rbxassetid://169380525"
1938
		z.Pitch = ptz[math.random(1,#ptz)]
1939
		z.Volume = 1
1940
		z:Play()
1941
		for i = 1, 10 do
1942
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
1943
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
1944
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
1945
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
1946
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
1947
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
1948
			if Debounces.on == false then break end
1949
			rs:wait()
1950
		end
1951
		Punch()
1952
		z = Instance.new("Sound",hed)
1953
		z.SoundId = "rbxassetid://169380525"
1954
		z.Pitch = ptz[math.random(1,#ptz)]
1955
		z.Volume = 1
1956
		z:Play()
1957
		for i = 1, 10 do
1958
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
1959
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
1960
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
1961
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
1962
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
1963
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
1964
			if Debounces.on == false then break end
1965
			rs:wait()
1966
		end
1967
		Punch()
1968
		z = Instance.new("Sound",hed)
1969
		z.SoundId = "rbxassetid://169380525"
1970
		z.Pitch = ptz[math.random(1,#ptz)]
1971
		z.Volume = 1
1972
		z:Play()
1973
		for i = 1, 10 do
1974
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
1975
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
1976
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
1977
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
1978
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
1979
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
1980
			if Debounces.on == false then break end
1981
			rs:wait()
1982
		end
1983
		Punch()
1984
		z = Instance.new("Sound",hed)
1985
		z.SoundId = "rbxassetid://169380525"
1986
		z.Pitch = ptz[math.random(1,#ptz)]
1987
		z.Volume = 1
1988
		z:Play()
1989
		for i = 1, 10 do
1990
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
1991
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
1992
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
1993
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
1994
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
1995
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
1996
			if Debounces.on == false then break end
1997
			rs:wait()
1998
		end
1999
		Punch()
2000
		z = Instance.new("Sound",hed)
2001
		z.SoundId = "rbxassetid://169380525"
2002
		z.Pitch = ptz[math.random(1,#ptz)]
2003
		z.Volume = 1
2004
		z:Play()
2005
		for i = 1, 10 do
2006
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
2007
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
2008
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
2009
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
2010
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
2011
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
2012
			if Debounces.on == false then break end
2013
			rs:wait()
2014
		end
2015
		Punch()
2016
		z = Instance.new("Sound",hed)
2017
		z.SoundId = "rbxassetid://169380525"
2018
		z.Pitch = ptz[math.random(1,#ptz)]
2019
		z.Volume = 1
2020
		z:Play()
2021
		for i = 1, 10 do
2022
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
2023
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
2024
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
2025
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
2026
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
2027
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
2028
			if Debounces.on == false then break end
2029
			rs:wait()
2030
		end
2031
		Punch()
2032
		z = Instance.new("Sound",hed)
2033
		z.SoundId = "rbxassetid://169380525"
2034
		z.Pitch = ptz[math.random(1,#ptz)]
2035
		z.Volume = 1
2036
		z:Play()
2037
		for i = 1, 10 do
2038
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
2039
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
2040
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
2041
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
2042
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
2043
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
2044
			if Debounces.on == false then break end
2045
			rs:wait()
2046
		end
2047
		Punch()
2048
		z = Instance.new("Sound",hed)
2049
		z.SoundId = "rbxassetid://169380525"
2050
		z.Pitch = ptz[math.random(1,#ptz)]
2051
		z.Volume = 1
2052
		z:Play()
2053
		for i = 1, 10 do
2054
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
2055
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
2056
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
2057
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
2058
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
2059
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
2060
			if Debounces.on == false then break end
2061
			rs:wait()
2062
		end
2063
		Punch()
2064
		z = Instance.new("Sound",hed)
2065
		z.SoundId = "rbxassetid://169380525"
2066
		z.Pitch = ptz[math.random(1,#ptz)]
2067
		z.Volume = 1
2068
		z:Play()
2069
		for i = 1, 10 do
2070
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
2071
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
2072
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
2073
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
2074
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
2075
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
2076
			if Debounces.on == false then break end
2077
			rs:wait()
2078
		end
2079
		con1:disconnect()
2080
		Debounces.on = false
2081
		Debounces.NoIdl = false
2082
		if gp ~= nil then
2083
			gp:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 140
2084
				for i,v in pairs(larm:GetChildren()) do
2085
					if v.Name == "asd" and v:IsA("Weld") then
2086
				v:Remove()
2087
			end
2088
		end
2089
        --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
2090
        bv.maxForce = Vector3.new(400000, 400000, 400000)
2091
        bv.P = 125000
2092
        bv.velocity = char.Head.CFrame.lookVector * 200]]--
2093
        hum1=nil
2094
		ht=nil
2095
        Debounces.on = false
2096
        Debounces.NoIdl = false
2097
        elseif ht == nil then wait()
2098
        Grab = false
2099
        Debounces.on = false
2100
        Debounces.NoIdl = false
2101
            end
2102
        end
2103
    end
2104
end)
2105
2106
2107
-------------------------------------------------
2108
2109
2110
2111
2112
----------------------------------------------------Cero
2113
mouse.KeyDown:connect(function(key)
2114
    if key == "c" then
2115
        if Debounces.CanAttack == true then
2116
			Debounces.CanAttack = false
2117
			Debounces.NoIdl = true
2118
			Debounces.on = true
2119
char.Humanoid.WalkSpeed = .01
2120
Debounces.on = true
2121
Vanish()
2122
2123
xx = Instance.new("Sound")
2124
xx.SoundId = "http://www.roblox.com/asset/?id=199145659"
2125
xx.Parent = char.Head
2126
xx.Looped = false
2127
xx.Pitch = .88
2128
xx.Volume = 1
2129
wait(.1)
2130
xx:Play()
2131
2132
if holy == true then
2133
so("http://roblox.com/asset/?id=231917788",hed,1,1)
2134
else
2135
end
2136
 
2137
2138
if holy ~= true then
2139
for i = 1, 20 do
2140
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-18), 0, math.rad(-20)), 0.3)
2141
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(65), 0, math.rad(-40)), 0.3)
2142
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.3)
2143
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(8), 0, math.rad(10)), 0.3)
2144
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-10), math.rad(-70), 0), 0.6)
2145
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(84), 0), 0.4)
2146
if Debounces.on==false then break end
2147
wait()
2148
end
2149
wait(1)
2150
else
2151
for i = 1, 5 do
2152
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-18), 0, math.rad(-20)), 0.3)
2153
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(65), 0, math.rad(-40)), 0.3)
2154
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.3)
2155
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(8), 0, math.rad(10)), 0.3)
2156
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-10), math.rad(-70), 0), 0.6)
2157
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(84), 0), 0.4)
2158
if Debounces.on==false then break end
2159
wait()
2160
end
2161
wait(1)
2162
end	
2163
	
2164
x = Instance.new("Sound")
2165
x.SoundId = "http://www.roblox.com/asset/?id=142070127"
2166
x2 = Instance.new("Sound")
2167
x2.SoundId = "http://www.roblox.com/asset/?id=183763506"
2168
x.Parent = char.Head
2169
x2.Parent = char.Head
2170
x.Looped = false
2171
x2.Looped = false
2172
x.Pitch = .88
2173
x.Volume = 1
2174
x2.Pitch = .88
2175
x2.Volume = 1
2176
wait(.1)
2177
x:Play()
2178
x2:Play()
2179
Debounces.on = false
2180
Debounces.Here = false
2181
2182
for i = 1, 6 do
2183
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-12)), 0.4)
2184
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90), 0, math.rad(101)), 0.4)
2185
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-6)), 0.4)
2186
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(6)), 0.4)
2187
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-8), math.rad(-84), 0), 0.4)
2188
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.4)
2189
wait()
2190
end
2191
local rng = Instance.new("Part", char)
2192
rng.Anchored = true
2193
2194
if holy ~= true then
2195
rng.BrickColor = BrickColor.new("Really black")
2196
else 
2197
	rng.BrickColor = BrickColor.new("Lime green")
2198
end
2199
2200
rng.CanCollide = false
2201
rng.FormFactor = 3
2202
rng.Name = "Ring"
2203
rng.Size = Vector3.new(1, 1, 1)
2204
rng.Transparency = 0.35
2205
rng.TopSurface = 0
2206
rng.BottomSurface = 0
2207
rng.Material = "Neon"
2208
local rngm = Instance.new("SpecialMesh", rng)
2209
rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
2210
rngm.Scale = Vector3.new(10, 10, 1)
2211
local bem = Instance.new("Part", char)
2212
bem.Anchored = true
2213
2214
if holy ~= true then
2215
bem.BrickColor = BrickColor.new("Really black")
2216
else 
2217
	bem.BrickColor = BrickColor.new("Lime green")
2218
end
2219
2220
bem.Material = "Neon"
2221
bem.CanCollide = false
2222
bem.FormFactor = 3
2223
bem.Name = "Beam" .. shot
2224
bem.Size = Vector3.new(1, 1, 1)
2225
bem.Transparency = 0.35
2226
bem.TopSurface = 0
2227
bem.BottomSurface = 0
2228
local bemm = Instance.new("SpecialMesh", bem)
2229
bemm.MeshType = 4
2230
bemm.Scale = Vector3.new(1, 4, 4)
2231
local out = Instance.new("Part", char)
2232
out.Anchored = true
2233
2234
if holy ~= true then
2235
out.BrickColor = BrickColor.new("Really black")
2236
else 
2237
	out.BrickColor = BrickColor.new("Lime green")
2238
end
2239
2240
out.Material = "Neon"
2241
out.CanCollide = false
2242
out.FormFactor = 3
2243
out.Name = "Out"
2244
out.Size = Vector3.new(1, 1, 1)
2245
out.Transparency = 0.35
2246
out.TopSurface = 0
2247
out.BottomSurface = 0
2248
local outm = Instance.new("SpecialMesh", out)
2249
outm.MeshId = "http://www.roblox.com/asset/?id=1033714"
2250
outm.Scale = Vector3.new(2, 2, 2)
2251
local bnd = Instance.new("Part", char)
2252
bnd.Anchored = true
2253
2254
if holy ~= true then
2255
bnd.BrickColor = BrickColor.new("Really black")
2256
else 
2257
	bnd.BrickColor = BrickColor.new("Lime green")
2258
end
2259
2260
bnd.Material = "Neon"
2261
bnd.CanCollide = false
2262
bnd.FormFactor = 3
2263
bnd.Name = "BEnd"
2264
bnd.Size = Vector3.new(1, 1, 1)
2265
bnd.Transparency = 0.35
2266
bnd.TopSurface = 0
2267
bnd.BottomSurface = 0
2268
local bndm = Instance.new("SpecialMesh", bnd)
2269
bndm.MeshType = 3
2270
bndm.Scale = Vector3.new(4, 4, 4)
2271
out.CFrame = rarm.CFrame * CFrame.new(0, -1.75, 0)
2272
bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90))
2273
bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0)
2274
rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0)
2275
Debounces.Shewt = true
2276
coroutine.wrap(function()
2277
for i = 1, 20, 0.2 do
2278
rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1)
2279
rng.Transparency = i/20
2280
wait()
2281
end
2282
wait()
2283
rng:Destroy()
2284
end)()
2285
if Debounces.Shewt == true then
2286
char:WaitForChild("Beam" .. shot).Touched:connect(function(ht) --Here
2287
print("Hit")
2288
hit = ht.Parent
2289
if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
2290
print("Yes")
2291
if HasntTouched(hit.Name) == true and deb == false then
2292
deb = true
2293
coroutine.wrap(function()
2294
hit:FindFirstChild("Humanoid").PlatformStand = true
2295
hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 140
2296
hit:FindFirstChild("Humanoid"):TakeDamage(math.random(18,63))
2297
wait(1)
2298
hit:FindFirstChild("Humanoid").PlatformStand = false
2299
end)()
2300
table.insert(Touche, hit.Name)
2301
deb = false
2302
end
2303
elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
2304
print("Yes")
2305
if HasntTouched(hit.Parent.Name) == true and deb == false then
2306
deb = true
2307
coroutine.wrap(function()
2308
hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
2309
hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 140
2310
wait(1)
2311
hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
2312
end)()
2313
table.insert(Touche, hit.Parent.Name)
2314
deb = false
2315
for i, v in pairs(Touche) do
2316
print(v)
2317
end
2318
end
2319
end
2320
end)
2321
end
2322
for i = 0, 200, 7 do
2323
bem.Size = Vector3.new(i, 1, 1)
2324
bem.CFrame = rarm.CFrame * CFrame.new(0, -2.5 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90))
2325
bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 0)
2326
wait()
2327
end
2328
wait()
2329
Debounces.Shewt = false
2330
bem:Destroy()
2331
out:Destroy()
2332
bnd:Destroy()
2333
char.Humanoid.WalkSpeed = 10
2334
Debounces.Ready = false
2335
for i, v in pairs(Touche) do
2336
table.remove(Touche, i)
2337
end
2338
wait()
2339
table.insert(Touche, char.Name)
2340
Debounces.NoIdl = false
2341
			if Debounces.CanAttack == false then
2342
				Debounces.CanAttack = true
2343
				cor.Weld.C1 = CFrame.Angles(0,0,0)
2344
2345
2346
				Debounces.on = false
2347
				Appear()
2348
			end
2349
		end
2350
	end
2351
end)
2352
-------------------------------
2353
2354
----------------------------------------------------EDIT END
2355
Grab = false
2356
mouse.KeyDown:connect(function(key)
2357
    if key == "z" then
2358
        Debounces.on = true
2359
        Debounces.NoIdl = true
2360
		Debounces.ks = true
2361
        if Grab == false then
2362
        gp = nil
2363
        for i = 1, 20 do
2364
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2)
2365
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-80)), 0.2)
2366
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-70),0), 0.2)
2367
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.2)
2368
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2)
2369
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2)
2370
            if Debounces.on == false then break end
2371
            rs:wait(2)
2372
        end
2373
        con1=larm.Touched:connect(function(hit) -- this is grab
2374
            ht = hit.Parent
2375
            hum1=ht:FindFirstChild('Humanoid')
2376
            if hum1 ~= nil then
2377
			    if Debounces.ks==true then
2378
                z = Instance.new("Sound",hed)
2379
                z.SoundId = "rbxassetid://169380525"
2380
                z.Volume = 1
2381
                z:Play()
2382
                Debounces.ks=false
2383
				end
2384
                hum1.PlatformStand=true
2385
                gp = ht
2386
                Grab = true
2387
                asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-1,1.5),CFrame.new(0,0,0))
2388
                asd.Parent = larm
2389
                asd.Name = "asd"
2390
                asd.C0=asd.C0*CFrame.Angles(math.rad(-90),math.rad(180),0)
2391
				stanceToggle = "Grabbed"
2392
            --[[elseif hum1 == nil then
2393
                con1:disconnect()
2394
                wait() return]]--
2395
            end
2396
        end)
2397
        for i = 1, 20 do
2398
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2)
2399
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.2)
2400
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(30),0), 0.2)
2401
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-30), 0), 0.2)
2402
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2)
2403
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2)
2404
            if Debounces.on == false then break end
2405
            rs:wait(2)
2406
        end
2407
    con1:disconnect()
2408
    Debounces.on = false
2409
    Debounces.NoIdl = false
2410
    elseif Grab == true then
2411
        Grab = false
2412
			--[[for i = 1, 16 do
2413
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(0),math.rad(50),math.rad(60)), 0.3)
2414
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.5)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-60)), 0.3)
2415
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14),math.rad(70),0), 0.3)
2416
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
2417
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.3)
2418
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3)
2419
			cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), 0), 0.3)
2420
			if Debounces.on == false then end
2421
			rs:wait()
2422
		end]]--
2423
			for i = 1, 16 do
2424
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.3)
2425
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(140),math.rad(0),math.rad(-50)), 0.3)
2426
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(-60),0), 0.3)
2427
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.3)
2428
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(-20)), 0.3)
2429
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3)
2430
			if Debounces.on == false then end
2431
			rs:wait()
2432
		end
2433
		Slam()
2434
		if gp ~= nil then
2435
			for i,v in pairs(larm:GetChildren()) do
2436
				if v.Name == "asd" and v:IsA("Weld") then
2437
					v:Remove()
2438
				end
2439
			end
2440
		for i = 1, 16 do
2441
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.3)
2442
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.4)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.3)
2443
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(20),0), 0.3)
2444
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-60), math.rad(-30), 0), 0.3)
2445
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(80), math.rad(30), math.rad(-20)), 0.3)
2446
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(70), math.rad(-15), math.rad(20)), 0.3)
2447
			if Debounces.on == false then end
2448
			rs:wait()
2449
		end
2450
		stanceToggle = "Normal"
2451
        --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
2452
        bv.maxForce = Vector3.new(400000, 400000, 400000)
2453
        bv.P = 125000
2454
        bv.velocity = char.Head.CFrame.lookVector * 200]]--
2455
        ht=nil
2456
        Debounces.on = false
2457
        Debounces.NoIdl = false
2458
        elseif ht == nil then wait()
2459
        Grab = false
2460
        Debounces.on = false
2461
        Debounces.NoIdl = false
2462
            end
2463
        end
2464
    end
2465
end)
2466
----------------------------------------------------
2467
Charging = false
2468
chargewait = false	
2469
mouse.KeyDown:connect(function(key)
2470
	if key == "h" then
2471
		if Charging == false and chargewait == false then
2472
			Charging = true
2473
			chargewait = true
2474
			if Debounces.CanAttack == true then
2475
				Debounces.CanAttack = false
2476
				Debounces.NoIdl = true
2477
				Debounces.on = true
2478
2479
			
2480
		if holy ~= true then
2481
		holy = true
2482
		else holy = false
2483
		end			
2484
2485
				
2486
				for i = 1,20 do
2487
					rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-40)), 0.2)
2488
					larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(40)), 0.2)
2489
					hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
2490
					torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
2491
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2)
2492
					rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2)
2493
					if Debounces.on == false then break end
2494
					rs:wait()
2495
				end
2496
pt=Instance.new('Part',torso)
2497
pt.Anchored=true
2498
pt.CanCollide=false
2499
pt.Locked = true
2500
pt.Material = "Neon"
2501
pt.FormFactor='Custom'
2502
pt.Size=Vector3.new(1,1,1)
2503
pt.CFrame=root.CFrame*CFrame.new(0,-1,0)
2504
pt.Transparency=.6
2505
2506
if holy == true then
2507
pt.BrickColor=BrickColor.new('Lime green')
2508
else
2509
pt.BrickColor = BrickColor.new("Really black")
2510
end
2511
2512
msh=Instance.new('SpecialMesh',pt)
2513
msh.MeshId='http://www.roblox.com/asset/?id=20329976'
2514
msh.Scale=Vector3.new(8,4,8)
2515
pt2=pt:clone()
2516
pt2.Parent = torso
2517
pt2.CFrame=root.CFrame*CFrame.new(0,-1,0)
2518
2519
if holy == true then
2520
pt2.BrickColor=BrickColor.new('Lime green')
2521
else
2522
pt2.BrickColor = BrickColor.new("Lime green")
2523
end
2524
2525
2526
msh2=msh:clone()
2527
msh2.Parent=pt2
2528
msh2.Scale=Vector3.new(10,5,10)
2529
2530
custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
2531
2532
bl = Instance.new("Part", char)
2533
bl.Locked = true
2534
bl.Name = "Shell"
2535
2536
if holy == true then
2537
bl.BrickColor = BrickColor.new("Lime green")
2538
else
2539
	bl.BrickColor = BrickColor.new("Really black")
2540
end
2541
2542
bl.Anchored = true
2543
bl.Material = "Neon"
2544
bl.CanCollide = false
2545
bl.Transparency = 0
2546
bl.Reflectance = 0
2547
bl.BottomSurface = 0
2548
bl.TopSurface = 0
2549
bl.Shape = 0
2550
blm = Instance.new("SpecialMesh",bl)
2551
blm.MeshType = "Sphere"
2552
blm.Scale = Vector3.new(1,1,1)
2553
2554
			so("http://www.roblox.com/asset/?id=340722848",hed,2,1.2) 
2555
			so("http://www.roblox.com/asset/?id=340722848",torso,0.5,0.8) 
2556
			so("http://roblox.com/asset/?id=168586621",torso,1,0.5)
2557
2558
2559
2560
2561
if holy == true then
2562
	light()
2563
			ds:stop()
2564
			hs:play()
2565
			eColors = {"Lime green"} 
2566
		for i,v in pairs(char.Genkadda:GetChildren()) do
2567
			if v:IsA("Part") or v:IsA("WedgePart") then
2568
				if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
2569
					v.BrickColor = BrickColor.new("Lime green")
2570
					v.Material = "Neon"
2571
				end
2572
			end
2573
		end			
2574
2575
2576
else 
2577
	dark()
2578
		hs:stop()
2579
		ds:play()
2580
			eColors = {"Lime green", "Really black"} 
2581
			for i,v in pairs(char.Genkadda:GetChildren()) do
2582
			if v:IsA("Part") or v:IsA("WedgePart") then
2583
				if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
2584
					v.BrickColor = BrickColor.new("Really black")
2585
					v.Material = "Metal"
2586
				end
2587
			end
2588
			end
2589
			
2590
end
2591
			
2592
	coroutine.resume(coroutine.create(function()
2593
        for i=1, math.huge, 4 do
2594
			if Charging == true then
2595
				rs:wait()
2596
				bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
2597
				blm.Scale = blm.Scale + Vector3.new(0.5, 0.5, 0.5)
2598
				bl.Transparency = bl.Transparency + 0.05
2599
				pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0)
2600
				pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0)
2601
				msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05)
2602
				msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05)
2603
				elseif Charging == false then break
2604
			end
2605
		end
2606
    end))
2607
2608
2609
repeat
2610
    local p = Instance.new('Part',torso)
2611
    p.formFactor = 'Custom'
2612
    p.Size = Vector3.new(1,1,1)
2613
2614
if holy == true then
2615
    p.BrickColor = BrickColor.new("Lime green")
2616
else
2617
	p.BrickColor = BrickColor.new("Really black") 
2618
end
2619
2620
    p.CanCollide = false
2621
    p.Transparency = 0
2622
    p.Anchored = true
2623
    p.Locked=true
2624
    p.Material = "Neon"
2625
    s = math.random(1,40)/10
2626
    local m = Instance.new("BlockMesh",p)
2627
    m.Scale = Vector3.new(s,s,s)
2628
    p.CFrame = torso.CFrame*CFrame.new(custommath[math.random(1,#custommath)]/10,-math.random(5,7),custommath[math.random(1,#custommath)]/10)*CFrame.Angles(math.random(),math.random(),math.random())
2629
	--[[coroutine.wrap(function()
2630
		wait(2)
2631
		while Charging == true do
2632
		wait(2)
2633
		GroundWave1()
2634
		wait(2)
2635
		end
2636
	end)()]]--
2637
	Spawn(function()
2638
		while rs:wait() do
2639
			if Charging == true then
2640
				rarm.Weld.C0 = CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(-30,-20)),math.rad(math.random(30,50)))
2641
				larm.Weld.C0 = CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(20,30)),math.rad(math.random(-50,-30)))
2642
				hed.Weld.C0 = CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(math.random(26,34)),math.rad(math.random(-5,5)),math.rad(0))
2643
				torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0))
2644
				lleg.Weld.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(10,20)), math.rad(math.random(-20,-10)))
2645
				rleg.Weld.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(-20,-10)), math.rad(math.random(10,20)))
2646
			elseif Charging == false then break
2647
			end
2648
		end
2649
	end)
2650
	Spawn(function()
2651
        while rs:wait() do
2652
            if p.Transparency >= 1 then p:Destroy() break end
2653
            p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0)
2654
            p.Transparency = p.Transparency+0.01
2655
        end
2656
    end)
2657
    wait(.3)
2658
2659
2660
until Charging == false
2661
			end
2662
		end
2663
	end
2664
end)
2665
2666
----------------------------------------------------
2667
mouse.KeyUp:connect(function(key)
2668
	if key == "h" then
2669
		if Charging == true and chargewait == true then
2670
			chargewait = false
2671
			wait(1)
2672
			Charging = false
2673
2674
--[[for i,v in pairs (torso:GetChildren()) do
2675
	if v:IsA("Sound") then
2676
		v:Destroy()
2677
	end
2678
end]]
2679
2680
2681
			--so("http://roblox.com/asset/?id=160867463",torso,1,0.7)
2682
2683
				pt:Destroy()
2684
				pt2:Destroy()
2685
				bl:Destroy()
2686
			if Debounces.CanAttack == false then
2687
				Debounces.CanAttack = true
2688
				Debounces.NoIdl = false
2689
				Debounces.on = false
2690
				Debounces.grab = false
2691
2692
			end
2693
		end
2694
	end
2695
end)
2696
----------------------------------------------------
2697
Sit = false
2698
mouse.KeyDown:connect(function(key)
2699
    if key == "b" then
2700
        if Sit == false then
2701
            Sit = true
2702
            hum.WalkSpeed = 0.1
2703
        stanceToggle = "Sitting"
2704
    elseif Sit == true then
2705
        Sit = false
2706
            hum.WalkSpeed = 7
2707
        stanceToggle = "Normal"
2708
        end
2709
    end
2710
end)
2711
-------------------------------
2712
Melee = false
2713
mouse.KeyDown:connect(function(key)
2714
    if key == "m" then
2715
        if Melee == false then
2716
            Melee = true
2717
			Vanish()
2718
        stanceToggle = "Melee"
2719
    elseif Melee == true then
2720
        Melee = false
2721
		Appear()
2722
        stanceToggle = "Normal"
2723
        end
2724
    end
2725
end)
2726
-------------------------------
2727
mouse.KeyDown:connect(function(key)
2728
    if string.byte(key) == 50 then
2729
    	if Debounces.CanAttack == true then
2730
			if stanceToggle ~= "Floating" then
2731
				char.Humanoid.WalkSpeed = 60
2732
				Burst()
2733
				elseif Debounces.CanAttack == false then
2734
					elseif stanceToggle == "Floating" then
2735
				wait()
2736
			end
2737
        end
2738
    end
2739
end)
2740
mouse.KeyUp:connect(function(key)
2741
    if string.byte(key) == 50 then
2742
        char.Humanoid.WalkSpeed = 9
2743
    end
2744
end)
2745
-------------------------------
2746
mouse.KeyDown:connect(function(key)
2747
    if key == "p" then
2748
        if CanAttack == true then
2749
            CanAttack = false
2750
        Debounces.NoIdl = true
2751
        Debounces.on = true
2752
        for i = 1, 20 do
2753
        cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.2, -2.75) * CFrame.Angles(math.rad(90), math.rad(40), math.rad(0)), 0.6)
2754
        larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1, 1, -.5) * CFrame.Angles(math.rad(130), math.rad(0), math.rad(40)), 0.3)
2755
        rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1, 1, -.5) * CFrame.Angles(math.rad(130), math.rad(0), math.rad(-40)), 0.3)
2756
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(-10)), 0.6)
2757
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(10)), 0.6)
2758
        hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.6)
2759
        torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)), 0.2)
2760
              if Debounces.on == false then
2761
                      break
2762
              end
2763
              wait()
2764
                  end
2765
                  wait()
2766
                        z = Instance.new("Sound")
2767
                        z.SoundId = "http://www.roblox.com/asset/?id=159218913"
2768
                        z.Parent = char.Head
2769
                        z.Looped = false
2770
                        z.Pitch = 1
2771
                        z.Volume = 1
2772
                        wait(.01)
2773
                        z:Play()
2774
                        Debounces.Slashing = true
2775
        for i = 1, 20 do
2776
            cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.2, -2.75) * CFrame.Angles(math.rad(90), math.rad(40), math.rad(0)), 0.6)
2777
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1, .5, -.5) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(40)), 0.6)
2778
            rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1, .5, -.5) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-40)), 0.6)
2779
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1.5, -.5) * CFrame.Angles(math.rad(-90), 0, math.rad(0)), 0.6)
2780
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -.5, -1) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.6)
2781
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-20), math.rad(0), 0), 0.6)
2782
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.6)
2783
        wait()
2784
        if Debounces.on == false then
2785
            break
2786
        end
2787
        wait()
2788
            end
2789
            Debounces.Slashing = false
2790
        Debounces.NoIdl = false
2791
        wait()
2792
        if CanAttack == false then
2793
            CanAttack = true
2794
            end
2795
                end
2796
        end
2797
    end)
2798
--------------------------------
2799
----------------------------------------------------
2800
mouse.KeyDown:connect(function(key)
2801
	if key == "v" then
2802
		if Debounces.CanAttack == true then
2803
            Debounces.CanAttack = false
2804
            Debounces.on = true
2805
            Debounces.NoIdl = true
2806
				for i = 1, 15 do
2807
					rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.2)
2808
					larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-90)), 0.6)
2809
					hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2)
2810
					torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4)
2811
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
2812
					rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
2813
                    if Debounces.on == false then break end
2814
                    rs:wait(2.7)
2815
                end
2816
				so("http://roblox.com/asset/?id=231917788",hed,1,0.7) 
2817
				x = Instance.new("Sound",char.Head) 
2818
				x.SoundId = "rbxassetid://183763515" 
2819
				x.Pitch = 0.7
2820
				x.Volume = .8
2821
				x3 = Instance.new("Sound",char.Head) 
2822
				x3.SoundId = "rbxassetid://183763487" 
2823
				x3.Pitch = 1
2824
				x3.Volume = .8
2825
				wait(.1)
2826
				x:Play()
2827
				x3:Play()
2828
				
2829
if holy == true then				
2830
so("http://roblox.com/asset/?id=233091161",hed,1,0.6)
2831
so("http://roblox.com/asset/?id=2233091183",hed,1,1)
2832
else
2833
end
2834
2835
				Debounces.on = false
2836
				Debounces.Here = false
2837
				shot = shot + 1
2838
local rng = Instance.new("Part", larm)
2839
rng.Anchored = true
2840
2841
if holy ~= true then
2842
rng.BrickColor = BrickColor.new("Lime green")
2843
else
2844
	rng.BrickColor = BrickColor.new("Lime green")
2845
end
2846
2847
rng.Material = "Neon"
2848
rng.CanCollide = false
2849
rng.FormFactor = 3
2850
rng.Name = "Ring"
2851
rng.Size = Vector3.new(1, 1, 1)
2852
rng.Transparency = 0.35
2853
rng.TopSurface = 0
2854
rng.BottomSurface = 0
2855
rng2 = rng:clone()
2856
rng3 = rng2:clone()
2857
rng4 = rng2:clone()
2858
local rngm = Instance.new("SpecialMesh", rng)
2859
rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
2860
rngm.Scale = Vector3.new(10, 10, 1)
2861
rngm2 = rngm:clone()
2862
rngm2.Scale = Vector3.new(5, 5, 3)
2863
rngm3=rngm2:clone()
2864
rngm3.Parent = rng3
2865
rngm3.Scale = Vector3.new(8, 8, 1)
2866
rngm4 = rngm2:clone()
2867
rngm4.Parent = rng4
2868
rngm4.Scale = Vector3.new(6, 6, 1)
2869
local bem = Instance.new("Part", larm)
2870
bem.Anchored = true
2871
2872
if holy == false then
2873
bem.BrickColor = BrickColor.new("Really black")
2874
else 
2875
	bem.BrickColor = BrickColor.new("Lime green")
2876
end
2877
2878
bem.CanCollide = false
2879
bem.Material = "Neon"
2880
bem.FormFactor = 3
2881
bem.Name = "Beam" .. shot
2882
bem.Size = Vector3.new(1, 1, 1)
2883
bem.Transparency = 0.35
2884
bem.TopSurface = 0
2885
bem.BottomSurface = 0
2886
local bemm = Instance.new("SpecialMesh", bem)
2887
bemm.MeshType = 4
2888
bemm.Scale = Vector3.new(1, 4, 4)
2889
local out = Instance.new("Part", larm)
2890
out.Anchored = true
2891
out.Material = "Neon"
2892
2893
if holy == false then
2894
out.BrickColor = BrickColor.new("Really black")
2895
else 
2896
	out.BrickColor = BrickColor.new("Lime green")
2897
end
2898
2899
out.CanCollide = false
2900
out.FormFactor = 3
2901
out.Name = "Out"
2902
out.Size = Vector3.new(4, 4, 4)
2903
out.Transparency = 0.35
2904
out.TopSurface = 0
2905
out.BottomSurface = 0
2906
local outm = Instance.new("SpecialMesh", out)
2907
outm.MeshId = "http://www.roblox.com/asset/?id=1033714"
2908
outm.Scale = Vector3.new(6, 4, 6)
2909
local bnd = Instance.new("Part", larm)
2910
bnd.Anchored = true
2911
bnd.BrickColor = BrickColor.new("Really red")
2912
bnd.CanCollide = false
2913
bnd.FormFactor = 3
2914
bnd.Name = "Bend"
2915
bnd.Size = Vector3.new(1, 1, 1)
2916
bnd.Transparency = 1
2917
bnd.TopSurface = 0
2918
bnd.BottomSurface = 0
2919
local bndm = Instance.new("SpecialMesh", bnd)
2920
bndm.MeshType = 3
2921
bndm.Scale = Vector3.new(8, 8, 8)
2922
out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
2923
bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90))
2924
bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0)
2925
rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0)
2926
rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0)
2927
rng4.CFrame = rng.CFrame * CFrame.new(0, -1, 0)
2928
Debounces.Shewt = true
2929
coroutine.wrap(function()
2930
for i = 1, 20, 0.2 do
2931
rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1)
2932
rngm3.Scale = Vector3.new(8 + i*3, 8 + i*3, 1)
2933
rngm4.Scale = Vector3.new(6 + i*4, 6 + i*4, 1)
2934
rng.Transparency = i/20
2935
rng3.Transparency = 1/24
2936
rng4.Transparency = i/26
2937
wait()
2938
end
2939
wait()
2940
rng:Destroy()
2941
end)()
2942
if Debounces.Shewt == true then
2943
larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
2944
hit = ht.Parent
2945
if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
2946
if HasntTouched(hit.Name) == true and deb == false then
2947
deb = true
2948
coroutine.wrap(function()
2949
hit:FindFirstChild("Humanoid").PlatformStand = true
2950
hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
2951
hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73))
2952
end)()
2953
table.insert(Touche, hit.Name)
2954
deb = false
2955
end
2956
elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
2957
if HasntTouched(hit.Parent.Name) == true and deb == false then
2958
deb = true
2959
coroutine.wrap(function()
2960
hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
2961
hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
2962
wait(1)
2963
hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
2964
end)()
2965
table.insert(Touche, hit.Parent.Name)
2966
deb = false
2967
for i, v in pairs(Touche) do
2968
print(v)
2969
end
2970
end
2971
end
2972
end)
2973
end
2974
for i = 0, 260, 8 do
2975
bem.Size = Vector3.new(i, 3, 3)
2976
out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
2977
bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90))
2978
bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2)
2979
bnd.Size = Vector3.new(1,1,1)
2980
bndm.Scale = Vector3.new(8,8,8)
2981
if i % 10 == 0 then
2982
local newRng = rng2:Clone()
2983
newRng.Parent = larm
2984
newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0)
2985
local newRngm = rngm2:clone()
2986
newRngm.Parent=newRng
2987
coroutine.wrap(function()
2988
for i = 1, 10, 0.2 do
2989
newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 3)
2990
newRng.Transparency = i/10
2991
wait()
2992
end
2993
wait()
2994
newRng:Destroy()
2995
end)()
2996
end
2997
wait()
2998
end
2999
wait()
3000
Debounces.Shewt = false
3001
bem:Destroy()
3002
out:Destroy()
3003
bnd:Destroy()
3004
Debounces.Ready = false
3005
for i, v in pairs(Touche) do
3006
table.remove(Touche, i)
3007
end
3008
wait()
3009
table.insert(Touche, char.Name)
3010
Debounces.NoIdl = false
3011
if Debounces.CanAttack == false then
3012
Debounces.CanAttack = true
3013
end
3014
end
3015
end
3016
end)
3017
----------------------------------------------------
3018
----------------------------------------------------
3019
mouse.KeyDown:connect(function(key)
3020
    if key == "y" then
3021
        if CanAttack == true then
3022
            CanAttack = false
3023
            Debounces.NoIdl = true
3024
            Debounces.on = true
3025
            for i = 1, 20 do
3026
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(75), 0, math.rad(30)), 0.2)
3027
            rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(75), 0, math.rad(-30)), 0.2)
3028
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, 0.5, -1) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.2)
3029
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, 0.5, -1) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.2)
3030
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-26), math.rad(0), 0), 0.2)
3031
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
3032
                  if Debounces.on == false then
3033
                          break
3034
                  end
3035
                  wait()
3036
                      end
3037
                      wait()
3038
                    if Daytime == true then
3039
                        Daytime = false
3040
                        l.TimeOfDay = 24
3041
                    else
3042
                        Daytime = true
3043
                        l.TimeOfDay = 12
3044
                        l.OutdoorAmbient = Color3.new(0.498039, 0.498039, 0.498039)
3045
                    end
3046
                    char.Humanoid.MaxHealth = math.huge
3047
                    c = Instance.new("Sound")
3048
                    c.SoundId = "http://www.roblox.com/asset/?id=152758283"
3049
                    c.Parent = m
3050
                    c.Looped = false
3051
                    if Daytime == true then
3052
                        c.Pitch = -1
3053
                    elseif Daytime == false then
3054
                        c.Pitch = 1.12
3055
                    end
3056
                    c.Volume = 1
3057
                    wait(.01)
3058
                    c:Play()
3059
            local Shockwave = function()
3060
                local Wave = Instance.new("Part", game.Workspace--[[?]])
3061
                Wave.Name = "Shockwave"
3062
                Wave.BrickColor = BrickColor.new("Really black")
3063
                Wave.Size = Vector3.new(1, 1, 1)
3064
                Wave.Shape = "Ball"
3065
                Wave.CanCollide = false
3066
                Wave.Anchored = true
3067
                Wave.TopSurface = 0
3068
                Wave.BottomSurface = 0
3069
                Wave.Touched:connect(function(hit)
3070
                    print(hit.Name)
3071
                    if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then
3072
                        if hit.Parent.Name ~= char.Name then
3073
                            print("Damaged " .. hit.Parent.Name)
3074
                            hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 1
3075
                            hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * -120
3076
                        end
3077
                    end
3078
                end)
3079
                
3080
                Instance.new("SpecialMesh", Wave).MeshType = "Sphere"
3081
                
3082
                Delay(0, function()
3083
                    -- 
3084
                    -- Okay.
3085
                    if Daytime == false then
3086
                       for i = 1, 38, 1 do
3087
                            Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i)
3088
                            Wave.CFrame = char.Torso.CFrame
3089
                            local t = i / 38
3090
                            Wave.Transparency = t
3091
                            wait()
3092
                        end
3093
                    else
3094
                        for i = 38, 1, -1 do
3095
                            Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i)
3096
                            Wave.CFrame = char.Torso.CFrame
3097
                            local t = i / 38
3098
                            Wave.Transparency = t
3099
                            wait()
3100
                        end
3101
                    end
3102
                    Wave:Destroy()
3103
                end)
3104
                Delay(0, function()
3105
                    while wait() do
3106
                        if Wave ~= nil then
3107
                            Wave.CFrame = char.Torso.CFrame
3108
                        else
3109
                            break
3110
                        end
3111
                    end
3112
                end)
3113
            end
3114
            
3115
            Shockwave()
3116
            
3117
            for i = 1, 20 do
3118
                larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, .5, 0) * CFrame.Angles(math.rad(120), 0, math.rad(-100)), 0.6)
3119
                rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, .5, 0) * CFrame.Angles(math.rad(120), 0, math.rad(100)), 0.6)
3120
                lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-20)), 0.6)
3121
                rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(20)), 0.6)
3122
                hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(35), math.rad(0), 0), 0.6)
3123
                torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.6)
3124
                wait()
3125
                if Debounces.on == false then
3126
                    break
3127
                end
3128
                wait()
3129
            end
3130
	    wait(2)
3131
            Debounces.NoIdl = false
3132
                    if CanAttack == false then
3133
                        CanAttack = true
3134
                wait()
3135
                    end
3136
            end -- for the canattack thing
3137
        end
3138
end)
3139
-------------------------------
3140
local animpose = "Idle"
3141
local lastanimpose = "Idle"
3142
local grab = false
3143
local sine = 0
3144
local change = 1
3145
local val = 0
3146
local ffing = false
3147
local jump = false
3148
-------------------------------
3149
--[[if stanceToggle == "Sitting" then
3150
	if wait(math.random(1,2)) == 1 then
3151
		stanceToggle = "Sitting2"
3152
		wait(8)
3153
		stanceToggle = "Sitting"
3154
	end
3155
end]]--
3156
-------------------------------
3157
game:GetService("RunService").RenderStepped:connect(function()
3158
if char.Humanoid.Jump == true then
3159
jump = true
3160
else
3161
jump = false
3162
end
3163
char.Humanoid.FreeFalling:connect(function(f)
3164
if f then
3165
ffing = true
3166
else
3167
ffing = false
3168
end
3169
end)
3170
sine = sine + change
3171
if jump == true then
3172
animpose = "Jumping"
3173
elseif ffing == true then
3174
animpose = "Freefalling"
3175
elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
3176
animpose = "Idle"
3177
elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
3178
animpose = "Walking"
3179
elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
3180
animpose = "Running"
3181
end
3182
if animpose ~= lastanimpose then
3183
sine = 0
3184
if Debounces.NoIdl == false then
3185
if stanceToggle == "Normal" and holy ~= true then
3186
for i = 1, 2 do
3187
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40)), 0.2)
3188
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-20)), 0.2)
3189
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.2)
3190
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2)
3191
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2)
3192
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-15), math.rad(20)), 0.2)
3193
cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
3194
end
3195
elseif stanceToggle == "Sitting" then
3196
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/30),0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(20+2*math.cos(sine/30))), 0.2)
3197
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.5, -.54) * CFrame.Angles(math.rad(88), 0, math.rad(48)), 0.6)
3198
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
3199
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-20), math.sin(sine/60)/3, 0), 0.3)
3200
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1) * CFrame.Angles(math.rad(-6), 0, 0), 0.3)
3201
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-56), 0, 0), 0.3)
3202
elseif stanceToggle == "Floating" then
3203
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.4)
3204
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.4)
3205
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2)
3206
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.4*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05)
3207
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4)
3208
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4)
3209
wait()
3210
end
3211
else
3212
end
3213
end
3214
lastanimpose = animpose
3215
if Debounces.NoIdl == false then
3216
if animpose == "Idle" then
3217
if stanceToggle == "Normal" and holy ~= true then
3218
change = 0.5
3219
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40+2*math.cos(sine/14))), 0.2)
3220
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-20-2*math.cos(sine/14))), 0.2)
3221
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(50),0), 0.2)
3222
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2)
3223
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2)
3224
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-15), math.rad(20)), 0.2)
3225
elseif stanceToggle == "Normal" and holy == true then
3226
change = 0.8
3227
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.4)
3228
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.4)
3229
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2)
3230
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05)
3231
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4)
3232
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4)
3233
elseif stanceToggle == "Melee" and holy ~= true then
3234
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20+2*math.cos(sine/14))), 0.2)
3235
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20-2*math.cos(sine/14))), 0.2)
3236
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-20+1*math.cos(sine/14)),math.rad(0),0), 0.2)
3237
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
3238
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
3239
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
3240
elseif stanceToggle == "Melee" and holy == true then
3241
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.4)
3242
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.4)
3243
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2)
3244
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05)
3245
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4)
3246
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4)
3247
elseif stanceToggle == "Sitting" then
3248
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(20)), 0.2)
3249
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.5, -.54) * CFrame.Angles(math.rad(88), 0, math.rad(48)), 0.6)
3250
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
3251
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5-0.06*math.cos(sine/25), -.2) * CFrame.Angles(math.rad(0-20*math.cos(sine/25)/2), math.sin(sine/50)/2.4, 0), 0.3)
3252
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1) * CFrame.Angles(math.rad(-6), 0, 0), 0.3)
3253
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-56), 0, 0), 0.3)
3254
elseif stanceToggle == "Floating" then
3255
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.4)
3256
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.4)
3257
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2)
3258
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.4*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05)
3259
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4)
3260
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4)
3261
elseif stanceToggle == "Grabbed" and holy ~= true then
3262
grab = true
3263
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40+2*math.cos(sine/14))), 0.2)
3264
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65+0.1*math.cos(sine/14),-.5)*CFrame.Angles(math.rad(130+4*math.cos(sine/14)),math.rad(0),math.rad(-60+4*math.cos(sine/14))), 0.3)
3265
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14+2*math.cos(sine/14)),math.rad(70-4*math.cos(sine/14)),0), 0.3)
3266
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
3267
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.3)
3268
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3)
3269
elseif stanceToggle == "Grabbed" and holy == true then
3270
grab = true
3271
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40+2*math.cos(sine/14))), 0.2)
3272
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65+0.1*math.cos(sine/14),-.5)*CFrame.Angles(math.rad(130+4*math.cos(sine/14)),math.rad(0),math.rad(-60+4*math.cos(sine/14))), 0.3)
3273
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14+2*math.cos(sine/14)),math.rad(70-4*math.cos(sine/14)),0), 0.3)
3274
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05)
3275
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4)
3276
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4)
3277
end
3278
elseif animpose == "Walking" then
3279
if stanceToggle == "Normal" and holy ~= true then
3280
change = 1
3281
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5, 0)*CFrame.Angles(math.rad(-20), math.rad(-20),math.rad(40)), 0.2)
3282
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6, -math.sin(sine/8)/2.8)*CFrame.Angles(math.sin(sine/8)/4, -math.sin(sine/8)/2, math.rad(-10)), 0.2)
3283
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2)
3284
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.1*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/4)), 0, math.rad(0)), 0.2)
3285
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4)
3286
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4)
3287
elseif stanceToggle == "Normal" and holy == true then
3288
for i = 1, 2 do
3289
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2)
3290
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2)
3291
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4)
3292
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05)
3293
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4)
3294
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4)
3295
end
3296
elseif stanceToggle == "Melee" and holy ~= true then
3297
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5-.05*math.cos(sine/4), math.sin(sine/8)/4) * CFrame.Angles(-math.sin(sine/8)/2.8, -math.sin(sine/8)/3, math.rad(10+2*math.cos(sine/4))), 0.2)
3298
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5+.05*math.cos(sine/4), -math.sin(sine/8)/4)*CFrame.Angles(math.sin(sine/8)/2.8, -math.sin(sine/8)/3, math.rad(-10-2*math.cos(sine/4))), 0.2)
3299
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2)
3300
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.07*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+1*math.cos(sine/4)), 0, math.rad(0)), 0.2)
3301
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4)
3302
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4)
3303
elseif stanceToggle == "Melee" and holy == true then
3304
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2)
3305
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2)
3306
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4)
3307
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05)
3308
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4)
3309
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4)
3310
elseif stanceToggle == "Floating" then
3311
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2)
3312
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2)
3313
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0), 0.4)
3314
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0-8*math.cos(sine/14)), 0, math.rad(-8)), 0.4)
3315
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(1-9*math.cos(sine/13)), 0, math.rad(8)), 0.4)
3316
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.2*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05)
3317
elseif stanceToggle == "Grabbed" and holy ~= true then
3318
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5, 0)*CFrame.Angles(math.rad(-20), math.rad(-20),math.rad(40)), 0.2)
3319
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(120),math.rad(0),math.rad(-30)), 0.3)
3320
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2)
3321
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.1*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/4)), 0, math.rad(0)), 0.2)
3322
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4)
3323
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4)
3324
elseif stanceToggle == "Grabbed" and holy == true then
3325
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5, 0)*CFrame.Angles(math.rad(-20), math.rad(-20),math.rad(40)), 0.2)
3326
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(120),math.rad(0),math.rad(-30)), 0.3)
3327
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0), 0.4)
3328
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0-8*math.cos(sine/14)), 0, math.rad(-8)), 0.4)
3329
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(1-9*math.cos(sine/13)), 0, math.rad(8)), 0.4)
3330
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05)
3331
end
3332
elseif animpose == "Running" then
3333
if stanceToggle == "Normal" and holy ~= true then
3334
change = 1
3335
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles  (math.rad(44), math.rad (0), math.rad(0)), 0.15)
3336
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 1-0.1*math.cos(sine/14), -1) * CFrame.Angles(math.rad(-  80),  math.rad(0), 0), 0.15)
3337
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad  (0), math.rad(50),  math.rad(-40)), 0.15)
3338
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0),   math.rad(-50),  math.rad(40)), 0.15)
3339
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(8),   math.rad(0), math.rad(- 10)), .15)
3340
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(8),   math.rad(0), math.rad(10)),  .15)
3341
elseif stanceToggle == "Normal" and holy == true then
3342
change = 1
3343
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.35,.4)*CFrame.Angles(math.rad(250),math.rad(350),math.rad(-30+2*math.cos(sine/14))), 0.2)--cfawm
3344
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.55,-.4)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(40-2*math.cos(sine/14))), 0.2)
3345
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4)
3346
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-40),math.rad(-10), math.rad(0)), 0.2)
3347
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1.2) * CFrame.Angles(math.rad(-20), math.rad(10), math.rad(0)), 0.4)
3348
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(10), math.rad(0)), 0.4)
3349
elseif stanceToggle == "Floating" then
3350
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2)
3351
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2)
3352
hed.Weld.C0 = CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0)
3353
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10-12*math.cos(sine/16)), 0, math.rad(-8)), 0.4)
3354
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10-12*math.cos(sine/16)), 0, math.rad(8)), 0.4)
3355
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.4*math.cos(sine/14), -.2) * CFrame.Angles(math.rad(-15),0, math.rad(0)), 0.05)
3356
end
3357
end
3358
end
3359
end)
3360
3361
Spawn(function() 
3362
	while wait() do
3363
		updateFly()
3364
	end
3365
end)
3366
3367
Spawn(function()
3368
	while wait(.1) do
3369
		Magik()	
3370
	end
3371
end)
3372
3373
Spawn(function()
3374
	while wait(.1) do
3375
		Magik2()	
3376
	end
3377
end)
3378
3379
Spawn(function() 
3380
	while wait(4) do
3381
		GroundWave()
3382
	end
3383
end)
3384
3385
3386
3387
3388
3389
function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module
3390
    --[[Part0 = Vector3 (Start pos)
3391
		Part1 = Vector3 (End pos)
3392
		Times = number (Amount of lightning parts)
3393
		Offset = number (Offset)
3394
		Color = color (brickcolor value)
3395
		Thickness = number (thickness)
3396
		Trans = number (transparency)
3397
    ]]--
3398
    local magz = (Part0 - Part1).magnitude
3399
    local curpos = Part0
3400
    local trz = {-Offset,Offset}
3401
    for i=1,Times do
3402
        local li = Instance.new("Part", torso)
3403
		li.Name = "Lightning"
3404
		li.TopSurface =0
3405
		li.Material = "Neon"
3406
		li.BottomSurface = 0
3407
		li.Anchored = true
3408
		li.Locked = true
3409
		li.Transparency = Trans or 0.4
3410
		li.BrickColor = BrickColor.new(Color)
3411
		li.formFactor = "Custom"
3412
		li.CanCollide = false
3413
		li.Size = Vector3.new(Thickness,Thickness,magz/Times)
3414
        local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
3415
        local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
3416
        if Times == i then
3417
        local magz2 = (curpos - Part1).magnitude
3418
        li.Size = Vector3.new(Thickness,Thickness,magz2)
3419
        li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
3420
        else
3421
        li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
3422
        end
3423
        curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
3424
        game.Debris:AddItem(li,.1)
3425
    end
3426
end
3427
3428
BodyParts = {} -- Parts to emit lightning effects from
3429
for _, v in pairs(char.Genkadda:GetChildren()) do
3430
    if v:IsA("Part") and v.Name ~= "HitBox" and v.Name ~= "Thingy" then
3431
        table.insert(BodyParts, v)
3432
    end
3433
end
3434
3435
Bounding = {} -- Calculate the bounding boxes
3436
for _, v in pairs(BodyParts) do
3437
	local temp = {X=nil, Y=nil, Z=nil}
3438
	temp.X = v.Size.X/2 * 10
3439
	temp.Y = v.Size.Y/2 * 10
3440
	temp.Z = v.Size.Z/2 * 10
3441
	Bounding[v.Name] = temp
3442
	--table.insert(Bounding, v.Name, temp)
3443
end
3444
3445
3446
3447
while wait(lightspeed) do -- Emit the Lightning effects randomly, original was (1,10)/10
3448
	
3449
	if Melee ~= true then --[[Make sure we only see the lightning when holding our sword]]
3450
		
3451
		if holy == true then
3452
			lightspeed = math.random(0.1,0.2)
3453
		else
3454
			lightspeed = math.random(0.5,1)
3455
		end
3456
	
3457
	local Body1 = BodyParts[math.random(#BodyParts)]
3458
	local Body2 = BodyParts[math.random(#BodyParts)]
3459
	local Pos1 = Vector3.new(
3460
		math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10,
3461
		math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10,
3462
		math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10
3463
)
3464
	local Pos2 = Vector3.new(
3465
		math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10,
3466
		math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10,
3467
		math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10
3468
)
3469
	local SPos1 = Body1.Position + Pos1
3470
	local SPos2 = Body2.Position + Pos2
3471
	
3472
	
3473
	
3474
	Lightning(SPos1, SPos2, 4, 3, eColors[math.random(1,#eColors)], .2, .56) 
3475
3476
3477
	end 
3478
end