View difference between Paste ID: Yy5wfR5t and d7RmWeqQ
SHOW: | | - or go back to the newest paste.
1
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
2
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
3
do
4
	print("FE Compatibility code by Mokiros")
5
	script.Parent = Player.Character
6
7
	--RemoteEvent for communicating
8
	local Event = Instance.new("RemoteEvent")
9
	Event.Name = "UserInput_Event"
10
11
	--Fake event to make stuff like Mouse.KeyDown work
12
	local function fakeEvent()
13
		local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
14
		t.connect = t.Connect
15
		return t
16
	end
17
18
	--Creating fake input objects with fake variables
19
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
20
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
21
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
22
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
23
	end}
24
	--Merged 2 functions into one by checking amount of arguments
25
	CAS.UnbindAction = CAS.BindAction
26
27
	--This function will trigger the events that have been :Connect()'ed
28
	local function te(self,ev,...)
29
		local t = m[ev]
30
		if t and t._fakeEvent and t.Function then
31
			t.Function(...)
32
		end
33
	end
34
	m.TrigEvent = te
35
	UIS.TrigEvent = te
36
37
	Event.OnServerEvent:Connect(function(plr,io)
38
	    if plr~=Player then return end
39
		if io.isMouse then
40
			m.Target = io.Target
41
			m.Hit = io.Hit
42
		else
43
			local b = io.UserInputState == Enum.UserInputState.Begin
44
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
45
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
46
			end
47
			for _,t in pairs(CAS.Actions) do
48
				for _,k in pairs(t.Keys) do
49
					if k==io.KeyCode then
50
						t.Function(t.Name,io.UserInputState,io)
51
					end
52
				end
53
			end
54
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
55
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
56
	    end
57
	end)
58
	Event.Parent = NLS([==[
59
	local Player = game:GetService("Players").LocalPlayer
60
	local Event = script:WaitForChild("UserInput_Event")
61
62
	local UIS = game:GetService("UserInputService")
63
	local input = function(io,a)
64
		if a then return end
65
		--Since InputObject is a client-side instance, we create and pass table instead
66
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
67
	end
68
	UIS.InputBegan:Connect(input)
69
	UIS.InputEnded:Connect(input)
70
71
	local Mouse = Player:GetMouse()
72
	local h,t
73
	--Give the server mouse data 30 times every second, but only if the values changed
74
	--If player is not moving their mouse, client won't fire events
75
	while wait(1/30) do
76
		if h~=Mouse.Hit or t~=Mouse.Target then
77
			h,t=Mouse.Hit,Mouse.Target
78
			Event:FireServer({isMouse=true,Target=t,Hit=h})
79
		end
80
	end]==],Player.Character)
81
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
82
end
83
84
------------------
85
--Basic Fighting--
86
------------------
87
--By CKbackup--
88
---------------
89
90
player = game.Players.LocalPlayer
91
mouse = player:GetMouse()
92
chara = player.Character
93
equipped = false
94
del = false
95
attacking = false
96
atkd = false
97
hum = chara:FindFirstChildOfClass("Humanoid")
98
debby = game.Debris
99
ws = 16
100
if hum.WalkSpeed > 16 then
101
ws = hum.WalkSpeed
102
end
103
104
ArtificialHB = Instance.new("BindableEvent", script)
105
ArtificialHB.Name = "Heartbeat"
106
script:WaitForChild("Heartbeat")
107
frame = 0.03333333333333
108
tf = 0
109
allowframeloss = false
110
tossremainder = false
111
lastframe = tick()
112
script.Heartbeat:Fire()
113
game:GetService("RunService").Heartbeat:connect(function(s, p)
114
  tf = tf + s
115
  if tf >= frame then
116
    if allowframeloss then
117
      script.Heartbeat:Fire()
118
      lastframe = tick()
119
    else
120
      for i = 1, math.floor(tf / frame) do
121
        script.Heartbeat:Fire()
122
      end
123
      lastframe = tick()
124
    end
125
    if tossremainder then
126
      tf = 0
127
    else
128
      tf = tf - frame * math.floor(tf / frame)
129
    end
130
  end
131
end)
132
function swait(num)
133
  if num == 0 or num == nil then
134
    ArtificialHB.Event:wait()
135
  else
136
    for i = 0, num*30 do
137
      ArtificialHB.Event:wait()
138
    end
139
  end
140
end
141
142
New = function(Object, Parent, Name, Data)
143
	local Object = Instance.new(Object)
144
	for Index, Value in pairs(Data or {}) do
145
		Object[Index] = Value
146
	end
147
	Object.Parent = Parent
148
	Object.Name = Name
149
	return Object
150
end
151
152
RightArm = New("Model",chara,"RightArm",{})
153
MainPart = New("Part",RightArm,"MainPart",{Transparency = 1,Transparency = 1,Size = Vector3.new(1, 2, 1),CFrame = CFrame.new(0.5, 3.00000787, -3.50019717, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
154
Weld = New("ManualWeld",MainPart,"Weld",{Part0 = MainPart,Part1 = chara["Right Arm"],C1 = CFrame.new(0, -1.00135803e-005, -0.000197172165, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
155
Emit2Part = New("Part",RightArm,"Emit2Part",{BrickColor = BrickColor.new("New Yeller"),Material = Enum.Material.Neon,Transparency = 1,Transparency = 1,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(0.5, 2.10001373, -3.5001967, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0.74902),})
156
Mesh = New("SpecialMesh",Emit2Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
157
Weld = New("ManualWeld",Emit2Part,"Weld",{Part0 = Emit2Part,Part1 = MainPart,C1 = CFrame.new(0, -0.899994135, 4.76837158e-007, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
158
LeftArm = New("Model",chara,"LeftArm",{})
159
MainPart = New("Part",LeftArm,"MainPart",{Transparency = 1,Transparency = 1,Size = Vector3.new(1, 2, 1),CFrame = CFrame.new(-2.50000024, 3.00000787, -3.50019717, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
160
Weld = New("ManualWeld",MainPart,"Weld",{Part0 = MainPart,Part1 = chara["Left Arm"],C1 = CFrame.new(-2.38418579e-007, -1.00135803e-005, -0.000197172165, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
161
EmitPart = New("Part",LeftArm,"EmitPart",{BrickColor = BrickColor.new("New Yeller"),Material = Enum.Material.Neon,Transparency = 1,Transparency = 1,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-2.5, 2.10001373, -3.5001967, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0.74902),})
162
Mesh = New("SpecialMesh",EmitPart,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
163
Weld = New("ManualWeld",EmitPart,"Weld",{Part0 = EmitPart,Part1 = MainPart,C1 = CFrame.new(2.38418579e-007, -0.899994135, 4.76837158e-007, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
164
165
lach = LeftArm:GetChildren()
166
rach = RightArm:GetChildren()
167
168
local pemit = Instance.new("ParticleEmitter")
169
pemit.Enabled = false
170
pemit.Color = ColorSequence.new(Color3.new(255,255,0))
171
pemit.LightEmission = 1
172
pemit.Size = NumberSequence.new(1.5,0)
173
pemit.Texture = "http://www.roblox.com/asset/?id=243098098"
174
pemit.Lifetime = NumberRange.new(.2)
175
pemit.Rate = 100
176
pemit.Rotation = NumberRange.new(0,360)
177
pemit.Speed = NumberRange.new(0)
178
179
local p1 = pemit:Clone()
180
p1.Parent = EmitPart
181
local p2 = pemit:Clone()
182
p2.Parent = Emit2Part
183
local p3 = pemit:Clone()
184
p3.Parent = chara["Right Leg"]
185
p3.Rate = 10000
186
local p4 = pemit:Clone()
187
p4.Parent = chara["Left Leg"]
188
p4.Rate = 10000
189
190
--Sounds--
191
function LoadSnd(id,loop,vol,pit)
192
local snd = New("Sound",chara.Head,"Sound",{SoundId = "rbxassetid://"..id,Looped = loop,Volume = vol,Pitch = pit})
193
return snd
194
end
195
Swing2Snd = LoadSnd(536642316,false,1,1)
196
HitPunchSnd = LoadSnd(153092227,false,1,1)
197
HitHamonSnd = LoadSnd(260433624,false,1,1)
198
HamonSnd = LoadSnd(876570589,false,1,1)
199
SHamonSnd = LoadSnd(379557765,true,.5,1)
200
201
--Play Sound in Part--
202
function PlaySnd(snd,part)
203
local sound = snd:Clone()
204
sound.PlayOnRemove = true
205
sound.Parent = part
206
sound:Destroy()
207
end
208
209
maincol = "White"
210
211
function CreateTrailObj(parent,color1,color2,ofsx,ofsz)
212
local Att1 =  New("Attachment",parent,"Att1",{Position = Vector3.new(ofsx,parent.Size.Y/2,ofsz)})
213
local Att2 =  New("Attachment",parent,"Att2",{Position = Vector3.new(ofsx,-(parent.Size.Y/2),ofsz)})
214
local TEff = New("Trail",parent,"TrailEff",{Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new(color1).Color),ColorSequenceKeypoint.new(1,BrickColor.new(color2).Color)}),Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.5),NumberSequenceKeypoint.new(1,1)}),Attachment0 = Att1,Attachment1 = Att2,Enabled = false,Lifetime = .5,MinLength = .001})
215
return TEff
216
end
217
218
RPunchT = CreateTrailObj(chara["Right Arm"],"White","White",0,0)
219
LPunchT = CreateTrailObj(chara["Left Arm"],"White","White",0,0)
220
RKickT = CreateTrailObj(chara["Right Leg"],"White","White",0,0)
221
LKickT = CreateTrailObj(chara["Left Leg"],"White","White",0,0)
222
223
--Punch Hit Effect--
224
function PunchEff(pos)
225
local p = Instance.new("Part",game.Workspace)
226
p.Size = Vector3.new(1,1,1)
227
p.BrickColor = BrickColor.new(maincol)
228
p.Material = "Neon"
229
p.Anchored = true
230
p.CanCollide = false
231
p.CFrame = pos
232
local pm = Instance.new("SpecialMesh",p)
233
pm.MeshType = "Sphere"
234
coroutine.resume(coroutine.create(function()
235
for i = 0,1,.05 do
236
swait()
237
p.Transparency = i
238
pm.Scale = Vector3.new(2*i,2*i,2*i)
239
end
240
swait()
241
p:Destroy()
242
end))
243
end
244
245
--Damage Function--
246
function dealdmg(dude,damage,env,toim,kby,kbx)
247
coroutine.resume(coroutine.create(function()
248
if dude ~= chara and dude:FindFirstChild("IsHit") == nil then
249
finaldmg = damage + math.random(-env,env)
250
dudehum = dude:FindFirstChildOfClass("Humanoid")
251
dudehum.MaxHealth = 100
252
dudehum.Health = dudehum.Health - finaldmg
253
local vall = Instance.new("ObjectValue",dude)
254
vall.Name = "IsHit"
255
game.Debris:AddItem(vall,toim)
256
local bfos = Instance.new("BodyVelocity",dude.Head)
257
bfos.P = 20000
258
bfos.MaxForce = Vector3.new(bfos.P,bfos.P,bfos.P)
259
bfos.Velocity = Vector3.new(0,kby,0) + chara.HumanoidRootPart.CFrame.lookVector * kbx
260
game.Debris:AddItem(bfos,.1)
261
local naeeym2 = Instance.new("BillboardGui",dude)
262
naeeym2.Size = UDim2.new(0,100,0,40)
263
naeeym2.StudsOffset = Vector3.new(0,3,0)
264
naeeym2.Adornee = dude.Head
265
naeeym2.Name = "TalkingBillBoard"
266
local tecks2 = Instance.new("TextLabel",naeeym2)
267
tecks2.BackgroundTransparency = 1
268
tecks2.BorderSizePixel = 0
269
tecks2.Text = "-"..finaldmg
270
tecks2.Font = "Fantasy"
271
tecks2.FontSize = "Size24"
272
tecks2.TextStrokeTransparency = 0
273
tecks2.TextColor3 = Color3.new(1,0.6,0)
274
tecks2.TextStrokeColor3 = Color3.new(0,0,0)
275
tecks2.Size = UDim2.new(1,0,0.5,0)
276
for i = 1, 5 do
277
wait(.1)
278
tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
279
tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
280
tecks2.TextTransparency = tecks2.TextTransparency + .2
281
end
282
naeeym2:Destroy()
283
end
284
end))
285
end
286
287
--Explode Hitbox--
288
function ExHitbox(rad,pos,damage,env,toim,kby,kbx)
289
local E = Instance.new("Explosion") 
290
E.Position = pos
291
E.Parent = game.Workspace
292
E.BlastRadius = rad
293
E.BlastPressure = 0
294
E.Visible = false
295
E.Hit:connect(function(hit)
296
if hit.Parent:FindFirstChildOfClass("Humanoid")~=nil then
297
dealdmg(hit.Parent,damage,env,toim,kby,kbx)
298
end
299
end)
300
end
301
302
--Punch Touch--
303
dela = .5
304
punchactive = false
305
function punchhit(hit)
306
if punchactive == true then
307
if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil then
308
dealdmg(hit.Parent,15,2,dela,0,5)
309
PlaySnd(HitPunchSnd,hit.Parent.Head)
310
if maincol == "New Yeller" then
311
PlaySnd(HitHamonSnd,hit.Parent.Head)
312
end
313
PunchEff(hit.CFrame)
314
end
315
end
316
end
317
Emit2Part.Touched:connect(punchhit)
318
EmitPart.Touched:connect(punchhit)
319
320
--Kick Touch--
321
kickactive = false
322
function kickhit(hit)
323
if kickactive == true then
324
if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil then
325
PlaySnd(HitPunchSnd,hit.Parent.Head)
326
PunchEff(hit.CFrame)
327
if maincol == "New Yeller" then
328
PlaySnd(HitHamonSnd,hit.Parent.Head)
329
end
330
dealdmg(hit.Parent,20,2,dela,0,20)
331
end
332
end
333
end
334
chara["Right Leg"].Touched:connect(kickhit)
335
chara["Left Leg"].Touched:connect(kickhit)
336
337
--Chat Function--
338
function chatfunc(text)
339
coroutine.resume(coroutine.create(function()
340
if chara:FindFirstChild("TalkingBillBoard")~= nil then
341
chara:FindFirstChild("TalkingBillBoard"):destroy()
342
end
343
local naeeym2 = Instance.new("BillboardGui",chara)
344
naeeym2.Size = UDim2.new(0,100,0,40)
345
naeeym2.StudsOffset = Vector3.new(0,3,0)
346
naeeym2.Adornee = chara.Head
347
naeeym2.Name = "TalkingBillBoard"
348
local tecks2 = Instance.new("TextLabel",naeeym2)
349
tecks2.BackgroundTransparency = 1
350
tecks2.BorderSizePixel = 0
351
tecks2.Text = ""
352
tecks2.Font = "Fantasy"
353
tecks2.FontSize = "Size24"
354
tecks2.TextStrokeTransparency = 0
355
tecks2.TextColor3 = Color3.new(1,1,1)
356
tecks2.TextStrokeColor3 = Color3.new(0,0,0)
357
tecks2.Size = UDim2.new(1,0,0.5,0)
358
coroutine.resume(coroutine.create(function()
359
for i = 1,string.len(text),1 do
360
tecks2.Text = string.sub(text,1,i)
361
swait(0.01)
362
end
363
swait(1)
364
for i = 1, 5 do
365
swait(.01)
366
tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
367
tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
368
tecks2.TextTransparency = tecks2.TextTransparency + .2
369
end
370
naeeym2:Destroy()
371
end))
372
end))
373
end
374
375
function onChatted(msg)
376
--chatfunc(msg)
377
if msg == "Hamon!" then
378
HamonSnd:Play()
379
maincol = "New Yeller"
380
for i = 0,.1,.01 do
381
swait()
382
EmitPart.Transparency = 1-i
383
Emit2Part.Transparency = 1-i
384
end
385
p1.Enabled = true
386
p2.Enabled = true
387
RPunchT.Color = ColorSequence.new(Color3.new(1,1,0))
388
LPunchT.Color = ColorSequence.new(Color3.new(1,1,0))
389
RKickT.Color = ColorSequence.new(Color3.new(1,1,0))
390
LKickT.Color = ColorSequence.new(Color3.new(1,1,0))
391
elseif msg == "Hamon off." then
392
maincol = "White"
393
p1.Enabled = false
394
p2.Enabled = false
395
for i = .9,1,.01 do
396
swait()
397
EmitPart.Transparency = i
398
Emit2Part.Transparency = i
399
end
400
RPunchT.Color = ColorSequence.new(BrickColor.new("White").Color)
401
LPunchT.Color = ColorSequence.new(BrickColor.new("White").Color)
402
RKickT.Color = ColorSequence.new(BrickColor.new("White").Color)
403
LKickT.Color = ColorSequence.new(BrickColor.new("White").Color)
404
end
405
end
406
player.Chatted:connect(onChatted)
407
408
--Clerp Animations--
409
TC = chara.HumanoidRootPart.RootJoint
410
HC = chara.Torso.Neck
411
RAC = chara.Torso["Right Shoulder"]
412
LAC = chara.Torso["Left Shoulder"]
413
RLC = chara.Torso["Right Hip"]
414
LLC = chara.Torso["Left Hip"]
415
TCF = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
416
HCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
417
RACF = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
418
LACF = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
419
RLCF = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
420
LLCF = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
421
RWF = CFrame.new(-1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
422
LWF = CFrame.new(1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
423
RLWF = CFrame.new(-.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
424
LLWF = CFrame.new(.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
425
RW = Instance.new("Weld",HC.Parent)
426
RW.Part1 = HC.Parent
427
RW.Part0 = chara["Right Arm"]
428
RW.C0 = RWF
429
LW = Instance.new("Weld",HC.Parent)
430
LW.Part1 = HC.Parent
431
LW.Part0 = chara["Left Arm"]
432
LW.C0 = LWF
433
RLW = nil
434
LLW = nil
435
grp = Instance.new("Model",chara)
436
437
function AddLegWelds()
438
RLW = Instance.new("Weld",chara["Right Leg"])
439
RLW.Part1 = HC.Parent
440
RLW.Part0 = chara["Right Leg"]
441
RLW.C0 = RLWF
442
LLW = Instance.new("Weld",chara["Left Leg"])
443
LLW.Part1 = HC.Parent
444
LLW.Part0 = chara["Left Leg"]
445
LLW.C0 = LLWF
446
end
447
448
function DestroyLegWelds()
449
RLC = New("Motor6D",chara.Torso,"Right Hip",{Part0 = chara.Torso,Part1 = chara["Right Leg"],C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),})
450
LLC = New("Motor6D",chara.Torso,"Left Hip",{Part0 = chara.Torso,Part1 = chara["Left Leg"],C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),})
451
RLW:Destroy()
452
LLW:Destroy()
453
end
454
455
function clerp(a,b,c)
456
return a:lerp(b,c)
457
end
458
459
ITCF = TCF
460
IHCF = HCF
461
IRWF = RWF
462
ILWF = LWF
463
464
function res()
465
TC.C0 = ITCF
466
HC.C0 = IHCF
467
RW.C0 = IRWF
468
LW.C0 = ILWF
469
end
470
res()
471
472
--Flip--
473
function Flip()
474
del = true
475
res()
476
hum.WalkSpeed = 0
477
AddLegWelds()
478
Swing2Snd:Play()
479
for i = 0,.6,.2 do
480
swait()
481
TC.C0 = clerp(ITCF,TCF - Vector3.new(0,1,0),.4+i)
482
HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),.4+i)
483
RW.C0 = clerp(IRWF,RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),.4+i)
484
LW.C0 = clerp(ILWF,LWF,.4+i)
485
RLW.C0 = clerp(RLWF,RLWF - Vector3.new(0,1,-.5),.4+i)
486
LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(0,1,-1))*CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),.4+i)
487
end
488
local bf = Instance.new("BodyVelocity",chara.Torso)
489
bf.P = 100000
490
bf.MaxForce = Vector3.new(bf.P,bf.P,bf.P)
491
bf.Velocity = Vector3.new(0,60,0) + chara.HumanoidRootPart.CFrame.lookVector*30
492
debby:AddItem(bf,.5)
493
for i = 0,1,.25 do
494
swait()
495
TC.C0 = clerp(TCF - Vector3.new(0,1,0),TCF * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),i)
496
HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0),i)
497
RW.C0 = clerp(RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),i)
498
LW.C0 = clerp(LWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),i)
499
LLW.C0 = clerp((LLWF - Vector3.new(0,1,-1))*CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),LLWF,i)
500
end
501
bf.MaxForce = Vector3.new(bf.P,0,bf.P)
502
for i = 0,1,.25 do
503
swait()
504
TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),TCF * CFrame.fromEulerAnglesXYZ(math.rad(-360),0,0),i)
505
end
506
swait(.5)
507
bf:Destroy()
508
for i = 0,1,.25 do
509
swait()
510
TC.C0 = clerp(TCF,TCF - Vector3.new(0,1,0),i)
511
HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0),HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),i)
512
RW.C0 = clerp((RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),i)
513
LW.C0 = clerp((LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),LWF,i)
514
LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(0,1,-1))*CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),i)
515
end
516
for i = 0,.6,.2 do
517
swait()
518
TC.C0 = clerp(ITCF,TCF - Vector3.new(0,1,0),.6-i)
519
HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),.6-i)
520
RW.C0 = clerp(IRWF,RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),.6-i)
521
LW.C0 = clerp(ILWF,LWF,.6-i)
522
RLW.C0 = clerp(RLWF,RLWF - Vector3.new(0,1,-.5),.6-i)
523
LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(0,1,-1))*CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),.6-i)
524
end
525
DestroyLegWelds()
526
res()
527
hum.WalkSpeed = ws
528
walking = false
529
del = false
530
end
531
function BackFlip()
532
del = true
533
res()
534
hum.WalkSpeed = 0
535
AddLegWelds()
536
Swing2Snd:Play()
537
for i = 0,.6,.2 do
538
swait()
539
TC.C0 = clerp(ITCF,TCF - Vector3.new(0,1,0),.4+i)
540
HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),.4+i)
541
RW.C0 = clerp(IRWF,RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),.4+i)
542
LW.C0 = clerp(ILWF,LWF,.4+i)
543
RLW.C0 = clerp(RLWF,RLWF - Vector3.new(0,1,-.5),.4+i)
544
LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(0,1,-1))*CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),.4+i)
545
end
546
local bf = Instance.new("BodyVelocity",chara.Torso)
547
bf.P = 100000
548
bf.MaxForce = Vector3.new(bf.P,bf.P,bf.P)
549
bf.Velocity = Vector3.new(0,60,0) + chara.HumanoidRootPart.CFrame.lookVector*-30
550
for i = 0,1,.25 do
551
swait()
552
TC.C0 = clerp(TCF - Vector3.new(0,1,0),TCF * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),i)
553
HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0),i)
554
RW.C0 = clerp(RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),i)
555
LW.C0 = clerp(LWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),i)
556
LLW.C0 = clerp((LLWF - Vector3.new(0,1,-1))*CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),LLWF,i)
557
end
558
bf.MaxForce = Vector3.new(bf.P,0,bf.P)
559
for i = 0,1,.25 do
560
swait()
561
TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),TCF * CFrame.fromEulerAnglesXYZ(math.rad(360),0,0),i)
562
end
563
swait(.5)
564
bf:Destroy()
565
for i = 0,1,.25 do
566
swait()
567
TC.C0 = clerp(TCF,TCF - Vector3.new(0,1,0),i)
568
HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0),HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),i)
569
RW.C0 = clerp((RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),i)
570
LW.C0 = clerp((LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),LWF,i)
571
LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(0,1,-1))*CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),i)
572
end
573
for i = 0,.6,.2 do
574
swait()
575
TC.C0 = clerp(ITCF,TCF - Vector3.new(0,1,0),.6-i)
576
HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),.6-i)
577
RW.C0 = clerp(IRWF,RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),.6-i)
578
LW.C0 = clerp(ILWF,LWF,.6-i)
579
RLW.C0 = clerp(RLWF,RLWF - Vector3.new(0,1,-.5),.6-i)
580
LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(0,1,-1))*CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),.6-i)
581
end
582
DestroyLegWelds()
583
res()
584
hum.WalkSpeed = ws
585
walking = false
586
del = false
587
end
588
589
--Keys--
590
combo = 0
591
function onKeyDown(key)
592
if del == false then
593
if key == "r" then
594
BackFlip()
595
elseif key == "t" then
596
Flip()
597
end
598
end
599
end
600
function onButton1Down()
601
if del == false then
602
del = true
603
torvel = (chara.HumanoidRootPart.Velocity*Vector3.new(0,1,0)).magnitude
604
res()
605
if torvel > 3 then
606
Swing2Snd:Play()
607
kickactive = true
608
RKickT.Enabled = true
609
if maincol == "New Yeller" then
610
SHamonSnd:Play()
611
p3.Enabled = true
612
end
613
AddLegWelds()
614
for i = 0,1,.2 do
615
swait()
616
TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),i)
617
HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0),i)
618
RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),i)
619
LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),i)
620
LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(0,1,-1))*CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),i)
621
end
622
for i = 0,1,.2 do
623
swait()
624
TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),TCF * CFrame.fromEulerAnglesXYZ(math.rad(-360),0,0),i)
625
end
626
DestroyLegWelds()
627
kickactive = false
628
RKickT.Enabled = false
629
p3.Enabled = false
630
SHamonSnd:Stop()
631
elseif torvel < 3 then
632
if combo == 0 then
633
for i = 0,.6,.2 do
634
swait()
635
TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
636
HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
637
LW.C0 = clerp(ILWF,(LWF + Vector3.new(-.5,-.5,.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(70),0),.4+i)
638
RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
639
end
640
swait(.1)
641
Swing2Snd:Play()
642
punchactive = true
643
LPunchT.Enabled = true
644
if maincol == "New Yeller" then
645
SHamonSnd:Play()
646
end
647
for i = 0,.6,.3 do
648
swait()
649
TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(80)),TCF,.4+i)
650
HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-80)),HCF,.4+i)
651
LW.C0 = clerp((LWF + Vector3.new(-.5,-.5,.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(70),0),(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
652
RW.C0 = clerp((RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),(RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0),.4+i)
653
end
654
LW.C0 = (LWF - Vector3.new(.5,-1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
655
for i = 0,.6,.2 do
656
swait()
657
TC.C0 = clerp(TCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
658
HC.C0 = clerp(HCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
659
end
660
TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
661
HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
662
swait(.1)
663
for i = 0,.6,.2 do
664
swait()
665
TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
666
HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
667
LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
668
RW.C0 = clerp(IRWF,(RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0),.6-i)
669
end
670
punchactive = false
671
LPunchT.Enabled = false
672
SHamonSnd:Stop()
673
combo = 1
674
elseif combo == 1 then
675
hum.WalkSpeed = 0
676
AddLegWelds()
677
for i = 0,.6,.2 do
678
swait()
679
TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(45),0,0),.4+i)
680
HC.C0 = clerp(IHCF,HCF,.4+i)
681
LLW.C0 = clerp(LLWF,LLWF * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0),.4+i)
682
RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(0,1,-1))*CFrame.fromEulerAnglesXYZ(math.rad(45),0,0),.4+i)
683
end
684
swait(.1)
685
Swing2Snd:Play()
686
kickactive = true
687
RKickT.Enabled = true
688
if maincol == "New Yeller" then
689
SHamonSnd:Play()
690
p3.Enabled = true
691
end
692
local bfos = Instance.new("BodyVelocity",chara.HumanoidRootPart)
693
bfos.P = 10000
694
bfos.MaxForce = Vector3.new(bfos.P,0,bfos.P)
695
bfos.Velocity = chara.HumanoidRootPart.CFrame.lookVector * 200
696
debby:AddItem(bfos,.1)
697
for i = 0,.6,.2 do
698
swait()
699
TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(45),0,0),TCF * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0),.4+i)
700
LLW.C0 = clerp(LLWF * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0),LLWF * CFrame.fromEulerAnglesXYZ(math.rad(45),0,0),.4+i)
701
RLW.C0 = clerp((RLWF - Vector3.new(0,1,-1))*CFrame.fromEulerAnglesXYZ(math.rad(45),0,0),(RLWF - Vector3.new(0,1,1))*CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),.4+i)
702
end
703
swait(.3)
704
for i = 0,.6,.2 do
705
swait()
706
TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0),ITCF,.4+i)
707
HC.C0 = clerp(HCF,IHCF,.4+i)
708
LLW.C0 = clerp(LLWF * CFrame.fromEulerAnglesXYZ(math.rad(45),0,0),LLWF,.4+i)
709
RLW.C0 = clerp((RLWF - Vector3.new(0,1,1))*CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),RLWF,.4+i)
710
end
711
DestroyLegWelds()
712
kickactive = false
713
RKickT.Enabled = false
714
p3.Enabled = false
715
SHamonSnd:Stop()
716
combo = 2
717
elseif combo == 2 then
718
for i = 0,.6,.2 do
719
swait()
720
TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
721
HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
722
LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
723
RW.C0 = clerp(IRWF,(RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0),.4+i)
724
end
725
swait(.1)
726
Swing2Snd:Play()
727
punchactive = true
728
RPunchT.Enabled = true
729
if maincol == "New Yeller" then
730
SHamonSnd:Play()
731
end
732
for i = 0,.6,.3 do
733
swait()
734
TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-80)),TCF,.4+i)
735
HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(80)),HCF,.4+i)
736
LW.C0 = clerp((LWF - Vector3.new(.5,-1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),(LWF + Vector3.new(-.5,-.5,.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(70),0),.4+i)
737
RW.C0 = clerp((RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0),(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
738
end
739
RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
740
for i = 0,.6,.2 do
741
swait()
742
TC.C0 = clerp(TCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
743
HC.C0 = clerp(HCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
744
end
745
TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
746
HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
747
swait(.1)
748
for i = 0,.6,.2 do
749
swait()
750
TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
751
HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
752
LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
753
RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
754
end
755
punchactive = false
756
RPunchT.Enabled = false
757
SHamonSnd:Stop()
758
combo = 3
759
elseif combo == 3 then
760
hum.WalkSpeed = 0
761
AddLegWelds()
762
for i = 0,.6,.2 do
763
swait()
764
TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
765
HC.C0 = clerp(IHCF,HCF,.4+i)
766
LLW.C0 = clerp(LLWF,LLWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-60)),.4+i)
767
RLW.C0 = clerp(RLWF,RLWF*CFrame.fromEulerAnglesXYZ(0,0,math.rad(60)),.4+i)
768
LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
769
RW.C0 = clerp(IRWF,(RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0),.4+i)
770
end
771
Swing2Snd:Play()
772
kickactive = true
773
LKickT.Enabled = true
774
if maincol == "New Yeller" then
775
SHamonSnd:Play()
776
p4.Enabled = true
777
end
778
local bfos = Instance.new("BodyVelocity",chara.HumanoidRootPart)
779
bfos.P = 10000
780-
end
780+
781
bfos.Velocity = chara.HumanoidRootPart.CFrame.lookVector * 200
782
debby:AddItem(bfos,.1)
783
for i = 0,.6,.1 do
784
swait()
785
TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-100)),TCF * CFrame.fromEulerAnglesXYZ(math.rad(-60),0,math.rad(90)),.4+i)
786
end
787
TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(math.rad(-60),0,math.rad(90))
788
swait(.2)
789
for i = 0,.6,.1 do
790
swait()
791
TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(-60),0,math.rad(90)),.6-i)
792
HC.C0 = clerp(IHCF,HCF,.6-i)
793
LLW.C0 = clerp(LLWF,LLWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-60)),.6-i)
794
RLW.C0 = clerp(RLWF,RLWF*CFrame.fromEulerAnglesXYZ(0,0,math.rad(60)),.6-i)
795
LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
796
RW.C0 = clerp(IRWF,(RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0),.6-i)
797
end
798
DestroyLegWelds()
799
kickactive = false
800
LKickT.Enabled = false
801
p4.Enabled = false
802
SHamonSnd:Stop()
803
combo = 0
804
end
805
end
806
res()
807
hum.WalkSpeed = ws
808
walking = false
809
del = false
810
end
811
end
812
if mouse then
813
mouse.Button1Down:connect(onButton1Down)
814
mouse.KeyDown:connect(onKeyDown)
815
end
816
817
--Loop Function--
818
walking = false
819
toim = 0
820
while true do
821
swait()
822
toim = toim + .1
823
if del == false then attacking = false elseif del == true then attacking = true end
824
if atkd == true then
825
TC.C0 = TCF
826
HC.C0 = HCF
827
RW.C0 = RWF
828
LW.C0 = LWF
829
atkd = false
830
end
831
if atkdd == true then
832
TC.C0 = ITCF
833
HC.C0 = IHCF
834
RW.C0 = IRWF
835
LW.C0 = ILWF
836
atkdd = false
837
end
838
torvel = (chara.HumanoidRootPart.Velocity*Vector3.new(1,0,1)).magnitude
839
if torvel < 1 and walking == true and del == false and atkd == false and attacking == false then
840
for i = 0,1,.25 do
841
swait(.001)
842
if del == false and attacking == false then
843
TC.C0 = clerp(TCF,ITCF,i)
844
HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,0),IHCF,i)
845
RW.C0 = clerp((RWF - Vector3.new(-1,0,.7)) * CFrame.fromEulerAnglesXYZ(math.rad(45),0,math.rad(45)),IRWF,i)
846
LW.C0 = clerp((LWF - Vector3.new(1,0,.7)) * CFrame.fromEulerAnglesXYZ(math.rad(45),0,math.rad(-45)),ILWF,i)
847
end
848
end
849
walking = false
850
elseif torvel > 1 and walking == false and del == false and atkd == false and attacking == false then
851
for i = 0,1,.25 do
852
swait(.001)
853
if del == false and attacking == false then
854
TC.C0 = clerp(ITCF,TCF,i)
855
HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,0),i)
856
RW.C0 = clerp((RWF - Vector3.new(-1,0,.7)) * CFrame.fromEulerAnglesXYZ(math.rad(45),0,math.rad(45)),IRWF,1-i)
857
LW.C0 = clerp((LWF - Vector3.new(1,0,.7)) * CFrame.fromEulerAnglesXYZ(math.rad(45),0,math.rad(-45)),ILWF,1-i)
858
end
859
end
860
walking = true
861
else
862
end
863
end
864
865
function TakeDamage(hum, dmg)
866
  hum:TakeDamage(dmg)
867
end
868
plr = owner
869
repeat
870
  wait(0.4)
871
until plr.Character
872
chr = plr.Character
873
human = chr:FindFirstChild("Humanoid")
874
human.MaxHealth, human.Health = math.huge, math.huge
875
cam = workspace.CurrentCamera
876
selected = false
877
equipd = false
878
tors = chr.Torso
879
rarm = chr["Right Arm"]
880
larm = chr["Left Arm"]
881
rleg = chr["Right Leg"]
882
lleg = chr["Left Leg"]
883
hrp = chr.HumanoidRootPart
884
hed = chr.Head
885
anim = human.Animator
886
activu = false
887
appeared = false
888
animpose = nil
889
POSU = false
890
local wherto = hrp
891
local addcfr = CFrame.new(0, 0, 0)
892
Heartbeat = Instance.new("BindableEvent")
893
Heartbeat.Name = "Heartbeat"
894
Heartbeat.Parent = script
895
frame = 0.03333333333333333
896
tf = 0
897
game:GetService("RunService").Heartbeat:connect(function(s, p)
898
  tf = tf + s
899
  if tf >= frame then
900
    for i = 1, math.floor(tf / frame) do
901
      Heartbeat:Fire()
902
    end
903
    tf = tf - frame * math.floor(tf / frame)
904
  end
905
end)
906
function swait(num)
907
  if num == 0 or num == nil then
908
    Heartbeat.Event:wait()
909
  else
910
    for i = 1, num do
911
      Heartbeat.Event:wait()
912
    end
913
  end
914
end
915
tool = Instance.new("Tool")
916
tool.CanBeDropped = false
917
tool.RequiresHandle = false
918
tool.TextureId = "http://www.roblox.com/asset/?id=4025191505"
919
tool.ToolTip = "KEKKA DAKE DA"
920
tool.Name = "King Crismon"
921
tool.Parent = plr.Backpack
922
modz = Instance.new("Model")
923
modz.Name = "efx"
924
modz.Parent = chr
925
ZANOOB = Instance.new("Model")
926
ZANOOB.Name = "King Crimson"
927
ZANOOB.Parent = chr
928
RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
929
RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
930
LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
931
LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
932
RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
933
RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
934
LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
935
RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
936
LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
937
NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
938
NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
939
RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
940
RS = tors:FindFirstChild("Right Shoulder")
941
LS = tors:FindFirstChild("Left Shoulder")
942
RH = tors:FindFirstChild("Right Hip")
943
LH = tors:FindFirstChild("Left Hip")
944
RJ = hrp:FindFirstChild("RootJoint")
945
N = tors:FindFirstChild("Neck")
946
cf = CFrame.new
947
ang = CFrame.Angles
948
rd = math.rad
949
rd2 = math.random
950
function nooutline(p)
951
  p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BottomSurface = 10, 10, 10, 10, 10, 10
952
end
953
function makepart(color, name, reflec, mater, parnt, cfram)
954
  local port = Instance.new("Part")
955
  port.BrickColor = BrickColor.new(color)
956
  port.Name = name
957
  port.Transparency = 1
958
  nooutline(port)
959
  port.Reflectance = reflec
960
  port.Material = mater
961
  port.Anchored = false
962
  port.CanCollide = false
963
  port.Locked = true
964
  port.Size = Vector3.new(0.2, 0.2, 0.2)
965
  port.Parent = parnt
966
  return port
967
end
968
function makemesh(meshtype, scale, meshid, parent)
969
  local mes = Instance.new("SpecialMesh")
970
  mes.MeshType = meshtype
971
  mes.Scale = scale
972
  if meshtype == "FileMesh" then
973
    mes.MeshId = meshid
974
  end
975
  mes.Parent = parent
976
  return mes
977
end
978
function makemotor(parent, p0, p1, c0, c1)
979
  swait()
980
  local wel = Instance.new("Motor6D")
981
  wel.Part0 = p0
982
  wel.Part1 = p1
983
  wel.C0 = c0
984
  if c1 ~= nil then
985
    wel.C1 = c1
986
  end
987
  wel.Parent = parent
988
  return wel
989
end
990
local konodioda = Instance.new("Sound")
991
konodioda.SoundId = "rbxassetid://3373967354"
992
konodioda.Volume = 0.5
993
konodioda.Parent = hrp
994
local bast = Instance.new("Sound")
995
bast.SoundId = "rbxassetid://3289256209"
996
bast.Volume = 0.5
997
bast.Parent = hrp
998
local zaworld = Instance.new("Sound")
999
zaworld.SoundId = "rbxassetid://3373956700"
1000
zaworld.Volume = 1
1001
zaworld.Parent = hrp
1002
local wry = Instance.new("Sound")
1003
wry.SoundId = "rbxassetid://3373975760"
1004
wry.Volume = 1
1005
wry.Parent = hrp
1006
function animo(yep)
1007
  if yep == true then
1008
    anim.Parent = human
1009
    chr.Animate.Disabled = false
1010
  elseif yep == false then
1011
    chr.Animate.Disabled = true
1012
    anim.Parent = nil
1013
  end
1014
end
1015
animo(false)
1016
function lerpz(joint, prop, cfrmz, alp)
1017
  joint[prop] = joint[prop]:lerp(cfrmz, alp)
1018
end
1019
lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1020
lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1021
lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1022
lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1023
lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1024
lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1025
lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1026
lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1027
lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1028
lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1029
function resetlerp(whoever)
1030
  if whoever == nil then
1031
    RJ.C0 = RJC0
1032
    RJ.C1 = RJC1
1033
    N.C0 = NC0
1034
    N.C1 = NC1
1035
    RS.C0 = RSC0
1036
    RS.C1 = RSC1
1037
    LS.C0 = LSC0
1038
    LS.C1 = LSC1
1039
    RH.C0 = RHC0
1040
    RH.C1 = RHC1
1041
    LH.C0 = LHC0
1042
    LH.C1 = LHC1
1043
  elseif whoever ~= nil then
1044
    nRJ.C0 = RJC0
1045
    nRJ.C1 = RJC1
1046
    nN.C0 = NC0
1047
    nN.C1 = NC1
1048
    nRS.C0 = RSC0
1049
    nRS.C1 = RSC1
1050
    nLS.C0 = LSC0
1051
    nLS.C1 = LSC1
1052
    nRH.C0 = RHC0
1053
    nRH.C1 = RHC1
1054
    nLH.C0 = LHC0
1055
    nLH.C1 = LHC1
1056
  end
1057
end
1058
function STANDO(cfr)
1059
  local rooto = Instance.new("Part")
1060
  nooutline(rooto)
1061
  rooto.Name = "HumanoidRootPart"
1062
  rooto.Anchored = true
1063
  rooto.CFrame = cfr
1064
  rooto.Size = Vector3.new(2, 2, 1)
1065
  rooto.CanCollide = false
1066
  rooto.Locked = true
1067
  rooto.Transparency = 1
1068
  rooto.Parent = ZANOOB
1069
  local head = Instance.new("Part")
1070
  nooutline(head)
1071
  head.Anchored = false
1072
  head.CFrame = rooto.CFrame * CFrame.new(0, 1.5, 0)
1073
  head.Size = Vector3.new(2, 1, 1)
1074
  head.BrickColor = BrickColor.new("Bright red")
1075
  head.CanCollide = false
1076
  head.Name = "Head"
1077
  head.Locked = true
1078
  head.Transparency = 1
1079
  head.Parent = ZANOOB
1080
  local headmesh = makemesh("Head", Vector3.new(1.25, 1.25, 1.25), nil, head)
1081
  local headdecal = Instance.new("Decal")
1082
  headdecal.Name = "face"
1083
  headdecal.Texture = "rbxasset://textures/face.png"
1084
  headdecal.Face = "Front"
1085
  headdecal.Transparency = 1
1086
  headdecal.Parent = head
1087
  local torso = Instance.new("Part")
1088
  nooutline(torso)
1089
  torso.Name = "Torso"
1090
  torso.Anchored = false
1091
  torso.CFrame = rooto.CFrame * CFrame.new(0, 0, 0)
1092
  torso.Size = Vector3.new(2, 1, 1)
1093
  torso.BrickColor = BrickColor.new("Bright red")
1094
  torso.CanCollide = false
1095
  torso.Transparency = 1
1096
  torso.Locked = true
1097
  torso.Parent = ZANOOB
1098
  local torsomesh = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxasset://fonts/torso.mesh", torso)
1099
  local leftarm = Instance.new("Part")
1100
  nooutline(leftarm)
1101
  leftarm.Anchored = false
1102
  leftarm.Name = "Left Arm"
1103
  leftarm.CFrame = rooto.CFrame * CFrame.new(1.5, 0, 0)
1104
  leftarm.Size = Vector3.new(1, 2, 1)
1105
  leftarm.BrickColor = BrickColor.new("Bright red")
1106
  leftarm.CanCollide = false
1107
  leftarm.Transparency = 1
1108
  leftarm.Locked = true
1109
  leftarm.Parent = ZANOOB
1110
  local leftarmmesh = makemesh("FileMesh", Vector3.new(1, 1, 1), "", leftarm)
1111
  local rightarm = Instance.new("Part")
1112
  nooutline(rightarm)
1113
  rightarm.Anchored = false
1114
  rightarm.CFrame = rooto.CFrame * CFrame.new(-1.5, 0, 0)
1115
  rightarm.Name = "Right Arm"
1116
  rightarm.Size = Vector3.new(1, 2, 1)
1117
  rightarm.BrickColor = BrickColor.new("Bright red")
1118
  rightarm.CanCollide = false
1119
  rightarm.Locked = true
1120
  rightarm.Transparency = 1
1121
  rightarm.Parent = ZANOOB
1122
  local rightarmmesh = makemesh("FileMesh", Vector3.new(0.8, 1, 1), "", rightarm)
1123
  local leftleg = Instance.new("Part")
1124
  nooutline(leftleg)
1125
  leftleg.Anchored = false
1126
  leftleg.CFrame = rooto.CFrame * CFrame.new(1.5, -1.5, 0)
1127
  leftleg.Name = "Left Leg"
1128
  leftleg.Size = Vector3.new(1, 2, 1)
1129
  leftleg.BrickColor = BrickColor.new("Bright red")
1130
  leftleg.CanCollide = false
1131
  leftleg.Transparency = 1
1132
  leftleg.Locked = true
1133
  leftleg.Parent = ZANOOB
1134
  local leftlegmesh = makemesh("FileMesh", Vector3.new(1, 1, 1), "", leftleg)
1135
  local rightleg = Instance.new("Part")
1136
  nooutline(rightleg)
1137
  rightleg.Anchored = false
1138
  rightleg.CFrame = rooto.CFrame * CFrame.new(-1.5, -1.5, 0)
1139
  rightleg.Name = "Right Leg"
1140
  rightleg.Size = Vector3.new(1, 2, 1)
1141
  rightleg.BrickColor = BrickColor.new("Bright red")
1142
  rightleg.CanCollide = false
1143
  rightleg.Locked = true
1144
  rightleg.Transparency = 1
1145
  rightleg.Parent = ZANOOB
1146
  local rightlegmesh = makemesh("FileMesh", Vector3.new(1, 1, 1), "", rightleg)
1147
  local rootweld = makemotor(rooto, rooto, torso, RJC0, RJC1)
1148
  rootweld.Name = "RootJoint"
1149
  local neckweld = makemotor(torso, torso, head, NC0, NC1)
1150
  neckweld.Name = "Neck"
1151
  local rshoulderweld = makemotor(torso, torso, rightarm, RSC0, RSC1)
1152
  rshoulderweld.Name = "Right Shoulder"
1153
  local lshoulderweld = makemotor(torso, torso, leftarm, LSC0, LSC1)
1154
  lshoulderweld.Name = "Left Shoulder"
1155
  local rhipweld = makemotor(torso, torso, rightleg, RHC0, RHC1)
1156
  rhipweld.Name = "Right Hip"
1157
  local lhipweld = makemotor(torso, torso, leftleg, LHC0, LHC1)
1158
  lhipweld.Name = "Left Hip"
1159
  local la1 = Instance.new("Part")
1160
  nooutline(la1)
1161
  la1.Anchored = false
1162
  la1.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
1163
  la1.Name = "la1" -- Head
1164
  la1.Size = Vector3.new(0.2, 0.2, 0.2)
1165
  la1.BrickColor = BrickColor.new("Institutional white")
1166
  la1.CanCollide = false
1167
  la1.Locked = true
1168
  la1.Transparency = 1
1169
  la1.Parent = ZANOOB
1170
  local la1m = makemesh("FileMesh", Vector3.new(1., 1.03, 1),"rbxassetid://1307316259", la1)
1171
  local la1w = makemotor(la1, la1, head, ang(rd(0), rd(0), rd(0)) * cf(0, -0.01, 0), ang(rd(0), 0, 0))
1172
  local la2 = Instance.new("Part")
1173
  nooutline(la2)
1174
  la2.Anchored = false
1175
  la2.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
1176
  la2.Name = "la2" -- Head
1177
  la2.Size = Vector3.new(0.2, 0.2, 0.2)
1178
  la2.BrickColor = BrickColor.new("Ghost grey")
1179
  la2.CanCollide = false
1180
  la2.Locked = true
1181
  la2.Transparency = 1
1182
  la2.Parent = ZANOOB
1183
  local la2m = makemesh("FileMesh", Vector3.new(0.5, 0.5, 0.5),"rbxassetid://514528170", la2)
1184
  local la2w = makemotor(la2, la2, head, ang(rd(0), rd(0), rd(0)) * cf(0, 0, 0.2), ang(rd(0), 0, 0))
1185
  local la3 = Instance.new("Part")
1186
  nooutline(la3)
1187
  la3.Anchored = false
1188
  la3.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
1189
  la3.Name = "la3" -- Head
1190
  la3.Size = Vector3.new(0.2, 0.2, 0.2)
1191
  la3.BrickColor = BrickColor.new("Smoky grey")
1192
  la3.CanCollide = false
1193
  la3.Locked = true
1194
  la3.Transparency = 1
1195
  la3.Parent = ZANOOB
1196
  local la3m = makemesh("FileMesh", Vector3.new(0.2, 0.2, 0.2),"rbxassetid://514528170", la3)
1197
  local la3w = makemotor(la3, la3, head, ang(rd(0), rd(0), rd(0)) * cf(0, -0.4, 0.5), ang(rd(0), 0, 0))
1198
  local la4 = Instance.new("Part")
1199
  nooutline(la4)
1200
  la4.Anchored = false
1201
  la4.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
1202
  la4.Name = "la4" -- Head
1203
  la4.Size = Vector3.new(0.2, 0.2, 0.2)
1204
  la4.BrickColor = BrickColor.new("Persimmon")
1205
  la4.CanCollide = false
1206
  la4.Locked = true
1207
  la4.Transparency = 1
1208
  la4.Parent = ZANOOB
1209
  local la4m = makemesh("FileMesh", Vector3.new(0.1, 0.1, 0.1),"rbxassetid://514528170", la4)
1210
  local la4w = makemotor(la4, la4, head, ang(rd(0), rd(0), rd(0)) * cf(0, -0.4, 0.65), ang(rd(0), 0, 0))
1211
  local la5 = Instance.new("Part")
1212
  nooutline(la5)
1213
  la5.Anchored = false
1214
  la5.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
1215
  la5.Name = "la5" -- Torso
1216
  la5.Size = Vector3.new(0.2, 0.2, 0.2)
1217
  la5.BrickColor = BrickColor.new("Institutional white")
1218
  la5.CanCollide = false
1219
  la5.Locked = true
1220
  la5.Transparency = 1
1221
  la5.Parent = ZANOOB
1222
  local la5m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.01),"rbxassetid://1279394898", la5)
1223
  local la5w = makemotor(la5, la5, torso, ang(rd(0), rd(0), rd(0)) * cf(0, -0.5, 0), ang(rd(0), 0, 0))
1224
  local la8 = Instance.new("Part")
1225
  nooutline(la8)
1226
  la8.Anchored = false
1227
  la8.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
1228
  la8.Name = "la8" -- Torso
1229
  la8.Size = Vector3.new(0.2, 0.2, 0.2)
1230
  la8.BrickColor = BrickColor.new("Institutional white")
1231
  la8.CanCollide = false
1232
  la8.Locked = true
1233
  la8.Transparency = 1
1234
  la8.Parent = ZANOOB
1235
  local la8m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.01),"rbxassetid://1279394898", la8)
1236
  local la8w = makemotor(la8, la8, torso, ang(rd(180), rd(0), rd(0)) * cf(0, -0.5, 0), ang(rd(0), 0, 0))
1237
  local la6 = Instance.new("Part")
1238
  nooutline(la6)
1239
  la6.Anchored = false
1240
  la6.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
1241
  la6.Name = "la6" -- Torso
1242
  la6.Size = Vector3.new(0.2, 0.2, 0.2)
1243
  la6.BrickColor = BrickColor.new("Institutional white")
1244
  la6.CanCollide = false
1245
  la6.Locked = true
1246
  la6.Transparency = 1
1247
  la6.Parent = ZANOOB
1248
  local la6m = makemesh("FileMesh", Vector3.new(0.005, 0.012, 0.006),"rbxassetid://1279434239", la6)
1249
  local la6w = makemotor(la6, la6, torso, ang(rd(0), rd(0), rd(3)) * cf(-0.3, 0.5, 0), ang(rd(0), 0, 0))
1250
  local la6 = Instance.new("Part")
1251
  nooutline(la6)
1252
  la6.Anchored = false
1253
  la6.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
1254
  la6.Name = "la6" -- Torso
1255
  la6.Size = Vector3.new(0.2, 0.2, 0.2)
1256
  la6.BrickColor = BrickColor.new("Institutional white")
1257
  la6.CanCollide = false
1258
  la6.Locked = true
1259
  la6.Transparency = 1
1260
  la6.Parent = ZANOOB
1261
  local la6m = makemesh("FileMesh", Vector3.new(0.005, 0.012, 0.006),"rbxassetid://1279434239", la6)
1262
  local la6w = makemotor(la6, la6, torso, ang(rd(0), rd(0), rd(-3)) * cf(0.3, 0.5, 0), ang(rd(0), 0, 0))
1263
  local la7 = Instance.new("Part")
1264
  nooutline (la7)
1265
  la7.Anchored = false
1266
  la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
1267
  la7.Name = "la7" -- Torso
1268
  la7.Size = Vector3.new(0.2, 0.2, 0.2)
1269
  la7.BrickColor = BrickColor.new("Bright red")
1270
  la7.CanCollide = false
1271
  la7.Locked = true
1272
  la7.Transparency = 1
1273
  la7.Parent = ZANOOB
1274
  local la7m = makemesh("FileMesh", Vector3.new(1, 0.5, 1),"rbxasset://fonts/torso.mesh", la7)
1275
  local la7w = makemotor(la7, la7, torso, ang(rd(0), rd(0), rd(0)) * cf(0, -0.5, 0), ang(rd(0), 0, 0))
1276
  local la9 = Instance.new("Part")
1277
  nooutline (la9)
1278
  la9.Anchored = false
1279
  la9.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
1280
  la9.Name = "la9" -- Torso
1281
  la9.Size = Vector3.new(0.2, 0.2, 0.2)
1282
  la9.BrickColor = BrickColor.new("Bright red")
1283
  la9.CanCollide = false
1284
  la9.Locked = true
1285
  la9.Transparency = 1
1286
  la9.Parent = ZANOOB
1287
  local la9m = makemesh("FileMesh", Vector3.new(0.5, 0.3, 1),"rbxasset://fonts/torso.mesh", la9)
1288
  local la9w = makemotor(la9, la9, torso, ang(rd(0), rd(0), rd(20)) * cf(-0.5, -0.3, 0), ang(rd(0), 0, 0))
1289
  local la10 = Instance.new("Part")
1290
  nooutline (la10)
1291
  la10.Anchored = false
1292
  la10.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
1293
  la10.Name = "la10" -- Torso
1294
  la10.Size = Vector3.new(0.2, 0.2, 0.2)
1295
  la10.BrickColor = BrickColor.new("Bright red")
1296
  la10.CanCollide = false
1297
  la10.Locked = true
1298
  la10.Transparency = 1
1299
  la10.Parent = ZANOOB
1300
  local la10m = makemesh("FileMesh", Vector3.new(0.5, 0.3, 1),"rbxasset://fonts/torso.mesh", la10)
1301
  local la10w = makemotor(la10, la10, torso, ang(rd(0), rd(0), rd(-20)) * cf(0.5, -0.3, 0), ang(rd(0), 0, 0))
1302
  local la11 = Instance.new("Part")
1303
  nooutline (la11)
1304
  la11.Anchored = false
1305
  la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
1306
  la11.Name = "la11" -- Left Arm
1307
  la11.Size = Vector3.new(0.2, 0.2, 0.2)
1308
  la11.BrickColor = BrickColor.new("Institutional white")
1309
  la11.CanCollide = false
1310
  la11.Locked = true
1311
  la11.Transparency = 1
1312
  la11.Parent = ZANOOB
1313
  local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.0075, 0.01),"rbxassetid://1279394898", la11)
1314
  local la11w = makemotor(la11, la11, leftarm, ang(rd(0), rd(0), rd(90)) * cf(-0.1, 0, 0), ang(rd(0), 0, 0))
1315
  local la11 = Instance.new("Part")
1316
  nooutline (la11)
1317
  la11.Anchored = false
1318
  la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
1319
  la11.Name = "la11" -- Left Arm
1320
  la11.Size = Vector3.new(0.2, 0.2, 0.2)
1321
  la11.BrickColor = BrickColor.new("Institutional white")
1322
  la11.CanCollide = false
1323
  la11.Locked = true
1324
  la11.Transparency = 1
1325
  la11.Parent = ZANOOB
1326
  local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.008),"rbxassetid://1279394898", la11)
1327
  local la11w = makemotor(la11, la11, leftarm, ang(rd(90), rd(0), rd(90)) * cf(-0.1, 0, 0), ang(rd(0), 0, 0))
1328
  local la11 = Instance.new("Part")
1329
  nooutline (la11)
1330
  la11.Anchored = false
1331
  la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
1332
  la11.Name = "la11" -- Left Arm
1333
  la11.Size = Vector3.new(0.2, 0.2, 0.2)
1334
  la11.BrickColor = BrickColor.new("Institutional white")
1335
  la11.CanCollide = false
1336
  la11.Locked = true
1337
  la11.Transparency = 1
1338
  la11.Parent = ZANOOB
1339
  local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.008),"rbxassetid://1279394898", la11)
1340
  local la11w = makemotor(la11, la11, leftarm, ang(rd(90), rd(0), rd(90)) * cf(-0.1, 0, 0), ang(rd(0), 0, 0))
1341
  local la11 = Instance.new("Part")
1342
  nooutline (la11)
1343
  la11.Anchored = false
1344
  la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
1345
  la11.Name = "la11" -- Right Arm
1346
  la11.Size = Vector3.new(0.2, 0.2, 0.2)
1347
  la11.BrickColor = BrickColor.new("Institutional white")
1348
  la11.CanCollide = false
1349
  la11.Locked = true
1350
  la11.Transparency = 1
1351
  la11.Parent = ZANOOB
1352
  local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.0075, 0.01),"rbxassetid://1279394898", la11)
1353
  local la11w = makemotor(la11, la11, rightarm, ang(rd(0), rd(0), rd(90)) * cf(0.1, 0, 0), ang(rd(0), 0, 0))
1354
  local la11 = Instance.new("Part")
1355
  nooutline (la11)
1356
  la11.Anchored = false
1357
  la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
1358
  la11.Name = "la11" -- Right Arm
1359
  la11.Size = Vector3.new(0.2, 0.2, 0.2)
1360
  la11.BrickColor = BrickColor.new("Institutional white")
1361
  la11.CanCollide = false
1362
  la11.Locked = true
1363
  la11.Transparency = 1
1364
  la11.Parent = ZANOOB
1365
  local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.008),"rbxassetid://1279394898", la11)
1366
  local la11w = makemotor(la11, la11, rightarm, ang(rd(90), rd(0), rd(-90)) * cf(0.1, 0, 0), ang(rd(0), 0, 0))
1367
  local la11 = Instance.new("Part")
1368
  nooutline (la11)
1369
  la11.Anchored = false
1370
  la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
1371
  la11.Name = "la11" -- Right Arm
1372
  la11.Size = Vector3.new(0.2, 0.2, 0.2)
1373
  la11.BrickColor = BrickColor.new("Institutional white")
1374
  la11.CanCollide = false
1375
  la11.Locked = true
1376
  la11.Transparency = 1
1377
  la11.Parent = ZANOOB
1378
  local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.0075, 0.01),"rbxassetid://1279394898", la11)
1379
  local la11w = makemotor(la11, la11, rightarm, ang(rd(0), rd(0), rd(-90)) * cf(0.1, 0, 0), ang(rd(0), 0, 0))
1380
  local la11 = Instance.new("Part")
1381
  nooutline (la11)
1382
  la11.Anchored = false
1383
  la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
1384
  la11.Name = "la11" -- Right Arm
1385
  la11.Size = Vector3.new(0.2, 0.2, 0.2)
1386
  la11.BrickColor = BrickColor.new("Bright red")
1387
  la11.CanCollide = false
1388
  la11.Locked = true
1389
  la11.Transparency = 1
1390
  la11.Parent = ZANOOB
1391
  local la11m = makemesh("FileMesh", Vector3.new(0.8, 1, 1),"rbxasset://fonts/rightarm.mesh", la11)
1392
  local la11w = makemotor(la11, la11, rightarm, ang(rd(0), rd(0), rd(0)) * cf(0.1, 0, 0), ang(rd(0), 0, 0))
1393
  local la11 = Instance.new("Part")
1394
  nooutline (la11)
1395
  la11.Anchored = false
1396
  la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
1397
  la11.Name = "la11" -- Right Arm
1398
  la11.Size = Vector3.new(0.2, 0.2, 0.2)
1399
  la11.BrickColor = BrickColor.new("Bright red")
1400
  la11.CanCollide = false
1401
  la11.Locked = true
1402
  la11.Transparency = 1
1403
  la11.Parent = ZANOOB
1404
  local la11m = makemesh("FileMesh", Vector3.new(0.8, 1, 1),"rbxasset://fonts/rightarm.mesh", la11)
1405
  local la11w = makemotor(la11, la11, leftarm, ang(rd(0), rd(0), rd(0)) * cf(-0.1, 0, 0), ang(rd(0), 0, 0))
1406
  local la11 = Instance.new("Part")
1407
  nooutline (la11)
1408
  la11.Anchored = false
1409
  la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
1410
  la11.Name = "la11" -- Torso
1411
  la11.Size = Vector3.new(0.2, 0.2, 0.2)
1412
  la11.BrickColor = BrickColor.new("Institutional white")
1413
  la11.CanCollide = false
1414
  la11.Locked = true
1415
  la11.Transparency = 1
1416
  la11.Parent = ZANOOB
1417
  local la11m = makemesh("FileMesh", Vector3.new(0.007, 0.01, 0.01),"rbxassetid://548881795", la11)
1418
  local la11w = makemotor(la11, la11, torso, ang(rd(0), rd(180), rd(0)) * cf(0, -1.1, -0.05), ang(rd(0), 0, 0))
1419
  local la6 = Instance.new("Part")
1420
  nooutline(la6)
1421
  la6.Anchored = false
1422
  la6.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
1423
  la6.Name = "la6" -- Torso
1424
  la6.Size = Vector3.new(0.2, 0.2, 0.2)
1425
  la6.BrickColor = BrickColor.new("Smoky grey")
1426
  la6.CanCollide = false
1427
  la6.Locked = true
1428
  la6.Transparency = 1
1429
  la6.Parent = ZANOOB
1430
  local la6m = makemesh("FileMesh", Vector3.new(1.34, 1.4, 1.4),"rbxassetid://448723209", la6)
1431
  local la6w = makemotor(la6, la6, torso, ang(rd(0), rd(0), rd(0)) * cf(0, 1.37, 0), ang(rd(0), 0, 0))
1432
  local la11 = Instance.new("Part")
1433
  nooutline (la11)
1434
  la11.Anchored = false
1435
  la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
1436
  la11.Name = "la11" -- LeftLeg
1437
  la11.Size = Vector3.new(0.2, 0.2, 0.2)
1438
  la11.BrickColor = BrickColor.new("Bright red")
1439
  la11.CanCollide = false
1440
  la11.Locked = true
1441
  la11.Transparency = 1
1442
  la11.Parent = ZANOOB
1443
  local la11m = makemesh("FileMesh", Vector3.new(0.8, 1, 1),"rbxasset://fonts/leftleg.mesh", la11)
1444
  local la11w = makemotor(la11, la11, leftleg, ang(rd(0), rd(0), rd(0)) * cf(-0.1, 0.1, 0), ang(rd(0), 0, 0))
1445
  local la11 = Instance.new("Part")
1446
  nooutline (la11)
1447
  la11.Anchored = false
1448
  la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
1449
  la11.Name = "la11" -- RightLeg
1450
  la11.Size = Vector3.new(0.2, 0.2, 0.2)
1451
  la11.BrickColor = BrickColor.new("Bright red")
1452
  la11.CanCollide = false
1453
  la11.Locked = true
1454
  la11.Transparency = 1
1455
  la11.Parent = ZANOOB
1456
  local la11m = makemesh("FileMesh", Vector3.new(0.8, 1, 1),"rbxasset://fonts/Rightleg.mesh", la11)
1457
  local la11w = makemotor(la11, la11, rightleg, ang(rd(0), rd(0), rd(0)) * cf(0.1, 0.1, 0), ang(rd(0), 0, 0))
1458
  local la11 = Instance.new("Part")
1459
  nooutline (la11)
1460
  la11.Anchored = false
1461
  la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
1462
  la11.Name = "la11" -- Left Leg
1463
  la11.Size = Vector3.new(0.2, 0.2, 0.2)
1464
  la11.BrickColor = BrickColor.new("Institutional white")
1465
  la11.CanCollide = false
1466
  la11.Locked = true
1467
  la11.Transparency = 1
1468
  la11.Parent = ZANOOB
1469
  local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.0075, 0.01),"rbxassetid://1279394898", la11)
1470
  local la11w = makemotor(la11, la11, leftleg, ang(rd(0), rd(0), rd(90)) * cf(-0.1, 0.1, 0), ang(rd(0), 0, 0))
1471
  local la11 = Instance.new("Part")
1472
  nooutline (la11)
1473
  la11.Anchored = false
1474
  la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
1475
  la11.Name = "la11" -- Left Arm
1476
  la11.Size = Vector3.new(0.2, 0.2, 0.2)
1477
  la11.BrickColor = BrickColor.new("Institutional white")
1478
  la11.CanCollide = false
1479
  la11.Locked = true
1480
  la11.Transparency = 1
1481
  la11.Parent = ZANOOB
1482
  local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.008),"rbxassetid://1279394898", la11)
1483
  local la11w = makemotor(la11, la11, leftleg, ang(rd(90), rd(0), rd(90)) * cf(-0.1, 0.1, 0), ang(rd(0), 0, 0))
1484
  local la11 = Instance.new("Part")
1485
  nooutline (la11)
1486
  la11.Anchored = false
1487
  la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
1488
  la11.Name = "la11" -- Left Arm
1489
  la11.Size = Vector3.new(0.2, 0.2, 0.2)
1490
  la11.BrickColor = BrickColor.new("Institutional white")
1491
  la11.CanCollide = false
1492
  la11.Locked = true
1493
  la11.Transparency = 1
1494
  la11.Parent = ZANOOB
1495
  local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.008),"rbxassetid://1279394898", la11)
1496
  local la11w = makemotor(la11, la11, leftleg, ang(rd(90), rd(0), rd(90)) * cf(-0.1, 0.1, 0), ang(rd(0), 0, 0))
1497
    local la11 = Instance.new("Part")
1498
  nooutline (la11)
1499
  la11.Anchored = false
1500
  la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
1501
  la11.Name = "la11" -- Left Leg
1502
  la11.Size = Vector3.new(0.2, 0.2, 0.2)
1503
  la11.BrickColor = BrickColor.new("Institutional white")
1504
  la11.CanCollide = false
1505
  la11.Locked = true
1506
  la11.Transparency = 1
1507
  la11.Parent = ZANOOB
1508
  local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.0075, 0.01),"rbxassetid://1279394898", la11)
1509
  local la11w = makemotor(la11, la11, rightleg, ang(rd(0), rd(0), rd(90)) * cf(0.1, 0.1, 0), ang(rd(0), 0, 0))
1510
  local la11 = Instance.new("Part")
1511
  nooutline (la11)
1512
  la11.Anchored = false
1513
  la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
1514
  la11.Name = "la11" -- Left Arm
1515
  la11.Size = Vector3.new(0.2, 0.2, 0.2)
1516
  la11.BrickColor = BrickColor.new("Institutional white")
1517
  la11.CanCollide = false
1518
  la11.Locked = true
1519
  la11.Transparency = 1
1520
  la11.Parent = ZANOOB
1521
  local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.008),"rbxassetid://1279394898", la11)
1522
  local la11w = makemotor(la11, la11, rightleg, ang(rd(90), rd(0), rd(90)) * cf(0.1, 0.1, 0), ang(rd(0), 0, 0))
1523
  local la11 = Instance.new("Part")
1524
  nooutline (la11)
1525
  la11.Anchored = false
1526
  la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
1527
  la11.Name = "la11" -- Left Arm
1528
  la11.Size = Vector3.new(0.2, 0.2, 0.2)
1529
  la11.BrickColor = BrickColor.new("Institutional white")
1530
  la11.CanCollide = false
1531
  la11.Locked = true
1532
  la11.Transparency = 1
1533
  la11.Parent = ZANOOB
1534
  local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.008),"rbxassetid://1279394898", la11)
1535
  local la11w = makemotor(la11, la11, rightleg, ang(rd(90), rd(0), rd(90)) * cf(0.1, 0.1, 0), ang(rd(0), 0, 0))
1536
  local la7 = Instance.new("Part")
1537
  nooutline (la7)
1538
  la7.Anchored = false
1539
  la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
1540
  la7.Name = "la7" -- LeftArm
1541
  la7.Size = Vector3.new(0.2, 0.2, 0.2)
1542
  la7.BrickColor = BrickColor.new("Institutional white")
1543
  la7.CanCollide = false
1544
  la7.Locked = true
1545
  la7.Transparency = 1
1546
  la7.Parent = ZANOOB
1547
  local la7m = makemesh("FileMesh", Vector3.new(0.9, 0.2, 1.1),"rbxasset://fonts/leftarm.mesh", la7)
1548
  local la7w = makemotor(la7, la7, leftarm, ang(rd(0), rd(0), rd(0)) * cf(-0.1, 0.81, 0), ang(rd(0), 0, 0))
1549
  local la7 = Instance.new("Part")
1550
  nooutline (la7)
1551
  la7.Anchored = false
1552
  la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
1553
  la7.Name = "la7" -- LeftArm
1554
  la7.Size = Vector3.new(0.2, 0.2, 0.2)
1555
  la7.BrickColor = BrickColor.new("Smoky grey")
1556
  la7.CanCollide = false
1557
  la7.Locked = true
1558
  la7.Transparency = 1
1559
  la7.Parent = ZANOOB
1560
  local la7m = makemesh("FileMesh", Vector3.new(0.007, 0.002, 0.005),"rbxassetid://430540268", la7)
1561
  local la7w = makemotor(la7, la7, leftarm, ang(rd(0), rd(0), rd(270)) * cf(0.39, 0.31, 0), ang(rd(0), 0, 0))
1562
  local la7 = Instance.new("Part")
1563
  nooutline (la7)
1564
  la7.Anchored = false
1565
  la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
1566
  la7.Name = "la7" -- RightArm
1567
  la7.Size = Vector3.new(0.2, 0.2, 0.2)
1568
  la7.BrickColor = BrickColor.new("Smoky grey")
1569
  la7.CanCollide = false
1570
  la7.Locked = true
1571
  la7.Transparency = 1
1572
  la7.Parent = ZANOOB
1573
  local la7m = makemesh("FileMesh", Vector3.new(0.007, 0.002, 0.005),"rbxassetid://430540268", la7)
1574
  local la7w = makemotor(la7, la7, rightarm, ang(rd(0), rd(0), rd(-270)) * cf(-0.39, 0.31, 0), ang(rd(0), 0, 0))
1575
  local la7 = Instance.new("Part")
1576
  nooutline (la7)
1577
  la7.Anchored = false
1578
  la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
1579
  la7.Name = "la7" -- LeftArm
1580
  la7.Size = Vector3.new(0.2, 0.2, 0.2)
1581
  la7.BrickColor = BrickColor.new("Institutional white")
1582
  la7.CanCollide = false
1583
  la7.Locked = true
1584
  la7.Transparency = 1
1585
  la7.Parent = ZANOOB
1586
  local la7m = makemesh("FileMesh", Vector3.new(0.9, 0.2, 1.1),"rbxasset://fonts/leftarm.mesh", la7)
1587
  local la7w = makemotor(la7, la7, rightarm, ang(rd(0), rd(0), rd(0)) * cf(0.1, 0.81, 0), ang(rd(0), 0, 0))
1588
  local la7 = Instance.new("Part")
1589
  nooutline (la7)
1590
  la7.Anchored = false
1591
  la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
1592
  la7.Name = "la7" -- LeftArm
1593
  la7.Size = Vector3.new(0.2, 0.2, 0.2)
1594
  la7.BrickColor = BrickColor.new("Institutional white")
1595
  la7.CanCollide = false
1596
  la7.Locked = true
1597
  la7.Transparency = 1
1598
  la7.Parent = ZANOOB
1599
  local la7m = makemesh("FileMesh", Vector3.new(0.9, 0.2, 1.1),"rbxasset://fonts/leftarm.mesh", la7)
1600
  local la7w = makemotor(la7, la7, rightleg, ang(rd(0), rd(0), rd(0)) * cf(0.1, 0.92, 0), ang(rd(0), 0, 0))
1601
  local la7 = Instance.new("Part")
1602
  nooutline (la7)
1603
  la7.Anchored = false
1604
  la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
1605
  la7.Name = "la7" -- LeftArm
1606
  la7.Size = Vector3.new(0.2, 0.2, 0.2)
1607
  la7.BrickColor = BrickColor.new("Institutional white")
1608
  la7.CanCollide = false
1609
  la7.Locked = true
1610
  la7.Transparency = 1
1611
  la7.Parent = ZANOOB
1612
  local la7m = makemesh("FileMesh", Vector3.new(0.9, 0.2, 1.1),"rbxasset://fonts/leftarm.mesh", la7)
1613
  local la7w = makemotor(la7, la7, leftleg, ang(rd(0), rd(0), rd(0)) * cf(-0.1, 0.92, 0), ang(rd(0), 0, 0))
1614
  local la7 = Instance.new("Part")
1615
  nooutline (la7)
1616
  la7.Anchored = false
1617
  la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
1618
  la7.Name = "la7" -- LeftArm
1619
  la7.Size = Vector3.new(0.2, 0.2, 0.2)
1620
  la7.BrickColor = BrickColor.new("Institutional white")
1621
  la7.CanCollide = false
1622
  la7.Locked = true
1623
  la7.Transparency = 1
1624
  la7.Parent = ZANOOB
1625
  local la7m = makemesh("FileMesh", Vector3.new(1.1, 0.2, 1.1),"rbxasset://fonts/leftarm.mesh", la7)
1626
  local la7w = makemotor(la7, la7, leftarm, ang(rd(0), rd(0), rd(-25)) * cf(0, -0.92, 0), ang(rd(0), 0, 0))
1627
  local la7 = Instance.new("Part")
1628
  nooutline (la7)
1629
  la7.Anchored = false
1630
  la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
1631
  la7.Name = "la7" -- LeftArm
1632
  la7.Size = Vector3.new(0.2, 0.2, 0.2)
1633
  la7.BrickColor = BrickColor.new("Institutional white")
1634
  la7.CanCollide = false
1635
  la7.Locked = true
1636
  la7.Transparency = 1
1637
  la7.Parent = ZANOOB
1638
  local la7m = makemesh("FileMesh", Vector3.new(0.5, 0.2, 1.1),"rbxasset://fonts/leftarm.mesh", la7)
1639
  local la7w = makemotor(la7, la7, leftarm, ang(rd(0), rd(0), rd(-5)) * cf(0.3, -0.70, 0), ang(rd(0), 0, 0))
1640
  local la7 = Instance.new("Part")
1641
  nooutline (la7)
1642
  la7.Anchored = false
1643
  la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
1644
  la7.Name = "la7" -- LeftArm
1645
  la7.Size = Vector3.new(0.2, 0.2, 0.2)
1646
  la7.BrickColor = BrickColor.new("Institutional white")
1647
  la7.CanCollide = false
1648
  la7.Locked = true
1649
  la7.Transparency = 1
1650
  la7.Parent = ZANOOB
1651
  local la7m = makemesh("FileMesh", Vector3.new(1.1, 0.2, 1.1),"rbxasset://fonts/leftarm.mesh", la7)
1652
  local la7w = makemotor(la7, la7, rightarm, ang(rd(0), rd(0), rd(25)) * cf(0, -0.92, 0), ang(rd(0), 0, 0))
1653
  local la7 = Instance.new("Part")
1654
  nooutline (la7)
1655
  la7.Anchored = false
1656
  la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
1657
  la7.Name = "la7" -- LeftArm
1658
  la7.Size = Vector3.new(0.2, 0.2, 0.2)
1659
  la7.BrickColor = BrickColor.new("Institutional white")
1660
  la7.CanCollide = false
1661
  la7.Locked = true
1662
  la7.Transparency = 1
1663
  la7.Parent = ZANOOB
1664
  local la7m = makemesh("FileMesh", Vector3.new(0.5, 0.2, 1.1),"rbxasset://fonts/leftarm.mesh", la7)
1665
  local la7w = makemotor(la7, la7, rightarm, ang(rd(0), rd(0), rd(5)) * cf(-0.3, -0.70, 0), ang(rd(0), 0, 0))
1666
  local la7 = Instance.new("Part")
1667
  nooutline (la7)
1668
  la7.Anchored = false
1669
  la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
1670
  la7.Name = "la7" -- LeftArm
1671
  la7.Size = Vector3.new(0.2, 0.2, 0.2)
1672
  la7.BrickColor = BrickColor.new("Smoky grey")
1673
  la7.CanCollide = false
1674
  la7.Locked = true
1675
  la7.Transparency = 1
1676
  la7.Parent = ZANOOB
1677
  local la7m = makemesh("FileMesh", Vector3.new(0.007, 0.002, 0.005),"rbxassetid://430540268", la7)
1678
  local la7w = makemotor(la7, la7, leftleg, ang(rd(90), rd(0), rd(270)) * cf(-0.09, -0.2, 0.55), ang(rd(0), 0, 0))
1679
  local la7 = Instance.new("Part")
1680
  nooutline (la7)
1681
  la7.Anchored = false
1682
  la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
1683
  la7.Name = "la7" -- LeftArm
1684
  la7.Size = Vector3.new(0.2, 0.2, 0.2)
1685
  la7.BrickColor = BrickColor.new("Smoky grey")
1686
  la7.CanCollide = false
1687
  la7.Locked = true
1688
  la7.Transparency = 1
1689
  la7.Parent = ZANOOB
1690
  local la7m = makemesh("FileMesh", Vector3.new(0.007, 0.002, 0.005),"rbxassetid://430540268", la7)
1691
  local la7w = makemotor(la7, la7, rightleg, ang(rd(90), rd(0), rd(270)) * cf(0.09, -0.2, 0.55), ang(rd(0), 0, 0))
1692
  local raemblem = Instance.new("Part")
1693
  nooutline(raemblem)
1694
  raemblem.Anchored = false
1695
  raemblem.CFrame = rooto.CFrame * CFrame.new(0, 2, 1)
1696
  raemblem.Name = "raemblem"
1697
  raemblem.Size = Vector3.new(0.2, 0.2, 0.2)
1698
  raemblem.BrickColor = BrickColor.new("Bright yellow")
1699
  raemblem.CanCollide = false
1700
  raemblem.Locked = true
1701
  raemblem.Material = "SmoothPlastic"
1702
  raemblem.Transparency = 1
1703
  raemblem.Parent = ZANOOB
1704
  local raemblemm = makemesh("Brick", Vector3.new(0, 3, 3), nil, raemblem)
1705
  local raemblemw = makemotor(raemblem, raemblem, rightarm, ang(rd(0.5), rd(0), rd(0)) * cf(-0.5, -0.5, 0), ang(rd(0), 0, 0))
1706
  local emmes = Instance.new("Decal")
1707
  emmes.Texture = "N/A"
1708
  emmes.Transparency = 1
1709
  emmes.Face = "Right"
1710
  emmes.Name = "embe"
1711
  emmes.Parent = raemblem
1712
  return ZANOOB
1713
end
1714
local thenoob = STANDO(hrp.CFrame * CFrame.new(0, 0, 0))
1715
coroutine.resume(coroutine.create(function()
1716
  local rot = thenoob.HumanoidRootPart
1717
  repeat
1718
    swait()
1719
    rot.CFrame = rot.CFrame:lerp(wherto.CFrame * addcfr, 0.5)
1720
  until rot == nil
1721
end))
1722
local rot = thenoob.HumanoidRootPart
1723
local ntorso = thenoob:FindFirstChild("Torso")
1724
local rightarm = thenoob:FindFirstChild("Right Arm")
1725
local leftarm = thenoob:FindFirstChild("Left Arm")
1726
local leftleg = thenoob:FindFirstChild("Left Leg")
1727
local rightleg = thenoob:FindFirstChild("Right Leg")
1728
local head = thenoob:FindFirstChild("Head")
1729
local face = head:FindFirstChild("face")
1730
local emblem = thenoob:FindFirstChild("raemblem"):FindFirstChild("embe")
1731
local embpart = thenoob:FindFirstChild("raemblem")
1732
local nRJ = rot:FindFirstChild("RootJoint")
1733
local nN = ntorso:FindFirstChild("Neck")
1734
local nRS = ntorso:FindFirstChild("Right Shoulder")
1735
local nLS = ntorso:FindFirstChild("Left Shoulder")
1736
local nRH = ntorso:FindFirstChild("Right Hip")
1737
local nLH = ntorso:FindFirstChild("Left Hip")
1738
function standappear(nbz)
1739
  if selected == false or activu == true then
1740
    return
1741
  end
1742
  if appeared == false then
1743
    appeared = true
1744
    wherto = hrp
1745
    addcfr = cf(-2, 1, 2)
1746
    local apear = Instance.new("Sound")
1747
    apear.SoundId = "rbxassetid://3373995015"
1748
    apear.Parent = rot
1749
    apear.Volume = 2
1750
    game.Debris:AddItem(apear, 1.5)
1751
    apear:Play()
1752
    for _, n in pairs(nbz:GetChildren()) do
1753
      coroutine.resume(coroutine.create(function()
1754
        for _ = 1, 5 do
1755
          if n ~= rot and n ~= embpart and n.ClassName ~= "Sound" then
1756
            swait()
1757
            n.Transparency = n.Transparency - 0.2
1758
            face.Transparency = face.Transparency - 0.2
1759
            emblem.Transparency = emblem.Transparency - 0.2
1760
          end
1761
        end
1762
        if n ~= rot and n ~= embpart then
1763
          n.Transparency = 0
1764
        end
1765
        face.Transparency = 0
1766
        emblem.Transparency = 0
1767
      end))
1768
    end
1769
  elseif appeared == true then
1770
    appeared = false
1771
    wherto = hrp
1772
    addcfr = cf(0, 0, 0)
1773
    for _, n in pairs(nbz:GetChildren()) do
1774
      coroutine.resume(coroutine.create(function()
1775
        for _ = 1, 5 do
1776
          if n ~= rot and n ~= embpart then
1777
            swait()
1778
            n.Transparency = n.Transparency + 0.2
1779
            face.Transparency = face.Transparency + 0.2
1780
            emblem.Transparency = emblem.Transparency + 0.2
1781
          end
1782
        end
1783
        if n ~= rot and n ~= embpart then
1784
          n.Transparency = 1
1785
        end
1786
        face.Transparency = 1
1787
        emblem.Transparency = 1
1788
      end))
1789
    end
1790
  end
1791
end
1792
function THREATENING()
1793
  if selected == false or activu == true then
1794
    return
1795
  end
1796
  if POSU == false then
1797
    POSU = true
1798
    human.WalkSpeed = 0
1799
    local d = Instance.new("ParticleEmitter")
1800
    d.Name = "MENACINGU"
1801
    d.Lifetime = NumberRange.new(1)
1802
    d.Rate = 2
1803
    d.Texture = "rbxassetid://298768656"
1804
    d.VelocitySpread = 60
1805
    d.Parent = tors
1806
    human:SetStateEnabled(3, false)
1807
    local randomoth = math.random(1)
1808
    if randomoth == 1 then
1809
      repeat
1810
        swait()
1811
        lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.05) * ang(rd(-5), rd(0), rd(-30)), 0.3)
1812
        lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(10)), 0.3)
1813
        lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(40), rd(10)), 0.3)
1814
        lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1815
        lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-40), rd(-10)), 0.3)
1816
        lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1817
        lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(-25), rd(0)), 0.3)
1818
        lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1819
        lerpz(LH, "C0", LHC0 * cf(0.3, 0.1, -0.15) * ang(rd(-20), rd(50), rd(10)), 0.3)
1820
        lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-10)), 0.3)
1821
      until POSU == false
1822
    elseif randomoth == 2 then
1823
      repeat
1824
        swait()
1825
        lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(-2), rd(25)), 0.3)
1826
        lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(6), rd(0), rd(-50)), 0.3)
1827
        lerpz(RS, "C0", RSC0 * cf(-0.25, 0.3, -0.5) * ang(rd(-30), rd(-15), rd(200)), 0.3)
1828
        lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1829
        lerpz(LS, "C0", LSC0 * cf(0.25, 0.3, -0.5) * ang(rd(-32), rd(13), rd(-195)), 0.3)
1830
        lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1831
        lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-15), rd(-10)), 0.3)
1832
        lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1833
        lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(10), rd(-10)), 0.3)
1834
        lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1835
      until POSU == false
1836
    end
1837
  elseif POSU == true then
1838
    POSU = false
1839
    human.WalkSpeed = 16
1840
    human:SetStateEnabled(3, true)
1841
    tors.MENACINGU:Destroy()
1842
    activu = true
1843
    activu = false
1844
  end
1845
end
1846
local EHMMM = 0
1847
function block()
1848
  if EHMMM == 50 or selected == false or activu == true then
1849
    return
1850
  end
1851
  if appeared == false then
1852
    standappear(thenoob)
1853
  end
1854
  wherto = hrp
1855
  addcfr = cf(0, 0, -3)
1856
  local bep = true
1857
  local humanshealth = human.Health
1858
  activu = true
1859
  human:SetStateEnabled(15, false)
1860
  local de = mouse.KeyUp:connect(function(key)
1861
    if key == "e" then
1862
      bep = false
1863
    end
1864
  end)
1865
  local poopes = 0
1866
  repeat
1867
    swait()
1868
    poopes = poopes + 1
1869
    human.Health = humanshealth
1870
    lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(2), rd(0), rd(0)), 0.5)
1871
    lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(7), rd(0), rd(0)), 0.5)
1872
    lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(110), rd(160)), 0.5)
1873
    lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.5)
1874
    lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-110), rd(-160)), 0.5)
1875
    lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.5)
1876
    lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
1877
    lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
1878
    lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
1879
    lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
1880
  until bep == false or poopes > 240
1881
  de:Disconnect()
1882
  human:SetStateEnabled(15, true)
1883
  activu = false
1884
  EHMMM = 50
1885
  coroutine.resume(coroutine.create(function()
1886
    wait(7)
1887
    EHMMM = 0
1888
  end))
1889
  wherto = hrp
1890
  addcfr = cf(-2, 1, 2)
1891
end
1892
function MUDA()
1893
  if selected == false or activu == true then
1894
    return
1895
  end
1896
  if appeared == false then
1897
    standappear(thenoob)
1898
    wherto = hrp
1899
    addcfr = cf(0, 0, -3.5)
1900
  end
1901
  wry:Stop()
1902
  local bep = true
1903
  activu = true
1904
  wherto = hrp
1905
  addcfr = cf(0, 0, -3.5)
1906
  local function blur(limb)
1907
    coroutine.resume(coroutine.create(function()
1908
      local memedon = {}
1909
      for i = 1, 6 do
1910
        local b1 = Instance.new("Part")
1911
        nooutline(b1)
1912
        b1.Size = Vector3.new(1, 2, 1)
1913
        b1.CFrame = limb.CFrame * CFrame.new(rd2(-5, 5) / 10, rd2(-5, 5) / 10, rd2(-5, 5) / 10)
1914
        b1.CanCollide = false
1915
        b1.BrickColor = limb.BrickColor
1916
        b1.Anchored = true
1917
        b1.Transparency = 0.7
1918
        b1.Locked = true
1919
        b1.Parent = modz
1920
        table.insert(memedon, b1)
1921
      end
1922
      local num = 0
1923
      repeat
1924
        swait()
1925
        num = num % 6 + 1
1926
        memedon[num].CFrame = limb.CFrame * CFrame.new(rd2(-5, 5) / 10, rd2(-5, 5) / 10, rd2(-5, 5) / 10)
1927
      until bep == false
1928
      for i = 1, #memedon do
1929
        swait()
1930
        memedon[i]:Destroy()
1931
      end
1932
    end))
1933
  end
1934
  local de = mouse.KeyUp:connect(function(key)
1935
    if key == "r" then
1936
      bep = false
1937
    end
1938
  end)
1939
  blur(rightarm)
1940
  blur(leftarm)
1941
local mudodo = Instance.new("Sound")
1942
  mudodo.Volume = 0.5
1943
  mudodo.SoundId = "rbxassetid://220025689"
1944
  mudodo.Looped = true
1945
  mudodo.Parent = hrp
1946
  mudodo:Play()
1947
  repeat
1948
    for _ = 1, 2 do
1949
      swait()
1950
      lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(4), rd(4), rd(30)), 0.85)
1951
      lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(0), rd(-28)), 0.85)
1952
      lerpz(nRS, "C0", RSC0 * cf(0.5, 0.25, -0.1) * ang(rd(20), rd(20), rd(105)), 0.85)
1953
      lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
1954
      lerpz(nLS, "C0", LSC0 * cf(0.25, 0.1, 0) * ang(rd(30), rd(10), rd(-70)), 0.85)
1955
      lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
1956
      lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.85)
1957
      lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
1958
      lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.85)
1959
      lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
1960
    end
1961
    hito(rightarm, 3.3, 5, 0.01, rot.CFrame.lookVector * 5)
1962
    for _ = 1, 2 do
1963
      swait()
1964
      lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(5), rd(2), rd(-30)), 0.85)
1965
      lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(2), rd(0), rd(31)), 0.85)
1966
      lerpz(nRS, "C0", RSC0 * cf(-0.1, 0.05, -0.1) * ang(rd(-10), rd(-30), rd(75)), 0.85)
1967
      lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
1968
      lerpz(nLS, "C0", LSC0 * cf(-0.5, 0.1, -0.2) * ang(rd(-30), rd(10), rd(-70)), 0.85)
1969
      lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
1970
      lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.85)
1971
      lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
1972
      lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.85)
1973
      lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
1974
    end
1975
    hito(leftarm, 3.3, 5, 0.01, rot.CFrame.lookVector * 5)
1976
    for _ = 1, 2 do
1977
      swait()
1978
      lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(3), rd(3), rd(32)), 0.85)
1979
      lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(0), rd(-29)), 0.85)
1980
      lerpz(nRS, "C0", RSC0 * cf(0.35, 0.25, 0.1) * ang(rd(-10), rd(-20), rd(95)), 0.85)
1981
      lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
1982
      lerpz(nLS, "C0", LSC0 * cf(0.25, 0.1, 0) * ang(rd(-10), rd(10), rd(-80)), 0.85)
1983
      lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
1984
      lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.85)
1985
      lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
1986
      lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.85)
1987
      lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
1988
    end
1989
    hito(rightarm, 3.3, 5, 0.01, rot.CFrame.lookVector * 5)
1990
    for _ = 1, 2 do
1991
      swait()
1992
      lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-10), rd(3), rd(-40)), 0.85)
1993
      lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(-2), rd(35)), 0.85)
1994
      lerpz(nRS, "C0", RSC0 * cf(-0.1, 0.05, -0.1) * ang(rd(20), rd(-30), rd(65)), 0.85)
1995
      lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
1996
      lerpz(nLS, "C0", LSC0 * cf(-0.5, 0.1, -0.2) * ang(rd(-30), rd(30), rd(-75)), 0.85)
1997
      lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
1998
      lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.85)
1999
      lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
2000
      lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.85)
2001
      lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
2002
    end
2003
    hito(leftarm, 3.3, 5, 0.01, rot.CFrame.lookVector * 5)
2004
  until bep == false or 0 >= human.Health
2005
  de:Disconnect()
2006
mudodo:Stop()
2007
  wry:Play()
2008
  for _ = 1, 6 do
2009
    swait()
2010
    lerpz(nRJ, "C0", RJC0 * cf(0, 1.25, 0) * ang(rd(0), rd(4), rd(-85)), 0.75)
2011
    lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(3), rd(75)), 0.75)
2012
    lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(100)), 0.75)
2013
    lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
2014
    lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.75)
2015
    lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
2016
    lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.75)
2017
    lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
2018
    lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.75)
2019
    lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
2020
  end
2021
  for _ = 1, 7 do
2022
    swait()
2023
    hito(rightarm, 3, 20, 0.35, rot.CFrame.lookVector * 50)
2024
    lerpz(nRJ, "C0", RJC0 * cf(0, -1, 0) * ang(rd(0), rd(10), rd(75)), 0.75)
2025
    lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(-7), rd(-65)), 0.75)
2026
    lerpz(nRS, "C0", RSC0 * cf(0.75, 0, 0.25) * ang(rd(10), rd(-60), rd(100)), 0.75)
2027
    lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.75)
2028
    lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.75)
2029
    lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
2030
    lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.75)
2031
    lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
2032
    lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.75)
2033
    lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
2034
  end
2035
  swait(5)
2036
  wherto = hrp
2037
mudodo:Destroy()
2038
  addcfr = cf(-2, 1, 2)
2039
  activu = false
2040
end
2041
function cability()
2042
  if selected == false or activu == true then
2043
    return
2044
  end
2045
  if appeared == false then
2046
    standappear(thenoob)
2047
    wherto = hrp
2048
    addcfr = cf(0, 0, -3.75)
2049
  end
2050
  activu = true
2051
  wherto = hrp
2052
  addcfr = cf(0, 0, -3.5)
2053
  local ZAWRUA = Instance.new("Sound")
2054
  ZAWRUA.SoundId = "rbxassetid://3373975760"
2055
  ZAWRUA.Volume = 0.5
2056
  ZAWRUA.Parent = hrp
2057
  ZAWRUA:Play()
2058
  game.Debris:AddItem(ZAWRUA, 2.5)
2059
  local wate = Instance.new("Part")
2060
  nooutline(wate)
2061
  wate.Size = Vector3.new(0, 0, 0)
2062
  wate.Material = "Neon"
2063
  wate.Transparency = 1
2064
  wate.BrickColor = BrickColor.new("Institutional white")
2065
  wate.CFrame = rightarm.CFrame * cf(0, -1.5, 0)
2066
  wate.Anchored = true
2067
  wate.CanCollide = false
2068
  wate.Parent = modz
2069
  local wmesh = makemesh("Sphere", Vector3.new(0, 0, 0), nil, wate)
2070
  coroutine.resume(coroutine.create(function()
2071
    repeat
2072
      swait()
2073
      wate.CFrame = rightarm.CFrame * cf(0, 0, 0)
2074
      wmesh.Scale = wmesh.Scale:lerp(Vector3.new(0, 0, 0), 0.5)
2075
    until not wate
2076
  end))
2077
  coroutine.resume(coroutine.create(function()
2078
    local pt = {}
2079
    for _ = 1, 10 do
2080
      local wp = Instance.new("Part")
2081
      nooutline(wp)
2082
      wp.Size = Vector3.new(0, 0, 0)
2083
      wp.Material = "Neon"
2084
      wp.Transparency = 1
2085
      wp.BrickColor = BrickColor.new("Institutional white")
2086
      wp.CFrame = wate.CFrame * ang(rd2(-100, 100) / 1000, rd2(-100, 100) / 1000, rd2(-100, 100) / 1000) * cf(0, -0.25, 0)
2087
      wp.Anchored = true
2088
      wp.CanCollide = false
2089
      wp.Parent = modz
2090
      local wmz = makemesh("Sphere", Vector3.new(0, 0, 0), nil, wp)
2091
      table.insert(pt, wp)
2092
      table.insert(pt, wmz)
2093
    end
2094
    for m = 1, 45 do
2095
      for _, hey in pairs(pt) do
2096
        if hey.ClassName == "SpecialMesh" then
2097
          hey.Scale = hey.Scale + Vector3.new(0, 0, 0)
2098
        elseif hey.ClassName == "Part" then
2099
          hey.CFrame = wate.CFrame * ang(rd(rd2(-360, 360)), rd(rd2(-360, 360)), rd(rd2(-360, 360))) * cf(0, -m / 25, 0)
2100
          hey.Transparency = hey.Transparency - 0.015
2101
        end
2102
      end
2103
    end
2104
    for m = 45, 50 do
2105
      swait()
2106
      for _, hey in pairs(pt) do
2107
        if hey.ClassName == "SpecialMesh" then
2108
          hey.Scale = hey.Scale + Vector3.new(0, 0, 0)
2109
        elseif hey.ClassName == "Part" then
2110
          hey.CFrame = wate.CFrame * ang(rd(rd2(-360, 360)), rd(rd2(-360, 360)), rd(rd2(-360, 360))) * cf(0, -m / 25, 0)
2111
          hey.Transparency = hey.Transparency + 0.2
2112
        end
2113
      end
2114
    end
2115
    for _, AAA in pairs(pt) do
2116
      if AAA.ClassName == "Part" then
2117
        AAA:Destroy()
2118
      end
2119
    end
2120
  end))
2121
  for _ = 1, 10 do
2122
    swait()
2123
    wmesh.Scale = Vector3.new(9, 9, 9)
2124
    wate.Transparency = wate.Transparency - 0.008
2125
    lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(4), rd(-125)), 0.2)
2126
    lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(3), rd(115)), 0.2)
2127
    lerpz(nRS, "C0", RSC0 * cf(rd2(-1, 1) / 10, rd2(-1, 1) / 10, rd2(-1, 1) / 10) * ang(rd(rd2(-15, -5)), rd(rd2(-25, -15)), rd(rd2(95, 105))), 0.2)
2128
    lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
2129
    lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.2)
2130
    lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
2131
    lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.2)
2132
    lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
2133
    lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.2)
2134
    lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
2135
  end
2136
  local pooo = Instance.new("Sound")
2137
  pooo.SoundId = "rbxassetid://3939937734"
2138
  pooo.Volume = 0.5
2139
  pooo.Parent = hrp
2140
  pooo:Play()
2141
  game.Debris:AddItem(pooo, 2.5)
2142
  for _ = 1, 1 do
2143
    swait()
2144
    wate.Transparency = wate.Transparency + 0.15
2145
    lerpz(nRJ, "C0", RJC0 * cf(0, -2, 0) * ang(rd(0), rd(10), rd(35)), 0.5)
2146
    lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(-7), rd(-30)), 0.5)
2147
    lerpz(nRS, "C0", RSC0 * cf(0.75, 0, 0.25) * ang(rd(10), rd(-80), rd(100)), 0.5)
2148
    lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.5)
2149
    lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.5)
2150
    lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
2151
    lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.5)
2152
    lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
2153
    lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.5)
2154
    lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
2155
  end
2156
  local swoo = Instance.new("Part")
2157
  nooutline(swoo)
2158
  swoo.Size = Vector3.new(0.2, 0.2, 0.2)
2159
  swoo.Material = "Neon"
2160
  swoo.Transparency = 0.2
2161
  swoo.BrickColor = BrickColor.new("Institutional white")
2162
  swoo.CFrame = rightarm.CFrame * ang(rd(0), rd(15), rd(240)) * cf(1.5, -2.5, 0)
2163
  swoo.Anchored = true
2164
  swoo.CanCollide = false
2165
  swoo.Parent = modz
2166
  local wmesh = makemesh("FileMesh", Vector3.new(0.013333333333333334, 0.015384615384615385, 0.025), "rbxassetid://576041905", swoo)
2167
  local pli = Instance.new("PointLight")
2168
  pli.Brightness = 0
2169
  pli.Color = Color3.new(0.45098039215686275, 1, 0)
2170
  pli.Range = 10
2171
  pli.Shadows = true
2172
  pli.Parent = swoo
2173
  hito(swoo, 5, 50, 0.15, rot.CFrame.lookVector * 10)
2174
  tagability(swoo, 4)
2175
  for _ = 1, 10 do
2176
    swait()
2177
    wate.Transparency = wate.Transparency + 0.05
2178
    swoo.Transparency = swoo.Transparency + 0.075
2179
    pli.Range = pli.Range - 1
2180
    lerpz(nRJ, "C0", RJC0 * cf(0, -3, 0) * ang(rd(25), rd(0), rd(25)), 0.5)
2181
    lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(-25), rd(0), rd(-25)), 0.5)
2182
    lerpz(nRS, "C0", RSC0 * cf(0.75, 0, 0.25) * ang(rd(90), rd(-30), rd(100)), 0.5)
2183
    lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.5)
2184
    lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.5)
2185
    lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
2186
    lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.5)
2187
    lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
2188
    lerpz(nLH, "C0", LHC0 * cf(-0.3, 0.7, -0.2) * ang(rd(-10), rd(10), rd(5)), 0.5)
2189
    lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
2190
  end
2191
  wate:Destroy()
2192
  swoo:Destroy()
2193
  pli:Destroy()
2194
  swait(0)
2195
  wherto = hrp
2196
  addcfr = cf(-2, 1, 2)
2197
  activu = false
2198
end
2199
game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=188959462")
2200
game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=616594208")
2201
game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=616576400")
2202
game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=291088606")
2203
function THEBEST()
2204
  if selected == false or activu == true or appeared == true or POSU == true then
2205
    return
2206
  end
2207
  local dipperhat = chr:FindFirstChild("DXD_DipperHat")
2208
  local dipperrot
2209
  if dipperhat then
2210
    dipperrot = dipperhat.Handle.HatAttachment.Rotation
2211
  end
2212
  activu = true
2213
  POSU = true
2214
  cam.CameraType = "Scriptable"
2215
  chr.PrimaryPart = hrp
2216
  human.WalkSpeed = 0
2217
  human:SetStateEnabled(3, false)
2218
  local actmus1 = Instance.new("Sound")
2219
  actmus1.SoundId = "rbxassetid://188959462"
2220
  actmus1.Volume = 1.5
2221
  actmus1.RollOffMode = 1
2222
  actmus1.TimePosition = 0
2223
  actmus1.Parent = cam
2224
  local actmus2 = Instance.new("Sound")
2225
  actmus2.SoundId = "rbxassetid://188959462"
2226
  actmus2.Volume = 1.5
2227
  actmus2.RollOffMode = 1
2228
  actmus2.TimePosition = 0
2229
  actmus2.Parent = hrp
2230
  actmus1:Play()
2231
  actmus2:Play()
2232
  local mus1 = Instance.new("Sound")
2233
  mus1.SoundId = "rbxassetid://616594208"
2234
  mus1.Volume = 1.25
2235
  mus1.TimePosition = 0.45
2236
  mus1.Parent = cam
2237
  local mus2 = Instance.new("Sound")
2238
  mus2.SoundId = "rbxassetid://616594208"
2239
  mus2.Volume = 1.25
2240
  mus2.TimePosition = 0.45
2241
  mus2.Parent = hrp
2242
  local zawarudoda = Instance.new("Sound")
2243
  zawarudoda.SoundId = "rbxassetid://616576400"
2244
  zawarudoda.Volume = 2
2245
  zawarudoda.TimePosition = 0.3
2246
  zawarudoda.Parent = hrp
2247
  mus1:Play()
2248
  mus2:Play()
2249
  cam.CoordinateFrame = hrp.CFrame * ang(rd(20), rd(100), rd(0)) * cf(0, 0, 7)
2250
  local regface = hed.face.Texture
2251
  local whogothit, bodyvel
2252
  local function checkhit(partoz, magn)
2253
    for _, guy in pairs(workspace:GetChildren()) do
2254
      if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy ~= chr and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude and not whogothit then
2255
        whogothit = guy
2256
        guy:FindFirstChild("Humanoid").PlatformStand = true
2257
        do
2258
          local derp = Instance.new("BodyPosition")
2259
          derp.MaxForce = Vector3.new(999999999999, 999999999999, 999999999999)
2260
          derp.P = 8000
2261
          derp.D = 500
2262
          derp.Position = hrp.Position + hrp.CFrame.lookVector * 20
2263
          derp.Parent = guy:FindFirstChild("HumanoidRootPart")
2264
          bodyvel = derp
2265
          local derp2 = Instance.new("BodyAngularVelocity")
2266
          derp2.MaxTorque = Vector3.new(999999999999, 999999999999, 999999999999)
2267
          derp2.P = 8000
2268
          derp2.AngularVelocity = Vector3.new(rd2(2, 4), rd2(50, 100), 0)
2269
          derp2.Parent = guy:FindFirstChild("HumanoidRootPart")
2270
          delay(0.1, function()
2271
            derp2:Destroy()
2272
          end)
2273
          bodyvel = derp
2274
        end
2275
      end
2276
    end
2277
  end
2278
  coroutine.resume(coroutine.create(function()
2279
    for _ = 1, 25 do
2280
      swait()
2281
      lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-10), rd(-5), rd(-20)), 0.3)
2282
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(10), rd(20)), 0.3)
2283
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(30), rd(-30)), 0.3)
2284
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2285
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(35), rd(-50), rd(-100)), 0.3)
2286
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2287
      lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-20), rd(-10), rd(-20)), 0.3)
2288
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2289
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.3)
2290
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2291
    end
2292
    for _ = 1, 20 do
2293
      swait()
2294
      lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-10), rd(-5), rd(-20)), 0.3)
2295
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(10), rd(20)), 0.3)
2296
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(30), rd(-30)), 0.3)
2297
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2298
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0.4) * ang(rd(70), rd(-60), rd(-100)), 0.3)
2299
      if dipperhat then
2300
        dipperhat.Handle.HatAttachment.Rotation = dipperhat.Handle.HatAttachment.Rotation:lerp(dipperrot + Vector3.new(0, -40, 0), 0.3)
2301
      end
2302
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2303
      lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-20), rd(-10), rd(-20)), 0.3)
2304
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2305
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.3)
2306
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2307
    end
2308
  end))
2309
  repeat
2310
    swait()
2311
    cam.CoordinateFrame = cam.CoordinateFrame * ang(rd(0), rd(1), rd(0)) * cf(0.15, 0, 0)
2312
  until mus1.TimePosition > 2.9
2313
  mus1:Pause()
2314
  mus2:Pause()
2315
  zawarudoda:Play()
2316
  coroutine.resume(coroutine.create(function()
2317
    for _ = 1, 7 do
2318
      swait()
2319
      lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-10), rd(0), rd(-5)), 0.4)
2320
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(2), rd(0)), 0.3)
2321
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(10), rd(80), rd(80)), 0.3)
2322
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2323
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(10), rd(-80), rd(-70)), 0.3)
2324
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2325
      lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.3)
2326
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2327
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.3)
2328
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2329
    end
2330
    for _ = 1, 16 do
2331
      swait()
2332
      lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(-5)), 0.4)
2333
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(15), rd(8), rd(0)), 0.3)
2334
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(10), rd(-80), rd(80)), 0.3)
2335
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2336
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(10), rd(80), rd(-70)), 0.3)
2337
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2338
      lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-15)), 0.3)
2339
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2340
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(15)), 0.3)
2341
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2342
    end
2343
  end))
2344
  repeat
2345
    swait()
2346
  until zawarudoda.TimePosition > 1.4
2347
  zawarudoda:Pause()
2348
  activu = false
2349
  standappear(thenoob)
2350
  wherto = hrp
2351
  addcfr = cf(3, 0.25, -1.5)
2352
  activu = true
2353
  cam.CoordinateFrame = hrp.CFrame * ang(rd(-25), rd(0), rd(0)) * cf(0, 2, 3)
2354
  for _ = 1, 10 do
2355
    swait()
2356
    cam.CoordinateFrame = cam.CoordinateFrame * ang(rd(0), rd(0), rd(0)) * cf(0, 0, 1.5)
2357
    lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(4), rd(-75)), 0.5)
2358
    lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(3), rd(45)), 0.5)
2359
    lerpz(nRS, "C0", RSC0 * cf(rd2(-1, 1) / 10, rd2(-1, 1) / 10, rd2(-1, 1) / 10) * ang(rd(rd2(-15, -5)), rd(rd2(-25, -15)), rd(rd2(95, 105))), 0.5)
2360
    lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
2361
    lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.5)
2362
    lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
2363
    lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.5)
2364
    lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
2365
    lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.5)
2366
    lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
2367
  end
2368
  wherto = hrp
2369
  addcfr = cf(-3, 0.25, -1.5)
2370
  for _ = 1, 25 do
2371
    swait()
2372
    checkhit(rightarm, 3)
2373
    lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(4), rd(105)), 0.4)
2374
    lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(3), rd(-45)), 0.4)
2375
    lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(100)), 0.4)
2376
    lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
2377
    lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.4)
2378
    lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
2379
    lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.4)
2380
    lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
2381
    lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.4)
2382
    lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
2383
  end
2384
  if whogothit then
2385
    print("derp")
2386
    cam.CoordinateFrame = hrp.CFrame * ang(rd(15), rd(140), rd(0)) * cf(0, 1, 4)
2387
    local laugo = Instance.new("Sound")
2388
    laugo.SoundId = "rbxassetid://291088606"
2389
    laugo.Volume = 1.5
2390
    laugo.Parent = hrp
2391
    game.Debris:AddItem(laugo, 2.5)
2392
    laugo:Play()
2393
    local sda = 0
2394
    local chn = 2
2395
    local cs = math.cos
2396
    for D = 1, 60 do
2397
      swait()
2398
      cam.CoordinateFrame = cam.CoordinateFrame * ang(rd(0), rd(0), rd(0)) * cf(0, 0, 0.15)
2399
      sda = sda + chn
2400
      lerpz(RJ, "C0", RJC0 * cf(0, 0.75, 1 * cs(sda / 2)) * ang(rd(-40), rd(0), rd(-5)), 0.8 / D)
2401
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-60 + 40 * cs(sda / 2)), rd(8), rd(0)), 0.8 / D)
2402
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(10), rd(-110 + 80 * cs(sda / 2)), rd(80)), 0.8 / D)
2403
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.8 / D)
2404
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(10), rd(110 + 80 * cs(sda / 2)), rd(-70)), 0.8 / D)
2405
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.8 / D)
2406
      lerpz(RH, "C0", RHC0 * cf(0, -1 * cs(sda / 2), 0) * ang(rd(-10), rd(-10), rd(-40)), 0.8 / D)
2407
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.8 / D)
2408
      lerpz(LH, "C0", LHC0 * cf(0, -1 * cs(sda / 2), 0) * ang(rd(-10), rd(10), rd(40)), 0.8 / D)
2409
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.8 / D)
2410
    end
2411
    hed.face.Texture = "rbxassetid://176777497"
2412
    mus1.TimePosition = 2.75
2413
    mus1:Play()
2414
    for C = 1, 30 do
2415
      swait()
2416
      cam.CoordinateFrame = cam.CoordinateFrame * ang(rd(0), rd(0), rd(0)) * cf(0, 0, -(0.02 + C / 60))
2417
      sda = sda + chn
2418
      lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(20), rd(0), rd(-5)), 0.05 + C / 31)
2419
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(30), rd(0), rd(0)), 0.05 + C / 31)
2420
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-20)), 0.05 + C / 31)
2421
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + C / 31)
2422
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(35), rd(-50), rd(-100)), 0.05 + C / 31)
2423
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + C / 31)
2424
      lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(20)), 0.05 + C / 31)
2425
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + C / 31)
2426
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(20)), 0.05 + C / 31)
2427
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + C / 31)
2428
    end
2429
    for _ = 1, 5 do
2430
      swait()
2431
      cam.CoordinateFrame = cam.CoordinateFrame * ang(rd(0), rd(0), rd(0)) * cf(0, 0, 0.02)
2432
      sda = sda + chn
2433
      lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(20), rd(0), rd(-5)), 0.5)
2434
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-10), rd(0), rd(0)), 0.5)
2435
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-20)), 0.5)
2436
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
2437
      lerpz(LS, "C0", LSC0 * cf(0, 0.25, 0) * ang(rd(60), rd(-60), rd(-100)), 0.5)
2438
      if dipperhat then
2439
        dipperhat.Handle.HatAttachment.Rotation = dipperhat.Handle.HatAttachment.Rotation:lerp(dipperrot + Vector3.new(0, 0, 0), 0.5)
2440
      end
2441
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
2442
      lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(20)), 0.5)
2443
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
2444
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(20)), 0.5)
2445
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
2446
    end
2447
    wait(2)
2448
  elseif whogothit == nil then
2449
    print("noderp")
2450
  end
2451
  human:SetStateEnabled(3, true)
2452
  activu = false
2453
  standappear(thenoob)
2454
  activu = true
2455
  if dipperhat then
2456
    dipperhat.Handle.HatAttachment.Rotation = dipperrot
2457
  end
2458
  actmus1:Destroy()
2459
  actmus2:Destroy()
2460
  bast:Play()
2461
  if bodyvel then
2462
    bodyvel:Destroy()
2463
  end
2464
  cam.CameraType = "Custom"
2465
  hed.face.Texture = regface
2466
  chr.PrimaryPart = head
2467
  human.WalkSpeed = 16
2468
  activu = false
2469
  POSU = false
2470
end
2471
function hito(partoz, magn, dmg, debtim, bodyfdire)
2472
  for _, guy in pairs(workspace:GetChildren()) do
2473
    if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy ~= chr and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
2474
      do
2475
        local humz = guy:FindFirstChild("Humanoid")
2476
        local horp = guy:FindFirstChild("HumanoidRootPart")
2477
        TakeDamage(humz, dmg)
2478
        local db = Instance.new("StringValue")
2479
        db.Name = "alabo"
2480
        db.Parent = horp
2481
        delay(debtim, function()
2482
          db:Destroy()
2483
        end)
2484
        local b = Instance.new("Part")
2485
        nooutline(b)
2486
        b.Size = Vector3.new(0.2, 0.2, 0.2)
2487
        b.Transparency = 0.25
2488
        b.Anchored = true
2489
        b.CanCollide = false
2490
        b.BrickColor = BrickColor.new("Institutional white")
2491
        b.Locked = true
2492
        b.CFrame = horp.CFrame * CFrame.new(rd2(-1, 1), rd2(-2, 2), rd2(-1, 1))
2493
        b.Parent = modz
2494
        local c = Instance.new("SpecialMesh")
2495
        c.MeshType = "Sphere"
2496
        c.Scale = Vector3.new(3.5, 3.5, 3.5)
2497
        c.Parent = b
2498
        game.Debris:AddItem(b, 1)
2499
        if bodyfdire then
2500
          local boopyve = Instance.new("BodyVelocity")
2501
          boopyve.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
2502
          boopyve.P = math.huge
2503
          boopyve.Velocity = bodyfdire
2504
          boopyve.Parent = horp
2505
          game.Debris:AddItem(boopyve, debtim)
2506
        end
2507
        local bet = Instance.new("Sound")
2508
        bet.Pitch = rd2(9, 11) / 10
2509
        bet.Volume = rd2(12, 14) / 10
2510
        bet.SoundId = "rbxassetid://165604684"
2511
        bet.Parent = b
2512
        bet:Play()
2513
        coroutine.resume(coroutine.create(function()
2514
          for _ = 1, 5 do
2515
            swait()
2516
            b.Transparency = b.Transparency + 0.15
2517
            c.Scale = c.Scale + Vector3.new(0.8 * dmg, 0.8 * dmg, 0.8 * dmg)
2518
          end
2519
        end))
2520
      end
2521
    end
2522
  end
2523
end
2524
function tagability(partoz, magn)
2525
  for _, guy in pairs(workspace:GetChildren()) do
2526
    if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy ~= chr and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("derbaba") == nil and guy:FindFirstChildOfClass("ForceField") == nil then
2527
      do
2528
        local humz = guy:FindFirstChild("Humanoid")
2529
        humz.PlatformStand = true
2530
        delay(1, function()
2531
          humz.PlatformStand = false
2532
        end)
2533
        coroutine.resume(coroutine.create(function()
2534
          if aL then
2535
            aL.Name = "Right Arm"
2536
            wait()
2537
          end
2538
          if bL then
2539
            bL.Name = "Left Leg"
2540
            wait()
2541
          end
2542
          if cL then
2543
            cL.Name = "Left Arm"
2544
            wait()
2545
          end
2546
          if dL then
2547
            dL.Name = "Right Leg"
2548
          end
2549
        end))
2550
      end
2551
    end
2552
  end
2553
end
2554
mouse.KeyDown:connect(function(key)
2555
  if human.Health <= 0 then
2556
    return
2557
  end
2558
  if key == "f" then
2559
    standappear(thenoob)
2560
  end
2561
  if key == "r" then
2562
    MUDA()
2563
  end
2564
  if key == "e" then
2565
    block()
2566
  end
2567
  if key == "q" then
2568
    cability()
2569
  end
2570
  if key == "m" and plr.UserId then
2571
    THEBEST()
2572
  end
2573
  if key == "j" then
2574
    THREATENING()
2575
  end
2576
  if key == "k" then
2577
    konodioda:Play()
2578
  end
2579
  if key == "l" then
2580
    bast:Play()
2581
  end
2582
  if key == "p" then
2583
    zaworld:Play()
2584
  end
2585
  if key == "m" then
2586
	bast:Stop()
2587
 end
2588
end)
2589
tool.Equipped:connect(function()
2590
  selected = true
2591
end)
2592
tool.Unequipped:connect(function()
2593
  selected = false
2594
end)
2595
sine = 0
2596
charge = 1
2597
cos = math.cos
2598
game:GetService("RunService").Stepped:connect(function()
2599
  if POSU == false then
2600
    local checkfloor = Ray.new(hrp.Position, hrp.CFrame.upVector * -4)
2601
    local checkpart = workspace:FindPartOnRayWithIgnoreList(checkfloor, {chr}, false, false)
2602
    local checkstate = human:GetState()
2603
    if checkstate.Value == 13 then
2604
      animpose = "Sitting"
2605
    elseif hrp.Velocity.y > 1 and checkpart == nil then
2606
      animpose = "Jumping"
2607
    elseif hrp.Velocity.y < -1 and checkpart == nil then
2608
      animpose = "Falling"
2609
    elseif 1 > (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude then
2610
      animpose = "Idle"
2611
    elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 35 then
2612
      animpose = "Walking"
2613
    elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude > 35 then
2614
      animpose = "TooFast"
2615
    end
2616
    if animpose == "Idle" then
2617
      sine = sine + charge
2618
      lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.03 * cos(sine / 60)) * ang(rd(0), rd(0), rd(0)), 0.3)
2619
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(3 - 3 * cos(sine / 60)), rd(0), rd(0)), 0.3)
2620
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(2 - 2 * cos(sine / 60)), rd(2 - 2 * cos(sine / 60)), rd(2 * cos(sine / 60))), 0.3)
2621
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2622
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(2 - 2 * cos(sine / 60)), rd(-2 - 2 * cos(sine / 60)), rd(2 * cos(sine / 60))), 0.3)
2623
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2624
      lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-3 - 1 * cos(sine / 60)), rd(-5 - 1 * cos(sine / 60)), rd(1 * cos(sine / 60))), 0.3)
2625
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2626
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-3 - 1 * cos(sine / 60)), rd(5 - 1 * cos(sine / 60)), rd(1 * cos(sine / 60))), 0.3)
2627
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2628
    end
2629
    if animpose == "Walking" then
2630
      sine = sine + charge
2631
      lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.03 * cos(sine / 60)) * ang(rd(0), rd(0), rd(0)), 0.3)
2632
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(3 - 3 * cos(sine / 60)), rd(0), rd(0)), 0.3)
2633
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-2 - 2 * cos(sine / 60)), rd(2 - 2 * cos(sine / 60)), rd(30 * cos(sine / 10))), 0.3)
2634
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2635
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-2 - 2 * cos(sine / 60)), rd(-2 - 2 * cos(sine / 60)), rd(30 * cos(sine / 10))), 0.3)
2636
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2637
      lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(-1 - 1 * cos(sine / 60)), rd(-30 * cos(sine / 10))), 0.6)
2638
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2639
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(1 - 1 * cos(sine / 60)), rd(-30 * cos(sine / 10))), 0.6)
2640
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2641
    end
2642
    if animpose == "Jumping" then
2643
      lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(0)), 0.3)
2644
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-10), rd(0), rd(0)), 0.3)
2645
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(7), rd(-5), rd(2)), 0.3)
2646
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2647
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(7), rd(5), rd(-3)), 0.3)
2648
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2649
      lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-10)), 0.3)
2650
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2651
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(20)), 0.3)
2652
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2653
    end
2654
    if animpose == "Falling" then
2655
      lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-6), rd(0), rd(0)), 0.3)
2656
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.3)
2657
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(7), rd(-5), rd(2)), 0.3)
2658
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2659
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(7), rd(5), rd(-3)), 0.3)
2660
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2661
      lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(10)), 0.3)
2662
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2663
      lerpz(LH, "C0", LHC0 * cf(-0.65, 0.75, 0) * ang(rd(0), rd(0), rd(20)), 0.3)
2664
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2665
    end
2666
    if animpose == "TooFast" then
2667
      lerpz(RJ, "C0", RJC0 * cf(0, 0, -1.5) * ang(rd(20), rd(0), rd(0)), 0.3)
2668
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.3)
2669
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-20), rd(-10), rd(-10)), 0.3)
2670
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2671
      lerpz(LS, "C0", LSC0 * cf(0, -0.75, 0) * ang(rd(10), rd(-80), rd(-10)), 0.3)
2672
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(30), rd(0), rd(0)), 0.3)
2673
      lerpz(RH, "C0", RHC0 * cf(0.75, 1.5, 0) * ang(rd(0), rd(0), rd(30)), 0.3)
2674
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2675
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(50)), 0.3)
2676
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2677
    end
2678
    if animpose == "Sitting" then
2679
      lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2680
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2681
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3)
2682
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2683
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.3)
2684
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2685
      lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3)
2686
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2687
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.3)
2688
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2689
    end
2690
  end
2691
  if appeared == false and activu == false then
2692
    lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2693
    lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2694
    lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2695
    lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2696
    lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2697
    lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2698
    lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2699
    lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2700
    lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2701
    lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2702
  elseif appeared == true and activu == false then
2703
    sine = sine + charge
2704
    lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0.05 * cos(sine / 90)) * ang(rd(1 - 1 * cos(sine / 90)), rd(0), rd(-5)), 0.3)
2705
    lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(2 - 2 * cos(sine / 90)), rd(0), rd(4)), 0.3)
2706
    lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(2 * cos(sine / 110)), rd(-3 - 3 * cos(sine / 100)), rd(0)), 0.3)
2707
    lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2708
    lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(2 * cos(sine / 110)), rd(3 - 3 * cos(sine / 100)), rd(0)), 0.3)
2709
    lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2710
    lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-2 - 2 * cos(sine / 100)), rd(-3 - 3 * cos(sine / 100)), rd(-2 - 2 * cos(sine / 100))), 0.3)
2711
    lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2712
    lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-2 - 2 * cos(sine / 100)), rd(3 - 3 * cos(sine / 100)), rd(2 - 2 * cos(sine / 100))), 0.3)
2713
    lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2714
  end
2715
end)
2716
function dispose()
2717
  for i, v in pairs(getfenv(0)) do
2718
    v = nil
2719
  end
2720
  error = nil
2721
  print = nil
2722
  warn = nil
2723
end
2724
human.Died:connect(dispose)
2725
chr.Changed:connect(function()
2726
  if chr.Parent == nil then
2727
    dispose()
2728
  end
2729
end)