View difference between Paste ID: ixQAKvC5 and AeNT9Y0x
SHOW: | | - or go back to the newest paste.
1
-- This script has convert to FE by who i don't know?
2
3
-----------------------------------------------------
4
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
5
local Player,game,owner = owner,game
6
local RealPlayer = Player
7
do
8
    print("FE Compatibility code by Mokiros | Showcase by Bacon Hair!")
9
    local rp = RealPlayer
10
    script.Parent = rp.Character
11
   
12
    --RemoteEvent for communicating
13
    local Event = Instance.new("RemoteEvent")
14
    Event.Name = "UserInput_Event"
15
 
16
    --Fake event to make stuff like Mouse.KeyDown work
17
    local function fakeEvent()
18
        local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
19
        t.connect = t.Connect
20
        return t
21
    end
22
 
23
    --Creating fake input objects with fake variables
24
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
25
    local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
26
    local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
27
        CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
28
    end}
29
    --Merged 2 functions into one by checking amount of arguments
30
    CAS.UnbindAction = CAS.BindAction
31
 
32
    --This function will trigger the events that have been :Connect()'ed
33
    local function te(self,ev,...)
34
        local t = m[ev]
35
        if t and t._fakeEvent then
36
            for _,f in pairs(t.Functions) do
37
                f(...)
38
            end
39
        end
40
    end
41
    m.TrigEvent = te
42
    UIS.TrigEvent = te
43
 
44
    Event.OnServerEvent:Connect(function(plr,io)
45
        if plr~=rp then return end
46
        m.Target = io.Target
47
        m.Hit = io.Hit
48
        if not io.isMouse then
49
            local b = io.UserInputState == Enum.UserInputState.Begin
50
            if io.UserInputType == Enum.UserInputType.MouseButton1 then
51
                return m:TrigEvent(b and "Button1Down" or "Button1Up")
52
            end
53
            for _,t in pairs(CAS.Actions) do
54
                for _,k in pairs(t.Keys) do
55
                    if k==io.KeyCode then
56
                        t.Function(t.Name,io.UserInputState,io)
57
                    end
58
                end
59
            end
60
            m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
61
            UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
62
        end
63
    end)
64
    Event.Parent = NLS([==[
65
    local Player = game:GetService("Players").LocalPlayer
66
    local Event = script:WaitForChild("UserInput_Event")
67
 
68
    local Mouse = Player:GetMouse()
69
    local UIS = game:GetService("UserInputService")
70
    local input = function(io,a)
71
        if a then return end
72
        --Since InputObject is a client-side instance, we create and pass table instead
73
        Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
74
    end
75
    UIS.InputBegan:Connect(input)
76
    UIS.InputEnded:Connect(input)
77
 
78
    local h,t
79
    --Give the server mouse data 30 times every second, but only if the values changed
80
    --If player is not moving their mouse, client won't fire events
81
    while wait(1/30) do
82
        if h~=Mouse.Hit or t~=Mouse.Target then
83
            h,t=Mouse.Hit,Mouse.Target
84
            Event:FireServer({isMouse=true,Target=t,Hit=h})
85
        end
86
    end]==],Player.Character)
87
 
88
    ----Sandboxed game object that allows the usage of client-side methods and services
89
    --Real game object
90
    local _rg = game
91
 
92
    --Metatable for fake service
93
    local fsmt = {
94
        __index = function(self,k)
95
            local s = rawget(self,"_RealService")
96
            if s then return s[k] end
97
        end,
98
        __newindex = function(self,k,v)
99
            local s = rawget(self,"_RealService")
100
            if s then s[k]=v end
101
        end,
102
        __call = function(self,...)
103
            local s = rawget(self,"_RealService")
104
            if s then return s(...) end
105
        end
106
    }
107
    local function FakeService(t,RealService)
108
        t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
109
        return setmetatable(t,fsmt)
110
    end
111
 
112
    --Fake game object
113
    local g = {
114
        GetService = function(self,s)
115
            return self[s]
116
        end,
117
        Players = FakeService({
118
            LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
119
        },"Players"),
120
        UserInputService = FakeService(UIS,"UserInputService"),
121
        ContextActionService = FakeService(CAS,"ContextActionService"),
122
    }
123
    rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
124
    g.service = g.GetService
125
   
126
    g.RunService = FakeService({
127
        RenderStepped = _rg:GetService("RunService").Heartbeat,
128
        BindToRenderStep = function(self,name,_,fun)
129
 
130
        end,
131
        UnbindFromRenderStep = function(self,name)
132
            self._btrs[name]:Disconnect()
133
        end,
134
    },"RunService")
135
 
136
    setmetatable(g,{
137
        __index=function(self,s)
138
            return _rg:GetService(s) or typeof(_rg[s])=="function"
139
            and function(_,...)return _rg[s](_rg,...)end or _rg[s]
140
        end,
141
        __newindex = fsmt.__newindex,
142
        __call = fsmt.__call
143
    })
144
    --Changing owner to fake player object to support owner:GetMouse()
145
    game,owner = g,g.Players.LocalPlayer
146
end
147
-- Created by Nebula_Zorua --
148
-- InSaNiTy --
149
-- The weight of the air is torture --
150
-- Discord: Nebula the Zorua#6969
151
-- Youtube: https://www.youtube.com/channel/UCo9oU9dCw8jnuVLuy4_SATA
152
153
154
--// Initializing \\--
155
local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
156
local Plrs = S.Players
157
local Plr = Plrs.LocalPlayer
158
local Char = Plr.Character
159
local Hum = Char:FindFirstChildOfClass'Humanoid'
160
local RArm = Char["Right Arm"]
161
local LArm = Char["Left Arm"]
162
local RLeg = Char["Right Leg"]
163
local LLeg = Char["Left Leg"]	
164
local Root = Char:FindFirstChild'HumanoidRootPart'
165
local Torso = Char.Torso
166
local Head = Char.Head
167
local NeutralAnims = true
168
local Attack = false
169
local BloodPuddles = {}
170
local Effects = {}
171
local Debounces = {Debounces={}}
172
local Mouse = Plr:GetMouse()
173
local Hit = {}
174
local Sine = 0
175
local Change = 1
176
local Twitch = false
177
local LastTwitch = 0;
178
local Victim = nil;
179
--// Debounce System \\--
180
181
182
function Debounces:New(name,cooldown)
183
	local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
184
	setmetatable(aaaaa,{__index = Debounces})
185
	Debounces.Debounces[name] = aaaaa
186
	return aaaaa
187
end
188
189
function Debounces:Use(overrideUsable)
190
	assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
191
	if(self.Usable or overrideUsable)then
192
		self.Usable = false
193
		self.CoolingDown = true
194
		local LastUse = time()
195
		self.LastUse = LastUse
196
		delay(self.Cooldown or 2,function()
197
			if(self.LastUse == LastUse)then
198
				self.CoolingDown = false
199
				self.Usable = true
200
			end
201
		end)
202
	end
203
end
204
205
function Debounces:Get(name)
206
	assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
207
	for i,v in next, Debounces.Debounces do
208
		if(i == name)then
209
			return v;
210
		end
211
	end
212
end
213
214
function Debounces:GetProgressPercentage()
215
	assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
216
	if(self.CoolingDown and not self.Usable)then
217
		return math.max(
218
			math.floor(
219
				(
220
					(time()-self.LastUse)/self.Cooldown or 2
221
				)*100
222
			)
223
		)
224
	else
225
		return 100
226
	end
227
end
228
229
--// Shortcut Variables \\--
230
local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
231
local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
232
local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
233
local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
234
local R3 = {N=Region3.new}
235
local De = S.Debris
236
local WS = workspace
237
local Lght = S.Lighting
238
local RepS = S.ReplicatedStorage
239
local IN = Instance.new
240
--// Instance Creation Functions \\--
241
242
function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
243
	local Sound = IN("Sound")
244
	Sound.SoundId = "rbxassetid://".. tostring(id or 0)
245
	Sound.Pitch = pitch or 1
246
	Sound.Volume = volume or 1
247
	Sound.Looped = looped or false
248
	if(autoPlay)then
249
		coroutine.wrap(function()
250
			repeat wait() until Sound.IsLoaded
251
			Sound.Playing = autoPlay or false
252
		end)()
253
	end
254
	if(not looped and effect)then
255
		Sound.Stopped:connect(function()
256
			Sound.Volume = 0
257
			Sound:destroy()
258
		end)
259
	elseif(effect)then
260
		warn("Sound can't be looped and a sound effect!")
261
	end
262
	Sound.Parent =parent or Torso
263
	return Sound
264
end
265
function Part(parent,color,material,size,cframe,anchored,cancollide)
266
	local part = IN("Part")
267
	part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
268
	part.Material = material or Enum.Material.SmoothPlastic
269
	part.TopSurface,part.BottomSurface=10,10
270
	part.Size = size or V3.N(1,1,1)
271
	part.CFrame = cframe or CF.N(0,0,0)
272
	part.Anchored = anchored or true
273
	part.CanCollide = cancollide or false
274
	part.Parent = parent or Char
275
	return part
276
end
277
function Mesh(parent,meshtype,meshid,textid,scale,offset)
278
	local part = IN("SpecialMesh")
279
	part.MeshId = meshid or ""
280
	part.TextureId = textid or ""
281
	part.Scale = scale or V3.N(1,1,1)
282
	part.Offset = offset or V3.N(0,0,0)
283
	part.MeshType = meshtype or Enum.MeshType.Sphere
284
	part.Parent = parent
285
	return part
286
end
287
288
NewInstance = function(instance,parent,properties)
289
	local inst = Instance.new(instance,parent)
290
	if(properties)then
291
		for i,v in next, properties do
292
			pcall(function() inst[i] = v end)
293
		end
294
	end
295
	return inst;
296
end
297
298
299
300
--// Extended ROBLOX tables \\--
301
local Instance = setmetatable({ClearChildrenOfClass = function(where,class,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do if(v:IsA(class))then v:destroy();end;end;end},{__index = Instance})
302
--// Customization \\--
303
304
local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this
305
local Remove_Hats = false
306
local Remove_Clothing = false
307
local PlayerSize = 1
308
local DamageColor = BrickColor.new'Really red'
309
local MusicID = 623662713
310
local TwitchMinTime = 2
311
local BloodColor = BrickColor.new'Maroon'
312
local BloodMaterial = Enum.Material.Glass
313
local Target1Id = "rbxassetid://1490455495"
314
local Target2Id = "rbxassetid://133820006"
315
local Whitelist = {
316
	[{33104243,"Salvo_Starly"}] = {"Sorry, my Blazey..","OwO?","Ah, I'm sorry.. I thought you were an enemy.","Why did I even think of doing that.."},
317
	[{19081129,"CKbackup"}] = {"S-sugarie! My bad!", "Ah, I'm sorry, my furry friend.","Why did I even think of doing that.."},
318
	[{5719877,"Nebula_Zorua"}] = {"My creator!","N-nebula!?","I'm sorry, my creator!","F-father..?","Daddy..?","Sorry, Nebby..!"},
319
	[{19909695,"makhail07"}] = {"Cretty!~","Yeef me dadi~","Marshdaddy~","Makhail, the edge master","Hello there, friend..~"},
320
	[{44083134,"Fifkee"}] = {(function() return Plr.UserId == 5719877 and "Uh.. Who're you again?" or "You're Nebula's friend.. Right?" end)(),"Uuhh.. hi?","I nearly killed ya.","Oh. It's you."},
321
}
322
323
--// Whitelist System \\--
324
325
function IsWhitelisted(id,who)
326
	for i,v in next, Whitelist do
327
		if(i[1] == id or i[2] == who)then
328
			return v
329
		end
330
	end
331
	return nil
332
end
333
334
--// Weapon and GUI creation, and Character Customization \\--
335
336
if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
337
if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
338
local Effects = IN("Folder",Char)
339
Effects.Name = "Effects"
340
341
local FT,RA,LA,RL,LL = Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh")
342
FT.MeshId,FT.Scale = "rbxasset://fonts/torso.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize)
343
RA.MeshId,RA.Scale = "rbxasset://fonts/rightarm.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize)
344
LA.MeshId,LA.Scale = "rbxasset://fonts/leftarm.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize)
345
RL.MeshId,RL.Scale = "rbxasset://fonts/rightleg.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize)
346
LL.MeshId,LL.Scale = "rbxasset://fonts/leftleg.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize)
347
348
local Target = NewInstance("BillboardGui",Char,{Name='Target',Adornee=nil,LightInfluence=0,AlwaysOnTop=true,Size = UDim2.new(10,0,10,0)})
349
local TargetImg1 = NewInstance("ImageLabel",Target,{BackgroundTransparency=1,Position = UDim2.new(.5,0,.5,0),Size = UDim2.new(1,0,1,0),AnchorPoint = Vector2.new(.5,.5),Image=Target1Id,ImageColor = C3.N(0,0,0),ImageTransparency=1})
350
local TargetImg2 = TargetImg1:Clone();
351
TargetImg2.Size = UDim2.new(1.4,0,1.4,0);
352
TargetImg2.Image = Target2Id
353
TargetImg2.Parent = Target
354
TargetImg2.ImageColor3 = C3.RGB(165,0,0)
355
if(PlayerSize ~= 1)then
356
	for _,v in next, Char:GetDescendats() do
357
		if(v:IsA'BasePart')then
358
			v.Size = v.Size * PlayerSize
359
		end
360
	end
361
end
362
363
local Music = Sound(Char,MusicID,1,3,true,false,true)
364
Music.Name = 'Music'
365
366
--// Stop animations \\--
367
for _,v in next, Hum:GetPlayingAnimationTracks() do
368
	v:Stop();
369
end
370
371
pcall(game.Destroy,Char:FindFirstChild'Animate')
372
pcall(game.Destroy,Hum:FindFirstChild'Animator')
373
374
--// Joints \\--
375
376
local LS = NewInstance('Motor',Char,{Part0=Torso,Part1=LArm,C0 = CF.N(-1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
377
local RS = NewInstance('Motor',Char,{Part0=Torso,Part1=RArm,C0 = CF.N(1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
378
local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)})
379
local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
380
local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
381
local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
382
383
local LSC0 = LS.C0
384
local RSC0 = RS.C0
385
local NKC0 = NK.C0
386
local LHC0 = LH.C0
387
local RHC0 = RH.C0
388
local RJC0 = RJ.C0
389
390
--// Artificial HB \\--
391
392
local ArtificialHB = IN("BindableEvent", script)
393
ArtificialHB.Name = "Heartbeat"
394
395
script:WaitForChild("Heartbeat")
396
397
local tf = 0
398
local allowframeloss = false
399
local tossremainder = false
400
local lastframe = tick()
401
local frame = 1/Frame_Speed
402
ArtificialHB:Fire()
403
404
game:GetService("RunService").Heartbeat:connect(function(s, p)
405
	tf = tf + s
406
	if tf >= frame then
407
		if allowframeloss then
408
			script.Heartbeat:Fire()
409
			lastframe = tick()
410
		else
411
			for i = 1, math.floor(tf / frame) do
412
				ArtificialHB:Fire()
413
			end
414
			lastframe = tick()
415
		end
416
		if tossremainder then
417
			tf = 0
418
		else
419
			tf = tf - frame * math.floor(tf / frame)
420
		end
421
	end
422
end)
423
424
function swait(num)
425
	if num == 0 or num == nil then
426
		ArtificialHB.Event:wait()
427
	else
428
		for i = 0, num do
429
			ArtificialHB.Event:wait()
430
		end
431
	end
432
end
433
434
435
--// Effect Function(s) \\--
436
437
local blood = NewInstance("ParticleEmitter",nil,{
438
	Color = ColorSequence.new(C3.N(.8,0,0)),
439
	LightEmission=.1,
440
	LightInfluence=1,
441
	ZOffset=.9,
442
	Size=NumberSequence.new{NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,3,0)},
443
	Texture="rbxassetid://284205403",
444
	Transparency=NumberSequence.new{NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)},
445
	Acceleration = V3.N(0,-15,0),
446
	Lifetime = NumberRange.new(1,2),
447
	Rate=50,
448
	Speed = NumberRange.new(5,15),
449
	SpreadAngle = Vector2.new(15,15),
450
	Enabled = false,
451
	EmissionDirection = 'Back',
452
})
453
454
function Blood(prt,amount)
455
	local part = Instance.new("Part",Effects)
456
	part.Transparency = 1
457
	part.Size = prt.Size
458
	part.Anchored = true
459
	part.CanCollide = false
460
	part.CFrame = CF.N(prt.Position,Torso.Position)
461
	S.Debris:AddItem(part,5)
462
	local prtcl = blood:Clone()
463
	prtcl.Parent = part
464
	prtcl:Emit(amount)
465
end
466
467
function BloodDrop(pos,dir,maxsize)
468
	local owo = NewInstance("Part",Char,{Material=BloodMaterial,BrickColor=BloodColor,Shape=Enum.PartType.Ball,Size=V3.N(.25,.25,.25), CanCollide = false})
469
	owo.CFrame=CF.N(pos,dir)
470
	local bv = Instance.new("BodyVelocity",owo) 
471
	bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
472
	bv.velocity = CF.N(pos,dir+V3.N(M.RNG(-3,3)/30,M.RNG(-3,3)/30,M.RNG(-3,3)/30)).lookVector*15
473
	bv.Name = "MOVE"
474
	game:service'Debris':AddItem(bv,0.05)
475
	local touch 
476
	touch = owo.Touched:connect(function(hit)
477
		if(hit.Anchored==true and hit.CanCollide and not hit.Parent:FindFirstChildOfClass'Humanoid' and not hit.Parent.Parent:FindFirstChildOfClass'Humanoid')then
478
			touch:disconnect()
479
			BloodPuddle(owo.Position+V3.N(0,1,0),3,maxsize,owo)
480
			owo:destroy()
481
		end
482
	end)
483
end
484
function BloodPuddle(position,range,maxSize,where)
485
	local hit, pos, norm = workspace:FindPartOnRayWithIgnoreList(Ray.new(
486
		position,CF.N(position,position+V3.N(0,-1,0)).lookVector * range			
487
	),{where,Char},false,true)
488
	if(hit)then
489
		if(BloodPuddles[hit])then
490
			BloodPuddles[hit].Frame = 0
491
			if(hit:FindFirstChild'CylinderMesh' and hit.CylinderMesh.Scale.Z < BloodPuddles[hit].MaxSize)then
492
				hit.CylinderMesh.Scale = hit.CylinderMesh.Scale + V3.N(.1,0,.1)
493
			end
494
		else
495
			local Puddle = NewInstance('Part',hit,{Material=BloodMaterial,BrickColor=BloodColor,Size=V3.N(1,.1,1),CFrame=CF.N(pos,pos+norm)*CF.A(90*M.P/180,0,0),Anchored=true,CanCollide=false,Archivable=false,Locked=true,Name='BloodPuddle'})
496
			local Cyl = NewInstance('CylinderMesh',Puddle,{Name='CylinderMesh'})
497
			BloodPuddles[Puddle] = {MaxSize=maxSize or 7,Frame=0}
498
		end
499
	end
500
end
501
502
function Tween(obj,props,time,easing,direction,repeats,backwards)
503
	local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false)
504
	local tween = S.TweenService:Create(obj, info, props)
505
	
506
	tween:Play()
507
end
508
509
function Bezier(startpos, pos2, pos3, endpos, t)
510
	local A = startpos:lerp(pos2, t)
511
	local B  = pos2:lerp(pos3, t)
512
	local C = pos3:lerp(endpos, t)
513
	local lerp1 = A:lerp(B, t)
514
	local lerp2 = B:lerp(C, t)
515
	local cubic = lerp1:lerp(lerp2, t)
516
	return cubic
517
end
518
519
function Effect(data)
520
	local FX = data.Effect or 'Resize-AndFade'
521
	local Parent = data.Parent or Effects
522
	local Color = data.Color or C3.N(0,0,0)
523
	local Size = data.Size or V3.N(1,1,1)
524
	local MoveDir = data.MoveDirection or nil
525
	local MeshData = data.Mesh or nil
526
	local SndData = data.Sound or nil
527
	local Frames = data.Frames or 45
528
	local Manual = data.Manual or nil
529
	local Material = data.Material or nil
530
	local CFra = data.CFrame or Torso.CFrame
531
	local Settings = data.FXSettings or {}
532
	local Snd,Prt,Msh;
533
	if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
534
		Prt = Manual
535
	else
536
		Prt = Part(Parent,Color,Material,Size,CFra,true,false)
537
	end
538
	if(typeof(MeshData) == 'table')then
539
		Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
540
	elseif(typeof(MeshData) == 'Instance')then
541
		Msh = MeshData:Clone()
542
		Msh.Parent = Prt
543
	end
544
	if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
545
		Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
546
	end
547
	if(Snd)then
548
		repeat wait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
549
		Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
550
	end
551
	local MoveSpeed = nil;
552
	if(MoveDir)then
553
		MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
554
	end
555
	local Inc = M.RNG()-M.RNG()
556
	local Thingie = 0
557
	local Thingie2 = M.RNG(50,100)/100
558
559
	coroutine.wrap(function()
560
		if(FX ~= 'Arc')then
561
			for i = 1, Frames do
562
				if(FX == 'Resize-AndFade')then
563
					if(not Settings.EndSize)then
564
						Settings.EndSize = V3.N(0,0,0)
565
					end
566
					local grow = (typeof(Settings.EndSize) == 'Vector3' and Settings.EndSize-Size or typeof(Settings.EndSize) == 'number' and V3.N(Settings.EndSize))
567
					if(Settings.EndIsIncrement)then
568
						Prt.Size = Prt.Size - Settings.EndSize					
569
					else
570
						Prt.Size = Prt.Size - grow/Frames
571
					end 
572
					Prt.Transparency = (i/Frames)
573
				elseif(FX == 'Resize+AndFade')then
574
					if(not Settings.EndSize)then
575
						Settings.EndSize = Size*2
576
					end
577
					local grow = (typeof(Settings.EndSize) == 'Vector3' and Settings.EndSize-Size or typeof(Settings.EndSize) == 'number' and V3.N(Settings.EndSize))
578
					if(Settings.EndIsIncrement)then
579
						Prt.Size = Prt.Size + Settings.EndSize					
580
					else
581
						Prt.Size = Prt.Size + grow/Frames
582
					end 
583
					Prt.Transparency = (i/Frames)
584
				elseif(FX == 'Fade')then
585
					Prt.Transparency = (i/Frames)
586
				end
587
				if(Settings.RandomizeCFrame)then
588
					Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
589
				end
590
				if(MoveDir and MoveSpeed)then
591
					local Orientation = Prt.Orientation
592
					Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
593
					Prt.Orientation = Orientation
594
				end
595
				if(swait and typeof(swait) == 'function')then
596
					swait()
597
				else
598
					wait()
599
				end
600
			end
601
			Prt:destroy() 
602
		else
603
			local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
604
			if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
605
			local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
606
			local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
607
			assert(start ~= nil,"You need to specify a start point!")
608
			assert(endP ~= nil,"You need to specify an end point!")
609
			for i = 0, 1, Settings.Speed or 0.01 do
610
				if(Settings.Home)then
611
					endP = Settings.Home.CFrame
612
				end
613
				Prt.CFrame = Bezier(start, quarter, threequarter, endP, i)
614
				if(swait and typeof(swait) == 'function')then
615
					swait()
616
				else
617
					wait()
618
				end
619
			end
620
			if(Settings.RemoveOnGoal)then
621
				Prt:destroy()
622
			end
623
		end
624
	end)()
625
	return Prt,Msh,Snd
626
end	
627
628
629
function SoulSteal(whom)
630
	local torso = (whom:FindFirstChild'Head' or whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart')
631
	print(torso)
632
	if(torso and torso:IsA'BasePart')then
633
		local Model = Instance.new("Model",Effects)
634
		Model.Name = whom.Name.."'s Soul"
635
		whom:BreakJoints()
636
		local Soul = Part(Model,BrickColor.new'Really red','Glass',V3.N(.5,.5,.5),torso.CFrame,true,false)
637
		Soul.Name = 'Head'
638
		NewInstance("Humanoid",Model,{Health=0,MaxHealth=0})
639
		Effect{
640
			Effect="Arc",
641
			Manual = Soul,
642
			FXSettings={
643
				Start=torso.CFrame,
644
				Home = Torso,
645
				RemoveOnGoal = true,
646
			}
647
		}
648
		local lastPoint = Soul.CFrame.p
649
	
650
		for i = 0, 1, 0.01 do 
651
				local point = CFrame.new(lastPoint, Soul.Position) * CFrame.Angles(-math.pi/2, 0, 0)
652
				local mag = (lastPoint - Soul.Position).magnitude
653
				Effect{
654
					Effect = "Fade",
655
					CFrame = point * CF.N(0, mag/2, 0),
656
					Size = V3.N(.5,mag+.5,.5),
657
					Color = Soul.BrickColor
658
				}
659
				lastPoint = Soul.CFrame.p
660
			swait()
661
		end
662
		for i = 1, 5 do
663
			Effect{
664
				Effect="Fade",
665
				Color = BrickColor.new'Really red',
666
				MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
667
			}	
668
		end
669
	end
670
end
671
672
--// Other Functions \\ --
673
674
function Ragdoll(who,half,glitching)
675
	who:breakJoints()
676
	pcall(function()
677
		who.HumanoidRootPart:destroy()
678
	end)
679
	local who = who
680
	local hhh = who:FindFirstChildOfClass'Humanoid'
681
	local t = GetTorso(who)
682
	if(hhh.RigType == Enum.HumanoidRigType.R6)then
683
		local RA,LA,RL,LL,HD = who:FindFirstChild'Right Arm',who:FindFirstChild'Left Arm',who:FindFirstChild'Right Leg',who:FindFirstChild'Left Leg',who:FindFirstChild'Head'
684
		local RAJ = NewInstance("Attachment",t,{Position=V3.N(1.5,.5,0),Orientation=V3.N()})
685
		local RAJ2 = NewInstance("Attachment",RA,{Position=V3.N(0,.5,0),Orientation=V3.N()})
686
		local LAJ = NewInstance("Attachment",t,{Position=V3.N(-1.5,.5,0),Orientation=V3.N()})
687
		local LAJ2 = NewInstance("Attachment",LA,{Position=V3.N(0,.5,0),Orientation=V3.N()})
688
		local NJ = NewInstance('Attachment',t,{Position=V3.N(0,1,0),Orientation=V3.N()})
689
		local NJ2 = NewInstance('Attachment',HD,{Position=V3.N(0,-.5,0),Orientation=V3.N()})
690
		local NJ3 = NewInstance('Attachment',HD,{Position=V3.N(0,.5,0),Orientation=V3.N()})
691
		
692
		local RAC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=RAJ,Attachment1=RAJ2})
693
		local LAC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=LAJ,Attachment1=LAJ2})
694
		local HC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=45,Attachment0=NJ,Attachment1=NJ2})
695
696
		local CollideRA = NewInstance('Part',who,{Size=RArm.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
697
		local CollideLA = NewInstance('Part',who,{Size=LArm.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
698
		local CollideHD = NewInstance('Part',who,{Size=HD.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
699
		NewInstance('Weld',CollideRA,{Part0=RA,Part1=CollideRA})
700
		NewInstance('Weld',CollideLA,{Part0=LA,Part1=CollideLA})
701
		NewInstance('Weld',CollideHD,{Part0=HD,Part1=CollideHD})
702
		
703
		if(not half)then
704
			local RLJ = NewInstance("Attachment",t,{Position=V3.N(.5,-1,0),Orientation=V3.N()})
705
			local RLJ2 = NewInstance("Attachment",RL,{Position=V3.N(0,1,0),Orientation=V3.N()})
706
			local LLJ = NewInstance("Attachment",t,{Position=V3.N(-.5,-1,0),Orientation=V3.N()})
707
			local LLJ2 = NewInstance("Attachment",LL,{Position=V3.N(0,1,0),Orientation=V3.N()})
708
			local RLC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=RLJ,Attachment1=RLJ2})
709
			local LLC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=LLJ,Attachment1=LLJ2})
710
		end
711
		if(glitching)then
712
			swait(120)
713
			local pow = 75
714
			local FT,RA,LA,RL,LL = Instance.new("SpecialMesh",t),Instance.new("SpecialMesh",RA),Instance.new("SpecialMesh",LA),Instance.new("SpecialMesh",RL),Instance.new("SpecialMesh",LL)
715
			FT.MeshId,FT.Scale = "rbxasset://fonts/torso.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize)
716
			RA.MeshId,RA.Scale = "rbxasset://fonts/rightarm.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize)
717
			LA.MeshId,LA.Scale = "rbxasset://fonts/leftarm.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize)
718
			RL.MeshId,RL.Scale = "rbxasset://fonts/rightleg.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize)
719
			LL.MeshId,LL.Scale = "rbxasset://fonts/leftleg.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize)
720
			for i = 0, 1, .1 do
721
				for _,v in next, who:GetDescendants() do
722
					if(v:IsA'DataModelMesh')then
723
						v.Offset = V3.N(M.RNG(-pow,pow)/100,M.RNG(-pow,pow)/100,M.RNG(-pow,pow)/100)
724
					elseif(v:IsA'BasePart')then
725
						v.Transparency = i
726
					end
727
				end
728
				swait()
729
			end
730
			who:destroy()
731
		end
732
	else
733
		if(glitching)then
734
			swait(120)
735
			for i = 0, 1, .1 do
736
				for _,v in next, hhh:children() do
737
					if(v:IsA'NumberValue')then
738
						v.Value = M.RNG(0,10)
739
					end
740
				end
741
				local pow = 75
742
				for _,v in next, who:GetDescendants() do
743
					if(v:IsA'DataModelMesh')then
744
						v.Offset = V3.N(M.RNG(-pow,pow)/100,M.RNG(-pow,pow)/100,M.RNG(-pow,pow)/100)
745
					elseif(v:IsA'BasePart')then
746
						v.Transparency = i
747
					end
748
				end
749
				swait()
750
			end
751
			who:destroy()
752
		end
753
		-- TODO: R15 Ragdoll
754
	end
755
end
756
757
758
function getRegion(point,range,ignore)
759
    return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
760
end
761
762
function RandomChoice(table)
763
	return table[M.RNG(1,#table)]
764
end
765
766
function Chat(text)
767
	coroutine.wrap(function()
768
		if Char:FindFirstChild("TalkingBillBoard")~= nil then
769
			Char:FindFirstChild("TalkingBillBoard"):destroy()
770
		end
771
		local oText = text;
772
		text = ""
773
		for i = 1, #oText do
774
			if(i%2 == 1)then
775
				text = text..oText:sub(i,i):upper()
776
			else
777
				text = text..oText:sub(i,i):lower()
778
			end
779
		end
780
		local Bill = Instance.new("BillboardGui",Char)
781
		Bill.Size = UDim2.new(0,100,0,40)
782
		Bill.StudsOffset = Vector3.new(0,3,0)
783
		Bill.Adornee = Char.Head
784
		Bill.Name = "TalkingBillBoard"
785
		local Hehe = Instance.new("TextLabel",Bill)
786
		Hehe.BackgroundTransparency = 1
787
		Hehe.BorderSizePixel = 0
788
		Hehe.Text = ""
789
		Hehe.Font = "Bodoni"
790
		Hehe.TextSize = 40
791
		Hehe.TextStrokeTransparency = 0
792
		Hehe.Size = UDim2.new(1,0,0.5,0)
793
		coroutine.resume(coroutine.create(function()
794
			while Hehe ~= nil do
795
				swait()
796
				Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) 
797
				Hehe.Rotation = M.RNG(-M.RNG(5,15),M.RNG(5,15))
798
				local aa = math.random(0, 255)/255
799
				local bb = math.random(0, 255)/255
800
				Hehe.TextColor3 = C3.N(aa,aa,aa)
801
				Hehe.TextStrokeColor3 = C3.N(bb,bb,bb)
802
			end
803
		end))
804
		for i = 1,string.len(text),1 do
805
			swait(5)
806
			Hehe.Text = string.sub(text,1,i)
807
		end
808
		swait(90)
809
		for i = 0, 1, .025 do
810
			swait()
811
			Hehe.TextStrokeTransparency = i
812
			Hehe.TextTransparency = i
813
			Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
814
		end
815
		Bill:Destroy()
816
	end)()
817
end
818
819
820
function clerp(startCF,endCF,alpha)
821
	return startCF:lerp(endCF, alpha)
822
end
823
824
function GetTorso(char)
825
	return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
826
end
827
828
829
function ShowDamage(Pos, Text, Time, Color)
830
	coroutine.wrap(function()
831
	local Pos = (Pos or Vector3.new(0, 0, 0))
832
	local Text = (Text or "")
833
	local Time = (Time or 2)
834
	local Color = (Color or Color3.new(1, 0, 1))
835
	local EffectPart = NewInstance("Part",Effects,{
836
		Material=Enum.Material.SmoothPlastic,
837
		Reflectance = 0,
838
		Transparency = 1,
839
		BrickColor = BrickColor.new(Color),
840
		Name = "Effect",
841
		Size = Vector3.new(0,0,0),
842
		Anchored = true
843
	})
844
	local BillboardGui = NewInstance("BillboardGui",EffectPart,{
845
		Size = UDim2.new(2, 0, 2, 0),
846
		Adornee = EffectPart,
847
	})
848
	local TextLabel = NewInstance("TextLabel",BillboardGui,{
849
		BackgroundTransparency = 1,
850
		Size = UDim2.new(1, 0, 1, 0),
851
		Text = Text,
852
		Font = "Arial",
853
		TextColor3 = Color,
854
		TextStrokeColor3 = Color3.new(0,0,0),
855
		TextStrokeTransparency=0,
856
		TextScaled = true,
857
	})
858
	EffectPart.Parent = game:GetService("Workspace")
859
	delay(0, function()
860
		local Frames = (Time / (1/Frame_Speed))
861
		for Frame = 1, Frames do
862
			swait()
863
			local Percent = (Frame / Frames)
864
			EffectPart.CFrame = CF.N(Pos+ V3.N(0, Percent, 0)) * CF.A(0,0,M.RRNG(-90,90))
865
			TextLabel.Rotation = M.RNG(-6,6)
866
			TextLabel.Position = UDim2.new(M.RNG(-1,1)/10,M.RNG(-1,1)/10,.05,M.RNG(-1,1)/10) 
867
		end
868
		for i = 0, 1, .025 do
869
			swait()
870
			TextLabel.TextStrokeTransparency = i
871
			TextLabel.TextTransparency = i
872
			TextLabel.Position = UDim2.new(M.RNG(-15,15)/10,M.RNG(-15,15)/10,M.RNG(-15,15)/10,M.RNG(-15,15)/10) 
873
		end
874
		if EffectPart and EffectPart.Parent then
875
			EffectPart:Destroy()
876
		end
877
	end) end)()
878
end
879
880
--[[if(not Plr:IsFriendsWith(5719877))then
881
	Char:BreakJoints()
882
	error("Not whitelisted. You have to be friends with Nebula.")
883
else
884
	warn("You're friends with Nebula, the creator of this script")
885
	warn("Enjoy!")
886
end]]
887
888
function DealDamage(who,minDam,maxDam,Knock,Type,critChance,critMult)
889
	if(who)then
890
		local hum = who:FindFirstChildOfClass'Humanoid'
891
		local Damage = M.RNG(minDam,maxDam)
892
		local canHit = true
893
		if(hum)then
894
			for _, p in pairs(Hit) do
895
				if p[1] == hum then
896
					if(time() - p[2] < 0.1) then
897
						canHit = false
898
					else
899
						Hit[_] = nil
900
					end
901
				end
902
			end
903
			if(canHit)then
904
				if(hum.Health >= math.huge)then
905
					who:BreakJoints()
906
					if(who:FindFirstChild'Head' and hum.Health > 0)then
907
						ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "INSTANT", 1.5, C3.N(1,0,0))
908
					end
909
				else
910
					local player = S.Players:GetPlayerFromCharacter(who)
911
					if(Type == "Fire")then
912
						--idk..
913
					else
914
						local  c = Instance.new("ObjectValue",hum)
915
						c.Name = "creator"
916
						c.Value = Plr
917
						game:service'Debris':AddItem(c,0.35)
918
						if(M.RNG(1,100) <= (critChance or 0))then
919
							if(who:FindFirstChild'Head' and hum.Health > 0)then
920
								ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "[CRIT] "..Damage*(critMult or 2), 1.5, BrickColor.new'New Yeller'.Color)
921
							end
922
							hum.Health = hum.Health - Damage*(critMult or 2)
923
						else
924
							if(who:FindFirstChild'Head' and hum.Health > 0)then
925
								ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), Damage, 1.5, DamageColor.Color)
926
							end
927
							hum.Health = hum.Health - Damage
928
						end
929
						if(Type == 'Knockback' and GetTorso(who))then
930
							local angle = GetTorso(who).Position - Root.Position + Vector3.new(0, 0, 0).unit
931
							local body = NewInstance('BodyVelocity',GetTorso(who),{
932
								P = 500,
933
								maxForce = V3.N(math.huge,0,math.huge),
934
								velocity = Root.CFrame.lookVector * Knock + Root.Velocity / 1.05
935
							})
936
							game:service'Debris':AddItem(body,.5)	
937
						elseif(Type == 'Knockdown' and GetTorso(who))then
938
							local rek = GetTorso(who)
939
							print(rek)
940
							hum.PlatformStand = true
941
							delay(1,function()
942
								hum.PlatformStand = false
943
							end)
944
							local angle = (GetTorso(who).Position - (Root.Position + Vector3.new(0, 0, 0))).unit
945
							local bodvol = NewInstance("BodyVelocity",rek,{
946
								velocity = angle * Knock,
947
								P = 5000,
948
								maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
949
							})
950
							local rl = NewInstance("BodyAngularVelocity",rek,{
951
								P = 3000,
952
								maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
953
								angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
954
							})
955
							game:GetService("Debris"):AddItem(bodvol, .5)
956
							game:GetService("Debris"):AddItem(rl, .5)
957
						end
958
					end
959
				end
960
			end
961
			table.insert(Hit,{hum,time()})
962
		end
963
	end
964
end
965
966
function AOEDamage(where,range,minDam,maxDam,Knock,Type)
967
	for _,v in next, getRegion(where,range,{Char}) do
968
		if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then
969
			DealDamage(v.Parent,minDam,maxDam,Knock,Type)
970
		end
971
	end
972
end
973
function AOEHeal(where,range,amount)
974
	local healed = {}
975
	for _,v in next, getRegion(where,range,{Char}) do
976
		local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil)
977
		if(hum and not healed[hum])then
978
			hum.Health = hum.Health + amount
979
			if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then
980
				ShowDamage((v.Parent.Head.CFrame * CF.N(0, 0, (v.Parent.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "+"..amount, 1.5, BrickColor.new'Lime green'.Color)
981
			end
982
		end
983
	end
984
end
985
986
--// Attack Functions \\--
987
988
function You_Cant_Hide()
989
	local target = Mouse.Target
990
	if(target and target.Parent and not Char:IsAncestorOf(target) and target.Parent:FindFirstChildOfClass'Humanoid')then
991
		if(Victim ~= target.Parent)then
992
			Victim = target.Parent;
993
			Target.Enabled = true
994
			Target.Adornee = GetTorso(Victim)
995
			TargetImg1.ImageTransparency = 1
996
			TargetImg2.ImageTransparency = 1
997
			TargetImg1.Size = UDim2.new(6,0,6,0)
998
			TargetImg2.Size = UDim2.new(6.4,0,6.4,0)
999
			Tween(TargetImg1,{ImageTransparency=0,Size=UDim2.new(1,0,1,0)},.5,Enum.EasingStyle.Quad,Enum.EasingDirection.Out)
1000
			Tween(TargetImg2,{ImageTransparency=0,Size=UDim2.new(1.4,0,1.4,0)},.5,Enum.EasingStyle.Quad,Enum.EasingDirection.Out)
1001
		end
1002
	end
1003
end
1004
1005
function Brutal_Overlord()
1006
	if(Victim)then
1007
		Attack = true
1008
		NeutralAnims = false
1009
		local hum = Victim:FindFirstChildOfClass'Humanoid'
1010
		if(hum)then
1011
			Hum.JumpPower = 0
1012
			hum.WalkSpeed = 0
1013
			hum.JumpPower = 0
1014
			hum.AutoRotate = false
1015
			local tor,root = GetTorso(Victim),Victim:FindFirstChild'HumanoidRootPart'
1016
			if(tor)then
1017
				Root.CFrame = tor.CFrame * CF.N(0,0,2)
1018
				local V = Victim
1019
				V.Parent = Char
1020
				for i = 0, 2, 0.1 do
1021
					swait()
1022
					local Alpha = .3
1023
					RJ.C0 = clerp(RJ.C0,CFrame.new(0.00184797007, 0.00629393011, 0.00175395911, 0.916352093, -0.00251661055, -0.400364727, 0, 0.99998033, -0.00628567068, 0.400372595, 0.0057598874, 0.916333973),Alpha)
1024
					LH.C0 = clerp(LH.C0,CFrame.new(-0.565588713, -0.991164684, -0.032800708, 0.909990132, 0, 0.414630055, -0.00260622799, 0.99998033, 0.00571989827, -0.41462189, -0.00628567068, 0.909972131),Alpha)
1025
					RH.C0 = clerp(RH.C0,CFrame.new(0.562351584, -0.990811467, 0.0429569148, 0.909990132, 0, 0.414630055, -0.00260622799, 0.99998033, 0.00571989827, -0.41462189, -0.00628567068, 0.909972131),Alpha)
1026
					LS.C0 = clerp(LS.C0,CFrame.new(-1.479936, 0.442725629, -0.241928637, 0.997844577, 0.0469278991, -0.0458690971, -0.0638397709, 0.532425106, -0.844066501, -0.015188396, 0.845175505, 0.534273386),Alpha)
1027
					RS.C0 = clerp(RS.C0,CFrame.new(1.32794857, 0.365926802, 0.17400004, 0.584510565, -0.811339498, 0.00870320201, 0.447906405, 0.331590444, 0.830317855, -0.676555634, -0.481431335, 0.557222128),Alpha)
1028
					NK.C0 = clerp(NK.C0,CFrame.new(-0.00438193232, 1.49895084, -0.014841184, 0.916352212, -0.0230187047, 0.399710178, -0.00251696701, 0.997995079, 0.0632432774, -0.400364548, -0.0589591675, 0.914456904),Alpha)
1029
				end
1030
				for i = 0, 1, 0.1 do
1031
					swait()
1032
					local Alpha = .2
1033
					RJ.C0 = clerp(RJ.C0,CFrame.new(0.0928741172, 0.00629402744, 0.0566893518, 0.948310614, 0.00199300773, 0.317336231, 0, 0.99998033, -0.00628030393, -0.31734252, 0.00595567934, 0.948291838),Alpha)
1034
					LH.C0 = clerp(LH.C0,CFrame.new(-0.645890057, -0.990359426, 0.0953748077, 0.953149736, 0, -0.302498937, 0.00189978536, 0.99998033, 0.00598607073, 0.302492946, -0.00628030393, 0.953130901),Alpha)
1035
					RH.C0 = clerp(RH.C0,CFrame.new(0.44459179, -0.991404057, -0.0513649136, 0.953149736, 0, -0.302498937, 0.00189978536, 0.99998033, 0.00598607073, 0.302492946, -0.00628030393, 0.953130901),Alpha)
1036
					LS.C0 = clerp(LS.C0,CFrame.new(-1.47928679, 0.367728233, 0.116084039, 0.997845054, 0.0248440802, 0.0607300103, -0.0638346076, 0.581721425, 0.810879469, -0.0151824057, -0.813008547, 0.582053781),Alpha)
1037
					RS.C0 = clerp(RS.C0,CFrame.new(1.48636484, 0.465858519, -0.373306572, -0.95769608, 0.284951091, -0.0402629375, -0.130770594, -0.306276649, 0.942917705, 0.256353855, 0.908293724, 0.330583185),Alpha)
1038
					NK.C0 = clerp(NK.C0,CFrame.new(-0.068510659, 1.4984324, -0.0973624364, 0.948310554, 0.0182456542, -0.316817731, 0.00199265103, 0.997983873, 0.0634387434, 0.31733641, -0.0607909337, 0.946362138),Alpha)
1039
				end
1040
				if(root)then root.Parent = nil end
1041
				local gWeld = NewInstance("Weld",Char,{Part0=RArm,Part1=tor,C0=CF.N(0,-1.15,0)*CF.A(M.R(90),0,M.R(180))})
1042
				swait(60)
1043
				local plr = S.Players:GetPlayerFromCharacter(V)
1044
				local Dialogues = IsWhitelisted((plr and plr.UserId or 0),V.Name)
1045
				for i = 0, 1, 0.1 do
1046
					swait()
1047
					local Alpha = .3
1048
					RJ.C0 = clerp(RJ.C0,CFrame.new(3.20394752e-13, 0.00629078969, 1.39809708e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha)
1049
					LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990819752, 0.021611426, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
1050
					RH.C0 = clerp(RH.C0,CFrame.new(0.498526245, -0.990984261, 0.0154614868, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
1051
					LS.C0 = clerp(LS.C0,CFrame.new(-1.29056597, 0.680865526, -0.0074476786, -0.953151584, -0.302089065, 0.0156119959, 0.302213609, -0.953219652, 0.0062854127, 0.0129829049, 0.0107091125, 0.999858022),Alpha)
1052
					RS.C0 = clerp(RS.C0,CFrame.new(1.26373434, 0.722399652, 0.00951428805, -0.951173186, 0.308261454, 0.0156119959, -0.308199704, -0.951300979, 0.0062854127, 0.0167892575, 0.0011669076, 0.999858022),Alpha)
1053
					NK.C0 = clerp(NK.C0,CFrame.new(-1.17865966e-07, 1.4989531, -0.0143954754, 0.999999642, 2.11689621e-05, 1.13360584e-05, -1.50896085e-07, 0.477647185, -0.878551781, -2.40113586e-05, 0.878551543, 0.477646947),Alpha)
1054
				end
1055
				gWeld:destroy()
1056
				local gWeld = NewInstance("Weld",Char,{Part0=Root,Part1=tor,C0=CF.N(0,2.35,0)*CF.A(M.R(90),0,M.R(90))})
1057
				for i = 0, 6, 0.1 do
1058
					swait()
1059
					local Alpha = .3
1060
					RJ.C0 = clerp(RJ.C0,CFrame.new(3.20394752e-13, 0.00629078969, 1.39809708e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha)
1061
					LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990819752, 0.021611426, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
1062
					RH.C0 = clerp(RH.C0,CFrame.new(0.498526245, -0.990984261, 0.0154614868, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
1063
					LS.C0 = clerp(LS.C0,CFrame.new(-1.29056597, 0.680865526, -0.0074476786, -0.953151584, -0.302089065, 0.0156119959, 0.302213609, -0.953219652, 0.0062854127, 0.0129829049, 0.0107091125, 0.999858022),Alpha)
1064
					RS.C0 = clerp(RS.C0,CFrame.new(1.26373434, 0.722399652, 0.00951428805, -0.951173186, 0.308261454, 0.0156119959, -0.308199704, -0.951300979, 0.0062854127, 0.0167892575, 0.0011669076, 0.999858022),Alpha)
1065
					NK.C0 = clerp(NK.C0,CFrame.new(-1.17865966e-07, 1.4989531, -0.0143954754, 0.999999642, 2.11689621e-05, 1.13360584e-05, -1.50896085e-07, 0.477647185, -0.878551781, -2.40113586e-05, 0.878551543, 0.477646947),Alpha)
1066
				end
1067
				if(not Dialogues)then
1068
					Blood(tor,250)
1069
					for i = 1, 25 do
1070
						BloodDrop(tor.Position,(tor.CFrame * CF.N(0,0,25)).p + V3.N(M.RNG(-5,5),M.RNG(-5,5),M.RNG(-5,5)),15)
1071
					end
1072
					Ragdoll(V,true)
1073
					if(V:FindFirstChild'Head')then
1074
						ShowDamage((V.Head.CFrame * CF.N(0, 0, (V.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "INSTANT", 1.5, C3.N(1,0,0))
1075
					end
1076
					coroutine.wrap(function()
1077
						repeat swait() hum.Health = hum.Health - .5 until not hum or not hum.Parent or not hum.Parent.Parent or hum.Health == 0
1078
					end)()
1079
					gWeld:destroy()
1080
					local s = Sound(tor,429400881,1,1,false,false,false)
1081
					s:Play()
1082
					s.Ended:connect(function() s:Destroy() end)
1083
					for i = 0, 1, 0.1 do
1084
						swait()
1085
						local Alpha = .3
1086
						RJ.C0 = clerp(RJ.C0,CFrame.new(3.20394752e-13, 0.00629078969, 1.39809708e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha)
1087
						LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990819752, 0.021611426, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
1088
						RH.C0 = clerp(RH.C0,CFrame.new(0.498526245, -0.990984261, 0.0154614868, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
1089
						LS.C0 = clerp(LS.C0,CFrame.new(-1.19203663, 0.569933176, 0.0160028264, -0.81626749, 0.577462554, 0.0156119959, -0.577441692, -0.816407859, 0.0062854127, 0.016375348, -0.0038844361, 0.999858022),Alpha)
1090
						RS.C0 = clerp(RS.C0,CFrame.new(1.22609437, 0.679628015, 0.010370885, -0.77247268, -0.634855568, 0.0156119959, 0.634996474, -0.772489607, 0.0062854127, 0.00806977227, 0.0147688743, 0.999858022),Alpha)
1091
						NK.C0 = clerp(NK.C0,CFrame.new(-1.17865966e-07, 1.4989531, -0.0143954754, 0.999999642, 2.11689621e-05, 1.13360584e-05, -1.50896085e-07, 0.477647185, -0.878551781, -2.40113586e-05, 0.878551543, 0.477646947),Alpha)
1092
					end
1093
					for i = 0, 4, 0.1 do
1094
						swait()
1095
						local Alpha = .3
1096
						RJ.C0 = clerp(RJ.C0,CFrame.new(3.20394752e-13, 0.00629078969, 1.39809708e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1097
						LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990819752, 0.021611426, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1098
						RH.C0 = clerp(RH.C0,CFrame.new(0.498526245, -0.990984261, 0.0154614868, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1099
						LS.C0 = clerp(LS.C0,CFrame.new(-1.19203663, 0.569933176, 0.0160028264, -0.81626749, 0.577462554, 0.0156119959, -0.577441692, -0.816407859, 0.0062854127, 0.016375348, -0.0038844361, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1100
						RS.C0 = clerp(RS.C0,CFrame.new(1.22609437, 0.679628015, 0.010370885, -0.77247268, -0.634855568, 0.0156119959, 0.634996474, -0.772489607, 0.0062854127, 0.00806977227, 0.0147688743, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1101
						NK.C0 = clerp(NK.C0,CFrame.new(-1.17865966e-07, 1.4989531, -0.0143954754, 0.999999642, 2.11689621e-05, 1.13360584e-05, -1.50896085e-07, 0.477647185, -0.878551781, -2.40113586e-05, 0.878551543, 0.477646947)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1102
					end
1103
					V.Parent = workspace
1104
				else
1105
					V.Parent = workspace
1106
					hum.WalkSpeed = 16
1107
					hum.JumpPower = 50
1108
					hum.AutoRotate = true
1109
					if(root)then root.Parent = V end
1110
					Chat(RandomChoice(Dialogues))
1111
					gWeld:destroy()
1112
				end
1113
			end
1114
		end
1115
		Attack = false
1116
		NeutralAnims = true
1117
		Hum.JumpPower = 50
1118
	end
1119
end
1120
1121
function F_Is_For_Friends()
1122
	if(Victim)then
1123
		Attack = true
1124
		NeutralAnims = false
1125
		Root.Anchored = true
1126
		Hum.WalkSpeed = 0
1127
		Hum.JumpPower = 0
1128
		Hum.AutoRotate = false
1129
		local hum = Victim:FindFirstChildOfClass'Humanoid'
1130
		if(hum)then
1131
			hum.WalkSpeed = 0
1132
			hum.JumpPower = 0
1133
			hum.AutoRotate = false
1134
			local tor,root = GetTorso(Victim),Victim:FindFirstChild'HumanoidRootPart'
1135
			if(tor)then
1136
				local plr = S.Players:GetPlayerFromCharacter(Victim)
1137
				Victim.Parent = Char
1138
				local V = Victim
1139
				Root.CFrame = tor.CFrame * CF.N(0,0,2)
1140
				for i = 0, 2, 0.1 do
1141
					swait()
1142
					local Alpha = .3
1143
					RJ.C0 = clerp(RJ.C0,CFrame.new(0.00184797007, 0.00629393011, 0.00175395911, 0.916352093, -0.00251661055, -0.400364727, 0, 0.99998033, -0.00628567068, 0.400372595, 0.0057598874, 0.916333973),Alpha)
1144
					LH.C0 = clerp(LH.C0,CFrame.new(-0.565588713, -0.991164684, -0.032800708, 0.909990132, 0, 0.414630055, -0.00260622799, 0.99998033, 0.00571989827, -0.41462189, -0.00628567068, 0.909972131),Alpha)
1145
					RH.C0 = clerp(RH.C0,CFrame.new(0.562351584, -0.990811467, 0.0429569148, 0.909990132, 0, 0.414630055, -0.00260622799, 0.99998033, 0.00571989827, -0.41462189, -0.00628567068, 0.909972131),Alpha)
1146
					LS.C0 = clerp(LS.C0,CFrame.new(-1.479936, 0.442725629, -0.241928637, 0.997844577, 0.0469278991, -0.0458690971, -0.0638397709, 0.532425106, -0.844066501, -0.015188396, 0.845175505, 0.534273386),Alpha)
1147
					RS.C0 = clerp(RS.C0,CFrame.new(1.32794857, 0.365926802, 0.17400004, 0.584510565, -0.811339498, 0.00870320201, 0.447906405, 0.331590444, 0.830317855, -0.676555634, -0.481431335, 0.557222128),Alpha)
1148
					NK.C0 = clerp(NK.C0,CFrame.new(-0.00438193232, 1.49895084, -0.014841184, 0.916352212, -0.0230187047, 0.399710178, -0.00251696701, 0.997995079, 0.0632432774, -0.400364548, -0.0589591675, 0.914456904),Alpha)
1149
				end
1150
				if(not IsWhitelisted((plr and plr.UserId or 0),Victim.Name))then
1151
					for i = 0, 1, 0.1 do
1152
						swait()
1153
						local Alpha = .2
1154
						RJ.C0 = clerp(RJ.C0,CFrame.new(0.0928741172, 0.00629402744, 0.0566893518, 0.948310614, 0.00199300773, 0.317336231, 0, 0.99998033, -0.00628030393, -0.31734252, 0.00595567934, 0.948291838),Alpha)
1155
						LH.C0 = clerp(LH.C0,CFrame.new(-0.645890057, -0.990359426, 0.0953748077, 0.953149736, 0, -0.302498937, 0.00189978536, 0.99998033, 0.00598607073, 0.302492946, -0.00628030393, 0.953130901),Alpha)
1156
						RH.C0 = clerp(RH.C0,CFrame.new(0.44459179, -0.991404057, -0.0513649136, 0.953149736, 0, -0.302498937, 0.00189978536, 0.99998033, 0.00598607073, 0.302492946, -0.00628030393, 0.953130901),Alpha)
1157
						LS.C0 = clerp(LS.C0,CFrame.new(-1.47928679, 0.367728233, 0.116084039, 0.997845054, 0.0248440802, 0.0607300103, -0.0638346076, 0.581721425, 0.810879469, -0.0151824057, -0.813008547, 0.582053781),Alpha)
1158
						RS.C0 = clerp(RS.C0,CFrame.new(1.48636484, 0.465858519, -0.373306572, -0.95769608, 0.284951091, -0.0402629375, -0.130770594, -0.306276649, 0.942917705, 0.256353855, 0.908293724, 0.330583185),Alpha)
1159
						NK.C0 = clerp(NK.C0,CFrame.new(-0.068510659, 1.4984324, -0.0973624364, 0.948310554, 0.0182456542, -0.316817731, 0.00199265103, 0.997983873, 0.0634387434, 0.31733641, -0.0607909337, 0.946362138),Alpha)
1160
					end
1161
					if(root)then root:destroy() end
1162
					local gWeld = NewInstance("Weld",Char,{Part0=RArm,Part1=tor,C0=CF.N(0,-1.15,0)*CF.A(M.R(90),0,M.R(180))})
1163
					for i = 0, 1.5, 0.1 do
1164
						swait()
1165
						local Alpha = .2
1166
						RJ.C0 = clerp(RJ.C0,CFrame.new(0.0928741172, 0.00629402744, 0.0566893518, 0.948310614, 0.00199300773, 0.317336231, 0, 0.99998033, -0.00628030393, -0.31734252, 0.00595567934, 0.948291838),Alpha)
1167
						LH.C0 = clerp(LH.C0,CFrame.new(-0.645890057, -0.990359426, 0.0953748077, 0.953149736, 0, -0.302498937, 0.00189978536, 0.99998033, 0.00598607073, 0.302492946, -0.00628030393, 0.953130901),Alpha)
1168
						RH.C0 = clerp(RH.C0,CFrame.new(0.44459179, -0.991404057, -0.0513649136, 0.953149736, 0, -0.302498937, 0.00189978536, 0.99998033, 0.00598607073, 0.302492946, -0.00628030393, 0.953130901),Alpha)
1169
						LS.C0 = clerp(LS.C0,CFrame.new(-1.47928679, 0.367728233, 0.116084039, 0.997845054, 0.0248440802, 0.0607300103, -0.0638346076, 0.581721425, 0.810879469, -0.0151824057, -0.813008547, 0.582053781),Alpha)
1170
						RS.C0 = clerp(RS.C0,CFrame.new(1.48636484, 0.465858519, -0.373306572, -0.95769608, 0.284951091, -0.0402629375, -0.130770594, -0.306276649, 0.942917705, 0.256353855, 0.908293724, 0.330583185),Alpha)
1171
						NK.C0 = clerp(NK.C0,CFrame.new(-0.068510659, 1.4984324, -0.0973624364, 0.948310554, 0.0182456542, -0.316817731, 0.00199265103, 0.997983873, 0.0634387434, 0.31733641, -0.0607909337, 0.946362138),Alpha)
1172
					end
1173
					for i = 0, 1.5, 0.1 do
1174
						swait()
1175
						local Alpha = .2
1176
						RJ.C0 = clerp(RJ.C0,CFrame.new(0.00625591865, 0.0813473165, 0.400900364, 0.999966562, 0.00783777051, -0.00216883142, -0.00785200112, 0.86111331, -0.508352578, -0.00211674068, 0.508352578, 0.861145973),Alpha)
1177
						LH.C0 = clerp(LH.C0,CFrame.new(-0.493550777, -1.11785793, 0.210999548, 0.999878109, -0.00785200112, 0.0134950019, -9.95867158e-05, 0.86111331, 0.508413196, -0.0156127857, -0.508352578, 0.861007512),Alpha)
1178
						RH.C0 = clerp(RH.C0,CFrame.new(0.501458287, -1.11329269, 0.203607619, 0.999878109, -0.00785200112, 0.0134950019, -9.95867158e-05, 0.86111331, 0.508413196, -0.0156127857, -0.508352578, 0.861007512),Alpha)
1179
						LS.C0 = clerp(LS.C0,CFrame.new(-1.42722964, 0.501024425, -0.00418075919, 0.987981081, 0.153783977, 0.0156133743, -0.15389666, 0.988066971, 0.00628429651, -0.0144606289, -0.008611653, 0.999858499),Alpha)
1180
						RS.C0 = clerp(RS.C0,CFrame.new(1.49951315, 0.533271909, 0.122298151, 0.999878109, -0.0090814922, -0.0127002187, -9.95867158e-05, -0.817126393, 0.576458812, -0.0156127857, -0.576387286, -0.817027688),Alpha)
1181
						NK.C0 = clerp(NK.C0,CFrame.new(7.63008302e-06, 1.49894154, -0.0144001842, 1, 6.98491931e-10, 9.31322575e-10, -3.63797881e-10, 0.973997772, -0.226557806, 0, 0.226557702, 0.973997891),Alpha)
1182
					end
1183
					for i = 0, 1, 0.1 do
1184
						swait()
1185
						local Alpha = .3
1186
						RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0187514834, -0.79457438, -1.20069253, 0.999795973, -0.0154833021, -0.0129478984, 0.0153970039, 0.17028904, 0.985273898, -0.0130504072, -0.985272229, 0.170492694),Alpha)
1187
						LH.C0 = clerp(LH.C0,CFrame.new(-0.501449645, -0.610708058, -0.298194289, 0.999878228, 0.0124785267, 0.0093758991, -9.93862486e-05, 0.605774939, -0.795636177, -0.0156080509, 0.795538306, 0.6057024),Alpha)
1188
						RH.C0 = clerp(RH.C0,CFrame.new(0.493200511, -0.598516285, -0.328632295, 0.999878228, 0.012479268, 0.00937492307, -9.9343175e-05, 0.605710208, -0.79568541, -0.0156080583, 0.79558748, 0.60563767),Alpha)
1189
						LS.C0 = clerp(LS.C0,CFrame.new(-1.45762277, 0.217138797, 0.937710166, 0.987961769, -0.0680040792, -0.13894996, -0.154015318, -0.516705632, -0.842196465, -0.0145234168, 0.853458226, -0.52095896),Alpha)
1190
						RS.C0 = clerp(RS.C0,CFrame.new(1.17450583, 0.446741909, -0.635936022, 0.971768141, 0.23593688, 0.000732728047, -0.0119010834, 0.0521189161, -0.998570144, -0.235637665, 0.970369816, 0.0534554198),Alpha)
1191
						NK.C0 = clerp(NK.C0,CFrame.new(7.62972468e-06, 1.49894738, -0.0143931806, 1.00000012, 0, -9.31322575e-10, 6.54836185e-11, 0.973998249, -0.226556346, -9.31322575e-10, 0.226556271, 0.973998129),Alpha)
1192
					end
1193
					gWeld:destroy()
1194
					tor.CFrame = Root.CFrame*CF.A(M.R(90),0,M.R(180))*CF.N(0,1.5,2.5)
1195
					tor.Anchored = true
1196
					for i = 0, 1.5, 0.1 do
1197
						swait()
1198
						local Alpha = .3
1199
						RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0187514834, -0.79457438, -1.20069253, 0.999795973, -0.0154833021, -0.0129478984, 0.0153970039, 0.17028904, 0.985273898, -0.0130504072, -0.985272229, 0.170492694),Alpha)
1200
						LH.C0 = clerp(LH.C0,CFrame.new(-0.501449645, -0.610708058, -0.298194289, 0.999878228, 0.0124785267, 0.0093758991, -9.93862486e-05, 0.605774939, -0.795636177, -0.0156080509, 0.795538306, 0.6057024),Alpha)
1201
						RH.C0 = clerp(RH.C0,CFrame.new(0.493200511, -0.598516285, -0.328632295, 0.999878228, 0.012479268, 0.00937492307, -9.9343175e-05, 0.605710208, -0.79568541, -0.0156080583, 0.79558748, 0.60563767),Alpha)
1202
						LS.C0 = clerp(LS.C0,CFrame.new(-1.45762277, 0.217138797, 0.937710166, 0.987961769, -0.0680040792, -0.13894996, -0.154015318, -0.516705632, -0.842196465, -0.0145234168, 0.853458226, -0.52095896),Alpha)
1203
						RS.C0 = clerp(RS.C0,CFrame.new(1.17450583, 0.446741909, -0.635936022, 0.971768141, 0.23593688, 0.000732728047, -0.0119010834, 0.0521189161, -0.998570144, -0.235637665, 0.970369816, 0.0534554198),Alpha)
1204
						NK.C0 = clerp(NK.C0,CFrame.new(7.62972468e-06, 1.49894738, -0.0143931806, 1.00000012, 0, -9.31322575e-10, 6.54836185e-11, 0.973998249, -0.226556346, -9.31322575e-10, 0.226556271, 0.973998129),Alpha)
1205
					end
1206
					Ragdoll(V)
1207
					if(V:FindFirstChild'Head')then
1208
						local s = Sound(tor,429400881,1,1,false,false,false)
1209
						s:Play()
1210
						s.Ended:connect(function() s:Destroy() end)
1211
						for i = 1, 15 do
1212
							BloodPuddle(V.Head.Position + V3.N(0,1,0) + V3.N(M.RNG(-75,75)/100,M.RNG(-75,75)/100,M.RNG(-75,75)/100),5,15,V)
1213
						end
1214
						ShowDamage((V.Head.CFrame * CF.N(0, 0, (V.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "INSTANT", 1.5, C3.N(1,0,0))
1215
						V.Head:destroy()
1216
					end
1217
					V.Parent = workspace
1218
					for i = 0, 1, 0.1 do
1219
						swait()
1220
						local Alpha = .5
1221
						RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0187514834, -0.79457438, -1.20069253, 0.999795973, -0.0154833021, -0.0129478984, 0.0153970039, 0.17028904, 0.985273898, -0.0130504072, -0.985272229, 0.170492694),Alpha)
1222
						LH.C0 = clerp(LH.C0,CFrame.new(-0.501449645, -0.610708058, -0.298194289, 0.999878228, 0.0124785267, 0.0093758991, -9.93862486e-05, 0.605774939, -0.795636177, -0.0156080509, 0.795538306, 0.6057024),Alpha)
1223
						RH.C0 = clerp(RH.C0,CFrame.new(0.493200511, -0.598516285, -0.328632295, 0.999878228, 0.012479268, 0.00937492307, -9.9343175e-05, 0.605710208, -0.79568541, -0.0156080583, 0.79558748, 0.60563767),Alpha)
1224
						LS.C0 = clerp(LS.C0,CFrame.new(-0.891352475, 1.30320811, -0.969099402, 0.885748208, -0.442882746, -0.138943374, -0.340959162, -0.417689204, -0.842189372, 0.31495595, 0.793341637, -0.520972252),Alpha)
1225
						RS.C0 = clerp(RS.C0,CFrame.new(1.17450583, 0.446741909, -0.635936022, 0.971768141, 0.23593688, 0.000732728047, -0.0119010834, 0.0521189161, -0.998570144, -0.235637665, 0.970369816, 0.0534554198),Alpha)
1226
						NK.C0 = clerp(NK.C0,CFrame.new(7.62972468e-06, 1.49894738, -0.0143931806, 1.00000012, 0, -9.31322575e-10, 6.54836185e-11, 0.973998249, -0.226556346, -9.31322575e-10, 0.226556271, 0.973998129),Alpha)
1227
					end
1228
					tor.Anchored = false
1229
				else
1230
					swait(30)
1231
					V.Parent = workspace
1232
					hum.WalkSpeed = 16
1233
					hum.JumpPower = 50
1234
					hum.AutoRotate = true
1235
					local dialogue = IsWhitelisted((plr and plr.UserId or 0),V.Name)
1236
					Chat(dialogue[M.RNG(1,#dialogue)])
1237
				end
1238
			end
1239
		end
1240
		Hum.WalkSpeed = 8
1241
		Hum.JumpPower = 50
1242
		Hum.AutoRotate = true
1243
		Root.Anchored = false
1244
		Attack = false
1245
		NeutralAnims = true
1246
	end
1247
end
1248
1249
function Tear_My_Life_Into_Taunts()
1250
	Attack = true
1251
	NeutralAnims = false
1252
	for i = 0, 8, 0.1 do
1253
		swait()
1254
		local Alpha = .3
1255
		RJ.C0 = clerp(RJ.C0,CFrame.new(3.20698329e-13, 0.00629675016, 1.43556463e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1256
		LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990822613, 0.0216114447, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1257
		RH.C0 = clerp(RH.C0,CFrame.new(0.498533875, -0.990987241, 0.0154613862, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1258
		LS.C0 = clerp(LS.C0,CFrame.new(-1.4130398, 0.471796542, 0.436438888, 0.849095166, -0.528082132, -0.0128858006, -0.440307319, -0.694065511, -0.569563627, 0.291832745, 0.489287376, -0.821846128)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1259
		RS.C0 = clerp(RS.C0,CFrame.new(1.40943193, 0.493523985, 0.387199104, 0.835501969, 0.547668338, -0.0446685776, 0.420134097, -0.689098537, -0.590449631, -0.354151636, 0.474555045, -0.805837154)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1260
		NK.C0 = clerp(NK.C0,CFrame.new(5.36867731e-07, 1.49895, -0.0144043043, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1261
	end
1262
	for i = 0, 6, 0.1 do
1263
		swait()
1264
		local Alpha = .3
1265
		RJ.C0 = clerp(RJ.C0,CFrame.new(3.20698329e-13, 0.00629675016, 1.43556463e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1266
		LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990822613, 0.0216114447, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1267
		RH.C0 = clerp(RH.C0,CFrame.new(0.498533875, -0.990987241, 0.0154613862, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1268
		LS.C0 = clerp(LS.C0,CFrame.new(-1.23893571, 1.10698521, -0.259219378, 0.91258198, -0.374027461, 0.165217906, -0.313840568, -0.899720669, -0.303326517, 0.262102395, 0.224958256, -0.938453794)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1269
		RS.C0 = clerp(RS.C0,CFrame.new(1.34101844, 0.980774999, 0.079483822, 0.969134748, 0.232594684, 0.0817119107, 0.245576948, -0.939937592, -0.237085104, 0.0216593593, 0.249834001, -0.968046069)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1270
		NK.C0 = clerp(NK.C0,CFrame.new(8.18966896e-07, 2.2650795, -0.0633551627, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1271
	end
1272
	for i = 0, 8, 0.1 do
1273
		swait()
1274
		local Alpha = .3
1275
		RJ.C0 = clerp(RJ.C0,CFrame.new(3.20698329e-13, 0.00629675016, 1.43556463e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1276
		LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990822613, 0.0216114447, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1277
		RH.C0 = clerp(RH.C0,CFrame.new(0.498533875, -0.990987241, 0.0154613862, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1278
		LS.C0 = clerp(LS.C0,CFrame.new(-1.4130398, 0.471796542, 0.436438888, 0.849095166, -0.528082132, -0.0128858006, -0.440307319, -0.694065511, -0.569563627, 0.291832745, 0.489287376, -0.821846128)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1279
		RS.C0 = clerp(RS.C0,CFrame.new(1.40943193, 0.493523985, 0.387199104, 0.835501969, 0.547668338, -0.0446685776, 0.420134097, -0.689098537, -0.590449631, -0.354151636, 0.474555045, -0.805837154)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1280
		NK.C0 = clerp(NK.C0,CFrame.new(5.36867731e-07, 1.49895, -0.0144043043, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1281
	end
1282
	Attack = false
1283
	NeutralAnims = true
1284
end
1285
1286
1287
function Tear_My_Life_Into_Pieces()
1288
	Attack = true
1289
	NeutralAnims = false
1290
	for i = 0, 8, 0.1 do
1291
		swait()
1292
		local Alpha = .3
1293
		RJ.C0 = clerp(RJ.C0,CFrame.new(3.20698329e-13, 0.00629675016, 1.43556463e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1294
		LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990822613, 0.0216114447, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1295
		RH.C0 = clerp(RH.C0,CFrame.new(0.498533875, -0.990987241, 0.0154613862, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1296
		LS.C0 = clerp(LS.C0,CFrame.new(-1.4130398, 0.471796542, 0.436438888, 0.849095166, -0.528082132, -0.0128858006, -0.440307319, -0.694065511, -0.569563627, 0.291832745, 0.489287376, -0.821846128)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1297
		RS.C0 = clerp(RS.C0,CFrame.new(1.40943193, 0.493523985, 0.387199104, 0.835501969, 0.547668338, -0.0446685776, 0.420134097, -0.689098537, -0.590449631, -0.354151636, 0.474555045, -0.805837154)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1298
		NK.C0 = clerp(NK.C0,CFrame.new(5.36867731e-07, 1.49895, -0.0144043043, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1299
	end
1300
	for i = 0, 8, 0.1 do
1301
		swait()
1302
		local Alpha = .3
1303
		RJ.C0 = clerp(RJ.C0,CFrame.new(3.20698329e-13, 0.00629675016, 1.43556463e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1304
		LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990822613, 0.0216114447, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1305
		RH.C0 = clerp(RH.C0,CFrame.new(0.498533875, -0.990987241, 0.0154613862, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1306
		LS.C0 = clerp(LS.C0,CFrame.new(-1.23893571, 1.10698521, -0.259219378, 0.91258198, -0.374027461, 0.165217906, -0.313840568, -0.899720669, -0.303326517, 0.262102395, 0.224958256, -0.938453794)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1307
		RS.C0 = clerp(RS.C0,CFrame.new(1.34101844, 0.980774999, 0.079483822, 0.969134748, 0.232594684, 0.0817119107, 0.245576948, -0.939937592, -0.237085104, 0.0216593593, 0.249834001, -0.968046069)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1308
		NK.C0 = clerp(NK.C0,CFrame.new(8.18966896e-07, 2.2650795, -0.0633551627, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1309
	end
1310
	for i = 0, 3, 0.1 do
1311
		swait()
1312
		local Alpha = .3
1313
		RJ.C0 = clerp(RJ.C0,CFrame.new(3.20698329e-13, 0.00629675016, 1.43556463e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1314
		LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990822613, 0.0216114447, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1315
		RH.C0 = clerp(RH.C0,CFrame.new(0.498533875, -0.990987241, 0.0154613862, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1316
		LS.C0 = clerp(LS.C0,CFrame.new(-1.50119066, 0.635437846, 0.183586091, 0.999877751, -0.00959497504, -0.0123154735, -9.81397825e-05, -0.792694271, 0.609619617, -0.0156116877, -0.60954386, -0.792598248)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1317
		RS.C0 = clerp(RS.C0,CFrame.new(1.42464852, 0.494964302, 0.0084314663, 0.989141941, -0.146129116, 0.0156119959, 0.146047026, 0.989257753, 0.0062854127, -0.0163627695, -0.00393708423, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1318
		NK.C0 = clerp(NK.C0,CFrame.new(-1.52624333, 1.82071006, 1.26504755, 0.999999642, -4.94066626e-06, -7.65314326e-07, 3.14830686e-08, 0.159286067, -0.987232625, 4.99933958e-06, 0.987232208, 0.159286022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1319
	end
1320
	for i = 0, .8, 0.1 do
1321
		swait()
1322
		local Alpha = .3
1323
		RJ.C0 = clerp(RJ.C0,CFrame.new(3.20698329e-13, 0.00629675016, 1.43556463e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1324
		LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990822613, 0.0216114447, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1325
		RH.C0 = clerp(RH.C0,CFrame.new(0.498533875, -0.990987241, 0.0154613862, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1326
		LS.C0 = clerp(LS.C0,CFrame.new(-1.5084902, 0.727420211, -0.284505814, 0.999877751, 0.0138456346, -0.00721337926, -9.81397825e-05, -0.456457406, -0.889745295, -0.0156116877, 0.889637291, -0.456400275)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1327
		RS.C0 = clerp(RS.C0,CFrame.new(1.42464852, 0.494964302, 0.0084314663, 0.989141941, -0.146129116, 0.0156119959, 0.146047026, 0.989257753, 0.0062854127, -0.0163627695, -0.00393708423, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1328
		NK.C0 = clerp(NK.C0,CFrame.new(-1.5716989, 1.57655525, -1.64465189, 0.999711812, -0.0205687769, 0.0123552298, 0.0152448276, 0.94212538, 0.33491385, -0.0185289457, -0.334628969, 0.942167461)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1329
	end
1330
	Head.Transparency = 1
1331
	for _,v in next, Char:children() do
1332
		if(v:IsA'Accessory')then v.Handle.Transparency = 1 end
1333
	end
1334
	local projectile = Head:Clone()
1335
	projectile.Transparency = 0
1336
	projectile.Parent = workspace
1337
	local bv = NewInstance("BodyVelocity",projectile,{Velocity=(Mouse.Hit.p - projectile.CFrame.p).unit * 125})
1338
	delay(.2, function()
1339
		bv:destroy()
1340
	end)
1341
	projectile.Touched:connect(function(t)
1342
		if(not Char:IsAncestorOf(t))then
1343
			local hum = (t and t.Parent and t.Parent:FindFirstChildOfClass'Humanoid')
1344
			local hed = (t and t.Parent and t.Parent:FindFirstChild'Head')
1345
			if(hum and hed and hum.Health > 0)then
1346
				local plr = S.Players:GetPlayerFromCharacter(t.Parent)
1347
				if(not IsWhitelisted((plr and plr.UserId or 0),t.Parent.Name))then
1348
					t.Parent:breakJoints()
1349
					Ragdoll(t.Parent)
1350
				end
1351
			end
1352
		end
1353
	end)
1354
	coroutine.wrap(function()
1355
		for i = 1, 0, -.05 do
1356
			Head.Transparency = i
1357
			for _,v in next, Char:children() do
1358
				if(v:IsA'Accessory')then v.Handle.Transparency = i end
1359
			end
1360
			swait()
1361
		end
1362
		Head.Transparency = 0
1363
		for _,v in next, Char:children() do
1364
			if(v:IsA'Accessory')then v.Handle.Transparency = 0 end
1365
		end
1366
	end)()
1367
	delay(2, function()
1368
		for i = 0, 1, .05 do
1369
			projectile.Transparency = i
1370
			swait()
1371
		end
1372
		projectile:destroy()
1373
	end)
1374
	swait(30)
1375
	NeutralAnims = true
1376
	Attack = false
1377
end
1378
1379
function An_Error_Has_Occureedddddddddd()
1380
	Attack = true
1381
	coroutine.wrap(function()
1382
		while true do
1383
			swait()
1384
			local pow = 75
1385
			FT.Parent = Torso
1386
			RA.Parent = RArm
1387
			LA.Parent = LArm
1388
			RL.Parent = RLeg
1389
			LL.Parent = LLeg
1390
			for _,v in next, Char:GetDescendants() do
1391
				if(v:IsA'DataModelMesh')then
1392
					v.Offset = V3.N(M.RNG(-pow,pow)/100,M.RNG(-pow,pow)/100,M.RNG(-pow,pow)/100)
1393
				end
1394
			end
1395
		end
1396
	end)()
1397
	Chat("An error has "..string.rep("ocu",25))
1398
	swait(30)
1399
	coroutine.wrap(function()
1400
		local tp = Music.TimePosition
1401
		while true do
1402
			swait(30)
1403
			Music.TimePosition = tp
1404
		end
1405
	end)()
1406
	swait(60)
1407
	for _,v in next, workspace:GetDescendants() do
1408
		if(v:FindFirstChildOfClass'Humanoid')then
1409
			coroutine.wrap(function() Ragdoll(v,false,true) end)()
1410
		end
1411
	end
1412
end
1413
1414
Mouse.KeyDown:connect(function(k)
1415
	if(Attack)then return end
1416
	if(k == 'q')then You_Cant_Hide() end
1417
	if(k == 'z')then F_Is_For_Friends() end
1418
	if(k == 'x')then Brutal_Overlord() end
1419
	if(k == 'c')then Tear_My_Life_Into_Pieces() end
1420
	if(k == 't')then Tear_My_Life_Into_Taunts() end
1421
	if(k == 'v')then An_Error_Has_Occureedddddddddd() end
1422
end)
1423
1424
--// Wrap it all up \\--
1425
1426
1427
coroutine.wrap(function()
1428
	while true do
1429
		swait()
1430
		for puddle,data in next, BloodPuddles do
1431
			if(puddle.Transparency > 0.9)then
1432
				BloodPuddles[puddle] = nil
1433
				puddle:destroy()
1434
			end
1435
			data.Frame = data.Frame + 1
1436
			if(data.Frame > Frame_Speed*4)then
1437
				local trans = (data.Frame-Frame_Speed*4)/Frame_Speed*2
1438
				puddle.Transparency = trans
1439
				if(puddle:FindFirstChild'CylinderMesh' and puddle.CylinderMesh.Scale.Z > 0)then
1440
					puddle.CylinderMesh.Scale = puddle.CylinderMesh.Scale-V3.N(.1,0,.1)
1441
				end
1442
			else
1443
				puddle.Transparency = 0
1444
			end
1445
		end
1446
	end
1447
end)()
1448
1449
Hum.WalkSpeed = 8
1450
while true do
1451
	swait()
1452
	if(not Music or not Music.Parent)then
1453
		local a = Music.TimePosition
1454
		Music = Sound(Char,MusicID,1,3,true,false,true)
1455
		Music.Name = 'Music'
1456
		Music.TimePosition = a
1457
	end
1458
	Music.Volume = 5
1459
	Sine = Sine + Change
1460
	local hitfloor,posfloor = workspace:FindPartOnRay(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * 4), Char)
1461
	local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
1462
	local State = (not hitfloor and Root.Velocity.y < -1 and "Fall" or not hitfloor and Root.Velocity.y > 1 and "Jump" or hitfloor and Walking and "Walk" or hitfloor and "Idle")
1463
	if(State == 'Walk')then
1464
		local Alpha = math.min(.2*(Hum.WalkSpeed/16),1)
1465
		if(Hum.WalkSpeed < 14)then
1466
			local wsVal = 14 / (Hum.WalkSpeed/5)
1467
			Change = 1
1468
			RH.C1 = RH.C1:lerp(CF.N(0,.985-.15*M.S(Sine/wsVal),0+.2*-M.C(Sine/wsVal))*CF.A(M.R(0+20*M.C(Sine/wsVal)),0,0),Alpha)
1469
			LH.C1 = LH.C1:lerp(CF.N(0,.985-.15*-M.S(Sine/wsVal),0+.2*M.C(Sine/wsVal))*CF.A(M.R(0-20*M.C(Sine/wsVal)),0,0),Alpha)
1470
		elseif(Hum.WalkSpeed >= 14)then
1471
			local wsVal = 7 / (Hum.WalkSpeed/16)	
1472
			Change = 2/3
1473
			RH.C1 = RH.C1:lerp(CF.N(0,1-.25*M.S(Sine/wsVal),0+.2*-M.C(Sine/wsVal))*CF.A(M.R(15+25*M.C(Sine/wsVal)),0,0),Alpha)
1474
			LH.C1 = LH.C1:lerp(CF.N(0,1-.25*-M.S(Sine/wsVal),0+.2*M.C(Sine/wsVal))*CF.A(M.R(15-25*M.C(Sine/wsVal)),0,0),Alpha)
1475
		end
1476
	else
1477
		RH.C1 = RH.C1:lerp(CF.N(0,1,0),.3)
1478
		LH.C1 = LH.C1:lerp(CF.N(0,1,0),.3)
1479
	end
1480
	local twitch = M.RNG(1,250)
1481
	if(twitch == 1 and not Twitch and time()-LastTwitch > TwitchMinTime)then
1482
		Twitch = true
1483
		LastTwitch = time()
1484
	end
1485
	if(time()-LastTwitch > M.RNG(75,150)/100)then
1486
		Twitch = false
1487
	end
1488
	if(Twitch)then
1489
		local pow = 75
1490
		NK.C1 = NK.C1:lerp(CF.A(-M.R(15)-M.RRNG(15,45),-(M.R(25)+M.RRNG(-100,100)/100),0),.3)
1491
		Music.Pitch = .8
1492
		--[[FT.Parent = Torso
1493
		RA.Parent = RArm
1494
		LA.Parent = LArm
1495
		RL.Parent = RLeg
1496
		LL.Parent = LLeg
1497
		for _,v in next, Char:GetDescendants() do
1498
			if(v:IsA'DataModelMesh')then
1499
				v.Offset = V3.N(M.RNG(-pow,pow)/100,M.RNG(-pow,pow)/100,M.RNG(-pow,pow)/100)
1500
			end
1501
		end]]
1502
	else
1503
		NK.C1 = NK.C1:lerp(CF.N(),.3)
1504
		Music.Pitch = 1
1505
		--[[FT.Parent = nil
1506
		RA.Parent = nil
1507
		LA.Parent = nil
1508
		RL.Parent = nil
1509
		LL.Parent = nil
1510
		for _,v in next, Char:GetDescendants() do
1511
			if(v:IsA'DataModelMesh')then
1512
				v.Offset = V3.N()
1513
			end
1514
		end]]
1515
	end
1516
	if(Victim and (not Victim:FindFirstChildOfClass'Humanoid' or not Victim.Parent or not GetTorso(Victim)))then
1517
		Victim = nil
1518
	end
1519
	if(not Victim)then
1520
		Target.Adornee = nil
1521
		Target.Enabled = false
1522
	elseif(GetTorso(Victim))then
1523
		Target.Adornee = GetTorso(Victim)
1524
		Target.Enabled = true
1525
	end
1526
	TargetImg1.Rotation = TargetImg1.Rotation + 2
1527
	TargetImg2.Rotation = TargetImg2.Rotation - 2
1528
1529
	if(NeutralAnims)then	
1530
		if(State == 'Idle')then
1531
			local Alpha = .2
1532
			RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00314458925, 0.0451914072+.15*M.C(time()), -0.20140326, 0.999990046, -0.00435535889, -0.000589565374, 0.00435100077, 0.96206224, 0.272795409, -0.000620923936, -0.27279523, 0.962071478),Alpha)
1533
			LH.C0 = clerp(LH.C0,CFrame.new(-0.497960001, -1.04775584-.15*M.C(time()), -0.0720805228, 0.999878228, 0.00435100077, 0.014991004, -9.5948657e-05, 0.96206224, -0.272830069, -0.0156093612, 0.272795409, 0.961945415),Alpha)
1534
			RH.C0 = clerp(RH.C0,CFrame.new(0.49705413, -1.05053294-.15*M.C(time()), -0.0786191523, 0.999878228, 0.00435100077, 0.014991004, -9.5948657e-05, 0.96206224, -0.272830069, -0.0156093612, 0.272795409, 0.961945415),Alpha)
1535
			LS.C0 = clerp(LS.C0,CFrame.new(-1.47194386, 0.51491183+.15*M.C(time()), -0.0806432366, 0.997356772, 0.0710981488, 0.014991004, -0.0643278062, 0.95990926, -0.272830069, -0.0337877162, 0.271144569, 0.961945415),Alpha)
1536
			RS.C0 = clerp(RS.C0,CFrame.new(1.46653831, 0.491472602+.15*M.C(time()), -0.0686791688, 0.998338819, -0.0556335486, 0.014991004, 0.057612583, 0.960335672, -0.272830069, 0.00078211166, 0.273240507, 0.961945415),Alpha)
1537
			NK.C0 = clerp(NK.C0,CFrame.new(1.2824883e-05, 1.52978039, -0.358495057, 1.00000012, 2.7930364e-06, 1.10529363e-05, -9.7640368e-06, 0.710427284, 0.703770578, -5.88688999e-06, -0.703770638, 0.710427284),Alpha)
1538
		elseif(State == 'Walk')then
1539
			local Alpha = .3
1540
			if(Hum.WalkSpeed < 14)then
1541
				local wsVal = 14 / (Hum.WalkSpeed/5)
1542
				NK.C0 = clerp(NK.C0,CFrame.new(1.2824883e-05, 1.52978039, -0.358495057, 1.00000012, 2.7930364e-06, 1.10529363e-05, -9.7640368e-06, 0.710427284, 0.703770578, -5.88688999e-06, -0.703770638, 0.710427284),Alpha)
1543
				LH.C0 = clerp(LH.C0,LHC0*CF.N(0,0+.1*-M.C(Sine/(wsVal/2)),0),Alpha)
1544
				RH.C0 = clerp(RH.C0,RHC0*CF.N(0,0+.1*-M.C(Sine/(wsVal/2)),0),Alpha)
1545
				RJ.C0 = clerp(RJ.C0,RJC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0),Alpha)
1546
				RS.C0 = clerp(RS.C0,RSC0*CF.A(M.R(0+20*M.C(Sine/wsVal)),0,M.R(5)),Alpha)
1547
				LS.C0 = clerp(LS.C0,LSC0*CF.A(M.R(0+20*-M.C(Sine/wsVal)),0,M.R(-5)),Alpha)
1548
			elseif(Hum.WalkSpeed >= 14)then
1549
				local wsVal = 7 / (Hum.WalkSpeed/16)
1550
				NK.C0 = clerp(NK.C0,CFrame.new(1.2824883e-05, 1.52978039, -0.358495057, 1.00000012, 2.7930364e-06, 1.10529363e-05, -9.7640368e-06, 0.710427284, 0.703770578, -5.88688999e-06, -0.703770638, 0.710427284),Alpha)			
1551
				LH.C0 = clerp(LH.C0,LHC0*CF.N(0,0+.1*-M.C(Sine/(wsVal/2)),0),Alpha)
1552
				RH.C0 = clerp(RH.C0,RHC0*CF.N(0,0+.1*-M.C(Sine/(wsVal/2)),0),Alpha)
1553
				RJ.C0 = clerp(RJ.C0,RJC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0),Alpha)
1554
				RS.C0 = clerp(RS.C0,RSC0*CF.A(M.R(0+25*M.C(Sine/wsVal)),0,M.R(5)),Alpha)
1555
				LS.C0 = clerp(LS.C0,LSC0*CF.A(M.R(0+25*-M.C(Sine/wsVal)),0,M.R(-5)),Alpha)
1556
			end
1557
		elseif(State == 'Jump' or State == 'Fall')then
1558
			IdleCounter = 0
1559
			if(Walking)then
1560
				local Alpha = .2
1561
				RJ.C0 = clerp(RJ.C0,RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(65)),M.R(65)),0,0),Alpha)
1562
				LH.C0 = clerp(LH.C0,CFrame.new(-0.497912645, -1.0987643, -0.0683324337, 0.999878228, 0.00860835519, 0.0130246133, -0.00010142161, 0.837816596, -0.545952022, -0.015611981, 0.545884132, 0.837715328),Alpha)
1563
				RH.C0 = clerp(RH.C0,CFrame.new(0.499978393, -1.16382337, 0.109293163, 0.999878228, -0.0120433727, 0.00993486121, -0.00010142161, 0.631323814, 0.775519371, -0.015611981, -0.775425911, 0.631245613),Alpha)
1564
				LS.C0 = clerp(LS.C0,CFrame.new(-1.55211556, 0.576563478, -0.00269976072, 0.976067662, 0.216906726, 0.0156116467, -0.217024669, 0.976145923, 0.00628317893, -0.0138763804, -0.00952091813, 0.999858499),Alpha)
1565
				RS.C0 = clerp(RS.C0,CFrame.new(1.50182188, 0.636661649, 0.00632623257, 0.977592707, -0.209926367, 0.0156121543, 0.209851891, 0.977713108, 0.00628198683, -0.016582964, -0.00286500831, 0.999858439),Alpha)
1566
				NK.C0 = clerp(NK.C0,CFrame.new(1.14440072e-05, 1.49924362, -0.0143961608, 1.00000024, -5.82076609e-11, 0, 1.23691279e-10, 0.997964919, 0.0637660474, 0, -0.0637660623, 0.997965038),Alpha)
1567
			else
1568
				local Alpha = .2
1569
				RJ.C0 = clerp(RJ.C0,RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(65)),M.R(65)),0,0),Alpha)
1570
				LH.C0 = clerp(LH.C0,CFrame.new(-0.504374504, -0.291219354, -0.487436086, 0.999878228, -0.00438931212, 0.0149825988, -0.00010142161, 0.957819223, 0.287371844, -0.015611981, -0.287338346, 0.957701981),Alpha)
1571
				RH.C0 = clerp(RH.C0,CFrame.new(0.453094482, -0.871358454, 0.0898642987, 0.985589385, -0.168456957, 0.0153662469, 0.162863791, 0.969548643, 0.182895929, -0.0457084104, -0.177757636, 0.983012319),Alpha)
1572
				LS.C0 = clerp(LS.C0,CFrame.new(-1.55211556, 0.576563478, -0.00269976072, 0.976067662, 0.216906726, 0.0156116467, -0.217024669, 0.976145923, 0.00628317893, -0.0138763804, -0.00952091813, 0.999858499),Alpha)
1573
				RS.C0 = clerp(RS.C0,CFrame.new(1.50182188, 0.636661649, 0.00632623257, 0.977592707, -0.209926367, 0.0156121543, 0.209851891, 0.977713108, 0.00628198683, -0.016582964, -0.00286500831, 0.999858439),Alpha)
1574
				NK.C0 = clerp(NK.C0,CFrame.new(1.14440072e-05, 1.49924362, -0.0143961608, 1.00000024, -5.82076609e-11, 0, 1.23691279e-10, 0.997964919, 0.0637660474, 0, -0.0637660623, 0.997965038),Alpha)
1575
			end
1576
		end
1577
	end
1578
end