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