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