View difference between Paste ID: 6xBiFnfs and x9We9bJn
SHOW: | | - or go back to the newest paste.
1
if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
2
do
3
	script.Parent = owner.Character
4
	local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
5
	local function NewFakeEvent()
6
		local Bind = Instance.new("BindableEvent")
7
		local Fake;Fake = {Connections = {},
8
		fakeEvent=true;
9
		Connect=function(self,Func)
10
			Bind.Event:connect(Func)
11
			self.Connections[Bind] = true
12
			return setmetatable({Connected = true},{
13
			__index = function (self,Index)
14
				if Index:lower() == "disconnect" then
15
					return function() Fake.Connections[Bind] = false;self.Connected = false end
16
				end
17
				return Fake[Index]
18
			end;
19
			__tostring = function() return "Connection" end;
20
		})
21
		end}
22
		Fake.connect = Fake.Connect;return Fake;
23
	end
24
	local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
25
	local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
26
	local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
27
		self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
28
	end};ContextActionService.UnBindAction = ContextActionService.BindAction
29
	local function TriggerEvent(self,Event,...)
30
		local Trigger = Mouse[Event]
31
		if Trigger and Trigger.fakeEvent and Trigger.Connections then
32
			for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
33
		end
34
	end
35
	Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
36
	Event.OnServerEvent:Connect(function(FiredBy,Input)
37
		if FiredBy.Name ~= owner.Name then return end
38
		if Input.MouseEvent then
39
			Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
40
		else
41
			local Begin = Input.UserInputState == Enum.UserInputState.Begin
42
			if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
43
			for _,Action in pairs(ContextActionService.Actions) do
44
				for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
45
			end
46
			Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
47
			UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
48
		end
49
	end)
50
	InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
51
	Event.Parent = NLS([[
52
		local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
53
		local Input = function(Input,gameProcessedEvent)
54
			if gameProcessedEvent then return end
55
			Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
56
		end
57
		UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
58
		local Hit,Target
59
		while wait(1/30) do
60
			if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
61
				Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
62
			end
63
		end
64
	]],owner.Character)
65
end
66
RealGame = game;game = setmetatable({},{
67
	__index = function (self,Index)
68
		local Sandbox = function (Thing)
69
			if Thing:IsA("Player") then
70
				local RealPlayer = Thing
71
				return setmetatable({},{
72
					__index = function (self,Index)
73
						local Type = type(RealPlayer[Index])
74
						if Type == "function" then
75
							if Index:lower() == "getmouse" or Index:lower() == "mouse" then
76
								return function (self)return InternalData["Mouse"] end
77
							end
78
							return function (self,...)return RealPlayer[Index](RealPlayer,...) end
79
						end
80
						return RealPlayer[Index]
81
					end;
82
					__tostring = function(self) return RealPlayer.Name end
83
				})
84
			end
85
		end
86
		if RealGame[Index] then
87
			local Type = type(RealGame[Index])
88
			if Type == "function" then
89
				if Index:lower() == "getservice" or Index:lower() == "service" then
90
					return function (self,Service)
91
						local FakeServices = {
92
							["players"] = function()
93
								return setmetatable({},{
94
									__index = function (self2,Index2)
95
										local RealService = RealGame:GetService(Service)
96
										local Type2 = type(Index2)
97
										if Type2 == "function" then
98
											return function (self,...) return RealService[Index2](RealService,...)end
99
										else
100
											if Index2:lower() == "localplayer" then return Sandbox(owner) end
101
											return RealService[Index2]
102
										end
103
									end;
104
									__tostring = function(self) return RealGame:GetService(Service).Name end
105
								})
106
							end;
107
							["contextactionservice"] = function() return InternalData["ContextActionService"] end;
108
							["userinputservice"] = function() return InternalData["UserInputService"] end;
109
							["runservice"] = function()
110
								return setmetatable({},{
111
									__index = function(self2,Index2)
112
										local RealService = RealGame:GetService(Service)
113
										local Type2 = type(Index2)
114
										if Type2 == "function" then
115
											return function (self,...) return RealService[Index2](RealService,...) end
116
										else
117
											local RunServices = {
118
												["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
119
												["renderstepped"] = function() return RealService["Stepped"] end
120
											}
121
											if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
122
											return RealService[Index2]
123
										end
124
									end
125
								})
126
							end
127
						}
128
						if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
129
						return RealGame:GetService(Service)
130
					end
131
				end
132
				return function (self,...) return RealGame[Index](RealGame,...) end
133
			else
134
				if game:GetService(Index) then return game:GetService(Index) end
135
				return RealGame[Index]
136
			end
137
		end
138
		return nil
139
	end
140
});Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
141
142
143
function TakeDamage(hum, dmg)
144
  hum:TakeDamage(dmg)
145
end
146
plr = game.Players.LocalPlayer
147
repeat
148
  wait(0.4)
149
until plr.Character
150
chr = plr.Character
151
human = chr:FindFirstChild("Humanoid")
152
human.Name = "hi"
153
human.MaxHealth = 5000
154
human.Health = 5000
155
human.JumpPower = 70
156
human.WalkSpeed = 20
157
mouse = plr:GetMouse()
158
selected = false
159
equipd = false
160
tors = chr.Torso
161
rarm = chr["Right Arm"]
162
larm = chr["Left Arm"]
163
rleg = chr["Right Leg"]
164
lleg = chr["Left Leg"]
165
hrp = chr.HumanoidRootPart
166
hed = chr.Head
167
anim = human.Animator
168
activu = false
169
appeared = false
170
animpose = nil
171
POSU = false
172
local wherto = hrp
173
local addcfr = CFrame.new(0, 0, 0)
174
Heartbeat = Instance.new("BindableEvent")
175
Heartbeat.Name = "Heartbeat"
176
Heartbeat.Parent = script
177
frame = 0.03333333333333333
178
tf = 0
179
local BC = chr["Body Colors"]
180
BC.HeadColor = BrickColor.new("Pastel brown")
181
BC.LeftArmColor = BrickColor.new("Pastel brown")
182
BC.LeftLegColor = BrickColor.new("Pastel brown")
183
BC.RightArmColor = BrickColor.new("Pastel brown")
184
BC.RightLegColor = BrickColor.new("Pastel brown")
185
BC.TorsoColor = BrickColor.new("Pastel brown")
186
187
for i,v in pairs(chr:children()) do
188
    if v:IsA("Accessory") then
189
        v:Destroy()
190
    end
191
end
192
193
for i,v in pairs(chr:children()) do
194
    if v:IsA("Shirt") then
195
        v:Destroy()
196
    end
197
end
198
199
for i,v in pairs(chr:children()) do
200
    if v:IsA("Pants") then
201
        v:Destroy()
202
    end
203
end
204
205
206
game:GetService("RunService").Heartbeat:connect(function(s, p)
207
  tf = tf + s
208
  if tf >= frame then
209
    for i = 1, math.floor(tf / frame) do
210
      Heartbeat:Fire()
211
    end
212
    tf = tf - frame * math.floor(tf / frame)
213
  end
214
end)
215
function swait(num)
216
  if num == 0 or num == nil then
217
    Heartbeat.Event:wait()
218
  else
219
    for i = 1, num do
220
      Heartbeat.Event:wait()
221
    end
222
  end
223
end
224
tool = Instance.new("Tool")
225
tool.CanBeDropped = false
226
tool.RequiresHandle = false
227
tool.Name = "Za Warudo"
228
tool.Parent = plr.Backpack
229
modz = Instance.new("Model")
230
modz.Name = "efx"
231
modz.Parent = chr
232
ZaWarudo = Instance.new("Model")
233
ZaWarudo.Name = "Za Warudo"
234
ZaWarudo.Parent = chr
235
RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
236
RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
237
LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
238
LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
239
RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
240
RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
241
LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
242
RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
243
LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
244
NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
245
NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
246
RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
247
RS = tors:FindFirstChild("Right Shoulder")
248
LS = tors:FindFirstChild("Left Shoulder")
249
RH = tors:FindFirstChild("Right Hip")
250
LH = tors:FindFirstChild("Left Hip")
251
RJ = hrp:FindFirstChild("RootJoint")
252
N = tors:FindFirstChild("Neck")
253
cf = CFrame.new
254
ang = CFrame.Angles
255
rd = math.rad
256
rd2 = math.random
257
function nooutline(p)
258
  p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BottomSurface = 10, 10, 10, 10, 10, 10
259
end
260
function makepart(color, name, reflec, mater, parnt, cfram)
261
  local port = Instance.new("Part")
262
  port.BrickColor = BrickColor.new(color)
263
  port.Name = name
264
  port.Transparency = 1
265
  nooutline(port)
266
  port.Reflectance = reflec
267
  port.Material = mater
268
  port.Anchored = false
269
  port.CanCollide = false
270
  port.Locked = true
271
  port.Size = Vector3.new(0.2, 0.2, 0.2)
272
  port.Parent = parnt
273
  return port
274
end
275
function makemesh(meshtype, scale, meshid, parent)
276
  local mes = Instance.new("SpecialMesh")
277
  mes.MeshType = meshtype
278
  mes.Scale = scale
279
  if meshtype == "FileMesh" then
280
    mes.MeshId = meshid
281
  end
282
  mes.Parent = parent
283
  return mes
284
end
285
function makemotor(parent, p0, p1, c0, c1)
286
  swait()
287
  local wel = Instance.new("Motor6D")
288
  wel.Part0 = p0
289
  wel.Part1 = p1
290
  wel.C0 = c0
291
  if c1 ~= nil then
292
    wel.C1 = c1
293
  end
294
  wel.Parent = parent
295
  return wel
296
end
297
local konodioda = Instance.new("Sound")
298
konodioda.SoundId = "rbxassetid://4681979771"
299
konodioda.Volume = 3.5
300
konodioda.Parent = hrp
301
local bast = Instance.new("Sound")
302
bast.SoundId = "rbxassetid://4801002524"
303
bast.Volume = 3.5
304
bast.Parent = hrp
305
local bastt = Instance.new("Sound")
306
bastt.SoundId = "rbxassetid://4876266463"
307
bastt.Volume = 3.5
308
bastt.Parent = hrp
309
local diovania = Instance.new("Sound")
310
diovania.SoundId = "rbxassetid://2998977755"
311
diovania.Volume = 3.5
312
diovania.Parent = hrp
313
local mudi = Instance.new("Sound")
314
mudi.SoundId = "rbxassetid://2553978464"
315
mudi.Volume = 3.5
316
mudi.Parent = hrp
317
local zaworld = Instance.new("Sound")
318
zaworld.SoundId = "rbxassetid://4729774926"
319
zaworld.Volume = 3.8
320
zaworld.Parent = hrp
321
local wry = Instance.new("Sound")
322
wry.SoundId = "rbxassetid://276152532"
323
wry.Volume = 5
324
wry.Parent = hrp
325
function animo(yep)
326
  if yep == true then
327
    anim.Parent = human
328
    chr.Animate.Disabled = false
329
  elseif yep == false then
330
    chr.Animate.Disabled = true
331
    anim.Parent = nil
332
  end
333
end
334
animo(false)
335
function lerpz(joint, prop, cfrmz, alp)
336
  joint[prop] = joint[prop]:lerp(cfrmz, alp)
337
end
338
lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
339
lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
340
lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
341
lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
342
lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
343
lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
344
lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
345
lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
346
lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
347
lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
348
function resetlerp(whoever)
349
  if whoever == nil then
350
    RJ.C0 = RJC0
351
    RJ.C1 = RJC1
352
    N.C0 = NC0
353
    N.C1 = NC1
354
    RS.C0 = RSC0
355
    RS.C1 = RSC1
356
    LS.C0 = LSC0
357
    LS.C1 = LSC1
358
    RH.C0 = RHC0
359
    RH.C1 = RHC1
360
    LH.C0 = LHC0
361
    LH.C1 = LHC1
362
  elseif whoever ~= nil then
363
    nRJ.C0 = RJC0
364
    nRJ.C1 = RJC1
365
    nN.C0 = NC0
366
    nN.C1 = NC1
367
    nRS.C0 = RSC0
368
    nRS.C1 = RSC1
369
    nLS.C0 = LSC0
370
    nLS.C1 = LSC1
371
    nRH.C0 = RHC0
372
    nRH.C1 = RHC1
373
    nLH.C0 = LHC0
374
    nLH.C1 = LHC1
375
  end
376
end
377
378
---- Dio Hair
379
local pa = Instance.new("Part",chr)
380
pa.Name = "Hair"
381
pa.BrickColor = BrickColor.new("Bright yellow")
382
pa.Material = "Marble"
383
local me = Instance.new("SpecialMesh",pa)
384
me.MeshType = "FileMesh"
385
me.MeshId = "rbxassetid://5003099305"
386
me.Scale = Vector3.new(1,1,1)
387
local we = Instance.new("Weld")
388
we.Parent = pa
389
we.Part0 = hed
390
we.Part1 = pa
391
we.C1 = CFrame.new(0,0.3,-.25)
392
we.C0 = CFrame.Angles(0,0,0)
393
394
------Dio shirt/Pants
395
local sh = Instance.new("Shirt",chr)
396
sh.ShirtTemplate = "rbxassetid://3671483311"
397
398
local pan = Instance.new("Pants",chr)
399
pan.PantsTemplate = "rbxassetid://692871482"
400
401
------ end of dio 
402
function STANDO(cfr)
403
  local rooto = Instance.new("Part")
404
  nooutline(rooto)
405
  rooto.Name = "HumanoidRootPart"
406
  rooto.Anchored = true
407
  rooto.CFrame = cfr
408
  rooto.Size = Vector3.new(2, 2, 1)
409
  rooto.CanCollide = false
410
  rooto.Locked = true
411
  rooto.Transparency = 1
412
  rooto.Parent = ZaWarudo
413
  local head = Instance.new("Part")
414
  nooutline(head)
415
  head.Anchored = false
416
  head.CFrame = rooto.CFrame * CFrame.new(0, 1.5, 0)
417
  head.Size = Vector3.new(2, 1, 1)
418
  head.BrickColor = BrickColor.new("Lavender")
419
  head.CanCollide = false
420
  head.Name = "Head"
421
  head.Locked = true
422
  head.Transparency = 1
423
  head.Parent = ZaWarudo
424
  local headmesh = makemesh("Head", Vector3.new(1.25, 1.25, 1.25), nil, head)
425
  local headdecal = Instance.new("Decal")
426
  headdecal.Name = "face"
427
  headdecal.Texture = "rbxassetid://2700109225"
428
  headdecal.Face = "Front"
429
  headdecal.Transparency = 1
430
  headdecal.Parent = head
431
-------- Mask-ZaWarudo
432
local mp = Instance.new("Part",ZaWarudo)
433
mp.Name = "Mask"
434
mp.BrickColor = BrickColor.new("Black")
435
mp.Transparency = 1
436
mp.CanCollide = false
437
local mask = Instance.new("SpecialMesh",mp)
438
mask.MeshId = "rbxassetid://4994041038"
439
mask.MeshType = "FileMesh"
440
mask.Scale = Vector3.new(1, 1, 1)
441
local mw = Instance.new("Weld")
442
mw.Parent = mask
443
mw.Part0 = head
444
mw.Part1 = mp
445
mw.C1 = CFrame.new(0,-.3,-.1)
446
mw.C0 = CFrame.Angles(0,0,0)
447
448
local me = Instance.new("Part",ZaWarudo)
449
me.Name = "Eyes"
450
me.BrickColor = BrickColor.new("Black")
451
me.Transparency = 1
452
me.CanCollide = false
453
local eyes = Instance.new("SpecialMesh",me)
454
eyes.MeshId = "rbxassetid://4994051573"
455
eyes.TextureId = "rbxassetid://3103122741"
456
eyes.MeshType = "FileMesh"
457
eyes.Scale = Vector3.new(1, 1, 1)
458
local mew = Instance.new("Weld")
459
mew.Parent = eyes
460
mew.Part0 = head
461
mew.Part1 = me
462
mew.C1 = CFrame.new(0,-.1,0.3)
463
mew.C0 = CFrame.Angles(0,0,0)
464
465
466
  local torso = Instance.new("Part")
467
  nooutline(torso)
468
  torso.Name = "Torso"
469
  torso.Anchored = false
470
  torso.CFrame = rooto.CFrame * CFrame.new(0, 0, 0)
471
  torso.Size = Vector3.new(2, 1, 1)
472
  torso.BrickColor = BrickColor.new("Lavender")
473
  torso.CanCollide = false
474
  torso.Transparency = 1
475
  torso.Locked = true
476
  torso.Parent = ZaWarudo
477
  local torsomesh = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxasset://fonts/torso.mesh", torso)
478
479
  local leftarm = Instance.new("Part")
480
  nooutline(leftarm)
481
  leftarm.Anchored = false
482
  leftarm.Name = "Left Arm"
483
  leftarm.CFrame = rooto.CFrame * CFrame.new(1.5, 0, 0)
484
  leftarm.Size = Vector3.new(1, 2, 1)
485
  leftarm.BrickColor = BrickColor.new("Lavender")
486
  leftarm.CanCollide = false
487
  leftarm.Transparency = 1
488
  leftarm.Locked = true
489
  leftarm.Parent = ZaWarudo
490
  local leftarmmesh = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxasset://fonts/leftarm.mesh", leftarm)
491
492
  local rightarm = Instance.new("Part")
493
  nooutline(rightarm)
494
  rightarm.Anchored = false
495
  rightarm.CFrame = rooto.CFrame * CFrame.new(-1.5, 0, 0)
496
  rightarm.Name = "Right Arm"
497
  rightarm.Size = Vector3.new(1, 2, 1)
498
  rightarm.BrickColor = BrickColor.new("Lavender")
499
  rightarm.CanCollide = false
500
  rightarm.Locked = true
501
  rightarm.Transparency = 1
502
  rightarm.Parent = ZaWarudo
503
  local rightarmmesh = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxasset://fonts/rightarm.mesh", rightarm)
504
505
  local leftleg = Instance.new("Part")
506
  nooutline(leftleg)
507
  leftleg.Anchored = false
508
  leftleg.CFrame = rooto.CFrame * CFrame.new(1.5, -1.5, 0)
509
  leftleg.Name = "Left Leg"
510
  leftleg.Size = Vector3.new(1, 2, 1)
511
  leftleg.BrickColor = BrickColor.new("Lavender")
512
  leftleg.CanCollide = false
513
  leftleg.Transparency = 1
514
  leftleg.Locked = true
515
  leftleg.Parent = ZaWarudo
516
  local leftlegmesh = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxasset://fonts/leftleg.mesh", leftleg)
517
518
  local rightleg = Instance.new("Part")
519
  nooutline(rightleg)
520
  rightleg.Anchored = false
521
  rightleg.CFrame = rooto.CFrame * CFrame.new(-1.5, -1.5, 0)
522
  rightleg.Name = "Right Leg"
523
  rightleg.Size = Vector3.new(1, 2, 1)
524
  rightleg.BrickColor = BrickColor.new("Lavender")
525
  rightleg.CanCollide = false
526
  rightleg.Locked = true
527
  rightleg.Transparency = 1
528
  rightleg.Parent = ZaWarudo
529
  local rightlegmesh = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxasset://fonts/rightleg.mesh", rightleg)
530
531
532
533
--------------------
534
535
  local rootweld = makemotor(rooto, rooto, torso, RJC0, RJC1)
536
  rootweld.Name = "RootJoint"
537
  local neckweld = makemotor(torso, torso, head, NC0, NC1)
538
  neckweld.Name = "Neck"
539
  local rshoulderweld = makemotor(torso, torso, rightarm, RSC0, RSC1)
540
  rshoulderweld.Name = "Right Shoulder"
541
  local lshoulderweld = makemotor(torso, torso, leftarm, LSC0, LSC1)
542
  lshoulderweld.Name = "Left Shoulder"
543
  local rhipweld = makemotor(torso, torso, rightleg, RHC0, RHC1)
544
  rhipweld.Name = "Right Hip"
545
  local lhipweld = makemotor(torso, torso, leftleg, LHC0, LHC1)
546
  lhipweld.Name = "Left Hip"
547
  local pa1 = Instance.new("Part")
548
549
 
550
 local raemblem = Instance.new("Part")
551
  nooutline(raemblem)
552
  raemblem.Anchored = false
553
  raemblem.CFrame = rooto.CFrame * CFrame.new(0, 2, 1)
554
  raemblem.Name = "raemblem"
555
  raemblem.Size = Vector3.new(0.2, 0.2, 0.2)
556
  raemblem.BrickColor = BrickColor.new("Black")
557
  raemblem.CanCollide = false
558
  raemblem.Locked = true
559
  raemblem.Material = "SmoothPlastic"
560
  raemblem.Transparency = 1
561
  raemblem.Parent = ZaWarudo
562
  local raemblemm = makemesh("Brick", Vector3.new(0, 3, 3), nil, raemblem)
563
  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))
564
  local emmes = Instance.new("Decal")
565
  emmes.Texture = "rbxassetid://0"
566
  emmes.Transparency = 1
567
  emmes.Face = "Right"
568
  emmes.Name = "embe"
569
  emmes.Parent = raemblem
570
571
   local tors1 = Instance.new("Part")
572
  nooutline(tors1)
573
  tors1.Anchored = false
574
  tors1.CFrame = rooto.CFrame * CFrame.new(0, 2, 1)
575
  tors1.Name = "ra1"
576
  tors1.Size = Vector3.new(1,1,1)
577
  tors1.BrickColor = BrickColor.new("Black")
578
  tors1.CanCollide = false
579
  tors1.Locked = true
580
  tors1.Transparency = 1
581
  tors1.Parent = ZaWarudo
582
  local tors1m = makemesh("FileMesh", Vector3.new(1,1,1), "rbxassetid://4994003907", tors1)
583
  local tors1w = makemotor(tors1, tors1, torso, ang(rd(0), rd(0), rd(0)) * cf(0, 0, -0.2), ang(rd(0), 0, 0))
584
585
   local arm1 = Instance.new("Part")
586
  nooutline(arm1)
587
  arm1.Anchored = false
588
  arm1.CFrame = rooto.CFrame * CFrame.new(0, 2, 1)
589
  arm1.Name = "arm1"
590
  arm1.Size = Vector3.new(1,1,1)
591
  arm1.BrickColor = BrickColor.new("Black")
592
  arm1.CanCollide = false
593
  arm1.Locked = true
594
  arm1.Transparency = 1
595
  arm1.Parent = ZaWarudo
596
  local arm1m = makemesh("FileMesh", Vector3.new(1,1,1), "rbxassetid://5000261637", arm1)
597
  local arm1w = makemotor(arm1, arm1, leftarm, ang(rd(0), rd(0), rd(0)) * cf(0, 0, 0), ang(rd(0), 0, 0))
598
599
   local arm2 = Instance.new("Part")
600
  nooutline(arm2)
601
  arm2.Anchored = false
602
  arm2.CFrame = rooto.CFrame * CFrame.new(0, 2, 1)
603
  arm2.Name = "arm2"
604
  arm2.Size = Vector3.new(1,1,1)
605
  arm2.BrickColor = BrickColor.new("Black")
606
  arm2.CanCollide = false
607
  arm2.Locked = true
608
  arm2.Transparency = 1
609
  arm2.Parent = ZaWarudo
610
  local arm2m = makemesh("FileMesh", Vector3.new(1,1,1), "rbxassetid://5000268075", arm2)
611
  local arm2w = makemotor(arm2, arm2, rightarm, ang(rd(0), rd(0), rd(0)) * cf(0, 0, 0), ang(rd(0), 0, 0))
612
613
   local leg1 = Instance.new("Part")
614
  nooutline(leg1)
615
  leg1.Anchored = false
616
  leg1.CFrame = rooto.CFrame * CFrame.new(0, 2, 1)
617
  leg1.Name = "leg1"
618
  leg1.Size = Vector3.new(1,1,1)
619
  leg1.BrickColor = BrickColor.new("Black")
620
  leg1.CanCollide = false
621
  leg1.Locked = true
622
  leg1.Transparency = 1
623
  leg1.Parent = ZaWarudo
624
  local leg1m = makemesh("FileMesh", Vector3.new(1,1,1), "rbxassetid://5000274561", leg1)
625
  local leg1w = makemotor(leg1, leg1, leftleg, ang(rd(0), rd(0), rd(0)) * cf(0.1, 0, 0), ang(rd(0), 0, 0))
626
627
   local leg2 = Instance.new("Part")
628
  nooutline(leg2)
629
  leg2.Anchored = false
630
  leg2.CFrame = rooto.CFrame * CFrame.new(0, 2, 1)
631
  leg2.Name = "leg2"
632
  leg2.Size = Vector3.new(1,1,1)
633
  leg2.BrickColor = BrickColor.new("Black")
634
  leg2.CanCollide = false
635
  leg2.Locked = true
636
  leg2.Transparency = 1
637
  leg2.Parent = ZaWarudo
638
  local leg2m = makemesh("FileMesh", Vector3.new(1,1,1), "rbxassetid://5000294658", leg2)
639
  local leg2w = makemotor(leg2, leg2, rightleg, ang(rd(0), rd(0), rd(0)) * cf(-.1, 0, 0), ang(rd(0), 0, 0))
640
 
641
  return ZaWarudo
642
end
643
local thenoob = STANDO(hrp.CFrame * CFrame.new(0, 0, 0))
644
coroutine.resume(coroutine.create(function()
645
  local rot = thenoob.HumanoidRootPart
646
  repeat
647
    swait()
648
    rot.CFrame = rot.CFrame:lerp(wherto.CFrame * addcfr, 0.5)
649
  until rot == nil
650
end))
651
local rot = thenoob.HumanoidRootPart
652
local ntorso = thenoob:FindFirstChild("Torso")
653
local rightarm = thenoob:FindFirstChild("Right Arm")
654
local leftarm = thenoob:FindFirstChild("Left Arm")
655
local leftleg = thenoob:FindFirstChild("Left Leg")
656
local rightleg = thenoob:FindFirstChild("Right Leg")
657
local head = thenoob:FindFirstChild("Head")
658
local face = head:FindFirstChild("face")
659
local emblem = thenoob:FindFirstChild("raemblem"):FindFirstChild("embe")
660
local embpart = thenoob:FindFirstChild("raemblem")
661
local nRJ = rot:FindFirstChild("RootJoint")
662
local nN = ntorso:FindFirstChild("Neck")
663
local nRS = ntorso:FindFirstChild("Right Shoulder")
664
local nLS = ntorso:FindFirstChild("Left Shoulder")
665
local nRH = ntorso:FindFirstChild("Right Hip")
666
local nLH = ntorso:FindFirstChild("Left Hip")
667
function standappear(nbz)
668
  if selected == false or activu == true then
669
    return
670
  end
671
  if appeared == false then
672
    appeared = true
673
    wherto = hrp
674
    addcfr = cf(-2, 1, 2)
675
    local apear = Instance.new("Sound")
676
    apear.SoundId = "rbxassetid://4930468673"
677
    apear.Parent = rot
678
    apear.Volume = 5.25
679
    game.Debris:AddItem(apear, 1.5)
680
    apear:Play()
681
    for _, n in pairs(nbz:GetChildren()) do
682
      coroutine.resume(coroutine.create(function()
683
        for _ = 1, 5 do
684
          if n ~= rot and n ~= embpart and n.ClassName ~= "Sound" then
685
            swait()
686
            n.Transparency = n.Transparency - 0.2
687
            face.Transparency = face.Transparency - 0.2
688
            emblem.Transparency = emblem.Transparency - 0.2
689
          end
690
        end
691
        if n ~= rot and n ~= embpart then
692
          n.Transparency = 0
693
        end
694
        face.Transparency = 0
695
        emblem.Transparency = 0
696
      end))
697
    end
698
  elseif appeared == true then
699
    appeared = false
700
    wherto = hrp
701
    addcfr = cf(0, 0, 0)
702
    for _, n in pairs(nbz:GetChildren()) do
703
      coroutine.resume(coroutine.create(function()
704
        for _ = 1, 5 do
705
          if n ~= rot and n ~= embpart then
706
            swait()
707
            n.Transparency = n.Transparency + 0.2
708
            face.Transparency = face.Transparency + 0.2
709
            emblem.Transparency = emblem.Transparency + 0.2
710
711
          end
712
        end
713
        if n ~= rot and n ~= embpart then
714
          n.Transparency = 1
715
        end
716
        face.Transparency = 1
717
        emblem.Transparency = 1
718
719
      end))
720
    end
721
  end
722
end
723
function quickhit()
724
  if selected == false or activu == true then
725
    return
726
  end
727
  if appeared == false then
728
    standappear(thenoob)
729
730
    wherto = hrp
731
    addcfr = cf(2, 1, 2)
732
  end
733
  cancarry = false
734
  activu = true
735
  wherto = hrp
736
  addcfr = cf(0, 0, -3.5)
737
  local ZAWRU = Instance.new("Sound")
738
  ZAWRU.SoundId = "rbxassetid://2553983089"
739
  ZAWRU.TimePosition = 0
740
  ZAWRU.Volume = 3
741
  ZAWRU.Parent = hrp
742
  ZAWRU:Play() 
743
  local pooo = Instance.new("Sound")
744
  pooo.SoundId = "rbxassetid://0"
745
  pooo.Pitch = 1.5
746
  pooo.Volume = 5
747
  pooo.Parent = hrp
748
  pooo:Play()
749
  game.Debris:AddItem(pooo, 2.5)
750
  for _ = 1, 7 do
751
    swait(5)
752
    lerpz(nRJ, "C0", RJC0 * cf(0, 1.25, 0) * ang(rd(0), rd(4), rd(-85)), 0.75)
753
    lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(3), rd(75)), 0.75)
754
    lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(100)), 0.75)
755
    lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
756
    lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.75)
757
    lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
758
    lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.75)
759
    lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
760
    lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.75)
761
    lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
762
  end
763
  for _ = 1, 8 do
764
    swait()
765
    hitoof(rightarm, 3, 20, 0.35, rot.CFrame.lookVector * 450)
766
    lerpz(nRJ, "C0", RJC0 * cf(0, -1, 0) * ang(rd(0), rd(10), rd(75)), 0.75)
767
    lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(-7), rd(-65)), 0.75)
768
    lerpz(nRS, "C0", RSC0 * cf(0.75, 0, 0.25) * ang(rd(10), rd(-60), rd(100)), 0.75)
769
    lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(50), rd(0)), 0.75)
770
    lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.75)
771
    lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
772
    lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.75)
773
    lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
774
    lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.75)
775
    lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
776
  end
777
  swait(250)
778
  wherto = hrp
779
  addcfr = cf(-2, 1, 2)
780
  activu = false
781
end
782
function THREATENING()
783
  if selected == false  and cancarry == true then
784
    return
785
  end
786
  if POSU == false then
787
	activu = true
788
	cancarry = false
789
	addcfr = cf(0, 0, 2)
790
    POSU = true
791
    human.WalkSpeed = 0
792
    local d = Instance.new("ParticleEmitter")
793
    d.Name = "MENACINGU"
794
    d.Lifetime = NumberRange.new(1)
795
    d.Rate = 2
796
    d.Texture = "rbxassetid://298768656"
797
    d.VelocitySpread = 60
798
    d.Parent = tors
799
    human:SetStateEnabled(3, false)
800
    local randomoth = math.random(1, 2)
801
    if randomoth == 1 then
802
      repeat
803
        swait()
804
        lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.05) * ang(rd(-5), rd(0), rd(-30)), 0.3)
805
        lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(30)), 0.3)
806
        lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-20), rd(-20), rd(-5)), 0.3)
807
        lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
808
        lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(140), rd(-70), rd(-50)), 0.3)
809
        lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
810
        lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(-30), rd(10)), 0.3)
811
        lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
812
        lerpz(LH, "C0", LHC0 * cf(0.3, 0.1, -0.15) * ang(rd(-20), rd(50), rd(10)), 0.3)
813
        lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-10)), 0.3)
814
815
        lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(-2), rd(150)), 0.3)
816
        lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(6), rd(0), rd(50)), 0.3)
817
        lerpz(nRS, "C0", RSC0 * cf(0, 0, -0.125) * ang(rd(-0), rd(80), rd(85)), 0.3)
818
        lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
819
        lerpz(nLS, "C0", LSC0 * cf(-0.1, 0, -0.50) * ang(rd(-0.1), rd(-80), rd(-85)), 0.3)
820
        lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
821
        lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
822
        lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
823
        lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
824
        lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
825
826
827
      until POSU == false
828
    elseif randomoth == 2 then
829
      repeat
830
        swait()
831
      lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(-5)), 0.4)
832
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(15), rd(8), rd(0)), 0.3)
833
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(10), rd(-80), rd(80)), 0.3)
834
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
835
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(10), rd(80), rd(-70)), 0.3)
836
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
837
      lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-15)), 0.3)
838
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
839
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(15)), 0.3)
840
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
841
842
      lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(-5)), 0.4)
843
      lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(15), rd(8), rd(0)), 0.3)
844
      lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(10), rd(-80), rd(80)), 0.3)
845
      lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
846
      lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(10), rd(80), rd(-70)), 0.3)
847
      lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
848
      lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-15)), 0.3)
849
      lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
850
      lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(15)), 0.3)
851
      lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
852
      until POSU == false
853
    end
854
  elseif POSU == true then
855
    POSU = false
856
    addcfr = cf(-2, 1, 2)
857
    human.WalkSpeed = 25
858
    human:SetStateEnabled(3, true)
859
    frame = 0.03333333333333333
860
    tors.MENACINGU:Destroy()
861
    activu = true
862
    activu = false
863
    cancarry = true
864
  end
865
end
866
local EHMMM = 0
867
function block()
868
  if EHMMM == 50 or selected == false or activu == true then
869
    return
870
  end
871
  if appeared == false then
872
    standappear(thenoob)
873
  end
874
  wherto = hrp
875
  addcfr = cf(0, 0, -3)
876
  local bep = true
877
  local humanshealth = human.Health
878
  activu = true
879
  human:SetStateEnabled(15, false)
880
  local de = mouse.KeyUp:connect(function(key)
881
    if key == "e" then
882
      bep = false
883
    end
884
  end)
885
  local poopes = 0
886
  repeat
887
    swait()
888
    poopes = poopes + 1
889
    human.Health = humanshealth
890
    lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(2), rd(0), rd(0)), 0.5)
891
    lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(7), rd(0), rd(0)), 0.5)
892
    lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(110), rd(160)), 0.5)
893
    lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.5)
894
    lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-110), rd(-160)), 0.5)
895
    lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.5)
896
    lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
897
    lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
898
    lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
899
    lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
900
  until bep == false or poopes > 240
901
  de:Disconnect()
902
  human:SetStateEnabled(15, true)
903
  activu = false
904
  EHMMM = 50
905
  coroutine.resume(coroutine.create(function()
906
    wait(7)
907
    EHMMM = 0
908
  end))
909
  wherto = hrp
910
  addcfr = cf(-2, 1, 2)
911
end
912
function MUDA()
913
  if selected == false or activu == true then
914
    return
915
  end
916
  if appeared == false then
917
    standappear(thenoob)
918
    wherto = hrp
919
    addcfr = cf(0, 0, -3.5)
920
  end
921
  wry:Stop()
922
  local bep = true
923
  activu = true
924
  wherto = hrp
925
  addcfr = cf(0, 0, -3.5)
926
  local function blur(limb)
927
    coroutine.resume(coroutine.create(function()
928
      local memedon = {}
929
      for i = 1, 6 do
930
        local b1 = Instance.new("Part")
931
        nooutline(b1)
932
        b1.Size = Vector3.new(1, 2, 1)
933
        b1.CFrame = limb.CFrame * CFrame.new(rd2(-5, 5) / 10, rd2(-5, 5) / 10, rd2(-5, 5) / 10)
934
        b1.CanCollide = false
935
        b1.BrickColor = limb.BrickColor
936
        b1.Anchored = true
937
        b1.Transparency = 0.7
938
        b1.Locked = true
939
        b1.Parent = modz
940
        table.insert(memedon, b1)
941
      end
942
      local num = 0
943
      repeat
944
        swait()
945
        num = num % 6 + 1
946
        memedon[num].CFrame = limb.CFrame * CFrame.new(rd2(-5, 5) / 10, rd2(-5, 5) / 10, rd2(-5, 5) / 10)
947
      until bep == false
948
      for i = 1, #memedon do
949
        swait()
950
        memedon[i]:Destroy()
951
      end
952
    end))
953
  end
954
  local de = mouse.KeyUp:connect(function(key)
955
    if key == "r" then
956
      bep = false
957
    end
958
  end)
959
  blur(rightarm)
960
  blur(leftarm)
961
local mudodo = Instance.new("Sound")
962
  mudodo.Volume = 7.5
963
  mudodo.SoundId = "rbxassetid://3392300106"
964
mudodo.Looped = true
965
  mudodo.Parent = hrp
966
  mudodo:Play()
967
  repeat
968
    for _ = 1, 2 do
969
      swait()
970
      lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(4), rd(4), rd(30)), 0.85)
971
      lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(0), rd(-28)), 0.85)
972
      lerpz(nRS, "C0", RSC0 * cf(0.5, 0.25, -0.1) * ang(rd(20), rd(20), rd(105)), 0.85)
973
      lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
974
      lerpz(nLS, "C0", LSC0 * cf(0.25, 0.1, 0) * ang(rd(30), rd(10), rd(-70)), 0.85)
975
      lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
976
      lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.85)
977
      lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
978
      lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.85)
979
      lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
980
    end
981
    hito(rightarm, 3.3, 5, 0.01, rot.CFrame.lookVector * 5)
982
    for _ = 1, 2 do
983
      swait()
984
      lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(5), rd(2), rd(-30)), 0.85)
985
      lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(2), rd(0), rd(31)), 0.85)
986
      lerpz(nRS, "C0", RSC0 * cf(-0.1, 0.05, -0.1) * ang(rd(-10), rd(-30), rd(75)), 0.85)
987
      lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
988
      lerpz(nLS, "C0", LSC0 * cf(-0.5, 0.1, -0.2) * ang(rd(-30), rd(10), rd(-70)), 0.85)
989
      lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
990
      lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.85)
991
      lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
992
      lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.85)
993
      lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
994
    end
995
    hito(leftarm, 3.3, 5, 0.01, rot.CFrame.lookVector * 5)
996
    for _ = 1, 2 do
997
      swait()
998
      lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(3), rd(3), rd(32)), 0.85)
999
      lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(0), rd(-29)), 0.85)
1000
      lerpz(nRS, "C0", RSC0 * cf(0.35, 0.25, 0.1) * ang(rd(-10), rd(-20), rd(95)), 0.85)
1001
      lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
1002
      lerpz(nLS, "C0", LSC0 * cf(0.25, 0.1, 0) * ang(rd(-10), rd(10), rd(-80)), 0.85)
1003
      lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
1004
      lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.85)
1005
      lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
1006
      lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.85)
1007
      lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
1008
    end
1009
    hito(rightarm, 3.3, 5, 0.01, rot.CFrame.lookVector * 5)
1010
    for _ = 1, 2 do
1011
      swait()
1012
      lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-10), rd(3), rd(-40)), 0.85)
1013
      lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(-2), rd(35)), 0.85)
1014
      lerpz(nRS, "C0", RSC0 * cf(-0.1, 0.05, -0.1) * ang(rd(20), rd(-30), rd(65)), 0.85)
1015
      lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
1016
      lerpz(nLS, "C0", LSC0 * cf(-0.5, 0.1, -0.2) * ang(rd(-30), rd(30), rd(-75)), 0.85)
1017
      lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
1018
      lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.85)
1019
      lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
1020
      lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.85)
1021
      lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
1022
    end
1023
    hito(leftarm, 3.3, 5, 0.01, rot.CFrame.lookVector * 5)
1024
  until bep == false or 0 >= human.Health
1025
  de:Disconnect()
1026
mudodo:Stop()
1027
  wry:Play()
1028
  for _ = 1, 6 do
1029
    swait()
1030
    lerpz(nRJ, "C0", RJC0 * cf(0, 1.25, 0) * ang(rd(0), rd(4), rd(-85)), 0.75)
1031
    lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(3), rd(75)), 0.75)
1032
    lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(100)), 0.75)
1033
    lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
1034
    lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.75)
1035
    lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
1036
    lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.75)
1037
    lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
1038
    lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.75)
1039
    lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
1040
  end
1041
  for _ = 1, 7 do
1042
    swait()
1043
    hito(rightarm, 3, 20, 0.35, rot.CFrame.lookVector * 50)
1044
    lerpz(nRJ, "C0", RJC0 * cf(0, -1, 0) * ang(rd(0), rd(10), rd(75)), 0.75)
1045
    lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(-7), rd(-65)), 0.75)
1046
    lerpz(nRS, "C0", RSC0 * cf(0.75, 0, 0.25) * ang(rd(10), rd(-60), rd(100)), 0.75)
1047
    lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.75)
1048
    lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.75)
1049
    lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
1050
    lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.75)
1051
    lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
1052
    lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.75)
1053
    lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
1054
  end
1055
  swait(5)
1056
  wherto = hrp
1057
mudodo:Destroy()
1058
  addcfr = cf(-2, 1, 2)
1059
  activu = false
1060
end
1061
function cability()
1062
  if selected == false or activu == true then
1063
    return
1064
  end
1065
  if appeared == false then
1066
    standappear(thenoob)
1067
    wherto = hrp
1068
    addcfr = cf(0, 0, -3.75)
1069
  end
1070
  activu = true
1071
  wherto = hrp
1072
  addcfr = cf(0, 0, -3.5)
1073
  local ZAWRUA = Instance.new("Sound")
1074
  ZAWRUA.SoundId = "rbxassetid://4142809172"
1075
  ZAWRUA.Volume = 3
1076
  ZAWRUA.Parent = hrp
1077
  ZAWRUA:Play()
1078
  game.Debris:AddItem(ZAWRUA, 2.5)
1079
  local wate = Instance.new("Part")
1080
  nooutline(wate)
1081
  wate.Size = Vector3.new(0.2, 0.2, 0.2)
1082
  wate.Material = "Neon"
1083
  wate.Transparency = 1
1084
  wate.BrickColor = BrickColor.new("New Yeller")
1085
  wate.CFrame = rightarm.CFrame * cf(0, -1.5, 0)
1086
  wate.Anchored = true
1087
  wate.CanCollide = false
1088
  wate.Parent = modz
1089
  local wmesh = makemesh("Sphere", Vector3.new(5, 5, 5), nil, wate)
1090
  coroutine.resume(coroutine.create(function()
1091
    repeat
1092
      swait()
1093
      wate.CFrame = rightarm.CFrame * cf(0, -1, 0)
1094
      wmesh.Scale = wmesh.Scale:lerp(Vector3.new(10, 10, 10), 0.5)
1095
    until not wate
1096
  end))
1097
  coroutine.resume(coroutine.create(function()
1098
    local pt = {}
1099
    for _ = 1, 10 do
1100
      local wp = Instance.new("Part")
1101
      nooutline(wp)
1102
      wp.Size = Vector3.new(0.2, 0.2, 0.2)
1103
      wp.Material = "Neon"
1104
      wp.Transparency = 1
1105
      wp.BrickColor = BrickColor.new("New Yeller")
1106
      wp.CFrame = wate.CFrame * ang(rd2(-100, 100) / 1000, rd2(-100, 100) / 1000, rd2(-100, 100) / 1000) * cf(0, -0.25, 0)
1107
      wp.Anchored = true
1108
      wp.CanCollide = false
1109
      wp.Parent = modz
1110
      local wmz = makemesh("Sphere", Vector3.new(0.5, 2, 0.5), nil, wp)
1111
      table.insert(pt, wp)
1112
      table.insert(pt, wmz)
1113
    end
1114
    for m = 1, 45 do
1115
      swait()
1116
      for _, hey in pairs(pt) do
1117
        if hey.ClassName == "SpecialMesh" then
1118
          hey.Scale = hey.Scale + Vector3.new(0.005, 0.04, 0.005)
1119
        elseif hey.ClassName == "Part" then
1120
          hey.CFrame = wate.CFrame * ang(rd(rd2(-360, 360)), rd(rd2(-360, 360)), rd(rd2(-360, 360))) * cf(0, -m / 25, 0)
1121
          hey.Transparency = hey.Transparency - 0.015
1122
        end
1123
      end
1124
    end
1125
    for m = 45, 50 do
1126
      swait()
1127
      for _, hey in pairs(pt) do
1128
        if hey.ClassName == "SpecialMesh" then
1129
          hey.Scale = hey.Scale + Vector3.new(0.025, 0.08, 0.025)
1130
        elseif hey.ClassName == "Part" then
1131
          hey.CFrame = wate.CFrame * ang(rd(rd2(-360, 360)), rd(rd2(-360, 360)), rd(rd2(-360, 360))) * cf(0, -m / 25, 0)
1132
          hey.Transparency = hey.Transparency + 0.2
1133
        end
1134
      end
1135
    end
1136
    for _, AAA in pairs(pt) do
1137
      if AAA.ClassName == "Part" then
1138
        AAA:Destroy()
1139
      end
1140
    end
1141
  end))
1142
  for _ = 1, 50 do
1143
    swait()
1144
    wmesh.Scale = Vector3.new(9, 9, 9)
1145
    wate.Transparency = wate.Transparency - 0.008
1146
    lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(4), rd(-125)), 0.2)
1147
    lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(3), rd(115)), 0.2)
1148
    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)
1149
    lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
1150
    lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.2)
1151
    lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
1152
    lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.2)
1153
    lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
1154
    lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.2)
1155
    lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
1156
  end
1157
  local pooo = Instance.new("Sound")
1158
  pooo.SoundId = "rbxassetid://1074184175"
1159
  pooo.Volume = 3
1160
  pooo.Parent = hrp
1161
  pooo:Play()
1162
  game.Debris:AddItem(pooo, 2.5)
1163
  for _ = 1, 1 do
1164
    swait()
1165
    wate.Transparency = wate.Transparency + 0.15
1166
    lerpz(nRJ, "C0", RJC0 * cf(0, -2, 0) * ang(rd(0), rd(10), rd(35)), 0.5)
1167
    lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(-7), rd(-30)), 0.5)
1168
    lerpz(nRS, "C0", RSC0 * cf(0.75, 0, 0.25) * ang(rd(10), rd(-80), rd(100)), 0.5)
1169
    lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.5)
1170
    lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.5)
1171
    lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
1172
    lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.5)
1173
    lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
1174
    lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.5)
1175
    lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
1176
  end
1177
  local swoo = Instance.new("Part")
1178
  nooutline(swoo)
1179
  swoo.Size = Vector3.new(0.2, 0.2, 0.2)
1180
  swoo.Material = "Neon"
1181
  swoo.Transparency = 0.2
1182
  swoo.BrickColor = BrickColor.new("Neon orange")
1183
  swoo.CFrame = rightarm.CFrame * ang(rd(0), rd(-15), rd(240)) * cf(1.5, -2.5, 0)
1184
  swoo.Anchored = true
1185
  swoo.CanCollide = false
1186
  swoo.Parent = modz
1187
  local wmesh = makemesh("FileMesh", Vector3.new(0.013333333333333334, 0.015384615384615385, 0.025), "rbxassetid://576041905", swoo)
1188
  local pli = Instance.new("PointLight")
1189
  pli.Brightness = 2
1190
  pli.Color = Color3.new(0.45098039215686275, 1, 0)
1191
  pli.Range = 10
1192
  pli.Shadows = true
1193
  pli.Parent = swoo
1194
  hito(swoo, 5, 40, 0.15, rot.CFrame.lookVector * 80)
1195
  for _ = 1, 10 do
1196
    swait()
1197
    wate.Transparency = wate.Transparency + 0.05
1198
    swoo.Transparency = swoo.Transparency + 0.075
1199
    pli.Range = pli.Range - 1
1200
    lerpz(nRJ, "C0", RJC0 * cf(0, -3, 0) * ang(rd(0), rd(10), rd(105)), 0.5)
1201
    lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(-7), rd(-65)), 0.5)
1202
    lerpz(nRS, "C0", RSC0 * cf(0.75, 0, 0.25) * ang(rd(10), rd(-30), rd(100)), 0.5)
1203
    lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.5)
1204
    lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.5)
1205
    lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
1206
    lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.5)
1207
    lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
1208
    lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.5)
1209
    lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
1210
  end
1211
  wate:Destroy()
1212
  swoo:Destroy()
1213
  pli:Destroy()
1214
  swait(15)
1215
  wherto = hrp
1216
  addcfr = cf(-2, 1, 2)
1217
  activu = false
1218
end
1219
game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=188959462")
1220
game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=616594208")
1221
game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=616576400")
1222
game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=291088606")
1223
function ragdollkill(character)
1224
	local victimshumanoid = character:findFirstChildOfClass("Humanoid")
1225
	if not character:findFirstChild("UpperTorso") then
1226
		character.Archivable = true
1227
		for i,v in pairs(character:GetChildren()) do
1228
			if v.ClassName == "Sound" then
1229
				v:remove()
1230
			end
1231
			for q,w in pairs(v:GetChildren()) do
1232
				if w.ClassName == "Sound" then
1233
					w:remove()
1234
				end
1235
			end
1236
		end
1237
		local ragdoll = character:Clone()
1238
		ragdoll:findFirstChildOfClass("Humanoid").Health = 0
1239
		if ragdoll:findFirstChild("Head") then
1240
			local velo = Instance.new("BodyVelocity", ragdoll.Head)
1241
			velo.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
1242
			velo.Velocity = Vector3.new(0,300,0)
1243
			game.Debris:AddItem(velo,0.2)
1244
		end
1245
		if ragdoll:findFirstChild("Health") then
1246
			if ragdoll:findFirstChild("Health").ClassName == "Script" then
1247
				ragdoll:findFirstChild("Health").Disabled = true
1248
			end
1249
		end
1250
		for i,v in pairs(character:GetChildren()) do
1251
			if v.ClassName == "Part" or v.ClassName == "ForceField" or v.ClassName == "Accessory" or v.ClassName == "Hat" then
1252
				v:destroy()
1253
			end
1254
		end
1255
		for i,v in pairs(character:GetChildren()) do
1256
			if v.ClassName == "Accessory" then
1257
				local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
1258
				if attachment1 then
1259
					for q,w in pairs(character:GetChildren()) do
1260
						if w.ClassName == "Part" then
1261
							local attachment2 = w:findFirstChild(attachment1.Name)
1262
							if attachment2 then
1263
								local hinge = Instance.new("HingeConstraint", v.Handle)
1264
								hinge.Attachment0 = attachment1
1265
								hinge.Attachment1 = attachment2
1266
								hinge.LimitsEnabled = true
1267
								hinge.LowerAngle = 0
1268
								hinge.UpperAngle = 0
1269
							end
1270
						end
1271
					end
1272
				end
1273
			end
1274
		end
1275
		ragdoll.Parent = workspace
1276
		if ragdoll:findFirstChild("Right Arm") then
1277
			local glue = Instance.new("Glue", ragdoll.Torso)
1278
			glue.Part0 = ragdoll.Torso
1279
			glue.Part1 = ragdoll:findFirstChild("Right Arm")
1280
			glue.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
1281
			glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
1282
			local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Right Arm"))
1283
			limbcollider.Size = Vector3.new(1,1.4,1)
1284
			limbcollider.Transparency = 1
1285-
        TakeDamage(humz, dmg * 4.6)
1285+
			limbcollider.Name = "LimbCollider"
1286
			local limbcolliderweld = Instance.new("Weld", limbcollider)
1287
			limbcolliderweld.Part0 = ragdoll:findFirstChild("Right Arm")
1288
			limbcolliderweld.Part1 = limbcollider
1289
			limbcolliderweld.C0 = CFrame.new(0,-0.4,0)
1290
		end
1291
		if ragdoll:findFirstChild("Left Arm") then
1292
			local glue = Instance.new("Glue", ragdoll.Torso)
1293
			glue.Part0 = ragdoll.Torso
1294
			glue.Part1 = ragdoll:findFirstChild("Left Arm")
1295
			glue.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
1296
			glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
1297
			local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Left Arm"))
1298
			limbcollider.Size = Vector3.new(1,1.4,1)
1299
			limbcollider.Name = "LimbCollider"
1300
			limbcollider.Transparency = 1
1301
			local limbcolliderweld = Instance.new("Weld", limbcollider)
1302
			limbcolliderweld.Part0 = ragdoll:findFirstChild("Left Arm")
1303
			limbcolliderweld.Part1 = limbcollider
1304
			limbcolliderweld.C0 = CFrame.new(0,-0.4,0)
1305
		end
1306
		if ragdoll:findFirstChild("Left Leg") then
1307
			local glue = Instance.new("Glue", ragdoll.Torso)
1308
			glue.Part0 = ragdoll.Torso
1309
			glue.Part1 = ragdoll:findFirstChild("Left Leg")
1310
			glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
1311
			glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
1312
			local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Left Leg"))
1313
			limbcollider.Size = Vector3.new(1,1.4,1)
1314
			limbcollider.Shape = "Cylinder"
1315
			limbcollider.Name = "LimbCollider"
1316
			limbcollider.Transparency = 1
1317
			local limbcolliderweld = Instance.new("Weld", limbcollider)
1318
			limbcolliderweld.Part0 = ragdoll:findFirstChild("Left Leg")
1319
			limbcolliderweld.Part1 = limbcollider
1320
			limbcolliderweld.C0 = CFrame.new(0,-0.4,0)
1321
		end
1322
		if ragdoll:findFirstChild("Right Leg") then
1323
			local glue = Instance.new("Glue", ragdoll.Torso)
1324
			glue.Part0 = ragdoll.Torso
1325
			glue.Part1 = ragdoll:findFirstChild("Right Leg")
1326
			glue.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
1327
			glue.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
1328
			local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Right Leg"))
1329
			limbcollider.Size = Vector3.new(1,1.4,1)
1330
			limbcollider.Shape = "Cylinder"
1331
			limbcollider.Name = "LimbCollider"
1332
			limbcollider.Transparency = 1
1333
			local limbcolliderweld = Instance.new("Weld", limbcollider)
1334
			limbcolliderweld.Part0 = ragdoll:findFirstChild("Right Leg")
1335
			limbcolliderweld.Part1 = limbcollider
1336
			limbcolliderweld.C0 = CFrame.new(0,-0.4,0)
1337
		end
1338
		game.Debris:AddItem(ragdoll, 10)
1339
		local function aaaalol()
1340
			wait(0.2)
1341
			local function searchforvelocity(wot)
1342
				for i,v in pairs(wot:GetChildren()) do
1343
					searchforvelocity(v)
1344
					if v.ClassName == "BodyPosition" or v.ClassName == "BodyVelocity" then
1345
						v:destroy()
1346
					end
1347
				end
1348
			end
1349
			searchforvelocity(ragdoll)
1350
			wait(0.5)
1351
			if ragdoll:findFirstChildOfClass("Humanoid") then
1352
				ragdoll:findFirstChildOfClass("Humanoid").PlatformStand = true
1353
			end
1354
			if ragdoll:findFirstChild("HumanoidRootPart") then
1355
				ragdoll:findFirstChild("HumanoidRootPart"):destroy()
1356
			end
1357
		end
1358
		spawn(aaaalol)
1359
	elseif character:findFirstChild("UpperTorso") then
1360
		character.Archivable = true
1361
		for i,v in pairs(character:GetChildren()) do
1362
			if v.ClassName == "Sound" then
1363
				v:remove()
1364
			end
1365
			for q,w in pairs(v:GetChildren()) do
1366
				if w.ClassName == "Sound" then
1367
					w:remove()
1368
				end
1369
			end
1370
		end
1371
		local ragdoll = character:Clone()
1372
		ragdoll:findFirstChildOfClass("Humanoid").Health = 0
1373
		if ragdoll:findFirstChild("Head") then
1374
			local velo = Instance.new("BodyVelocity", ragdoll.Head)
1375
			velo.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
1376
			velo.Velocity = Vector3.new(0,300,0)
1377
			game.Debris:AddItem(velo,0.2)
1378
		end
1379
		if ragdoll:findFirstChild("Health") then
1380
			if ragdoll:findFirstChild("Health").ClassName == "Script" then
1381
				ragdoll:findFirstChild("Health").Disabled = true
1382
			end
1383
		end
1384
		for i,v in pairs(character:GetChildren()) do
1385
			if v.ClassName == "Part" or v.ClassName == "ForceField" or v.ClassName == "Accessory" or v.ClassName == "Hat" or v.ClassName == "MeshPart" then
1386
				v:destroy()
1387
			end
1388
		end
1389
		for i,v in pairs(character:GetChildren()) do
1390
			if v.ClassName == "Accessory" then
1391
				local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
1392
				if attachment1 then
1393
					for q,w in pairs(character:GetChildren()) do
1394
						if w.ClassName == "Part" or w.ClassName == "MeshPart" then
1395
							local attachment2 = w:findFirstChild(attachment1.Name)
1396
							if attachment2 then
1397
								local hinge = Instance.new("HingeConstraint", v.Handle)
1398
								hinge.Attachment0 = attachment1
1399
								hinge.Attachment1 = attachment2
1400
								hinge.LimitsEnabled = true
1401
								hinge.LowerAngle = 0
1402
								hinge.UpperAngle = 0
1403
							end
1404
						end
1405
					end
1406
				end
1407
			end
1408
		end
1409
		ragdoll.Parent = workspace
1410
		local Humanoid = ragdoll:findFirstChildOfClass("Humanoid")
1411
		Humanoid.PlatformStand = true
1412
		local function makeballconnections(limb, attachementone, attachmenttwo, twistlower, twistupper)
1413
			local connection = Instance.new('BallSocketConstraint', limb)
1414
			connection.LimitsEnabled = true
1415
			connection.Attachment0 = attachementone
1416
			connection.Attachment1 = attachmenttwo
1417
			connection.TwistLimitsEnabled = true
1418
			connection.TwistLowerAngle = twistlower
1419
			connection.TwistUpperAngle = twistupper
1420
			local limbcollider = Instance.new("Part", limb)
1421
			limbcollider.Size = Vector3.new(0.1,1,1)
1422
			limbcollider.Shape = "Cylinder"
1423
			limbcollider.Transparency = 1
1424
			limbcollider:BreakJoints()
1425
			local limbcolliderweld = Instance.new("Weld", limbcollider)
1426
			limbcolliderweld.Part0 = limb
1427
			limbcolliderweld.Part1 = limbcollider
1428
			limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2)
1429
		end
1430
		local function makehingeconnections(limb, attachementone, attachmenttwo, lower, upper)
1431
			local connection = Instance.new('HingeConstraint', limb)
1432
			connection.LimitsEnabled = true
1433
			connection.Attachment0 = attachementone
1434
			connection.Attachment1 = attachmenttwo
1435
			connection.LimitsEnabled = true
1436
			connection.LowerAngle = lower
1437
			connection.UpperAngle = upper
1438
			local limbcollider = Instance.new("Part", limb)
1439
			limbcollider.Size = Vector3.new(0.1,1,1)
1440
			limbcollider.Shape = "Cylinder"
1441
			limbcollider.Transparency = 1
1442
			limbcollider:BreakJoints()
1443
			local limbcolliderweld = Instance.new("Weld", limbcollider)
1444
			limbcolliderweld.Part0 = limb
1445
			limbcolliderweld.Part1 = limbcollider
1446
			limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2)
1447
		end
1448
		makehingeconnections(Humanoid.Parent.LowerTorso, Humanoid.Parent.LowerTorso.WaistRigAttachment, Humanoid.Parent.UpperTorso.WaistRigAttachment, -50, 50)
1449
		makeballconnections(Humanoid.Parent.LeftUpperArm, Humanoid.Parent.LeftUpperArm.LeftShoulderRigAttachment, Humanoid.Parent.UpperTorso.LeftShoulderRigAttachment, -200, 200, 180)
1450
		makehingeconnections(Humanoid.Parent.LeftLowerArm, Humanoid.Parent.LeftLowerArm.LeftElbowRigAttachment, Humanoid.Parent.LeftUpperArm.LeftElbowRigAttachment, 0, -60)
1451
		makehingeconnections(Humanoid.Parent.LeftHand, Humanoid.Parent.LeftHand.LeftWristRigAttachment, Humanoid.Parent.LeftLowerArm.LeftWristRigAttachment, -20, 20)
1452
		--
1453
		makeballconnections(Humanoid.Parent.RightUpperArm, Humanoid.Parent.RightUpperArm.RightShoulderRigAttachment, Humanoid.Parent.UpperTorso.RightShoulderRigAttachment, -200, 200, 180)
1454
		makehingeconnections(Humanoid.Parent.RightLowerArm, Humanoid.Parent.RightLowerArm.RightElbowRigAttachment, Humanoid.Parent.RightUpperArm.RightElbowRigAttachment, 0, -60)
1455
		makehingeconnections(Humanoid.Parent.RightHand, Humanoid.Parent.RightHand.RightWristRigAttachment, Humanoid.Parent.RightLowerArm.RightWristRigAttachment, -20, 20)
1456
		--
1457
		makeballconnections(Humanoid.Parent.RightUpperLeg, Humanoid.Parent.RightUpperLeg.RightHipRigAttachment, Humanoid.Parent.LowerTorso.RightHipRigAttachment, -80, 80, 80)
1458
		makehingeconnections(Humanoid.Parent.RightLowerLeg, Humanoid.Parent.RightLowerLeg.RightKneeRigAttachment, Humanoid.Parent.RightUpperLeg.RightKneeRigAttachment, 0, 60)
1459
		makehingeconnections(Humanoid.Parent.RightFoot, Humanoid.Parent.RightFoot.RightAnkleRigAttachment, Humanoid.Parent.RightLowerLeg.RightAnkleRigAttachment, -20, 20)
1460
		--
1461
		makeballconnections(Humanoid.Parent.LeftUpperLeg, Humanoid.Parent.LeftUpperLeg.LeftHipRigAttachment, Humanoid.Parent.LowerTorso.LeftHipRigAttachment, -80, 80, 80)
1462
		makehingeconnections(Humanoid.Parent.LeftLowerLeg, Humanoid.Parent.LeftLowerLeg.LeftKneeRigAttachment, Humanoid.Parent.LeftUpperLeg.LeftKneeRigAttachment, 0, 60)
1463
		makehingeconnections(Humanoid.Parent.LeftFoot, Humanoid.Parent.LeftFoot.LeftAnkleRigAttachment, Humanoid.Parent.LeftLowerLeg.LeftAnkleRigAttachment, -20, 20)
1464
		for i,v in pairs(Humanoid.Parent:GetChildren()) do
1465
			if v.ClassName == "Accessory" then
1466
				local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
1467
				if attachment1 then
1468
					for q,w in pairs(Humanoid.Parent:GetChildren()) do
1469
						if w.ClassName == "Part" then
1470
							local attachment2 = w:findFirstChild(attachment1.Name)
1471
							if attachment2 then
1472
								local hinge = Instance.new("HingeConstraint", v.Handle)
1473
								hinge.Attachment0 = attachment1
1474
								hinge.Attachment1 = attachment2
1475
								hinge.LimitsEnabled = true
1476
								hinge.LowerAngle = 0
1477
								hinge.UpperAngle = 0
1478
							end
1479
						end
1480
					end
1481
				end
1482
			end
1483
		end
1484
		for i,v in pairs(ragdoll:GetChildren()) do
1485
			for q,w in pairs(v:GetChildren()) do
1486
				if w.ClassName == "Motor6D"--[[ and w.Name ~= "Neck"--]] then
1487
					w:destroy()
1488
				end
1489
			end
1490
		end
1491
		if ragdoll:findFirstChild("HumanoidRootPart") then
1492
			ragdoll.HumanoidRootPart.Anchored = true
1493
			ragdoll.HumanoidRootPart.CanCollide = false
1494
		end
1495
		if ragdoll:findFirstChildOfClass("Humanoid") then
1496
			ragdoll:findFirstChildOfClass("Humanoid").PlatformStand = true
1497
		end
1498
		local function waitfordatmoment()
1499
			wait(0.2)
1500
			local function searchforvelocity(wot)
1501
				for i,v in pairs(wot:GetChildren()) do
1502
					searchforvelocity(v)
1503
					if v.ClassName == "BodyPosition" or v.ClassName == "BodyVelocity" then
1504
						v:destroy()
1505
					end
1506
				end
1507
			end
1508
			searchforvelocity(ragdoll)
1509
		end
1510
		spawn(waitfordatmoment)
1511
		game.Debris:AddItem(ragdoll, 10)
1512
	end
1513
end
1514
function hito(partoz, magn, dmg, debtim, bodyfdire)
1515
  for _, guy in pairs(workspace:GetChildren()) do
1516
    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
1517
      do
1518
        local humz = guy:FindFirstChild("Humanoid")
1519
        local horp = guy:FindFirstChild("HumanoidRootPart")
1520
        TakeDamage(humz, dmg)
1521
        local db = Instance.new("StringValue")
1522
        db.Name = "alabo"
1523
        db.Parent = horp
1524
        delay(debtim, function()
1525
          db:Destroy()
1526
        end)
1527
        local b = Instance.new("Part")
1528
        nooutline(b)
1529
        b.Size = Vector3.new(0.5, 0.1, 0.2)
1530
        b.Transparency = 0.25
1531
        b.Anchored = true
1532
        b.CanCollide = false
1533
        b.BrickColor = BrickColor.new("Institutional white")
1534
        b.Material = "ForceField"
1535
        b.Locked = true
1536
        b.CFrame = horp.CFrame * CFrame.new(rd2(-1, 1), rd2(-2, 2), rd2(-1, 1))
1537
        b.Parent = modz
1538
        local c = Instance.new("SpecialMesh")
1539
        c.MeshType = "Sphere"
1540
        c.Scale = Vector3.new(1, 1, 1)
1541
        c.Parent = b
1542
        game.Debris:AddItem(b, 1)
1543
        if bodyfdire then
1544
          local boopyve = Instance.new("BodyVelocity")
1545
          boopyve.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
1546
          boopyve.P = math.huge
1547
          boopyve.Velocity = bodyfdire
1548
          boopyve.Parent = horp
1549
          game.Debris:AddItem(boopyve, debtim)
1550
        end
1551
        local bet = Instance.new("Sound")
1552
        bet.Pitch = rd2(9, 11) / 10
1553
        bet.Volume = rd2(12, 14) / 10
1554
        bet.SoundId = "rbxassetid://165604684"
1555
        bet.Parent = b
1556
        bet:Play()
1557
        coroutine.resume(coroutine.create(function()
1558
          for _ = 1, 5 do
1559
            swait()
1560
            b.Transparency = b.Transparency + 0.15
1561
            c.Scale = c.Scale + Vector3.new(0.8 * dmg, 0.8 * dmg, 0.8 * dmg)
1562
          end
1563
        end))
1564
      end
1565
    end
1566
  end
1567
end
1568
function hitoof(partoz, magn, dmg, debtim, bodyfdire)
1569
  for _, guy in pairs(workspace:GetChildren()) do
1570
    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
1571
      do
1572
        local humz = guy:FindFirstChild("Humanoid")
1573
        local torso11 = guy:FindFirstChild("Torso") or guy:FindFirstChild("UpperTorso")
1574
        local horp = guy:FindFirstChild("HumanoidRootPart")
1575
        TakeDamage(humz, dmg * 4.4)
1576
        local db = Instance.new("StringValue")
1577
        db.Name = "alabo"
1578
        db.Parent = horp
1579
        delay(debtim, function()
1580
          db:Destroy()
1581
        end)
1582
1583
local pa = Instance.new("Part",humz)
1584
torso11.Transparency = 1
1585
pa.Name = "donut"
1586
pa.BrickColor = torso11.BrickColor
1587
pa.Material = "Plastic"
1588
local me = Instance.new("SpecialMesh",pa)
1589
me.MeshType = "FileMesh"
1590
me.MeshId = "rbxassetid://5018497801"
1591
me.Scale = Vector3.new(1,1,1)
1592
local we = Instance.new("Weld")
1593
we.Parent = pa
1594
we.Part0 = torso11
1595
we.Part1 = pa
1596
we.C1 = CFrame.new(0,0,0)
1597
we.C0 = CFrame.Angles(0,0,0)
1598
        local b = Instance.new("Part")
1599
        nooutline(b)
1600
        b.Size = Vector3.new(6, 1, 2)
1601
        b.Transparency = 0.25
1602
        b.Anchored = true
1603
        b.CanCollide = false
1604
        b.BrickColor = BrickColor.new("Crimson")
1605
        b.Material = "ForceField"
1606
        b.Locked = true
1607
        b.CFrame = horp.CFrame * CFrame.new(rd2(-1, 1), rd2(-2, 2), rd2(-1, 1))
1608
        b.Parent = modz
1609
        local c = Instance.new("SpecialMesh")
1610
        c.MeshType = "Sphere"
1611
        c.Scale = Vector3.new(3.5, 3.5, 3.5)
1612
        c.Parent = b
1613
        game.Debris:AddItem(b, 1)
1614
        if bodyfdire then
1615
          local boopyve = Instance.new("BodyVelocity")
1616
          boopyve.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
1617
          boopyve.P = math.huge
1618
          boopyve.Velocity = bodyfdire
1619
          boopyve.Parent = horp
1620
          game.Debris:AddItem(boopyve, debtim)
1621
        end
1622
        local bet = Instance.new("Sound")
1623
        bet.Pitch = rd2(9, 11) / 10
1624
        bet.Volume = rd2(12, 14) / 10
1625
        bet.SoundId = "rbxassetid://2553988018"
1626
        bet.Parent = b
1627
        bet:Play()
1628
        coroutine.resume(coroutine.create(function()
1629
          for _ = 1, 5 do
1630
            swait()
1631
            b.Transparency = b.Transparency + 0.15
1632
            c.Scale = c.Scale + Vector3.new(0.8 * dmg, 0.8 * dmg, 0.8 * dmg)
1633
1634
          end
1635
        end))
1636
      end
1637
    end
1638
  end
1639
ragdollkill(guy)
1640
end
1641
mouse.KeyDown:connect(function(key)
1642
  if human.Health <= 0 then
1643
    return
1644
  end
1645
  if key == "f" then
1646
    standappear(thenoob)
1647
  end
1648
  if key == "r" then
1649
    MUDA()
1650
  end
1651
  if key == "q" then
1652
    quickhit()
1653
  end
1654
  if key == "e" then
1655
    block()
1656
  end
1657
  if key == "v" then
1658
    cability()
1659
  end
1660
  if key == "j" then
1661
    THREATENING()
1662
  end
1663
  if key == "k" then
1664
    konodioda:Play()
1665
  end
1666
  if key == "l" then
1667
    bast:Play()
1668
  end
1669
  if key == "n" then
1670
    bastt:Play()
1671
  end
1672
  if key == "b" then
1673
    diovania:Play()
1674
  end
1675
  if key == "m" then
1676
    mudi:Play()
1677
  end
1678
  if key == "y" then
1679
    musicc:Play()
1680
  end
1681
  if key == "p" then
1682
    zaworld:Play()
1683
  end
1684
end)
1685
tool.Equipped:connect(function()
1686
  selected = true
1687
end)
1688
tool.Unequipped:connect(function()
1689
  selected = false
1690
end)
1691
sine = 0
1692
charge = 1
1693
cos = math.cos
1694
game:GetService("RunService").RenderStepped:connect(function()
1695
  if POSU == false then
1696
    local checkfloor = Ray.new(hrp.Position, hrp.CFrame.upVector * -4)
1697
    local checkpart = workspace:FindPartOnRayWithIgnoreList(checkfloor, {chr}, false, false)
1698
    local checkstate = human:GetState()
1699
    if checkstate.Value == 13 then
1700
      animpose = "Sitting"
1701
    elseif hrp.Velocity.y > 1 and checkpart == nil then
1702
      animpose = "Jumping"
1703
    elseif hrp.Velocity.y < -1 and checkpart == nil then
1704
      animpose = "Falling"
1705
    elseif 1 > (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude then
1706
      animpose = "Idle"
1707
    elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 35 then
1708
      animpose = "Walking"
1709
    elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude > 35 then
1710
      animpose = "TooFast"
1711
    end
1712
    if animpose == "Idle" then
1713
      sine = sine + charge
1714
      lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.03 * cos(sine / 60)) * ang(rd(0), rd(0), rd(0)), 0.3)
1715
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(3 - 3 * cos(sine / 60)), rd(0), rd(0)), 0.3)
1716
      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)
1717
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1718
      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)
1719
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1720
      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)
1721
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1722
      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)
1723
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1724
    end
1725
    if animpose == "Walking" then
1726
      sine = sine + charge
1727
      lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.03 * cos(sine / 60)) * ang(rd(0), rd(0), rd(0)), 0.3)
1728
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(3 - 3 * cos(sine / 60)), rd(0), rd(0)), 0.3)
1729
      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)
1730
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1731
      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)
1732
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1733
      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)
1734
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1735
      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)
1736
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1737
    end
1738
    if animpose == "Jumping" then
1739
      lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(0)), 0.3)
1740
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-10), rd(0), rd(0)), 0.3)
1741
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(7), rd(-5), rd(2)), 0.3)
1742
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1743
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(7), rd(5), rd(-3)), 0.3)
1744
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1745
      lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-10)), 0.3)
1746
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1747
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(20)), 0.3)
1748
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1749
    end
1750
    if animpose == "Falling" then
1751
      lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-6), rd(0), rd(0)), 0.3)
1752
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.3)
1753
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(7), rd(-5), rd(2)), 0.3)
1754
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1755
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(7), rd(5), rd(-3)), 0.3)
1756
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1757
      lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(10)), 0.3)
1758
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1759
      lerpz(LH, "C0", LHC0 * cf(-0.65, 0.75, 0) * ang(rd(0), rd(0), rd(20)), 0.3)
1760
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1761
    end
1762
    if animpose == "TooFast" then
1763
      lerpz(RJ, "C0", RJC0 * cf(0, 0, -1.5) * ang(rd(20), rd(0), rd(0)), 0.3)
1764
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.3)
1765
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-20), rd(-10), rd(-10)), 0.3)
1766
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1767
      lerpz(LS, "C0", LSC0 * cf(0, -0.75, 0) * ang(rd(10), rd(-80), rd(-10)), 0.3)
1768
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(30), rd(0), rd(0)), 0.3)
1769
      lerpz(RH, "C0", RHC0 * cf(0.75, 1.5, 0) * ang(rd(0), rd(0), rd(30)), 0.3)
1770
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1771
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(50)), 0.3)
1772
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1773
    end
1774
    if animpose == "Sitting" then
1775
      lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1776
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1777
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3)
1778
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1779
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.3)
1780
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1781
      lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3)
1782
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1783
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.3)
1784
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1785
    end
1786
  end
1787
  if appeared == false and activu == false then
1788
    lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1789
    lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1790
    lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1791
    lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1792
    lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1793
    lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1794
    lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1795
    lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1796
    lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1797
    lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1798
  elseif appeared == true and activu == false then
1799
    sine = sine + charge
1800
    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)
1801
    lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(2 - 2 * cos(sine / 90)), rd(0), rd(4)), 0.3)
1802
    lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(2 * cos(sine / 110)), rd(-3 - 3 * cos(sine / 100)), rd(0)), 0.3)
1803
    lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1804
    lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(2 * cos(sine / 110)), rd(3 - 3 * cos(sine / 100)), rd(0)), 0.3)
1805
    lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1806
    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)
1807
    lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1808
    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)
1809
    lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1810
  end
1811
end)
1812
function dispose()
1813
  for i, v in pairs(getfenv(0)) do
1814
    v = nil
1815
  end
1816
  error = nil
1817
  print = nil
1818
  warn = nil
1819
end
1820
human.Died:connect(dispose)
1821
chr.Changed:connect(function()
1822
  if chr.Parent == nil then
1823
    dispose()
1824
  end
1825
end)
1826
1827
local me = game.Players.LocalPlayer
1828
local mouse = me:GetMouse()
1829
local char = me.Character
1830
local hum = char:FindFirstChild('Humanoid')
1831
local hd = char:FindFirstChild('Head')
1832
local ts = char:FindFirstChild('Torso') or char:FindFirstChild('UpperTorso')
1833
local ra = char:FindFirstChild('Right Arm') or char:FindFirstChild('RightUpperArm')
1834
local la = char:FindFirstChild('Left Arm') or char:FindFirstChild('LeftUpperArm')
1835
local rl = char:FindFirstChild('Right Leg') or char:FindFirstChild('RightUpperLeg')
1836
local ll = char:FindFirstChild('Left Leg') or char:FindFirstChild('LeftUpperLeg')
1837
local root = char:FindFirstChild('HumanoidRootPart')
1838
local rj = root:FindFirstChild('RootJoint')
1839
local rs = ts:FindFirstChild('Right Shoulder')
1840
local ls = ts:FindFirstChild('Left Shoulder')
1841
local rh = ts:FindFirstChild('Right Hip')
1842
local lh = ts:FindFirstChild('Left Hip')
1843
local nk = ts:FindFirstChild('Neck')
1844
local anim = char:FindFirstChild('Animate')
1845
local base = workspace:FindFirstChild('Baseplate') or workspace:FindFirstChild('Base')
1846
local cantimestop = true
1847
local cooldown = false
1848
local cc = workspace.CurrentCamera
1849
local cos = math.cos
1850
local sin = math.sin
1851
local rad = math.rad
1852
local rand = math.random
1853
local cfn = CFrame.new
1854
local cfa = CFrame.Angles
1855
local v3 = Vector3.new
1856
local str = string
1857
local unfreeze = {}
1858
local health = {}
1859
local connect = {}
1860
local sine = 0
1861
local effects = nil
1862
if char:FindFirstChild('Effects') then
1863
	effects = char:FindFirstChild('Effects')
1864
else
1865
	effects = Instance.new('Folder', char)
1866
	effects.Name = 'Effects'
1867
end
1868
1869
ArtificialHB = Instance.new('BindableEvent', script)
1870
ArtificialHB.Name = 'Heartbeat'
1871
script:WaitForChild('Heartbeat')
1872
1873
frame = 1 / 60
1874
tf = 0
1875
allowframeloss = false
1876
tossremainder = false
1877
lastframe = tick()
1878
script.Heartbeat:Fire()
1879
1880
game:GetService('RunService').Heartbeat:connect(function(s, p)
1881
	tf = tf + s
1882
	if tf >= frame then
1883
		if allowframeloss then
1884
			script.Heartbeat:Fire()
1885
			lastframe = tick()
1886
		else
1887
			for i = 1, math.floor(tf / frame) do
1888
				script.Heartbeat:Fire()
1889
			end
1890
			lastframe = tick()
1891
		end
1892
		if tossremainder then
1893
			tf = 0
1894
		else
1895
			tf = tf - frame * math.floor(tf / frame)
1896
		end
1897
	end
1898
end)
1899
1900
function swait(t)
1901
	if t == 0 or t == nil then
1902
		script.Heartbeat.Event:Wait()
1903
	else
1904
		for i = 0, t do
1905
			script.Heartbeat.Event:Wait()
1906
		end
1907
	end
1908
end
1909
1910
function sound(id, parent, vol, pitch, timepos)
1911
	local s = Instance.new('Sound')
1912
	s.Parent = parent
1913
	s.SoundId = id
1914
	s.Volume = vol
1915
	s.PlaybackSpeed = pitch
1916
	s.TimePosition = timepos
1917
	s:Play()
1918
	game.Debris:AddItem(s, s.PlaybackSpeed + 5)
1919
end
1920
1921
function camshake(duration, intensity)
1922
	coroutine.wrap(function()
1923
		for i = 1, duration do
1924
			hum.CameraOffset = hum.CameraOffset:lerp(v3(rand(-1, 1), rand(-1, 1), rand(-1, 1)), 0.1 * intensity)
1925
			swait()
1926
		end
1927
		hum.CameraOffset = v3(0, 0, 0)
1928
	end)()
1929
end
1930
1931
function findascendant(obj, class)
1932
	local par = obj
1933
	local ret = nil
1934
	pcall(function()
1935
		repeat 
1936
			par = par.Parent
1937
			if par:IsA(class) then
1938
				ret = par
1939
				break
1940
			end
1941
		until par == nil
1942
	end)
1943
	return ret
1944
end
1945
1946
local TimeStopSounds = {
1947
	
1948
	TimeStop = 'rbxassetid://840567549';
1949
	TimeResume = 'rbxassetid://864569342';
1950
	
1951
}
1952
1953
function timestop()
1954
	cantimestop = false
1955
	coroutine.wrap(function()
1956
	local effect1 = Instance.new('Part', effects)
1957
	effect1.Shape = 'Ball'
1958
	effect1.Material = 'ForceField'
1959
	effect1.Anchored = true
1960
	effect1.CanCollide = false
1961
	effect1.Size = v3(0, 0, 0)
1962
	effect1.Transparency = 0
1963
	sound(TimeStopSounds.TimeStop, ts, 5, 1, 0)
1964
	for i,v in pairs(workspace:GetDescendants()) do
1965
		if v:IsA('BasePart') then
1966
			if not v.Anchored and not findascendant(v, 'Tool') and not findascendant(v, 'HopperBin') then
1967
				if not v:IsDescendantOf(char) then
1968
					v.Anchored = true
1969
					table.insert(unfreeze, v)
1970
				end
1971
			end
1972
		end
1973
		if v:IsA('Sound') then
1974
			if not v:IsDescendantOf(char) then
1975
				if v.IsPlaying then
1976
					v:Pause()
1977
					table.insert(unfreeze, v)
1978
				end
1979
			end
1980
		end
1981
		if v:IsA('Humanoid') then
1982
			local last = v.Health
1983
			local always = last
1984
			local e = v.HealthChanged:connect(function(hp)
1985
				if last - hp > 0 then
1986
					table.insert(health, {humanoid = v, change = last - hp})
1987
				end
1988
				last = hp
1989
				v.Health = always
1990
			end)
1991
			table.insert(connect, e)
1992
		end
1993
		if v:IsA('BodyVelocity') then
1994
			local lastforce = v.MaxForce
1995
			v.MaxForce = v3(0, 0, 0)
1996
			table.insert(unfreeze, {force = v, change = lastforce})
1997
		end
1998
		if v:IsA('BodyPosition') then
1999
			local lastposition = v.MaxForce
2000
			local lastD = v.D
2001
			local lastP = v.P
2002
			v.MaxForce = v3(0, 0, 0)
2003
			v.D = 0
2004
			v.P = 0
2005
			table.insert(unfreeze, {position = v, change = lastposition, dchange = lastD, pchange = lastP})
2006
		end
2007
		if v:IsA('BodyForce') then
2008
			local lastforce2 = v.Force
2009
			v.Force = v3(0, 0, 0)
2010
			table.insert(unfreeze, {force2 = v, fchange = lastforce2})
2011
		end
2012
	end
2013
	ee = workspace.DescendantAdded:Connect(function(v)
2014
		if v:IsA('BasePart') then
2015
			if not v.Anchored and not findascendant(v, 'Tool') and not findascendant(v, 'HopperBin') then
2016
				if not v:IsDescendantOf(char) then
2017
					v.Anchored = true
2018
					table.insert(unfreeze, v)
2019
				end
2020
			end
2021
		end
2022
		if v:IsA('Sound') then
2023
			if not v:IsDescendantOf(char) then
2024
				if v.IsPlaying then
2025
					v:Pause()
2026
					table.insert(unfreeze, v)
2027
				end
2028
			end
2029
		end
2030
		if v:IsA('Humanoid') then
2031
			local last = v.Health
2032
			local always = last
2033
			local e = v.HealthChanged:connect(function(hp)
2034
				if last - hp > 0 then
2035
					table.insert(health, {humanoid = v, change = last - hp})
2036
				end
2037
				last = hp
2038
				v.Health = always
2039
			end)
2040
			table.insert(connect, e)
2041
		end
2042
	end)
2043
	coroutine.wrap(function()
2044
		for i = 1, 10 do
2045
			camshake(70, 2)
2046
			swait(5)
2047
		end
2048
	end)
2049
	coroutine.wrap(function()
2050
	for i = 1, 1000 do
2051
		effect1.CFrame = ts.CFrame
2052
		effect1.Size = effect1.Size:lerp(v3(50, 50, 50), 0.015)
2053
		effect1.Transparency = effect1.Transparency + 0.010
2054
		if effect1.Transparency >= 1 then
2055
			effect1:Destroy()
2056
		end
2057
		swait()
2058
	end
2059
	end)()
2060
	wait(0.5)
2061
	local effect2 = Instance.new('Part', effects)
2062
	local effect3 = Instance.new('Part', effects)
2063
	effect3.Shape = 'Ball'
2064
	effect3.Material = 'ForceField'
2065
	effect3.Anchored = true
2066
	effect3.CanCollide = false
2067
	effect3.Size = v3(0, 0, 0)
2068
	effect3.Transparency = 0
2069
	effect2.Shape = 'Ball'
2070
	effect2.Material = 'ForceField'
2071
	effect2.Anchored = true
2072
	effect2.CanCollide = false
2073
	effect2.Size = v3(40, 40, 40)
2074
	effect2.Transparency = 1
2075
	coroutine.wrap(function()
2076
		for i = 1, 15 do
2077
			effect2.Transparency = effect2.Transparency - 0.11
2078
			swait()
2079
		end
2080
	end)()
2081
	coroutine.wrap(function()
2082
		for i = 1, 1000 do
2083
			effect3.CFrame = ts.CFrame
2084
			effect3.Size = effect3.Size:lerp(v3(50, 50, 50), 0.015)
2085
			effect3.Transparency = effect3.Transparency + 0.010
2086
			if effect3.Transparency >= 1 then
2087
				effect3:Destroy()
2088
			end
2089
			swait()
2090
		end
2091
	end)()
2092
	for i = 1, 1000 do
2093
		effect2.CFrame = ts.CFrame
2094
		effect2.Size = effect2.Size:lerp(v3(0, 0, 0), 0.015)
2095
		effect2.Transparency = effect2.Transparency + 0.015
2096
		if effect2.Transparency >= 1 then
2097
			effect2:Destroy()
2098
		end
2099
		swait()
2100
	end
2101
	end)()
2102
	wait(1.5) -- cooldown
2103
	cooldown = true
2104
end
2105
2106
function timeresume()
2107
	coroutine.wrap(function()
2108
	sound(TimeStopSounds.TimeResume, ts, 5, 1, 0.15)
2109
	coroutine.wrap(function()
2110
		for i = 1, 10 do
2111
			camshake(20, 0.3)
2112
			swait(5)
2113
		end
2114
	end)
2115
	coroutine.wrap(function()
2116
		wait(1.5)
2117
	for i,v in pairs(unfreeze) do
2118
		pcall(function()
2119
			v.Anchored = false
2120
		end)
2121
		pcall(function()
2122
			v:Resume()
2123
		end)
2124
	end
2125
	for i,v in pairs(connect) do
2126
		pcall(function()
2127
			v:Disconnect()
2128
		end)
2129
	end
2130
	for i,v in pairs(health) do
2131
		pcall(function()
2132
			local humanoid = v.humanoid
2133
			humanoid.Health = humanoid.Health - v.change
2134
			if humanoid.Parent:FindFirstChild('Health') then
2135
				pcall(function()
2136
					humanoid.Parent.Health.Disabled = false
2137
				end)
2138
			end
2139
		end)
2140
	end
2141
	pcall(function()
2142
		ee:Disconnect()
2143
	end)
2144
	health = {}
2145
	unfreeze = {}
2146
	end)()
2147
	cantimestop = true
2148
	end)()
2149
	wait(1.5) -- cooldown
2150
	cooldown = false
2151
end
2152
2153
mouse.KeyDown:connect(function(key)
2154
	if str.lower(key) == 'g' and cantimestop and cooldown == false then
2155
		timestop()
2156
	elseif str.lower(key) == 'g' and cantimestop == false and cooldown then
2157
		timeresume()
2158
	end
2159
end)