View difference between Paste ID: qE8HS6ry and ZwY4iLTH
SHOW: | | - or go back to the newest paste.
1
-- This script has been converted to FE by iPxter
2
3
4
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
5
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
6
do
7
	print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
8-
rad = function(deg)
8+
	script.Parent = Player.Character
9
10
	--RemoteEvent for communicating
11
	local Event = Instance.new("RemoteEvent")
12
	Event.Name = "UserInput_Event"
13
14
	--Fake event to make stuff like Mouse.KeyDown work
15
	local function fakeEvent()
16
		local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
17
		t.connect = t.Connect
18
		return t
19
	end
20
21
	--Creating fake input objects with fake variables
22
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
23
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
24
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
25
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
26
	end}
27
	--Merged 2 functions into one by checking amount of arguments
28
	CAS.UnbindAction = CAS.BindAction
29
30
	--This function will trigger the events that have been :Connect()'ed
31
	local function te(self,ev,...)
32
		local t = m[ev]
33
		if t and t._fakeEvent and t.Function then
34
			t.Function(...)
35
		end
36
	end
37
	m.TrigEvent = te
38
	UIS.TrigEvent = te
39
40
	Event.OnServerEvent:Connect(function(plr,io)
41
	    if plr~=Player then return end
42
		if io.isMouse then
43
			m.Target = io.Target
44
			m.Hit = io.Hit
45
		else
46
			local b = io.UserInputState == Enum.UserInputState.Begin
47
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
48
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
49
			end
50
			for _,t in pairs(CAS.Actions) do
51
				for _,k in pairs(t.Keys) do
52
					if k==io.KeyCode then
53
						t.Function(t.Name,io.UserInputState,io)
54
					end
55
				end
56
			end
57
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
58
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
59
	    end
60
	end)
61
	Event.Parent = NLS([==[
62
	local Player = game:GetService("Players").LocalPlayer
63
	local Event = script:WaitForChild("UserInput_Event")
64
65
	local UIS = game:GetService("UserInputService")
66
	local input = function(io,a)
67
		if a then return end
68
		--Since InputObject is a client-side instance, we create and pass table instead
69
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
70
	end
71
	UIS.InputBegan:Connect(input)
72
	UIS.InputEnded:Connect(input)
73
74
	local Mouse = Player:GetMouse()
75
	local h,t
76
	--Give the server mouse data 30 times every second, but only if the values changed
77
	--If player is not moving their mouse, client won't fire events
78
	while wait(1/30) do
79
		if h~=Mouse.Hit or t~=Mouse.Target then
80
			h,t=Mouse.Hit,Mouse.Target
81
			Event:FireServer({isMouse=true,Target=t,Hit=h})
82
		end
83
	end]==],Player.Character)
84
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
85
end
86
87
Services = setmetatable({},{__index=function(s,r) return game:service(r) end})
88
Player = Services.Players.LocalPlayer
89
wait()script.Parent=nil
90
BodyParts={}
91
abs = function(int)
92
	if int < 0 then return -int else return int end
93
end
94
rad = function(deg)-- This script has been converted to FE by iPxter
95
96
97
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
98
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
99
do
100
	print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
101
	script.Parent = Player.Character
102
103
	--RemoteEvent for communicating
104
	local Event = Instance.new("RemoteEvent")
105
	Event.Name = "UserInput_Event"
106
107
	--Fake event to make stuff like Mouse.KeyDown work
108
	local function fakeEvent()
109
		local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
110
		t.connect = t.Connect
111
		return t
112
	end
113
114
	--Creating fake input objects with fake variables
115
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
116
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
117
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
118
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
119
	end}
120
	--Merged 2 functions into one by checking amount of arguments
121
	CAS.UnbindAction = CAS.BindAction
122
123
	--This function will trigger the events that have been :Connect()'ed
124
	local function te(self,ev,...)
125
		local t = m[ev]
126
		if t and t._fakeEvent and t.Function then
127
			t.Function(...)
128
		end
129
	end
130
	m.TrigEvent = te
131
	UIS.TrigEvent = te
132
133
	Event.OnServerEvent:Connect(function(plr,io)
134
	    if plr~=Player then return end
135
		if io.isMouse then
136
			m.Target = io.Target
137
			m.Hit = io.Hit
138
		else
139
			local b = io.UserInputState == Enum.UserInputState.Begin
140
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
141
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
142
			end
143
			for _,t in pairs(CAS.Actions) do
144
				for _,k in pairs(t.Keys) do
145
					if k==io.KeyCode then
146
						t.Function(t.Name,io.UserInputState,io)
147
					end
148
				end
149
			end
150
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
151
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
152
	    end
153
	end)
154
	Event.Parent = NLS([==[
155
	local Player = game:GetService("Players").LocalPlayer
156
	local Event = script:WaitForChild("UserInput_Event")
157
158
	local UIS = game:GetService("UserInputService")
159
	local input = function(io,a)
160
		if a then return end
161
		--Since InputObject is a client-side instance, we create and pass table instead
162
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
163
	end
164
	UIS.InputBegan:Connect(input)
165
	UIS.InputEnded:Connect(input)
166
167
	local Mouse = Player:GetMouse()
168
	local h,t
169
	--Give the server mouse data 30 times every second, but only if the values changed
170
	--If player is not moving their mouse, client won't fire events
171
	while wait(1/30) do
172
		if h~=Mouse.Hit or t~=Mouse.Target then
173
			h,t=Mouse.Hit,Mouse.Target
174
			Event:FireServer({isMouse=true,Target=t,Hit=h})
175
		end
176
	end]==],Player.Character)
177
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
178
end
179
	return deg * math.pi / 180
180
end
181
deg = function(rad)
182
	return rad * 180 / math.pi
183
end
184
dist = function(p1,p2)
185
	r,e = ypcall(function()
186
		p1 = p1.Position
187
	end)
188
	if not r then p1 = p1 end
189
	r,e = ypcall(function()
190
		p2 = p2.Position
191
	end)
192
	if not r then p1 = p1 end
193
	return math.sqrt( (p2.X-p1.X)^2 + (p2.Y-p1.Y)^2 + (p2.Z-p1.Z)^2 ) 
194
end
195
196
function GetChar()
197
	return Player.Character
198
end
199
function GetHum()
200
	for i,v in pairs(GetChar():children'') do
201
		if v.ClassName == 'Humanoid' then
202
			return v
203
		end
204
	end
205
end
206
207
function Died()
208
	for i,v in pairs(GetChar():children'') do
209
		if v.ClassName == 'Part' then
210
			table.insert(BodyParts,{v.CFrame,v})
211
		elseif v.ClassName == 'Hat' then
212
			v.Parent=workspace
213
			table.insert(BodyParts,{v.Handle.CFrame,v.Handle,1})
214
		end
215
	end
216
	
217
	wait(3)
218
	for i,v in pairs(BodyParts) do 
219
		v[2].Anchored=true 
220
		if v[2].Name == 'Torso' then pos = v[1] end
221
	end
222
	
223
	for i,v in pairs(BodyParts) do
224
		coroutine.resume(coroutine.create(function()
225
			repeat Services.RunService.Heartbeat:wait()
226
				v[2].CFrame = v[2].CFrame:lerp(v[1],.1)
227
			until dist(v[2],v[1]) < .05
228
			v[2].CFrame=v[1]
229
		end))
230
	end
231
end
232
233
Player.CharacterAdded:connect(function(char)
234
	char:WaitForChild('Torso')
235
	for i,v in pairs(BodyParts) do
236
		if v[3] then
237
			v[2]:Remove()
238
		end
239
	end
240
	BodyParts={}
241
	char.Torso.CFrame=pos or CFrame.new(0,12,0)
242
	GetHum().Died:connect(Died)
243
end)
244
GetHum().Died:connect(Died)
245
print'rannering'
246
247
--[[
248
    Stand: The World
249
    User: DIO
250
]]
251
252
---Declarations
253
local Cn=CFrame.new
254
local CA=CFrame.Angles
255
local mr=math.rad
256
local rn=math.random
257
local mc=math.cos
258
local Vn=Vector3.new
259
local NR=NumberRange.new
260
local NSeq=NumberSequence.new
261
local plrs=game:service"Players"
262
local wrk=game:service"Workspace"
263
local deb=game:service"Debris"
264
local IS=game:GetService("InsertService")
265
local p=plrs.LocalPlayer
266
local cam=wrk.CurrentCamera
267
local char=p.Character
268
local mouse=p:GetMouse()
269
local lam=char["Left Arm"]
270
local ram=char["Right Arm"]
271
local llg=char["Left Leg"]
272
local rlg=char["Right Leg"]
273
local hed=char.Head
274
local tor=char.Torso
275
local larm = lam
276
local rarm = ram
277
local lleg = llg
278
local rleg = rlg
279
local torso = tor
280
local hrp=char.HumanoidRootPart
281
local PlayerSpeed = char.Humanoid.WalkSpeed
282
local on=false
283
local noRig=false
284
local curws=16
285
local sine=0
286
local ift={}
287
local ifxd=false
288
local run=false
289
local stance="Cane"
290
local Speed = 16
291
local Health = 9000
292
293
PlayerSpeed = 16
294
295
ypcall(function()
296
char.Shirt:Destroy()
297
char.Pants:Destroy()
298
shirt = Instance.new("Shirt", char)
299
shirt.Name = "Shirt"
300
pants = Instance.new("Pants", char)
301
pants.Name = "Pants"
302
char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=298260655"
303
char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=298260668"
304
end)
305
306
Debounces = {
307
CanAttack = true;
308
NoIdl = false;
309
Slashing = false;
310
Slashed = false;
311
RPunch = false;
312
RPunched = false;
313
LPunch = false;
314
LPunched = false;
315
}
316
317
local trappedTorsos = {}
318
319
---Functions
320
321
function FndHm(flnm)
322
for i,v in pairs(flnm:GetChildren()) do
323
if v:IsA("Humanoid") then
324
return v
325
end
326
end
327
end
328
local hum=FndHm(char)
329
--hum.Name=""
330
331
332
function chrDes(inst)
333
        local ret=nil
334
        for _,v in pairs(game.Players:GetChildren()) do
335
                if inst:IsDescendantOf(v) then
336
                        ret=v
337
                        break
338
                end
339
        end
340
        return ret
341
end
342
343
--
344
function get(a)
345
local cont={}
346
for i,v in pairs(a:GetChildren()) do
347
if v==char then
348
else
349
table.insert(cont,v)
350
pcall(function()
351
for _,b in pairs(get(v)) do
352
table.insert(cont,b)
353
end
354
end)
355
end
356
end
357
return cont
358
end
359
for _,v in pairs(get(game.Workspace)) do
360
if v:IsA("Sparkles") or v:IsA("Fire") then
361
v:Destroy()
362
end
363
end
364
365
--
366
function inT(qur,tbl)
367
local a=false
368
for i,v in pairs(tbl) do
369
if v==qur then
370
a=true
371
break
372
else
373
a=false
374
end
375
end
376
return a
377
end
378
379
--
380
function Tween(a,b,c)
381
return a+(b-a)*c
382
end
383
384
--
385
function Avg(a,b)
386
return CFrame.new((a.X+b.X)/2,(a.Y+b.Y)/2,(a.Z+b.Z)/2)
387
end
388
389
--
390
function Lerp(c1,c2,tim)
391
        local com1={c1.C0.X,c1.C0.Y,c1.C0.Z,c1.C0:toEulerAnglesXYZ()}
392
        local com2={c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
393
        for i,v in pairs(com1) do 
394
                com1[i]=v+(com2[i]-v)*tim
395
        end
396
        return Cn(com1[1],com1[2],com1[3])*CA(select(4,unpack(com1)))
397
end
398
399
function RLerp(c1,c2,tim)
400
        return c1:lerp(c2,tim)
401
end
402
403
--
404
function ALerp(c1,c2,tim)
405
        local com1={c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
406
        local com2={c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
407
        for i,v in pairs(com1) do 
408
                com1[i]=v+(com2[i]-v)*tim
409
        end
410
        return Cn(com1[1],com1[2],com1[3])*CA(select(4,unpack(com1)))
411
end
412
413
--
414
function Lerprs(ud,ud2,al)
415
local a,b,c,d=ud.X.Scale,ud.X.Offset,ud.Y.Scale,ud.Y.Offset
416
local a2,b2,c2,d2=ud2.X.Scale,ud2.X.Offset,ud2.Y.Scale,ud2.Y.Offset
417
local x,y,z,w=(a+(a2-a)*al),(b+(b2-b)*al),(c+(c2-c)*al),(d+(d2-d)*al)
418
return UDim2.new(x,y,z,w)
419
end
420
421
--
422
function newAnim(wld)
423
        local asd={["Weld"]=wld;["Int"]=0;["Frame"]=1;}
424
        asd.getFrames=function()
425
                local num=0
426
                for _,v in pairs(asd) do
427
                        pcall(function()
428
                                num=num+v.Length
429
                        end)
430
                end
431
                return num
432
        end
433
        return asd
434
end
435
436
--
437
function newKF(tab,c0,lng,off)
438
        off=off or 1
439
        table.insert(tab,{["C0"]=c0,["Length"]=lng,["Offset"]=off})
440
end
441
442
--
443
function runKF(tab)
444
        tab.Int=tab.Int+1
445
        if tab.Int>=tab[tab.Frame].Length then
446
                tab.Frame=tab.Frame+1
447
                tab.Int=0
448
                if tab.Frame>#tab then
449
                        tab.Frame=1
450
                end
451
        end
452
        tab.Weld.C0=RLerp(tab.Weld.C0,tab[tab.Frame].C0,(tab[tab.Frame].Offset/tab[tab.Frame].Length)*tab.Int)
453
end
454
455
--
456
function nwPrt(prnt,siz,cf,col)
457
        local prt=Instance.new("Part")
458
        prt.Parent=prnt
459
        prt.FormFactor=3
460
        prt.Name="Part"
461
        prt.Size=siz
462
        prt.CanCollide=false
463
        prt.Anchored=true
464
        prt.Locked=true
465
        prt.TopSurface=10
466
        prt.BottomSurface=10
467
        prt.FrontSurface=10
468
        prt.BackSurface=10
469
        prt.LeftSurface=10
470
        prt.RightSurface=10
471
        prt:BreakJoints()
472
        prt.CFrame=cf or CFrame.new(30,10,30)
473
        prt.Material="SmoothPlastic"
474
        prt.BrickColor=BrickColor.new(col)
475
        m=Instance.new("SpecialMesh",prt)
476
        m.MeshType=6
477
        return prt
478
end
479
480
--
481
function nwWdg(prnt,siz,cf,col)
482
        local prt=Instance.new("WedgePart")
483
        prt.Parent=prnt
484
        prt.FormFactor=3
485
        prt.Name="Part"
486
        prt.Size=siz
487
        prt.CanCollide=false
488
        prt.Anchored=false
489
        prt.Locked=true
490
        prt.TopSurface=0
491
        prt.BottomSurface=0
492
        prt:BreakJoints()
493
        prt.CFrame=cf or CFrame.new(30,10,30)
494
        prt.Material="SmoothPlastic"
495
        prt.BrickColor=BrickColor.new(col)
496
        return prt
497
end
498
499
--
500
function newGui(prnt,clsnm,siz,pos,bsp,bc,bt)
501
        local gui=Instance.new(clsnm,prnt)
502
        gui.Size=siz or UDim2.new(0,100,0,100)
503
        gui.Position=pos or UDim2.new(0,0,0,0)
504
        gui.BorderSizePixel=bsp or 0
505
        gui.BackgroundColor3=bc or Color3.new(0,0,0)
506
        gui.BackgroundTransparency=bt or 1
507
        return gui
508
end
509
510
--
511
function nwWld(wp0,wp1,wc0)
512
wld = Instance.new("Weld",wp1)
513
wld.Part0=wp0
514
wld.Part1=wp1
515
wld.C0=wc0 or Cn(0,0,0)
516
return wld
517
end
518
519
--
520
function nwSnd(prnt,pch,vol,id)
521
        local s=Instance.new("Sound",prnt)
522
        s.Pitch=pch
523
        s.Volume=vol
524
        s.SoundId="rbxassetid://"..id
525
        s.PlayOnRemove=true
526
        return s
527
end
528
529
--
530
function newRay(start,face,range,wat)
531
        local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
532
        hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
533
        return rey,hit,pos
534
end
535
536
function nooutline(part)
537
        part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
538
end
539
540
function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
541
        local fp=it("Part")
542
        fp.formFactor=formfactor
543
        fp.Parent=parent
544
        fp.Reflectance=reflectance
545
        fp.Transparency=transparency
546
        fp.CanCollide=false
547
        fp.Locked=true
548
        fp.BrickColor=BrickColor.new(tostring(brickcolor))
549
        fp.Name=name
550
        fp.Size=size
551
        fp.Position=Character.Torso.Position
552
        nooutline(fp)
553
        fp.Material=material
554
        fp:BreakJoints()
555
        return fp
556
end
557
558
function mesh(Mesh,part,meshtype,meshid,offset,scale)
559
        local mesh=it(Mesh)
560
        mesh.Parent=part
561
        if Mesh=="SpecialMesh" then
562
                mesh.MeshType=meshtype
563
                mesh.MeshId=meshid
564
        end
565
        mesh.Offset=offset
566
        mesh.Scale=scale
567
        return mesh
568
end
569
570
function weld(parent,part0,part1,c0,c1)
571
        local weld=it("Weld")
572
        weld.Parent=parent
573
        weld.Part0=part0
574
        weld.Part1=part1
575
        weld.C0=c0
576
        weld.C1=c1
577
        return weld
578
end
579
TfwTimeStopped = false
580
function Damagefunc(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
581
        if hit.Parent==nil then
582
                return
583
        end
584
        h=hit.Parent:FindFirstChild("Humanoid")
585
        for _,v in pairs(hit.Parent:children()) do
586
                if v:IsA("Humanoid") then
587
                        h=v
588
                end
589
        end
590
        if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
591
                h=hit.Parent.Parent:FindFirstChild("Humanoid")
592
        end
593
        if hit.Parent.className=="Hat" then
594
                hit=hit.Parent.Parent:findFirstChild("Head")
595
        end
596
        if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
597
                if hit.Parent:findFirstChild("DebounceHit")~=nil then
598
                        if hit.Parent.DebounceHit.Value==true then
599
                                return
600
                        end
601
                end
602
                --[[if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
603
                        return
604
                end]]
605
                --hs(hit,1.2)
606
                c=Instance.new("ObjectValue")
607
                c.Name="creator"
608
                c.Value=game:service("Players").LocalPlayer
609
                c.Parent=h
610
                game:GetService("Debris"):AddItem(c,.5)
611
                Damage=math.random(minim,maxim)
612
                --h:TakeDamage(Damage)
613
                blocked=false
614
                block=hit.Parent:findFirstChild("Block")
615
                if block~=nil then
616
                        print(block.className)
617
                        if block.className=="NumberValue" then
618
                                if block.Value>0 then
619
                                        blocked=true
620
                                        if decreaseblock==nil then
621
                                                block.Value=block.Value-1
622
                                        end
623
                                end
624
                        end
625
                        if block.className=="IntValue" then
626
                                if block.Value>0 then
627
                                        blocked=true
628
                                        if decreaseblock~=nil then
629
                                                block.Value=block.Value-1
630
                                        end
631
                                end
632
                        end
633
                end
634
                if blocked==false then
635
                        --h:TakeDamage(Damage)
636
                        if TfwTimeStopped == false then
637
                            h.Health=h.Health-Damage
638
                            ShowDamage((hit.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
639
                        elseif TfwTimeStopped == true then
640
                            repeat wait() until TfwTimeStopped == false
641
                            h.Health=h.Health-0.1
642
                            ShowDamage((hit.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
643
                        end
644
                else
645
                        h.Health=h.Health-(Damage/2)
646
                        ShowDamage((hit.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Bright blue").Color)
647
                end
648
                if Type=="Knockdown" then
649
                        hum=hit.Parent.Humanoid
650
                        hum.PlatformStand=true
651
                        coroutine.resume(coroutine.create(function(HHumanoid)
652
                                swait(1)
653
                                HHumanoid.PlatformStand=false
654
                        end),hum)
655
                        local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
656
                        --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
657
                        local bodvol=Instance.new("BodyVelocity")
658
                        bodvol.velocity=angle*knockback
659
                        bodvol.P=500
660
                        bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
661
                        bodvol.Parent=hit
662
                        game:GetService("Debris"):AddItem(bodvol,.5)
663
                        game:GetService("Debris"):AddItem(rl,.5)
664
                elseif Type == "Killer Queen" then
665
                        hum=hit.Parent.Humanoid
666
                        hum.PlatformStand=true
667
                        coroutine.resume(coroutine.create(function(HHumanoid)
668
                                swait(1)
669
                                HHumanoid.PlatformStand=false
670
                        end),hum)
671
                        local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
672
                        --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
673
                        local bodvol=Instance.new("BodyVelocity")
674
                        bodvol.velocity=angle*knockback
675
                        bodvol.P=500
676
                        bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
677
                        bodvol.Parent=hit
678
                        game:GetService("Debris"):AddItem(bodvol,.5)
679
                        game:GetService("Debris"):AddItem(rl,.5)
680
                        wait(3)
681
                       
682
                elseif Type=="Normal" then
683
                        vp=Instance.new("BodyVelocity")
684
                        vp.P=500
685
                        vp.maxForce=Vector3.new(math.huge,0,math.huge)
686
                        --vp.velocity=Character.Torso.CFrame.lookVector*Knockback
687
                        if KnockbackType==1 then
688
                                vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
689
                        elseif KnockbackType==2 then
690
                                vp.velocity=Property.CFrame.lookVector*knockback
691
                        end
692
                        if knockback>0 then
693
                                vp.Parent=hit.Parent.Torso
694
                        end
695
                        game:GetService("Debris"):AddItem(vp,.5)
696
                elseif Type=="Up" then
697
                        local bodyVelocity=Instance.new("BodyVelocity")
698
                        bodyVelocity.velocity=vt(0,60,0)
699
                        bodyVelocity.P=5000
700
                        bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
701
                        bodyVelocity.Parent=hit
702
                        game:GetService("Debris"):AddItem(bodyVelocity,1)
703
                        rl=Instance.new("BodyAngularVelocity")
704
                        rl.P=3000
705
                        rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
706
                        rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
707
                        rl.Parent=hit
708
                        game:GetService("Debris"):AddItem(rl,.5)
709
                elseif Type=="Snare" then
710
                        bp=Instance.new("BodyPosition")
711
                        bp.P=2000
712
                        bp.D=100
713
                        bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
714
                        bp.position=hit.Parent.Torso.Position
715
                        bp.Parent=hit.Parent.Torso
716
                        game:GetService("Debris"):AddItem(bp,1)
717
                elseif Type=="Target" then
718
                        local Targetting = false
719
                        if Targetting==false then
720
                                ZTarget=hit.Parent.Torso
721
                                coroutine.resume(coroutine.create(function(Part)
722
                                        so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
723
                                        swait(5)
724
                                        so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
725
                                end),ZTarget)
726
                                local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
727
                                local  targetgui=Instance.new("BillboardGui")
728
                                targetgui.Parent=ZTarget
729
                                targetgui.Size=UDim2.new(10,100,10,100)
730
                                local targ=Instance.new("ImageLabel")
731
                                targ.Parent=targetgui
732
                                targ.BackgroundTransparency=1
733
                                targ.Image="rbxassetid://4834067"
734
                                targ.Size=UDim2.new(1,0,1,0)
735
                                cam.CameraType="Scriptable"
736
                                cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
737
                                local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
738
                                workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
739
                                Targetting=true
740
                                RocketTarget=ZTarget
741
                                for i=1,Property do
742
                                        --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
743
                                        if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
744
                                                swait()
745
                                        end
746
                                        --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
747
                                        cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
748
                                        dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
749
                                        cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
750
                                end
751
                                Targetting=false
752
                                RocketTarget=nil
753
                                targetgui.Parent=nil
754
                                cam.CameraType="Custom"
755
                        end
756
                end
757
                local debounce=Instance.new("BoolValue")
758
                debounce.Name="DebounceHit"
759
                debounce.Parent=hit.Parent
760
                debounce.Value=true
761
                game:GetService("Debris"):AddItem(debounce,Delay)
762
                c=Instance.new("ObjectValue")
763
                c.Name="creator"
764
                c.Value=Player
765
                c.Parent=h
766
                game:GetService("Debris"):AddItem(c,.5)
767
        end
768
end
769
770
function ShowDamage(Pos, Text, Time, Color)
771
        local Rate = (1 / 30)
772
        local Pos = (Pos or Vector3.new(0, 0, 0))
773
        local Text = (Text or "")
774
        local Time = (Time or 2)
775
        local Color = (Color or Color3.new(1, 0, 0))
776
        local EffectPart = part("Custom",workspace,"Neon",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
777
        EffectPart.Anchored = true
778
        local BillboardGui = Instance.new("BillboardGui")
779
        BillboardGui.Size = UDim2.new(3, 3, 3, 3)
780
        BillboardGui.Adornee = EffectPart
781
        local TextLabel = Instance.new("TextLabel")
782
        TextLabel.BackgroundTransparency = 1
783
        TextLabel.Size = UDim2.new(3, 3, 3, 3)
784
        TextLabel.Text = Text
785
        TextLabel.TextColor3 = Color
786
        TextLabel.TextStrokeColor3 = BrickColor.new("Pearl").Color
787
        TextLabel.TextScaled = true
788
        TextLabel.TextStrokeTransparency = 0
789
        TextLabel.Font = Enum.Font.SourceSansBold
790
        TextLabel.Parent = BillboardGui
791
        BillboardGui.Parent = EffectPart
792
        game.Debris:AddItem(EffectPart, (Time + 0.1))
793
        EffectPart.Parent = game:GetService("Workspace")
794
        Delay(0, function()
795
                local Frames = (Time / Rate)
796
                for Frame = 1, Frames do
797
                        wait(Rate)
798
                        local Percent = (Frame / Frames)
799
                        EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
800
                        TextLabel.TextTransparency = Percent
801
                        TextLabel.TextStrokeTransparency = Percent
802
                end
803
                if EffectPart and EffectPart.Parent then
804
                        EffectPart:Destroy()
805
                end
806
        end)
807
end
808
809
--[[local Player = game:service("Players").LocalPlayer
810
repeat wait() until Player.Character ~= nil
811
812
local Char = Player.Character
813
local mouse = Player:GetMouse()
814
local Backpack = Player.Backpack
815
local PlayerGui = Player.PlayerGui
816
local Camera = workspace.CurrentCamera
817
local Humanoid = Char:findFirstChild("Humanoid")
818
local Torso = Char:findFirstChild("Torso")
819
local Head = Char:findFirstChild("Head")
820
local ra = Char:findFirstChild("Right Arm")
821
local la = Char:findFirstChild("Left Arm")
822
local rl = Char:findFirstChild("Right Leg")
823
local ll = Char:findFirstChild("Left Leg")
824
local rs = Torso:findFirstChild("Right Shoulder")
825
local ls = Torso:findFirstChild("Left Shoulder")
826
local rh = Torso:findFirstChild("Right Hip")
827
local lh = Torso:findFirstChild("Left Hip")
828
local neck = Torso:findFirstChild("Neck")
829
local rootpart = Char:findFirstChild("HumanoidRootPart")
830
local rj = rootpart:findFirstChild("RootJoint")
831
local anim = Char:findFirstChild("Animate")
832
local RunService = game:GetService("RunService")
833
local UIA = game:GetService("UserInputService")
834
local CF = CFrame.new
835
local CA = CFrame.Angles
836
local FEA = CFrame.fromEulerAnglesXYZ
837
local FAA = CFrame.fromAxisAngle
838
local V3 = Vector3.new
839
local CN = Color3.new
840
local Ice = Instance.new
841
local BC = BrickColor.new
842
local UD2 = UDim2.new
843
local C3 = Color3.new
844
local MR = math.rad
845
local MP = math.pi
846
local MD = math.deg
847
local MH = math.huge
848
local MS = math.sin
849
local MC = math.cos
850
local MT = math.tan
851
local MAS = math.asin
852
local MAC = math.acos
853
local MAT = math.atan
854
local components = CF().components
855
856
local State = {}
857
State["Calm"] = "Active"
858
859
function Tweenz(a,b,i)
860
return a:lerp(b,i)
861
end
862
863
function Create(Instanc,prop)
864
local p=Instance.new(Instanc)
865
for i,v in pairs(prop) do
866
p[i]=v
867
end
868
return p
869
end
870
871
local c0 = {
872
RightArm = CF(1.5,0.5,0),
873
LeftArm = CF(-1.5,0.5,0),
874
RightLeg = CF(0.5,-1,0),
875
LeftLeg = CF(-0.5,-1,0),
876
RootJoint = CF(0,0,0),
877
Neck = CF(0,1,0)
878
}
879
local c1 = {
880
RightArm = CF(0,0.5,0),
881
LeftArm = CF(0,0.5,0),
882
RightLeg = CF(0,1,0),
883
LeftLeg = CF(0,1,0),
884
RootJoint = CF(0,0,0),
885
Neck = CF(0,-0.5,0)
886
}
887
888
889
--RightArm = Create("Snap",{Parent=Torso,C0=c0.RightArm,C1=c1.RightArm,Part0=Torso,Part1=ra})
890
--LeftArm = Create("Snap",{Parent=Torso,C0=c0.LeftArm,C1=c1.LeftArm,Part0=Torso,Part1=la})
891
RightLeg = Create("Snap",{Parent=Torso,C0=c0.RightLeg,C1=c1.RightLeg,Part0=Torso,Part1=rl})
892
LeftLeg = Create("Snap",{Parent=Torso,C0=c0.LeftLeg,C1=c1.LeftLeg,Part0=Torso,Part1=ll})
893
894
neck.C0 = c0.Neck
895
neck.C1 = c1.Neck
896
897
local Spread = 12
898
local Smooth = 1
899
900
local angle = tick()
901
game:GetService("RunService").Stepped:connect(function()
902
local lefth = (Torso.CFrame*c0.LeftLeg)
903
local righth = (Torso.CFrame*c0.RightLeg)
904
angle = angle+0.2*Smooth
905
local speed = V3(Torso.Velocity.X,0,Torso.Velocity.Z)
906
local TiltOnAxis = (rootpart.CFrame-rootpart.CFrame.p):inverse()*speed/100
907
rj.C0 = Tweenz(rj.C0,CFrame.Angles(MR(-90)+TiltOnAxis.Z,TiltOnAxis.X,MR(180)+-TiltOnAxis.X),.1)
908
--[[local offset = CFrame.new(0,5,0)
909
rj.C0 = CF(V3(),(mouse.hit.p-rootpart.CFrame.p).unit*100)*CFrame.Angles(MR(-90),0,MR(180))
910
local h = (rootpart.CFrame*offset).p
911
local d = CFrame.new(h,mouse.Hit.p)
912
local e = rootpart.CFrame*CFrame.new(h)
913
neck.C0 = ((d-d.p):inverse()*(e-e.p)):inverse()*CFrame.new(0,1,0)]]
914
--[[local AnglePR = (righth-righth.p):inverse()*speed/100
915
local AnglePL = (lefth-lefth.p):inverse()*speed/100
916
if speed.magnitude < 2 then
917
--RightArm.C0 = Tweenz(RightArm.C0,c0.RightArm*CFrame.Angles(0,0,0),.1)
918
--LeftArm.C0 = Tweenz(LeftArm.C0,c0.LeftArm*CFrame.Angles(0,0,0),.1)
919
elseif speed.magnitude > 2 then
920
RightLeg.C0 = Tweenz(RightLeg.C0,CF(0.5,-1+math.cos(angle)*.5,-0.2+-math.sin(angle)*.1)*CFrame.Angles(math.sin(angle)*Spread*-AnglePR.Z,AnglePR.X,math.sin(angle)*Spread*AnglePR.X),.1)
921
LeftLeg.C0 = Tweenz(LeftLeg.C0,CF(-0.5,-1+-math.cos(angle)*.5,-0.2+math.sin(angle)*.1)*CFrame.Angles(math.sin(angle)*Spread*AnglePL.Z,AnglePL.X,math.sin(angle)*Spread*-AnglePL.X),.1)
922
--RightArm.C0 = Tweenz(RightArm.C0,c0.RightArm*CFrame.Angles(math.sin(angle)*Spread*AnglePL.Z,0,0),.1)
923
--LeftArm.C0 = Tweenz(LeftArm.C0,c0.LeftArm*CFrame.Angles(-math.sin(angle)*Spread*AnglePL.Z,0,0),.1)
924
end
925
end)
926
]]--
927
Player = p
928
workspace[Player.Name].Archivable=true
929
pchar = workspace[Player.Name]:Clone() --Create("Model",{Parent=workspace})
930
pchar.Parent=workspace[Player.Name]
931
torso=pchar.Torso
932
humane=pchar.Humanoid
933
pchar.Name= "Za Warudo"
934
pl=pchar
935
humane.MaxHealth=Health
936
wait()
937
humane.Health=Health
938
humane.WalkSpeed=Speed
939
940
---Weld
941
942
local law=nwWld(tor,lam,Cn(-1.5,0.5,0))
943
law.C1=CFrame.new(0,0.5,0)
944
local raw=nwWld(tor,ram,Cn(1.5,0.5,0))
945
raw.C1=CFrame.new(0,0.5,0)
946
local hew=nwWld(tor,hed,Cn(0,1.5,0))
947
local llw=nwWld(tor,llg,Cn(-0.5,-1,0))
948
llw.C1=CFrame.new(0,1,0)
949
local rlw=nwWld(tor,rlg,Cn(0.5,-1,0))
950
rlw.C1=CFrame.new(0,1,0)
951
local tow=nwWld(hrp,tor,Cn(0,-1,0))
952
tow.C1=CFrame.new(0,-1,0)
953
954
local hrp2 = pchar.HumanoidRootPart
955
local tor2 = torso
956
local hed2 = pchar.Head
957
local lam2=pchar["Left Arm"]
958
local ram2=pchar["Right Arm"]
959
local llg2=pchar["Left Leg"]
960
local rlg2=pchar["Right Leg"]
961
962
local law2=nwWld(tor2,lam2,Cn(-1.5,0.5,0))
963
law2.C1=CFrame.new(0,0.5,0)
964
local raw2=nwWld(tor2,ram2,Cn(1.5,0.5,0))
965
raw2.C1=CFrame.new(0,0.5,0)
966
local hew2=nwWld(torso,hed2,Cn(0,1.5,0))
967
local llw2=nwWld(torso,llg2,Cn(-0.5,-1,0))
968
llw2.C1=CFrame.new(0,1,0)
969
local rlw2=nwWld(tor2,rlg2,Cn(0.5,-1,0))
970
rlw2.C1=CFrame.new(0,1,0)
971
local tow2=nwWld(hrp2,tor2,Cn(0,-1,0))
972
tow2.C1=CFrame.new(0,-1,0)
973
974
975
local laD=CFrame.new(-1.5,0.5,0)
976
local raD=CFrame.new(1.5,0.5,0)
977
local hD=CFrame.new(0,1.5,0)
978
local tD=CFrame.new(0,-1,0)
979
local llD=CFrame.new(-0.5,-1,0)
980
local rlD=CFrame.new(0.5,-1,0)
981
982
---Build
983
984
---Animations
985
986
--Idle
987
local heid=newAnim(hew)
988
newKF(heid,hD*CA(mr(-15.5),0,0),50,0.3)
989
newKF(heid,hD*CA(mr(-14),0,0),40,0.3)
990
local toid=newAnim(tow)
991
newKF(toid,tD*Cn(0,-0.0125,0)*CA(mr(16),0,0),50,0.3)
992
newKF(toid,tD*Cn(0,0.0125,0)*CA(mr(15),0,0),40,0.3)
993
local laid=newAnim(law)
994
newKF(laid,laD*Cn(1,0.0125,-0.764)*CA(mr(80),0,mr(85)),50,0.3)
995
newKF(laid,laD*Cn(1,-0.0125,-0.764)*CA(mr(70),0,mr(85)),40,0.3)
996
local raid=newAnim(raw)
997
newKF(raid,raD*Cn(-1,-0.0125,-0.764)*CA(mr(80),0,mr(-85)),50,0.3)
998
newKF(raid,raD*Cn(-1,0.0125,-0.764)*CA(mr(70),0,mr(-85)),40,0.3)
999
local llid=newAnim(llw)
1000
newKF(llid,llD*Cn(0,0.0125,0)*CA(mr(-16),0,0),50,0.3)
1001
newKF(llid,llD*Cn(0,-0.0125,0)*CA(mr(-15),0,mr(0)),40,0.3)
1002
local rlid=newAnim(rlw)
1003
newKF(rlid,rlD*Cn(0,0.0125,0)*CA(mr(-16),0,0),50,0.3)
1004
newKF(rlid,rlD*Cn(0,-0.0125,0)*CA(mr(-15),0,mr(0)),40,0.3)
1005
1006
local heid2=newAnim(hew2)
1007
newKF(heid2,hD*CA(mr(16),0,0),40,0.3)
1008
newKF(heid2,hD*CA(mr(14),0,0),40,0.3)
1009
local toid2=newAnim(tow2)
1010
newKF(toid2,tD*Cn(0,0.5,3)*CA(mr(0),0,0),50,1)
1011
newKF(toid2,tD*Cn(0,1,3)*CA(mr(0),0,0),40,1)
1012
local laid2=newAnim(law2)
1013
newKF(laid2,laD*Cn(0.5,0.0125,-1)*CA(mr(20),mr(50),mr(20)),50,0.3)
1014
newKF(laid2,laD*Cn(0.5,-0.0125,-1)*CA(mr(20),mr(50),mr(20)),40,0.3)
1015
local raid2=newAnim(raw2)
1016
newKF(raid2,raD*Cn(-0.5,-0.0125,-1)*CA(mr(20),mr(-50),mr(-20)),50,0.3)
1017
newKF(raid2,raD*Cn(-0.5,0.0125,-1)*CA(mr(20),mr(-50),mr(-20)),40,0.3)
1018
local llid2=newAnim(llw2)
1019
newKF(llid2,llD*Cn(0,0.0125,0)*CA(mr(0),0,0),50,0.3)
1020
newKF(llid2,llD*Cn(0,-0.0125,0)*CA(mr(0),0,mr(0)),40,0.3)
1021
local rlid2=newAnim(rlw2)
1022
newKF(rlid2,rlD*Cn(0,0.0125,0)*CA(mr(0),0,0),50,0.3)
1023
newKF(rlid2,rlD*Cn(0,-0.0125,0)*CA(mr(0),0,mr(0)),40,0.3)
1024
1025
--Walk
1026
local hewk=newAnim(hew)
1027
newKF(hewk,hD*CA(mr(-5.5),0,0),12,0.4)
1028
newKF(hewk,hD*CA(mr(-5),mr(-3),0),13,0.4)
1029
newKF(hewk,hD*CA(mr(-5.5),0,0),12,0.4)
1030
newKF(hewk,hD*CA(mr(-5),mr(3),0),13,0.4)
1031
local towk=newAnim(tow)
1032
newKF(towk,tD*Cn(0,0.1,0)*CA(mr(15),0,0),12,0.2)
1033
newKF(towk,tD*CA(mr(15),mr(5),0),13,0.4)
1034
newKF(towk,tD*Cn(0,0.1,0)*CA(mr(15),0,0),12,0.2)
1035
newKF(towk,tD*CA(mr(15),mr(-5),0),13,0.4)
1036
local lawk=newAnim(law)
1037
newKF(lawk,laD*CA(mr(30),0,0),25,0.4)
1038
newKF(lawk,laD*CA(mr(-30),0,0),25,0.4)
1039
local rawk=newAnim(raw)
1040
newKF(rawk,raD*CA(mr(-30),0,0),25,0.4)
1041
newKF(rawk,raD*CA(mr(30),0,0),25,0.4)
1042
local llwk=newAnim(llw)
1043
newKF(llwk,llD*CA(mr(-40),mr(-10),mr(-2)),25,0.4)
1044
newKF(llwk,llD*Cn(0,0.3,0)*CA(mr(-5),0,mr(-3)),12,0.4)
1045
newKF(llwk,llD*Cn(0,-0.2,-0.25)*CA(mr(40),mr(10),mr(-3)),13,0.4)
1046
local rlwk=newAnim(rlw)
1047
newKF(rlwk,rlD*Cn(0,0.3,0)*CA(mr(-5),0,mr(3)),12,0.4)
1048
newKF(rlwk,rlD*Cn(0,-0.2,-0.25)*CA(mr(40),mr(-10),mr(3)),13,0.4)
1049
newKF(rlwk,rlD*CA(mr(-40),mr(10),mr(2)),25,0.4)
1050
1051
--Sprint
1052
local hesp=newAnim(hew)
1053
newKF(hesp,hD*CA(mr(5),mr(-10),0),10,0.2)
1054
newKF(hesp,hD*CA(mr(10),0,0),10,0.2)
1055
newKF(hesp,hD*CA(mr(5),mr(10),0),10,0.2)
1056
newKF(hesp,hD*CA(mr(10),0,0),10,0.2)
1057
local tosp=newAnim(tow)
1058
newKF(tosp,tD*Cn(0,0.1,0)*CA(mr(-5),mr(10),0),10,0.4)
1059
newKF(tosp,tD*CA(mr(-10),0,0),10,0.4)
1060
newKF(tosp,tD*Cn(0,0.1,0)*CA(mr(-5),mr(-10),0),10,0.4)
1061
newKF(tosp,tD*CA(mr(-10),0,0),10,0.4)
1062
local lasp=newAnim(law)
1063
newKF(lasp,laD*Cn(0,-0.1,-0.2)*CA(mr(60),0,0),20,0.4)
1064
newKF(lasp,laD*CA(mr(-40),0,0),20,0.4)
1065
local rasp=newAnim(raw)
1066
newKF(rasp,raD*CA(mr(-40),0,0),20,0.4)
1067
newKF(rasp,raD*Cn(0,-0.1,-0.2)*CA(mr(60),0,0),20,0.4)
1068
local llsp=newAnim(llw)
1069
newKF(llsp,llD*CA(mr(-50),mr(-10),mr(-2)),20,0.4)
1070
newKF(llsp,llD*Cn(0,0.5,0)*CA(mr(15),0,mr(-3)),10,0.4)
1071
newKF(llsp,llD*Cn(0,-0.4,-0.25)*CA(mr(70),mr(10),mr(-3)),10,0.4)
1072
local rlsp=newAnim(rlw)
1073
newKF(rlsp,rlD*Cn(0,0.3,0)*CA(mr(15),0,mr(3)),10,0.4)
1074
newKF(rlsp,rlD*Cn(0,-0.4,-0.25)*CA(mr(70),mr(-10),mr(3)),10,0.4)
1075
newKF(rlsp,rlD*CA(mr(-50),mr(10),mr(2)),20,0.4)
1076
1077
--Freefall
1078
local heff=newAnim(hew)
1079
newKF(heff,hD*CA(mr(-5),0,0),8,0.6)
1080
newKF(heff,hD*CA(mr(-5),0,0),8,0.6)
1081
local toff=newAnim(tow)
1082
newKF(toff,tD*CA(mr(10),0,0),8,0.6)
1083
newKF(toff,tD*CA(mr(10),0,0),8,0.6)
1084
local laff=newAnim(law)
1085
newKF(laff,laD*CA(mr(140),0,0),16,0.4)
1086
newKF(laff,laD*CA(mr(140),0,0),16,0.4)
1087
local raff=newAnim(raw)
1088
newKF(raff,raD*CA(mr(140),0,0),16,0.4)
1089
newKF(raff,raD*CA(mr(140),0,0),16,0.4)
1090
local llff=newAnim(llw)
1091
newKF(llff,llD*CA(0,0,mr(-5)),16,0.4)
1092
newKF(llff,llD*CA(0,0,mr(-5)),16,0.4)
1093
local rlff=newAnim(rlw)
1094
newKF(rlff,rlD*CA(0,0,mr(5)),16,0.4)
1095
newKF(rlff,rlD*CA(0,0,mr(5)),16,0.4)
1096
1097
--Time Has Stopped
1098
local hesp2=newAnim(hew)
1099
newKF(hesp2,hD*CA(mr(-30),mr(0),mr(0)),10,0.5)
1100
local tosp2=newAnim(tow)
1101
newKF(tosp2,tD*Cn(0,0,0)*CA(mr(30),mr(0),mr(0)),10,0.5)
1102
local lasp2=newAnim(law)
1103
newKF(lasp2,laD*CA(mr(90),mr(0),mr(-60)),20,1.5)
1104
local rasp2=newAnim(raw)
1105
newKF(rasp2,raD*CA(mr(90),mr(0),mr(60)),20,1.5)
1106
local llsp2=newAnim(llw)
1107
newKF(llsp2,llD*Cn(0,0,0)*CA(mr(-30),mr(0),mr(0)),20,0.5)
1108
local rlsp2=newAnim(rlw)
1109
newKF(rlsp2,rlD*Cn(0,0,0)*CA(mr(-30),0,mr(0)),10,0.5)
1110
1111
local hesp3=newAnim(hew2)
1112
newKF(hesp3,hD*CA(mr(-15),mr(0),mr(0)),50,0.2)
1113
local tosp3=newAnim(tow2)
1114
newKF(tosp3,tD*Cn(0,1,3)*CA(mr(0),mr(0),mr(0)),50,0.4)
1115
local lasp3=newAnim(law2)
1116
newKF(lasp3,laD*CA(mr(80),mr(0),mr(65)),30,0.4)
1117
newKF(lasp3,laD*CA(mr(120),mr(0),mr(-60)),50,0.4)
1118
local rasp3=newAnim(raw2)
1119
newKF(rasp3,raD*CA(mr(80),mr(0),mr(-65)),30,0.4)
1120
newKF(rasp3,raD*CA(mr(120),mr(0),mr(60)),50,0.4)
1121
local llsp3=newAnim(llw2)
1122
newKF(llsp3,llD*CA(mr(0),mr(0),mr(1.5)),50,0.4)
1123
local rlsp3=newAnim(rlw2)
1124
newKF(rlsp3,rlD*CA(mr(0),mr(0),mr(-1.5)),50,0.4)
1125
1126
local hesp4=newAnim(hew2)
1127
newKF(hesp4,hD*CA(mr(-10),mr(0),mr(0)),10,0.2)
1128
local tosp4=newAnim(tow2)
1129
newKF(tosp4,tD*Cn(0,1,3)*CA(mr(0),mr(0),mr(0)),10,0.4)
1130
local lasp4=newAnim(law2)
1131
newKF(lasp4,laD*CA(mr(120),mr(0),mr(-60)),20,0.4)
1132
local rasp4=newAnim(raw2)
1133
newKF(rasp4,raD*CA(mr(120),mr(0),mr(60)),20,0.4)
1134
local llsp4=newAnim(llw2)
1135
newKF(llsp4,llD*CA(mr(0),mr(0),mr(1.5)),20,0.4)
1136
local rlsp4=newAnim(rlw2)
1137
newKF(rlsp4,rlD*CA(mr(0),mr(0),mr(-1.5)),10,0.4)
1138
1139
--Let time flow again
1140
local hetoki=newAnim(hew)
1141
newKF(hetoki,hD*CA(mr(0),mr(0),mr(0)),10,0.2)
1142
local totoki=newAnim(tow)
1143
newKF(totoki,tD*Cn(0,0,0)*CA(mr(0),mr(0),mr(0)),10,0.4)
1144
local latoki=newAnim(law)
1145
newKF(latoki,laD*Cn(0,-0.1,-0.2)*CA(mr(0),mr(0),mr(0)),20,0.4)
1146
local ratoki=newAnim(raw)
1147
newKF(ratoki,raD*CA(mr(0),mr(0),mr(0)),20,0.4)
1148
local lltoki=newAnim(llw)
1149
newKF(lltoki,llD*CA(mr(0),mr(0),mr(0)),20,0.4)
1150
local rltoki=newAnim(rlw)
1151
newKF(rltoki,rlD*Cn(0,0,0)*CA(mr(0),mr(0),mr(0)),10,0.4)
1152
--//Example of Keyframe
1153
--[[
1154
local hesp2=newAnim(hew)
1155
newKF(hesp2,hD*CA(mr(0),mr(0),mr(0)),10,0.2)
1156
local tosp2=newAnim(tow)
1157
newKF(tosp2,tD*CA(mr(0),mr(0),mr(0)),10,0.4)
1158
local lasp2=newAnim(law)
1159
newKF(lasp2,laD*CA(mr(0),mr(0),mr(0)),20,0.4)
1160
local rasp2=newAnim(raw)
1161
newKF(rasp2,raD*CA(mr(0),mr(0),mr(0)),20,0.4)
1162
local llsp2=newAnim(llw)
1163
newKF(llsp2,llD*CA(mr(0),mr(0),mr(0)),20,0.4)
1164
local rlsp2=newAnim(rlw)
1165
newKF(rlsp2,rlD*CA(mr(0),mr(0),mr(0)),10,0.4)
1166
]]
1167
function onDamage(Part)
1168
    if Part:findFirstChild("Humanoid") == nil and Part:findFirstChild("BodyVelocity") ~= nil or Part:findFirstChild("Humanoid") == nil and Part:findFirstChild("RocketPropulsion") ~= nil then
1169
        Part.Anchored = true
1170
        if Part:findFirstChild("Mesh") ~= nil then
1171
            z = Part:findFirstChild("Mesh")
1172
            for i = 1,5 do
1173
                z.Scale = z.Scale + Vector3.new(1,1,1)
1174
                wait(0.05)
1175
            end
1176
        end
1177
    end
1178
end
1179
1180
function trappedTorsos:isTrapped(t)
1181
    for nildata, index in next,self do
1182
        if index==t then
1183
            return true
1184
        end
1185
    end
1186
return false
1187
end
1188
1189
function trappedTorsos:Capture(hit)
1190
   if hit:isA'BasePart' then
1191
    if not trappedTorsos:isTrapped(hit) and not hit:IsDescendantOf(char) then
1192
        table.insert(trappedTorsos, hit)
1193
        hit.Anchored = true --trapped!
1194
        --print'trapped!'
1195
    end
1196
   end
1197
end
1198
1199
function trappedTorsos:Release()
1200
    for i,v in next, self do
1201
        if type(v)=='userdata' then
1202
            if v:isA('BasePart') then
1203
                v.Anchored = false
1204
                self[i] = nil
1205
            end
1206
        end
1207
    end
1208
end
1209
1210
--Za Warudo
1211
Attacking = false
1212
WasOn = true
1213
function TheWorld(Mode)
1214
    if Mode == "Time Stop" then
1215
        noRig = true
1216
        Attacking = true
1217
        if WasOn == true and StandOn == false then
1218
            StandOn = true
1219
            WasOn = false
1220
        end
1221
        hum.WalkSpeed = 0
1222
        for i = 1,30 do
1223
            runKF(hesp2)
1224
            runKF(tosp2)
1225
            runKF(lasp2)
1226
            runKF(rasp2)
1227
            runKF(llsp2)
1228
            runKF(rlsp2)
1229
            runKF(hesp3)
1230
            runKF(tosp3)
1231
            runKF(lasp3)
1232
            runKF(rasp3)
1233
            runKF(llsp3)
1234
            runKF(rlsp3)
1235
            wait()
1236
        end
1237
        wait()
1238
        local ZAWARUDO = Instance.new("Sound",tor)
1239
        ZAWARUDO.SoundId = "rbxassetid://290807377"
1240
        ZAWARUDO.Volume = 1
1241
        ZAWARUDO.Looped = false
1242
        ZAWARUDO:Play()
1243
        local TimeStop = Instance.new("Sound",tor)
1244
        TimeStop.SoundId = "rbxassetid://520743795"
1245
        TimeStop.Looped = false
1246
        TimeStop.Volume = 1
1247
        local AreaOfEffect = Instance.new("Part",char)
1248
        AreaOfEffect.Position = tor.Position
1249
        AreaOfEffect.Size = Vector3.new(0.01,0.01,0.01)
1250
        AreaOfEffect.Anchored = true
1251
        AreaOfEffect.CanCollide = false
1252
        AreaOfEffect.BrickColor = BrickColor.new("Institutional white")
1253
        AreaOfEffect.Transparency = 0.9
1254
        AreaOfEffect.Shape = "Ball"
1255
        AreaOfEffect.Material = "Neon"   
1256
        
1257
        for i = 1,10 do
1258
            runKF(hesp4)
1259
            runKF(tosp4)
1260
            runKF(lasp4)
1261
            runKF(rasp4)
1262
            runKF(llsp4)
1263
            runKF(rlsp4)
1264
            wait()
1265
        end
1266
        TimeStop:Play()
1267
        for i = 1,10 do
1268
            AreaOfEffect.Size = AreaOfEffect.Size + Vector3.new(4.1,4.1,4.1)
1269
            AreaOfEffect.CFrame = char.Torso.CFrame
1270
            wait()
1271
        end
1272
        coroutine.wrap(function()
1273
            do local me={}
1274
                
1275
                me.plrs = game:service'Workspace':children''
1276
                
1277
                function me:getNear(mag)
1278
                    local rtn = {}
1279
                        
1280
                    for k,v in next,me.plrs do
1281
                        local chxr = v
1282
                        
1283
                        if chxr then
1284
                            if chxr:findFirstChild'Torso' then
1285
                                local pos = (chxr.Torso.Position-tor.Position).magnitude
1286
                                
1287
                                if pos<=mag then
1288
                                    for a,b in pairs(chxr:children()) do
1289
                                        if b:IsA("BasePart") then
1290
                                            table.insert(rtn, b)
1291
                                        end
1292
                                    end
1293
                                end
1294
                            end
1295
                        end
1296
                    end
1297
                    return rtn
1298
                end
1299
            
1300
                for no, torso in ipairs(me:getNear(25)) do
1301
                    --print(torso:GetFullName())
1302
                    --print(torso:GetFullName())
1303
                    trappedTorsos:Capture(torso)
1304
                end
1305
            
1306
                
1307
            end
1308
        end)()
1309
        AreaOfEffect:Destroy()
1310
        local TimeHasStopped = Instance.new("Sound",tor)
1311
        TimeHasStopped.SoundId = "rbxassetid://"
1312
        TimeHasStopped.Looped = false
1313
        TimeHasStopped.Volume = 1
1314
        wait(1.3)
1315
        TimeHasStopped:Play()
1316
        workspace.Gravity = 70
1317
        for i,v in pairs(char:children()) do
1318
            if v:IsA("Part") then
1319
                v.Anchored = false
1320
            end
1321
            if v:IsA("Hat") then
1322
                v.Handle.Anchored = false
1323
            end
1324
        end
1325
        for i,v in pairs(pchar:children()) do
1326
            if v:IsA("Part") then
1327
                v.Anchored = false
1328
            end
1329
            if v:IsA("Hat") then
1330
                v.Handle.Anchored = false
1331
            end
1332
        end
1333
        if WasOn == false then
1334
            StandOn = false
1335
            WasOn = true
1336
        end
1337
        hum.WalkSpeed = 16
1338
        noRig = false
1339
        Attacking = false
1340
     end
1341
     if Mode == "World Time Stop" then
1342
        noRig = true
1343
        Attacking = true
1344
        if WasOn == true and StandOn == false then
1345
            StandOn = true
1346
            WasOn = false
1347
        end
1348
        hum.WalkSpeed = 0
1349
        for i = 1,30 do
1350
            runKF(hesp2)
1351
            runKF(tosp2)
1352
            runKF(lasp2)
1353
            runKF(rasp2)
1354
            runKF(llsp2)
1355
            runKF(rlsp2)
1356
            runKF(hesp3)
1357
            runKF(tosp3)
1358
            runKF(lasp3)
1359
            runKF(rasp3)
1360
            runKF(llsp3)
1361
            runKF(rlsp3)
1362
            wait()
1363
        end
1364
        wait()
1365
        local ZAWARUDO = Instance.new("Sound",tor)
1366
        ZAWARUDO.SoundId = "rbxassetid://290807377"
1367
        ZAWARUDO.Volume = 1
1368
        ZAWARUDO.Looped = false
1369
        ZAWARUDO:Play()
1370
        local TimeStop = Instance.new("Sound",tor)
1371
        TimeStop.SoundId = "rbxassetid://520743795"
1372
        TimeStop.Looped = false
1373
        TimeStop.Volume = 1
1374
        local AreaOfEffect = Instance.new("Part",char)
1375
        AreaOfEffect.Position = tor.Position
1376
        AreaOfEffect.Size = Vector3.new(0.01,0.01,0.01)
1377
        AreaOfEffect.Anchored = true
1378
        AreaOfEffect.CanCollide = false
1379
        AreaOfEffect.BrickColor = BrickColor.new("Institutional white")
1380
        AreaOfEffect.Transparency = 0.9
1381
        AreaOfEffect.Shape = "Ball"
1382
        AreaOfEffect.Material = "Neon"   
1383
        
1384
        for i = 1,10 do
1385
            runKF(hesp4)
1386
            runKF(tosp4)
1387
            runKF(lasp4)
1388
            runKF(rasp4)
1389
            runKF(llsp4)
1390
            runKF(rlsp4)
1391
            wait()
1392
        end
1393
        TimeStop:Play()
1394
        for i = 1,10 do
1395
            AreaOfEffect.Size = AreaOfEffect.Size + Vector3.new(4.1,4.1,4.1)
1396
            AreaOfEffect.CFrame = char.Torso.CFrame
1397
            wait()
1398
        end
1399
        coroutine.wrap(function()
1400
            do local me={}
1401
                
1402
                me.plrs = game:service'Workspace':children''
1403
                
1404
                function me:getNear(mag)
1405
                    local rtn = {}
1406
                        
1407
                    for k,v in next,me.plrs do
1408
                        local chxr = v
1409
                        
1410
                        if chxr then
1411
                            if chxr:findFirstChild'Torso' then
1412
                                local pos = (chxr.Torso.Position-tor.Position).magnitude
1413
                                
1414
                                if pos<=mag then
1415
                                    for a,b in pairs(chxr:children()) do
1416
                                        if b:IsA("BasePart") then
1417
                                            table.insert(rtn, b)
1418
                                        end
1419
                                    end
1420
                                end
1421
                            end
1422
                        end
1423
                    end
1424
                    return rtn
1425
                end
1426
            
1427
                for no, torso in ipairs(me:getNear(5555)) do
1428
                    --print(torso:GetFullName())
1429
                    --print(torso:GetFullName())
1430
                    trappedTorsos:Capture(torso)
1431
                end
1432
            
1433
                
1434
            end
1435
        end)()
1436
        AreaOfEffect:Destroy()
1437
        local TimeHasStopped = Instance.new("Sound",tor)
1438
        TimeHasStopped.SoundId = "rbxassetid://290807397"
1439
        TimeHasStopped.Looped = false
1440
        TimeHasStopped.Volume = 1
1441
        wait(1.3)
1442
        TimeHasStopped:Play()
1443
        workspace.Gravity = 70
1444
        for i,v in pairs(char:children()) do
1445
            if v:IsA("Part") then
1446
                v.Anchored = false
1447
            end
1448
            if v:IsA("Hat") then
1449
                v.Handle.Anchored = false
1450
            end
1451
        end
1452
        for i,v in pairs(pchar:children()) do
1453
            if v:IsA("Part") then
1454
                v.Anchored = false
1455
            end
1456
            if v:IsA("Hat") then
1457
                v.Handle.Anchored = false
1458
            end
1459
        end
1460
        if WasOn == false then
1461
            StandOn = false
1462
            WasOn = true
1463
        end
1464
        hum.WalkSpeed = 16
1465
        noRig = false
1466
        Attacking = false
1467
     end
1468
     if Mode == "Time Start" then
1469
        local Toki = Instance.new("Sound",tor)
1470
        Toki.SoundId = "rbxassetid://290810519"
1471
        Toki.Volume = 1
1472
        Toki.Looped = false
1473
        Toki:Play()
1474
        local AreaOfEffect2 = Instance.new("Part",tor)
1475
        AreaOfEffect2.Position = tor.Position
1476
        AreaOfEffect2.Size = Vector3.new(0.01,0.01,0.01)
1477
        AreaOfEffect2.Anchored = true
1478
        AreaOfEffect2.CanCollide = false
1479
        AreaOfEffect2.Transparency = 1
1480
        AreaOfEffect2.BrickColor = BrickColor.new("Institutional white")
1481
        AreaOfEffect2.Transparency = 0.99
1482
        AreaOfEffect2.Shape = "Ball"
1483
        AreaOfEffect2.Material = "Neon"
1484
        AreaOfEffect2.Touched:connect(function(hit)
1485
            if hit ~= "Base" then
1486
                --hit.Anchored = false
1487
            end
1488
        end)
1489
        for i = 1,10 do
1490
            AreaOfEffect2.Size = AreaOfEffect2.Size + Vector3.new(4.1,4.1,4.1)
1491
            AreaOfEffect2.CFrame = char.Torso.CFrame
1492
            wait()
1493
        end
1494
        trappedTorsos:Release()
1495
        AreaOfEffect2:Destroy()
1496
        TfwTimeStopped = false
1497
        workspace.Gravity = 196.2
1498
    end
1499
    if Mode == "Wry" then
1500
        local WWRRRYYYYY = Instance.new("Sound",tor)
1501
        WWRRRYYYYY.SoundId = "rbxassetid://499932933"
1502
        WWRRRYYYYY.Volume = 1
1503
        WWRRRYYYYY.Looped = false
1504
        WWRRRYYYYY:Play()
1505
    end
1506
end
1507
1508
Rapid = false
1509
TimeStopped = false
1510
OneSecond = false
1511
Cha = char
1512
Character = char
1513
it=Instance.new
1514
vt=Vector3.new
1515
cn=CFrame.new
1516
euler=CFrame.fromEulerAnglesXYZ
1517
angles=CFrame.Angles
1518
RootPart = hrp
1519
mouse.KeyDown:connect(function(key)
1520
    if key == "q" then
1521
        if TimeStopped == false and Attacking == false then
1522
            TheWorld("Time Stop")
1523
            TimeStopped = true
1524
            TfwTimeStopped = true
1525
            --[[wait(10)
1526
            if TimeStopped == true then
1527
                TheWorld("Time Start")
1528
                TimeStopped = false
1529
            end]]
1530
        elseif TimeStopped == true and Attacking == false then
1531
            TheWorld("Time Start")
1532
            TimeStopped = false
1533
        end
1534
    end
1535
    if key == "p" and TimeStopped == false and Attacking == false then
1536
        TheWorld("World Time Stop")
1537
        TimeStopped = true
1538
        TfwTimeStopped = true
1539
    end
1540
    if key == "f" then
1541
        if StandOn then
1542
            StandOn = false
1543
        else
1544
            StandOn = true
1545
            TheWorld("Wry")
1546
        end
1547
    end
1548
    if key == "t" and OneSecond == false then
1549
        OneSecond = true
1550
        for i, v in pairs(Cha:GetChildren()) do
1551
            if v:IsA('Hat') then
1552
                v.Handle.Transparency=1
1553
            end
1554
        end
1555
        Cha.Head.Transparency = 0.2
1556
        Cha.Torso.Transparency = 0.2
1557
        Cha["Right Arm"].Transparency = 0.2
1558
        Cha["Left Arm"].Transparency = 0.2
1559
        Cha["Right Leg"].Transparency = 0.2
1560
        Cha["Left Leg"].Transparency = 0.2
1561
        wait()
1562
        Cha.Head.Transparency = 0.4
1563
        Cha.Torso.Transparency = 0.4
1564
        Cha["Right Arm"].Transparency = 0.4
1565
        Cha["Left Arm"].Transparency = 0.4
1566
        Cha["Right Leg"].Transparency = 0.4
1567
        Cha["Left Leg"].Transparency = 0.4
1568
        wait()
1569
        Cha.Head.Transparency = 0.6
1570
        Cha.Torso.Transparency = 0.6
1571
        Cha["Right Arm"].Transparency = 0.6
1572
        Cha["Left Arm"].Transparency = 0.6
1573
        Cha["Right Leg"].Transparency = 0.6
1574
        Cha["Left Leg"].Transparency = 0.6
1575
        wait()
1576
        Cha.Head.Transparency = 0.8
1577
        Cha.Torso.Transparency = 0.8
1578
        Cha["Right Arm"].Transparency = 0.8
1579
        Cha["Left Arm"].Transparency = 0.8
1580
        Cha["Right Leg"].Transparency = 0.8
1581
        Cha["Left Leg"].Transparency = 0.8
1582
        wait()
1583
        Cha.Head.Transparency = 1
1584
        Cha.Torso.Transparency = 1
1585
        Cha["Right Arm"].Transparency = 1
1586
        Cha["Left Arm"].Transparency = 1
1587
        Cha["Right Leg"].Transparency = 1
1588
        Cha["Left Leg"].Transparency = 1
1589
        
1590
        Targ = CFrame.new(Vector3.new(mouse.Hit.x, mouse.Hit.y + 5, mouse.Hit.z))
1591
        print("ZA WARUDO!")
1592
1593
        Player.Character.Torso.CFrame = Targ
1594
1595
        wait()
1596
        for i, v in pairs(Cha:GetChildren()) do
1597
            if v:IsA('Hat') then
1598
                v.Handle.Transparency=0
1599
            end
1600
        end
1601
        Cha.Head.Transparency = 0.8
1602
        Cha.Torso.Transparency = 0.8
1603
        Cha["Right Arm"].Transparency = 0.8
1604
        Cha["Left Arm"].Transparency = 0.8
1605
        Cha["Right Leg"].Transparency = 0.8
1606
        Cha["Left Leg"].Transparency = 0.8
1607
        wait()
1608
        Cha.Head.Transparency = 0.6
1609
        Cha.Torso.Transparency = 0.6
1610
        Cha["Right Arm"].Transparency = 0.6
1611
        Cha["Left Arm"].Transparency = 0.6
1612
        Cha["Right Leg"].Transparency = 0.6
1613
        Cha["Left Leg"].Transparency = 0.6
1614
        wait()
1615
        Cha.Head.Transparency = 0.4
1616
        Cha.Torso.Transparency = 0.4
1617
        Cha["Right Arm"].Transparency = 0.4
1618
        Cha["Left Arm"].Transparency = 0.4
1619
        Cha["Right Leg"].Transparency = 0.4
1620
        Cha["Left Leg"].Transparency = 0.4
1621
        wait()
1622
        Cha.Head.Transparency = 0.2
1623
        Cha.Torso.Transparency = 0.2
1624
        Cha["Right Arm"].Transparency = 0.2
1625
        Cha["Left Arm"].Transparency = 0.2
1626
        Cha["Right Leg"].Transparency = 0.2
1627
        Cha["Left Leg"].Transparency = 0.2
1628
        wait()
1629
        Cha.Head.Transparency = 0
1630
        Cha.Torso.Transparency = 0
1631
        Cha["Right Arm"].Transparency = 0
1632
        Cha["Left Arm"].Transparency = 0
1633
        Cha["Right Leg"].Transparency = 0
1634
        Cha["Left Leg"].Transparency = 0
1635
1636
        wait()
1637
        OneSecond = false
1638
    end
1639
    if key == "v" then
1640
        Rapid = true
1641
        local ORA = Instance.new("Sound",char)
1642
        ORA.SoundId = "rbxassetid://291088692"
1643
        ORA.Volume = 1
1644
        ORA.Looped = false
1645
        ORA:Play()
1646
        Attacking = true
1647
        con1 = ram2.Touched:connect(function(hit) Damagefunc(torso,hit,1,4,math.random(0,0),"Killer Queen",RootPart,.2,1) end)
1648
        con2 = lam2.Touched:connect(function(hit) Damagefunc(torso,hit,4,2,math.random(0,0),"Killer Queen",RootPart,.2,1) end)
1649
        while Rapid == true do
1650
            for i = 1, 3 do
1651
                raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(math.random(-20,20)),math.rad(20)), 1.7)
1652
                law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 1.7)
1653
                hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3)
1654
                tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3)
1655
                llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3)
1656
                rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3)
1657
                wait()
1658
            end
1659
            for i = 1, 3 do
1660
                raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(0),math.rad(-50)), 1.7)
1661
                law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(math.random(-20,20)),math.rad(-20)), 1.7)
1662
                hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 1.3)
1663
                tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 1.3)
1664
                llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 1.3)
1665
                rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 1.3)
1666
                wait()
1667
            end
1668
            for i = 1, 3 do
1669
                raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(math.random(-20,20)),math.rad(20)), 1.7)
1670
                law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 1.7)
1671
                hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3)
1672
                tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3)
1673
                llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3)
1674
                rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3)
1675
                wait()
1676
            end
1677
            for i = 1, 3 do
1678
                raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(0),math.rad(-50)), 1.7)
1679
                law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(math.random(-20,20)),math.rad(-20)), 1.7)
1680
                hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 1.3)
1681
                tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 1.3)
1682
                llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 1.3)
1683
                rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 1.3)
1684
                wait()
1685
            end
1686
        end
1687
        con1:disconnect()
1688
        con2:disconnect()
1689
        local MIDORA = Instance.new("Sound",char)
1690
        MIDORA.SoundId = "rbxassetid://291088797"
1691
        MIDORA.Looped = false
1692
        MIDORA:Play()
1693
        ORA:Stop()
1694
        Attacking = false
1695
    end
1696
    if key == "e" then
1697
        if StandOn == true then
1698
        Rapid = true
1699
        local ORA = Instance.new("Sound",char)
1700
        ORA.SoundId = "rbxassetid://291088692"
1701
        ORA.Volume = 1
1702
        ORA.Looped = false
1703
        ORA:Play()
1704
        Attacking = true
1705
        con1 = ram2.Touched:connect(function(hit) Damagefunc(torso,hit,3,1,math.random(0,0),"Normal",RootPart,.2,1) end)
1706
        con2 = lam2.Touched:connect(function(hit) Damagefunc(torso,hit,1,3,math.random(0,0),"Normal",RootPart,.2,1) end)
1707
        while Rapid == true do
1708
            for i = 1, 3 do
1709
                raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(math.random(-20,20)),math.rad(20)), 1.7)
1710
                law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 1.7)
1711
                hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3)
1712
                tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3)
1713
                llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3)
1714
                rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3)
1715
                wait()
1716
            end
1717
            for i = 1, 3 do
1718
                raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(0),math.rad(-50)), 1.7)
1719
                law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(math.random(-20,20)),math.rad(-20)), 1.7)
1720
                hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 1.3)
1721
                tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 1.3)
1722
                llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 1.3)
1723
                rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 1.3)
1724
                wait()
1725
            end
1726
            for i = 1, 3 do
1727
                raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(math.random(-20,20)),math.rad(20)), 1.7)
1728
                law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 1.7)
1729
                hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3)
1730
                tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3)
1731
                llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3)
1732
                rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3)
1733
                wait()
1734
            end
1735
            for i = 1, 3 do
1736
                raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(0),math.rad(-50)), 1.7)
1737
                law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(math.random(-20,20)),math.rad(-20)), 1.7)
1738
                hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 1.3)
1739
                tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 1.3)
1740
                llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 1.3)
1741
                rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 1.3)
1742
                wait()
1743
            end
1744
        end
1745
        con1:disconnect()
1746
        con2:disconnect()
1747
        local MIDORA = Instance.new("Sound",char)
1748
        MIDORA.SoundId = "rbxassetid://291088797"
1749
        MIDORA.Looped = false
1750
        MIDORA:Play()
1751
        ORA:Stop()
1752
        Attacking = false
1753
        elseif StandOn == false then
1754
        Rapid = true
1755
        local ORA = Instance.new("Sound",char)
1756
        ORA.SoundId = "rbxassetid://291088692"
1757
        ORA.Volume = 1
1758
        ORA.Looped = false
1759
        ORA:Play()
1760
        con1 = ram.Touched:connect(function(hit) Damagefunc(torso,hit,4,1,math.random(0,0),"Normal",RootPart,.2,1) end)
1761
        con2 = lam.Touched:connect(function(hit) Damagefunc(torso,hit,1,5,math.random(0,0),"Normal",RootPart,.2,1) end)
1762
        while Rapid == true do
1763
            for i = 1, 3 do
1764
                raw.C0 = RLerp(raw.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(math.random(-20,20)),math.rad(20)), 1.7)
1765
                law.C0 = RLerp(law.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 1.7)
1766
                hew.C0 = RLerp(hew.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3)
1767
                tow.C0 = RLerp(tow.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3)
1768
                llw.C0 = RLerp(llw.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3)
1769
                rlw.C0 = RLerp(rlw.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3)
1770
                wait()
1771
            end
1772
            for i = 1, 3 do
1773
                raw.C0 = RLerp(raw.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(0),math.rad(-50)), 1.7)
1774
                law.C0 = RLerp(law.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(math.random(-20,20)),math.rad(-20)), 1.7)
1775
                hew.C0 = RLerp(hew.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 1.3)
1776
                tow.C0 = RLerp(tow.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 1.3)
1777
                llw.C0 = RLerp(llw.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 1.3)
1778
                rlw.C0 = RLerp(rlw.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 1.3)
1779
                wait()
1780
            end
1781
            for i = 1, 3 do
1782
                raw.C0 = RLerp(raw.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(math.random(-20,20)),math.rad(20)), 1.7)
1783
                law.C0 = RLerp(law.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 1.7)
1784
                hew.C0 = RLerp(hew.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3)
1785
                tow.C0 = RLerp(tow.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3)
1786
                llw.C0 = RLerp(llw.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3)
1787
                rlw.C0 = RLerp(rlw.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3)
1788
                wait()
1789
            end
1790
            for i = 1, 3 do
1791
                raw.C0 = RLerp(raw.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(0),math.rad(-50)), 1.7)
1792
                law.C0 = RLerp(law.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(math.random(-20,20)),math.rad(-20)), 1.7)
1793
                hew.C0 = RLerp(hew.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 1.3)
1794
                tow.C0 = RLerp(tow.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 1.3)
1795
                llw.C0 = RLerp(llw.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 1.3)
1796
                rlw.C0 = RLerp(rlw.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 1.3)
1797
                wait()
1798
            end
1799
        end
1800
        con1:disconnect()
1801
        con2:disconnect()
1802
        local MIDORA = Instance.new("Sound",char)
1803
        MIDORA.SoundId = "rbxassetid://291088797"
1804
        MIDORA.Looped = false
1805
        MIDORA:Play()
1806
        ORA:Stop()
1807
        end
1808
    end
1809
    if key == "r" and Attacking == false then
1810
        con1 = ram2.Touched:connect(function(hit) Damagefunc(torso,hit,4,2,math.random(100,100),"Knockdown",RootPart,.2,1) end)
1811
        Attacking = true
1812
        for i = 1, 3 do
1813
            raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(math.random(-20,20)),math.rad(20)), 1.7)
1814
            law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 1.7)
1815
            hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3)
1816
            tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3)
1817
            llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3)
1818
            rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3)
1819
            wait()
1820
        end
1821
        local MIDORA = Instance.new("Sound",char)
1822
        MIDORA.SoundId = "rbxassetid://291088797"
1823
        MIDORA.Looped = false
1824
        MIDORA:Play()
1825
        wait(1)
1826
        con1:disconnect()
1827
        Attacking = false
1828
    end
1829
    if key == "g" and Attacking == false then
1830
        con1 = ram2.Touched:connect(function(hit) 
1831
            Damagefunc(torso,hit,5,15,math.random(100,100),"Killer Queen",RootPart,.2,1) 
1832
        end)
1833
        Attacking = true
1834
        for i = 1, 3 do
1835
            raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(math.random(-20,20)),math.rad(20)), 1.7)
1836
            law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 1.7)
1837
            hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3)
1838
            tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3)
1839
            llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3)
1840
            rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3)
1841
            wait()
1842
        end
1843
        local MIDORA = Instance.new("Sound",char)
1844
        MIDORA.SoundId = "rbxassetid://291088797"
1845
        MIDORA.Looped = false
1846
        MIDORA:Play()
1847
        wait(1)
1848
        con1:disconnect()
1849
        Attacking = false
1850
    end
1851
end)
1852
1853
mouse.KeyUp:connect(function(key)
1854
    if key == "e" and Rapid == true or key == "v" and Rapid == true then
1855
        Rapid = false
1856
    end
1857
end)
1858
1859
for i, v in pairs(pchar:GetChildren()) do
1860
    if v:IsA('Hat') then
1861
        v.Handle.Transparency=1
1862
    end
1863
    if v:IsA("Part") then
1864
        v.BrickColor = BrickColor.new("Pearl")
1865
    end
1866
end
1867
1868
-------------------------------Sprint
1869
mouse.KeyDown:connect(function(key)
1870
    if string.byte(key) == 48 then
1871
        hum.WalkSpeed = 48
1872
    end
1873
end)
1874
mouse.KeyUp:connect(function(key)
1875
    if string.byte(key) == 48 then
1876
        hum.WalkSpeed=16
1877
    end
1878
end)
1879
-------------------------------------
1880
hum.FreeFalling:connect(function(f)
1881
    if f then
1882
        ffing=true
1883
    else
1884
        ffing=false
1885
    end
1886
end)
1887
StandOn = true
1888
local hrprv=0
1889
angle = 0
1890
angle2 = 0
1891
angle3 = 0
1892
anglespeed = 2
1893
anglespeed2 = 1
1894
anglespeed3 = .4
1895
MyHealth = hum.Health
1896
MyMaxHealth = hum.MaxHealth
1897
MyMaxHealth = humane.Health
1898
MyHealth = humane.Health
1899
humane.Name = "The Worldo"
1900
game:GetService("RunService").Stepped:connect(function()
1901
    angle = ((angle % 100) + anglespeed/10)
1902
    angle2 = ((angle2 % 100) + anglespeed2/10)
1903
    angle3 = ((angle3 % 100) + anglespeed3/10)
1904
        hrprv=Tween(hrprv,hrp.RotVelocity.Y,0.4)
1905
        sine=sine+1
1906
        if StandOn == false then
1907
            for i,v in pairs(pchar:children()) do
1908
                if v:IsA("Part") and v.Name ~= "HumanoidRootPart" then
1909
                    v.Transparency = 1
1910
                end
1911
            end
1912
        elseif StandOn == true then
1913
            for i,v in pairs(pchar:children()) do
1914
                if v:IsA("Part") and v.Name ~= "HumanoidRootPart" then
1915
                    v.Transparency = 0
1916
                end
1917
            end
1918
        end
1919
        MyHealth = humane.Health
1920
        humane.Health = MyHealth
1921
        if hum.Sit==true then
1922
                animpose="Sitting"
1923
        elseif ffing==true then
1924
                animpose="Freefalling"
1925
        elseif (hrp.Velocity*Vn(1,0,1)).magnitude<2 then
1926
                animpose="Idle"
1927
        elseif (hrp.Velocity*Vn(1,0,1)).magnitude<20 then
1928
                animpose="Walking"
1929
        elseif (hrp.Velocity*Vn(1,0,1)).magnitude>20 then
1930
                animpose="Sprinting"
1931
        end
1932
        if Attacking == false then
1933
            torso.CFrame = hrp.CFrame*CFrame.new(0,0,2)
1934
            runKF(heid2)
1935
            runKF(toid2)
1936
            runKF(laid2)
1937
            runKF(raid2)
1938
            runKF(llid2)
1939
            runKF(rlid2)
1940
        end
1941
        if noRig==false then
1942
                if animpose=="Idle" then
1943
                    runKF(heid)
1944
                    runKF(toid)
1945
                    runKF(laid)
1946
                    runKF(raid)
1947
                    runKF(llid)
1948
                    runKF(rlid)
1949
                elseif animpose=="Walking" then
1950
                                runKF(hewk)
1951
                                runKF(towk)
1952
                                runKF(lawk)
1953
                                runKF(rawk)
1954
                                runKF(llwk)
1955
                                runKF(rlwk)
1956
                                --tow.C0=tow.C0:lerp(tow.C0*CA(0,0,hrprv/25),0.4)
1957
                                --rlw.C0=rlw.C0:lerp(rlw.C0*CA(0,0,-hrprv/25),0.4)
1958
                                ---llw.C0=llw.C0:lerp(llw.C0*CA(0,0,-hrprv/25),0.4)
1959
                elseif animpose=="Sprinting" then
1960
                                runKF(hesp)
1961
                                runKF(tosp)
1962
                                runKF(lasp)
1963
                                runKF(rasp)
1964
                                runKF(llsp)
1965
                                runKF(rlsp)
1966
                                --tow.C0=tow.C0:lerp(tow.C0*CA(0,0,hrprv/10),0.4)
1967
                                --rlw.C0=rlw.C0:lerp(rlw.C0*CA(0,0,-hrprv/10),0.4)
1968
                                --llw.C0=llw.C0:lerp(llw.C0*CA(0,0,-hrprv/10),0.4)
1969
                elseif animpose=="Freefalling" then
1970
                        runKF(heff)
1971
                        runKF(toff)
1972
                        runKF(laff)
1973
                        runKF(raff)
1974
                        runKF(llff)
1975
                        runKF(rlff)
1976
                        --tow.C0=tow.C0:lerp(tow.C0*CA(0,0,hrprv/10),0.4)
1977
                end
1978
        end
1979
end)