View difference between Paste ID: fravNyQn and zyxvNuDa
SHOW: | | - or go back to the newest paste.
1
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
2
local Player,game,owner = owner,game
3
local RealPlayer = Player
4
do
5
    print("FE Compatibility code by Mokiros")
6
    local rp = RealPlayer
7
    script.Parent = rp.Character
8
   
9
    --RemoteEvent for communicating
10
    local Event = Instance.new("RemoteEvent")
11
    Event.Name = "UserInput_Event"
12
 
13
    --Fake event to make stuff like Mouse.KeyDown work
14
    local function fakeEvent()
15
        local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
16
        t.connect = t.Connect
17
        return t
18
    end
19
 
20
    --Creating fake input objects with fake variables
21
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
22
    local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
23
    local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
24
        CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
25
    end}
26-
      --obj.SoundId = "rbxassetid://1212564385"
26+
    --Merged 2 functions into one by checking amount of arguments
27
    CAS.UnbindAction = CAS.BindAction
28
 
29
    --This function will trigger the events that have been :Connect()'ed
30
    local function te(self,ev,...)
31
        local t = m[ev]
32
        if t and t._fakeEvent then
33
            for _,f in pairs(t.Functions) do
34
                f(...)
35
            end
36
        end
37
    end
38
    m.TrigEvent = te
39
    UIS.TrigEvent = te
40
 
41
    Event.OnServerEvent:Connect(function(plr,io)
42
        if plr~=rp then return end
43
        m.Target = io.Target
44
        m.Hit = io.Hit
45
        if not io.isMouse then
46
            local b = io.UserInputState == Enum.UserInputState.Begin
47
            if io.UserInputType == Enum.UserInputType.MouseButton1 then
48
                return m:TrigEvent(b and "Button1Down" or "Button1Up")
49
            end
50
            if io.UserInputType == Enum.UserInputType.MouseButton2 then
51
                return m:TrigEvent(b and "Button2Down" or "Button2Up")
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
    local Mouse = Player:GetMouse()
68
    local UIS = game:GetService("UserInputService")
69
    local input = function(io,a)
70
        if a then return end
71
        --Since InputObject is a client-side instance, we create and pass table instead
72
        Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
73
    end
74
    UIS.InputBegan:Connect(input)
75
    UIS.InputEnded:Connect(input)
76
    local h,t
77
    --Give the server mouse data 30 times every second, but only if the values changed
78
    --If player is not moving their mouse, client won't fire events
79
    while wait(1/30) do
80
        if h~=Mouse.Hit or t~=Mouse.Target then
81
            h,t=Mouse.Hit,Mouse.Target
82
            Event:FireServer({isMouse=true,Target=t,Hit=h})
83
        end
84
    end]==],Player.Character)
85
 
86
    ----Sandboxed game object that allows the usage of client-side methods and services
87
    --Real game object
88
    local _rg = game
89
 
90
    --Metatable for fake service
91
    local fsmt = {
92
        __index = function(self,k)
93
            local s = rawget(self,"_RealService")
94
            if s then
95
                return typeof(s[k])=="function"
96
                and function(_,...)return s[k](s,...)end or s[k]
97
            end
98
        end,
99
        __newindex = function(self,k,v)
100
            local s = rawget(self,"_RealService")
101
            if s then s[k]=v end
102
        end
103
    }
104
    local function FakeService(t,RealService)
105
        t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
106
        return setmetatable(t,fsmt)
107
    end
108
 
109
    --Fake game object
110
    local g = {
111
        GetService = function(self,s)
112
            return rawget(self,s) or _rg:GetService(s)
113
        end,
114
        Players = FakeService({
115
            LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
116
        },"Players"),
117
        UserInputService = FakeService(UIS,"UserInputService"),
118
        ContextActionService = FakeService(CAS,"ContextActionService"),
119
        RunService = FakeService({
120
            _btrs = {},
121
            RenderStepped = _rg:GetService("RunService").Heartbeat,
122
            BindToRenderStep = function(self,name,_,fun)
123
                self._btrs[name] = self.Heartbeat:Connect(fun)
124
            end,
125
            UnbindFromRenderStep = function(self,name)
126
                self._btrs[name]:Disconnect()
127
            end,
128
        },"RunService")
129
    }
130
    rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
131
    g.service = g.GetService
132
    FakeService(g,game)
133
    --Changing owner to fake player object to support owner:GetMouse()
134
    game,owner = g,g.Players.LocalPlayer
135
end
136
frameincrease = 30
137
138
local folder = {
139
"€",
140
"¬ ",
141
"Æ",
142
"Â¥",
143
"Ã",
144
"Æ’",
145
}
146
147
warn("Made by SezHu. I made this Voodoo doll before Creterisk or Nebula_Zorua ever released theirs. I thought to myself, what has no one made? So I went for making this. It is hella old, and you probably arent reading this anyways, so ill just say it. Creterisk was inspired by this script. Use Q to target people, click to kill, press F when you have 5 souls or more to go insane, and hit random buttons on your keyboard for the other moves idfk")
148
local beg = {
149
"F̷̞͋ ̶̎Ì O̸̧͝ ̷̳̅RÌ´Ã���ŒÂ½ÃŒÂ­ ̴̨̀G̸̡̕ ̶̘̔Í̸ͅ ̷̖̈V̷̧̒ ̸Í ̘E̷̦͐ ̵̩͐Ṃ̸̈ ̵Ã����Ã¢â‚¬â„¢ÃƒÅ’Å“Ë̶̝́",
150
"S̵ ̵P̸ Ì·AÌ´ Ì·R̶ ÃŒ�����´E̸ Ì·M̸ ̵E̸",
151
"F̴̭̈́ ̵̤̈RÃŒÂÂ��µÃƒÆ’â€™ÃŒÂ§ ̸͔̆Ë̴̬́ Ì·ÍÅ Ì«Ë̷̪́ ̸̭̂M̷̟̕ ̴̲͘E̵͓͗",
152
"HÌ·Í Í™ ̵̙͌E̵̔͜ ̸̯̏L̴̳͋ ̴̫̓P̷̦͐ ̷͘Ì M̶̪͒ ̸̑Ã���Ë†EÌ´ÃÂÂÂ��ÃƒÆ’ƒâ€¦Ã¢â‚¬â„¢ÃƒÆ’ŒÅ¾",
153
"A̸ Ì·J̵S̵ ̸JÌ·E̸ MÃŒÃâ�������¬Å¡Ãƒâ€šÃ‚¶W̶NÃŒÃââ��¬Å¡Ãƒâ€šÃ‚¶ ̶A̸B̵N̸" ,
154
">̶̣͐!̵͕̅.̸̺̈2̶Í ̲ṗ̶͍1̷̧̍*Ì·ÌŽÌ™(Ì´Í‘ÃÅââ���¬â„¢ &Ì·Íâ€Ãâ€��œÃƒÅ’ª#Ì´Í’Ìž@̴̜̑!̸͕͒4̴̫́2̵͉̔4Ì´ÍÅ Ì«",
155
	}
156
157
local function soundbork(obj)
158
   if obj:IsA("Sound") and obj.Name ~= "speak" and obj.Name ~= "spook3" and obj.Name ~= "spook" and obj.Name ~= "spook2" and obj.Name ~= "lock" and obj.Name ~= "laughy" and obj.Name ~= "skreem" and obj.Name ~= "strike" and obj.Name ~= "wattha" and obj.Name ~= "pow" then
159
      --obj.SoundId = "rbxassetid://1916464942"
160
      obj.Looped = false
161
      obj.Pitch = 1
162
 obj.Volume = 0
163
      return
164
   end
165
166
167
   local children = obj:GetChildren()
168
   for i = 1, #children do
169
    soundbork(children[i])
170
   end
171
   
172
   return
173
end
174
175
wait(1 / 60)
176
Effects = { }
177
local Player = game.Players.localPlayer
178
local Character = Player.Character
179
local Humanoid = Character.Humanoid
180
local Players = game:GetService("Players")
181
Players.CharacterAutoLoads = false
182
ws = 8
183
Humanoid.WalkSpeed = ws
184
local Mouse = Player:GetMouse()
185
local LeftArm = Character["Left Arm"]
186
local RightArm = Character["Right Arm"]
187
local LeftLeg = Character["Left Leg"]
188
local RightLeg = Character["Right Leg"]
189
local Head = Character.Head
190
local Torso = Character.Torso
191
local Camera = game.Workspace.CurrentCamera
192
local RootPart = Character.HumanoidRootPart
193
local RootJoint = RootPart.RootJoint
194
local attack = false
195
local Anim = 'Idle'
196
local attacktype = 1
197
local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude 
198
local velocity = RootPart.Velocity.y
199
local sine = 0
200
local change = 1
201
local Create = LoadLibrary("RbxUtility").Create
202
local mad = false
203
local leftShoulder = Torso["Left Shoulder"]
204
--[[RightLeg.Transparency = .001
205
LeftLeg.Transparency = .001
206
Head.Transparency = .001
207
LeftArm.Transparency = .001
208
RightArm.Transparency = .001
209
Torso.Transparency = .001--]]
210
211
Character.Humanoid.Name = "help"
212
humanoid = Character.help
213
red = "Crimson"
214
215
targetted = nil
216
Head.face.Texture = "rbxasset://textures/face.png"
217
Instance.new("ForceField",Character).Visible = false
218
hit = nil
219
local m = Create("Model"){
220
	Parent = Character,
221
	Name = "WeaponModel",
222
}
223
224
225
226
227
LeftArm.BrickColor = BrickColor.new("White")
228
RightArm.BrickColor = BrickColor.new("White")
229
RightLeg.BrickColor = BrickColor.new("White")
230
LeftLeg.BrickColor = BrickColor.new("White")
231
Head.BrickColor = BrickColor.new("White")
232
Torso.BrickColor = BrickColor.new("White")
233
for y,t in pairs(Character:GetChildren()) do
234
			if t:IsA("Accessory") and t:FindFirstChild("Handle") then
235
				t.Handle.Transparency = 1
236
			end
237
end
238
239
humanoid.Animator.Parent = nil
240
Character.Animate.Parent = nil
241
242
local newMotor = function(part0, part1, c0, c1)
243
	local w = Create('Motor'){
244
		Parent = part0,
245
		Part0 = part0,
246
		Part1 = part1,
247
		C0 = c0,
248
		C1 = c1,
249
	}
250
	return w
251
end
252
253
function clerp(a, b, t)
254
	return a:lerp(b, t)
255
end
256
257
RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
258
NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
259
260
local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) 
261
local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
262
local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
263
local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
264
RootJoint.C1 = CFrame.new(0, 0, 0)
265
RootJoint.C0 = CFrame.new(0, 0, 0)
266
Torso.Neck.C1 = CFrame.new(0, 0, 0)
267
Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
268
269
local rarmc1 = RW.C1
270
local larmc1 = LW.C1
271
local rlegc1 = RH.C1
272
local llegc1 = LH.C1
273
274
local resetc1 = false
275
276
277
local skillcolorscheme = BrickColor.new(Torso.Color).Color
278
279
local scrn = Instance.new("ScreenGui", Player.PlayerGui)
280
function makeframe(par, trans, pos, size, color)
281
  local frame = Instance.new("Frame", par)
282
  frame.BackgroundTransparency = .991
283
  frame.BorderSizePixel = 0
284
  frame.Position = pos
285
  frame.Size = size
286
  frame.BackgroundColor3 = color
287
  return frame
288
end
289
290
function makelabel(par, text)
291
  local label = Instance.new("TextLabel", par)
292
  label.BackgroundTransparency = 1
293
  label.Size = UDim2.new(5, 0, 5, 0)
294
  label.Position = UDim2.new(0, 0, 0, 0)
295
  label.TextColor3 = Color3.new(255, 255, 255)
296
  label.TextStrokeTransparency = 0
297
  label.FontSize = Enum.FontSize.Size32
298
  label.Font = Enum.Font.SourceSansLight
299
  label.BorderSizePixel = 0
300
  label.TextScaled = true
301
  label.Text = text
302
end
303
souls = 0 
304
305
306
framesk1 = makeframe(scrn, 1, UDim2.new(0.8, 0, 0.85, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
307
bar1 = makeframe(framesk1, 1, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
308
text1 = Instance.new("TextLabel", framesk1)
309
text1.BackgroundTransparency = 1
310
text1.Size = UDim2.new(1, 0, 1, 0)
311
text1.Position = UDim2.new(0, 0, 0, 0)
312
text1.TextColor3 = Color3.new(255, 255, 255)
313
text1.TextStrokeTransparency = 0
314
text1.FontSize = Enum.FontSize.Size24
315
text1.BorderSizePixel = 0
316
text1.TextScaled = false
317
text1.Active = false
318
text1.Draggable = false
319
text1.Font = "Garamond"
320
text1.Text = "Souls collected: " ..souls
321
322
323
function PlayAnimationFromTable(table, speed, bool)
324
	RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) 
325
	Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) 
326
	RW.C0 = clerp(RW.C0, table[3], speed) 
327
	LW.C0 = clerp(LW.C0, table[4], speed) 
328
	RH.C0 = clerp(RH.C0, table[5], speed) 
329
	LH.C0 = clerp(LH.C0, table[6], speed) 
330
	if bool == true then
331
		if resetc1 == false then
332
			resetc1 = true
333
			RootJoint.C1 = RootJoint.C1
334
			Torso.Neck.C1 = Torso.Neck.C1
335
			RW.C1 = rarmc1
336
			LW.C1 = larmc1
337
			RH.C1 = rlegc1
338
			LH.C1 = llegc1
339
		end
340
	end
341
end
342
343
ArtificialHB = Create("BindableEvent", script){
344
	Parent = script,
345
	Name = "Heartbeat",
346
}
347
348
script:WaitForChild("Heartbeat")
349
350
frame = 1 / 30
351
tf = 0
352
allowframeloss = false
353
tossremainder = false
354
lastframe = tick()
355
script.Heartbeat:Fire()
356
357
game:GetService("RunService").Heartbeat:connect(function(s, p)
358
	tf = tf + s
359
	if tf >= frame then
360
		if allowframeloss then
361
			script.Heartbeat:Fire()
362
			lastframe = tick()
363
		else
364
			for i = 1, math.floor(tf / frame) do
365
				script.Heartbeat:Fire()
366
			end
367
			lastframe = tick()
368
		end
369
		if tossremainder then
370
			tf = 0
371
		else
372
			tf = tf - frame * math.floor(tf / frame)
373
		end
374
	end
375
end)
376
377
function swait(num)
378
	if num == 0 or num == nil then
379
		ArtificialHB.Event:wait()
380
	else
381
		for i = 0, num do
382
			ArtificialHB.Event:wait()
383
		end
384
	end
385
end
386
387
function RemoveOutlines(part)
388
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
389
end
390
	
391
CFuncs = {	
392
	Part = {
393
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
394
			local Part = Create("Part"){
395
				Parent = Parent,
396
				Reflectance = Reflectance,
397
				Transparency = Transparency,
398
				CanCollide = false,
399
				Locked = true,
400
				BrickColor = BrickColor.new(tostring(BColor)),
401
				Name = Name,
402
				Size = Size,
403
				Material = Material,
404
			}
405
			RemoveOutlines(Part)
406
			if Size == Vector3.new() then
407
				Part.Size = Vector3.new(0.2, 0.2, 0.2)
408
			else
409
				Part.Size = Size
410
			end
411
			return Part
412
		end;
413
	};
414
	
415
	Mesh = {
416
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
417
			local Msh = Create(Mesh){
418
				Parent = Part,
419
				Offset = OffSet,
420
				Scale = Scale,
421
			}
422
			if Mesh == "SpecialMesh" then
423
				Msh.MeshType = MeshType
424
				Msh.MeshId = MeshId
425
			end
426
			return Msh
427
		end;
428
	};
429
430
	Weld = {
431
		Create = function(Parent, Part0, Part1, C0, C1)
432
			local Weld = Create("Weld"){
433
				Parent = Parent,
434
				Part0 = Part0,
435
				Part1 = Part1,
436
				C0 = C0,
437
				C1 = C1,
438
			}
439
			return Weld
440
		end;
441
	};
442
443
	Sound = {
444
		Create = function(id, par, vol, pit) 
445
			local Sound = Create("Sound"){
446
				Volume = vol,
447
				Pitch = pit or 1,
448
				SoundId = "rbxassetid://" .. id,
449
				Parent = par or workspace,
450
			}
451
			Sound:play() 
452
			return Sound
453
		end;
454
	};
455
	
456
	Decal = {
457
		Create = function(Color, Texture, Transparency, Name, Parent)
458
			local Decal = Create("Decal"){
459
				Color3 = Color,
460
				Texture = "rbxassetid://" .. Texture,
461
				Transparency = Transparency,
462
				Name = Name,
463
				Parent = Parent,
464
			}
465
			return Decal
466
		end;
467
	};
468
	
469
	BillboardGui = {
470
		Create = function(Parent, Image, Position, Size)
471
			local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
472
			BillPar.CFrame = CFrame.new(Position)
473
			local Bill = Create("BillboardGui"){
474
				Parent = BillPar,
475
				Adornee = BillPar,
476
				Size = UDim2.new(1, 0, 1, 0),
477
				SizeOffset = Vector2.new(Size, Size),
478
			}
479
			local d = Create("ImageLabel", Bill){
480
				Parent = Bill,
481
				BackgroundTransparency = 1,
482
				Size = UDim2.new(1, 0, 1, 0),
483
				Image = "rbxassetid://" .. Image,
484
			}
485
			return BillPar
486
		end
487
	};
488
	
489
	ParticleEmitter = {
490
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
491
			local Particle = Create("ParticleEmitter"){
492
				Parent = Parent,
493
				Color = ColorSequence.new(Color1, Color2),
494
				LightEmission = LightEmission,
495
				Size = Size,
496
				Texture = Texture,
497
				Transparency = Transparency,
498
				ZOffset = ZOffset,
499
				Acceleration = Accel,
500
				Drag = Drag,
501
				LockedToPart = LockedToPart,
502
				VelocityInheritance = VelocityInheritance,
503
				EmissionDirection = EmissionDirection,
504
				Enabled = Enabled,
505
				Lifetime = LifeTime,
506
				Rate = Rate,
507
				Rotation = Rotation,
508
				RotSpeed = RotSpeed,
509
				Speed = Speed,
510
				VelocitySpread = VelocitySpread,
511
			}
512
			return Particle
513
		end;
514
	};
515
	
516
	CreateTemplate = {
517
		
518
	};
519
}
520
521
function rayCast(Position, Direction, Range, Ignore)
522
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) 
523
end 
524
525
function FindNearestTorso(Position, Distance, SinglePlayer)
526
	if SinglePlayer then
527
		return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
528
	end
529
	local List = {}
530
	for i, v in pairs(workspace:GetChildren()) do
531
		if v:IsA("Model") then
532
			if v:findFirstChild("Torso") then
533
				if v ~= Character then
534
					if (v.Torso.Position - Position).magnitude <= Distance then
535
						table.insert(List, v)
536
					end 
537
				end 
538
			end 
539
		end 
540
	end
541
	return List
542
end
543
544
function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
545
	if hit.Parent == nil then
546
		return
547
	end
548
	local h = hit.Parent:FindFirstChild("Humanoid")
549
	for _, v in pairs(hit.Parent:children()) do
550
		if v:IsA("Humanoid") then
551
			h = v
552
		end
553
	end
554
	if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
555
		if hit.Parent:findFirstChild("DebounceHit") ~= nil then
556
			if hit.Parent.DebounceHit.Value == true then
557
				return
558
			end
559
		end
560
		local c = Create("ObjectValue"){
561
			Name = "creator",
562
			Value = game:service("Players").LocalPlayer,
563
			Parent = h,
564
		}
565
		game:GetService("Debris"):AddItem(c, .5)
566
		if HitSound ~= nil and HitPitch ~= nil then
567
			CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) 
568
		end
569
		local Damage = math.random(minim, maxim)
570
		local blocked = false
571
		local block = hit.Parent:findFirstChild("Block")
572
		if block ~= nil then
573
			if block.className == "IntValue" then
574
				if block.Value > 0 then
575
					blocked = true
576
					block.Value = block.Value - 1
577
					print(block.Value)
578
				end
579
			end
580
		end
581
		if blocked == false then
582
			h.Health = h.Health - Damage
583
		else
584
			h.Health = h.Health - (Damage / 2)
585
		end
586
		if Type == "Knockdown" then
587
			local hum = hit.Parent.Humanoid
588
			hum.PlatformStand = true
589
			coroutine.resume(coroutine.create(function(HHumanoid)
590
				swait(1)
591
				HHumanoid.PlatformStand = false
592
			end), hum)
593
			local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
594
			local bodvol = Create("BodyVelocity"){
595
				velocity = angle * knockback,
596
				P = 5000,
597
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
598
				Parent = hit,
599
			}
600
			local rl = Create("BodyAngularVelocity"){
601
				P = 3000,
602
				maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
603
				angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
604
				Parent = hit,
605
			}
606
			game:GetService("Debris"):AddItem(bodvol, .5)
607
			game:GetService("Debris"):AddItem(rl, .5)
608
		elseif Type == "Normal" then
609
			local vp = Create("BodyVelocity"){
610
				P = 500,
611
				maxForce = Vector3.new(math.huge, 0, math.huge),
612
				velocity = RootPart.CFrame.lookVector * knockback * 2,
613
			}
614
			if knockback > 0 then
615
				vp.Parent = hit.Parent.Torso
616
			end
617
			game:GetService("Debris"):AddItem(vp, .5)
618
			
619
		elseif Type == "Bleed" then
620
			coroutine.resume(coroutine.create(function()
621
			local vp = Create("BodyVelocity"){
622
				P = 500,
623
				maxForce = Vector3.new(math.huge, 0, math.huge),
624
				velocity = RootPart.CFrame.lookVector * knockback * 2,
625
			}
626
			if knockback > 0 then
627
				vp.Parent = hit.Parent.Torso
628
			end
629
			game:GetService("Debris"):AddItem(vp, .5)
630
ShowDamage((hit.Parent.Head.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), "Bleeding!", .5, BrickColor.new(maincol).Color,BrickColor.new("Really black").Color)
631
wait(.3)
632
				for i = 0, 9, 1 do
633
					wait(1)
634
					--CFuncs.Sound.Create(oofowmybones[math.random(#oofowmybones)], hit.Parent.Head, .3, 1)
635
					hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 1
636
					ShowDamage((hit.Parent.Head.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), "-1", 1.5, BrickColor.new(maincol).Color,BrickColor.new("Really black").Color)		
637
				end
638
			end))
639
				
640
		elseif Type == "Up" then
641
			local bodyVelocity = Create("BodyVelocity"){
642
				velocity = Vector3.new(0, 20, 0),
643
				P = 5000,
644
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
645
				Parent = hit,
646
			}
647
			game:GetService("Debris"):AddItem(bodyVelocity, .5)
648
		elseif Type == "DarkUp" then
649
			coroutine.resume(coroutine.create(function()
650
				for i = 0, 1, 0.1 do
651
					swait()
652
					Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
653
				end
654
			end))
655
			local bodyVelocity = Create("BodyVelocity"){
656
				velocity = Vector3.new(0, 20, 0),
657
				P = 5000,
658
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
659
				Parent = hit,
660
			}
661
			game:GetService("Debris"):AddItem(bodyVelocity, 1)
662
		elseif Type == "Snare" then
663
			local bp = Create("BodyPosition"){
664
				P = 2000,
665
				D = 100,
666
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
667
				position = hit.Parent.Torso.Position,
668
				Parent = hit.Parent.Torso,
669
			}
670
			game:GetService("Debris"):AddItem(bp, 1)
671
		elseif Type == "Stagger" then
672
			local BodPos = Create("BodyPosition"){
673
				P = 50000,
674
				D = 1000,
675
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
676
				position = hit.Parent.Torso.Position,
677
				Parent = hit.Parent.Torso,
678
			}
679
			local BodGy = Create("BodyGyro") {
680
				maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
681
				P = 20e+003,
682
				Parent = hit.Parent.Torso,
683
				CFrame = hit.Parent.Torso.CFrame,
684
			}
685
			ShowDamage((hit.Parent.Head.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), "Staggered!", 1, BrickColor.new("New Yeller").Color,BrickColor.new("Really black").Color)
686
			hit.Parent.Torso.Anchored = true
687
			coroutine.resume(coroutine.create(function(Part) 
688
				wait(.5)
689
				Part.Anchored = false
690
			end), hit.Parent.Torso)
691
			game:GetService("Debris"):AddItem(BodPos, .8)
692
			game:GetService("Debris"):AddItem(BodGy, .8)
693
		end
694
		local debounce = Create("BoolValue"){
695
			Name = "DebounceHit",
696
			Parent = hit.Parent,
697
			Value = true,
698
		}
699
		if Delay > 0 then
700
		game:GetService("Debris"):AddItem(debounce, Delay)
701
		c = Create("ObjectValue"){
702
			Name = "creator",
703
			Value = Player,
704
			Parent = h,
705
		}
706
		end
707
		game:GetService("Debris"):AddItem(c, .5)
708
	end
709
end
710
711
function ShowDamage(Pos, Text, Time, Color)
712
	local Rate = (1 / 60)
713
	local Pos = (Pos or Vector3.new(0, 0, 0))
714
	local Text = (Text or "")
715
	local Time = (Time or 2)
716
	local Color = (Color or Color3.new(1, 0, 1))
717
	local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
718
	EffectPart.Anchored = true
719
	local BillboardGui = Create("BillboardGui"){
720
		Size = UDim2.new(3, 0, 3, 0),
721
		Adornee = EffectPart,
722
		Parent = EffectPart,
723
	}
724
	local TextLabel = Create("TextLabel"){
725
		BackgroundTransparency = 1,
726
		Size = UDim2.new(1, 0, 1, 0),
727
		Text = Text,
728
		Font = "Fantasy",
729
		TextColor3 = Color,
730
		TextScaled = true,
731
		Parent = BillboardGui,
732
	}
733
	game.Debris:AddItem(EffectPart, (Time))
734
	EffectPart.Parent = game:GetService("Workspace")
735
	delay(0, function()
736
		local Frames = (Time / Rate)
737
		for Frame = 1, Frames do
738
			wait(Rate)
739
			local Percent = (Frame / Frames)
740
			EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
741
			TextLabel.TextTransparency = Percent
742
		end
743
		if EffectPart and EffectPart.Parent then
744
			EffectPart:Destroy()
745
		end
746
	end)
747
end
748
749
750
751
752
crosshair = Instance.new("BillboardGui",Character)
753
crosshair.Size = UDim2.new(10,0,10,0)
754
crosshair.Enabled = false
755
crosshair.AlwaysOnTop = true
756
imgl = Instance.new("ImageLabel",crosshair)
757
imgl.Position = UDim2.new(0,0,0,0)
758
imgl.Size = UDim2.new(1,0,1,0)
759
imgl.Image = "rbxassetid://1165138836"
760
imgl.BackgroundTransparency = 1
761
imgl.ImageColor3 = Color3.new(1,0,0)
762
763
function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
764
	for _, c in pairs(workspace:children()) do
765
		local hum = c:findFirstChild("Humanoid")
766
		if hum ~= nil then
767
			local head = hit
768
			if head ~= nil then
769
				local targ = head.Position - Part.Position
770
				local mag = targ.magnitude
771
				if mag <= Magnitude and c.Name ~= Player.Name then 
772
			CFuncs.Sound.Create("324867021", head, 1, 1)
773
					Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, HitSound, HitPitch)
774
				end
775
			end
776
		end
777
	end
778
end
779
780
--[[Credit to CKBackup for his lock-on script.--]]
781
function LockOn()
782
if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
783
TargetSelect(Mouse.Target.Parent)
784
print("Targeting")
785
print(Mouse.Target.Parent)
786
lock=CFuncs.Sound.Create("179647221", targetted.Torso, .3, .8)
787
lock.Name = "lock"
788
else end
789
end
790
791
792
function TargetSelect(person)
793
local dd=coroutine.wrap(function()
794
if targetted ~= person then
795
targetted = person
796
for i = 0,9,1 do
797
wait(.01)
798
crosshair.Size = UDim2.new(13-i,0,13-i,0)
799
end
800
end
801
end)
802
dd()
803
end
804
805
Handle1=CFuncs.Part.Create(m,Enum.Material.Grass,0,.000001,"Smoky grey","Handle1",Vector3.new(0.0718538612, 0.57483077, 0.43112269))
806
Handle1Weld=CFuncs.Weld.Create(m,Character["Right Arm"],Handle1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.257038116, 0.589717865, 0.530781746, -0.254764616, 0.0992460549, 0.961896718, 0.966506541, 0.058013171, 0.249999866, -0.0309911743, 0.993370533, -0.11070168))
807
meshy=CFuncs.Mesh.Create("SpecialMesh",Handle1,Enum.MeshType.FileMesh,"rbxassetid://63216455",Vector3.new(0, 0, 0),Vector3.new(1.43707716, 1.43707716, 1.43707716))
808
Voodooeye1=CFuncs.Part.Create(m,Enum.Material.Neon,0,.001,"White","Voodooeye1",Vector3.new(0.114966214, 0.287415445, 0.287415236))
809
Voodooeye1Weld=CFuncs.Weld.Create(m,Handle1,Voodooeye1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.249851227, -0.675312996, 0.143596649, -8.94069672e-08, -1, 5.96046448e-08, -8.94069672e-08, 3.5658946e-08, 1.00000012, -0.999999881, 6.57903172e-08, -5.96046448e-08))
810
CFuncs.Mesh.Create("SpecialMesh",Voodooeye1,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(0.300000012, 0.400000006, 0.300000012))
811
Voodooeye2=CFuncs.Part.Create(m,Enum.Material.Neon,0,.001,"White","Voodooeye2",Vector3.new(0.114966214, 0.287415445, 0.287415236))
812
Voodooeye2Weld=CFuncs.Weld.Create(m,Handle1,Voodooeye2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.249853134, -0.675312996, -0.151461601, -7.4505806e-08, -0.999999881, 5.96046448e-08, -8.94069672e-08, 3.5658946e-08, 1.00000012, -0.999999762, 6.57903101e-08, -5.96046448e-08))
813
CFuncs.Mesh.Create("SpecialMesh",Voodooeye2,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(0.300000012, 0.400000006, 0.300000012))
814
815
816
817
818
Handle2=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","Handle2",Vector3.new(0.199999556, 0.200000003, 0.799999833))
819
Handle2Weld=CFuncs.Weld.Create(m,Character["Left Arm"],Handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.136569977, 0.474960327, -0.374771118, -0.00580351055, 0.146951407, 0.989126921, -0.052100271, 0.987755537, -0.147053331, -0.99862504, -0.0523871481, 0.00192379951))
820
821
fakehandle2=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","Handle2",Vector3.new(0.199999556, 0.200000003, 0.799999833))
822
fakehandle2Weld=CFuncs.Weld.Create(m,fakehandle2,Handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.136569977, 0.474960327, -0.374771118, -0.00580351055, 0.146951407, 0.989126921, -0.052100271, 0.987755537, -0.147053331, -0.99862504, -0.0523871481, 0.00192379951))
823
824
825
826
H1=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"Really black","H1",Vector3.new(0.823188484, 0.987826228, 0.823188484))
827
H1Weld=CFuncs.Weld.Create(m,fakehandle2,H1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0319328308, 0.0348701477, -0.17480278, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
828
CFuncs.Mesh.Create("BlockMesh",H1,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.100000001, 0.0333333351))
829
H10=CFuncs.Part.Create(m,Enum.Material.Plastic,0.20000000298023,.001,"White","H10",Vector3.new(0.823188484, 0.987826228, 0.823188484))
830
H10Weld=CFuncs.Weld.Create(m,fakehandle2,H10,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0593738556, -0.0309810638, -0.243400574, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
831
CFuncs.Mesh.Create("BlockMesh",H10,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.233333349, 0.13333334))
832
H11=CFuncs.Part.Create(m,Enum.Material.Plastic,0.20000000298023,.001,"White","H11",Vector3.new(0.823188484, 0.987826228, 0.823188484))
833
H11Weld=CFuncs.Weld.Create(m,fakehandle2,H11,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0593738556, -0.0309810638, -0.312000275, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
834
CFuncs.Mesh.Create("BlockMesh",H11,"","",Vector3.new(0, 0, 0),Vector3.new(0.166666672, 0.300000012, 0.0333333351))
835
H12=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"Really black","H12",Vector3.new(0.823188484, 0.987826228, 0.823188484))
836
H12Weld=CFuncs.Weld.Create(m,fakehandle2,H12,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0868167877, -0.0309829712, -0.24339962, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
837
CFuncs.Mesh.Create("BlockMesh",H12,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.233333349, 0.13333334))
838
H13=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","H13",Vector3.new(0.823188484, 0.987826228, 0.823188484))
839
H13Weld=CFuncs.Weld.Create(m,fakehandle2,H13,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0868167877, 0.0348701477, -0.174803734, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
840
CFuncs.Mesh.Create("BlockMesh",H13,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.100000001, 0.0333333351))
841
H14=CFuncs.Part.Create(m,Enum.Material.Plastic,0.20000000298023,.001,"White","H14",Vector3.new(0.823188484, 0.329275399, 0.823188484))
842
H14Weld=CFuncs.Weld.Create(m,fakehandle2,H14,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0593738556, -0.0858631134, 1.29982662, 0.984807849, -0.150384158, -0.0868241042, -0.150384068, -0.988605797, 0.00657919049, -0.0868242234, 0.00657771528, -0.996202052))
843
CFuncs.Mesh.Create("SpecialMesh",H14,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.300000012, 0.366666675))
844
H15=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"Really black","H15",Vector3.new(0.823188484, 0.987826228, 0.823188484))
845
H15Weld=CFuncs.Weld.Create(m,fakehandle2,H15,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0868148804, -0.0968399048, -0.17480278, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
846
CFuncs.Mesh.Create("BlockMesh",H15,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.100000001, 0.0333333351))
847
H16=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"Really black","H16",Vector3.new(0.823188484, 0.987826228, 0.823188484))
848
H16Weld=CFuncs.Weld.Create(m,fakehandle2,H16,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0319347382, 0.0348701477, 0.456313133, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
849
CFuncs.Mesh.Create("BlockMesh",H16,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.100000001, 0.0333333351))
850
H17=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"Really black","H17",Vector3.new(0.823188484, 0.987826228, 0.823188484))
851
H17Weld=CFuncs.Weld.Create(m,fakehandle2,H17,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0868167877, -0.0309829712, 0.511191368, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
852
CFuncs.Mesh.Create("BlockMesh",H17,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.233333349, 0.100000001))
853
H18=CFuncs.Part.Create(m,Enum.Material.Plastic,0.20000000298023,.001,"White","H18",Vector3.new(0.823188484, 0.987826228, 0.823188484))
854
H18Weld=CFuncs.Weld.Create(m,fakehandle2,H18,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0593738556, -0.0309810638, 0.511191368, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
855
CFuncs.Mesh.Create("BlockMesh",H18,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.233333349, 0.100000001))
856
H19=CFuncs.Part.Create(m,Enum.Material.Plastic,0.20000000298023,.001,"White","H19",Vector3.new(0.823188484, 0.987826228, 0.823188484))
857
H19Weld=CFuncs.Weld.Create(m,fakehandle2,H19,CFrame.new(0, 0, 0, 1, .001, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0593719482, 0.0348701477, 0.456314087, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
858
CFuncs.Mesh.Create("BlockMesh",H19,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.100000001, 0.0333333351))
859
H2=CFuncs.Part.Create(m,Enum.Material.Plastic,0.20000000298023,.001,"White","H2",Vector3.new(0.823188484, 0.987826228, 0.823188484))
860
H2Weld=CFuncs.Weld.Create(m,fakehandle2,H2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0593738556, -0.0309810638, 0.1407547, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
861
CFuncs.Mesh.Create("BlockMesh",H2,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.233333349, 0.733333349))
862
H20=CFuncs.Part.Create(m,Enum.Material.Plastic,0.20000000298023,.001,"White","H20",Vector3.new(0.823188484, 0.987826228, 0.823188484))
863
H20Weld=CFuncs.Weld.Create(m,fakehandle2,H20,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0593719482, -0.0968379974, -0.17480278, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
864
CFuncs.Mesh.Create("BlockMesh",H20,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.100000001, 0.0333333351))
865
H21=CFuncs.Part.Create(m,Enum.Material.Plastic,0.20000000298023,.001,"White","H21",Vector3.new(0.823188484, 0.329275399, 0.823188484))
866
H21Weld=CFuncs.Weld.Create(m,fakehandle2,H21,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.737314224, -0.0309829712, -0.0593719482, -0.0868242234, 0.00657771528, -0.996202052, -0.150384068, -0.988605797, 0.00657919049, -0.984807849, 0.150384158, 0.0868241042))
867
CFuncs.Mesh.Create("BlockMesh",H21,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.633333325, 0.0333333351))
868
H22=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"Really black","H22",Vector3.new(0.823188484, 0.987826228, 0.823188484))
869
H22Weld=CFuncs.Weld.Create(m,fakehandle2,H22,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0868148804, -0.0968399048, 0.566068649, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
870
CFuncs.Mesh.Create("SpecialMesh",H22,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.100000001, 0.0333333351))
871
H23=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"Really black","H23",Vector3.new(0.823188484, 0.987826228, 0.823188484))
872
H23Weld=CFuncs.Weld.Create(m,fakehandle2,H23,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0868167877, -0.0348701477, 0.566067696, 0.984807849, -0.150384158, -0.0868241042, 0.150384068, 0.988605797, -0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
873
CFuncs.Mesh.Create("SpecialMesh",H23,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.100000001, 0.0333333351))
874
H24=CFuncs.Part.Create(m,Enum.Material.Plastic,0.20000000298023,.001,"White","H24",Vector3.new(0.823188484, 0.987826228, 0.823188484))
875
H24Weld=CFuncs.Weld.Create(m,fakehandle2,H24,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0593738556, -0.0968399048, 0.566069603, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
876
CFuncs.Mesh.Create("SpecialMesh",H24,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.100000001, 0.0333333351))
877
H25=CFuncs.Part.Create(m,Enum.Material.Plastic,0.20000000298023,.001,"White","H25",Vector3.new(0.823188484, 0.987826228, 0.823188484))
878
H25Weld=CFuncs.Weld.Create(m,fakehandle2,H25,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0593738556, -0.0968379974, 0.456313133, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
879
CFuncs.Mesh.Create("BlockMesh",H25,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.100000001, 0.0333333351))
880
H26=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"Really black","H26",Vector3.new(0.823188484, 0.987826228, 0.823188484))
881
H26Weld=CFuncs.Weld.Create(m,fakehandle2,H26,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0319328308, -0.0968379974, 0.456313133, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
882
CFuncs.Mesh.Create("BlockMesh",H26,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.100000001, 0.0333333351))
883
H27=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"Really black","H27",Vector3.new(0.823188484, 0.987826228, 0.823188484))
884
H27Weld=CFuncs.Weld.Create(m,fakehandle2,H27,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0868148804, -0.0309829712, 0.140755653, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
885
CFuncs.Mesh.Create("BlockMesh",H27,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.233333349, 0.733333349))
886
H28=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"Really black","H28",Vector3.new(0.823188484, 0.987826228, 0.823188484))
887
H28Weld=CFuncs.Weld.Create(m,fakehandle2,H28,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0868167877, 0.0348720551, 0.45631218, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
888
CFuncs.Mesh.Create("BlockMesh",H28,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.100000001, 0.0333333351))
889
H29=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"White","H29",Vector3.new(0.823188484, 0.987826228, 0.823188484))
890
H29Weld=CFuncs.Weld.Create(m,fakehandle2,H29,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0319366455, -0.0309810638, -0.174803734, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
891
CFuncs.Mesh.Create("BlockMesh",H29,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.0333333351, 0.0333333351))
892
H3=CFuncs.Part.Create(m,Enum.Material.Plastic,0.20000000298023,.001,"White","H3",Vector3.new(0.823188484, 0.987826228, 0.823188484))
893
H3Weld=CFuncs.Weld.Create(m,fakehandle2,H3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0593738556, -0.0348701477, 0.566068649, 0.984807849, -0.150384158, -0.0868241042, 0.150384068, 0.988605797, -0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
894
CFuncs.Mesh.Create("SpecialMesh",H3,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.100000001, 0.0333333351))
895
H30=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"Really black","H30",Vector3.new(0.823188484, 0.987826228, 0.823188484))
896
H30Weld=CFuncs.Weld.Create(m,fakehandle2,H30,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0868148804, -0.0968379974, 0.45631218, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
897
CFuncs.Mesh.Create("BlockMesh",H30,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.100000001, 0.0333333351))
898
H31=CFuncs.Part.Create(m,Enum.Material.Plastic,0.20000000298023,.001,"White","H31",Vector3.new(0.823188484, 0.987826228, 0.823188484))
899
H31Weld=CFuncs.Weld.Create(m,fakehandle2,H31,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0593719482, -0.0309810638, -0.17480278, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
900
CFuncs.Mesh.Create("BlockMesh",H31,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.0333333351, 0.0333333351))
901
H32=CFuncs.Part.Create(m,Enum.Material.Plastic,0.20000000298023,.001,"White","H32",Vector3.new(0.823188484, 0.987826228, 0.823188484))
902
H32Weld=CFuncs.Weld.Create(m,fakehandle2,H32,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0593738556, 0.0348701477, -0.174803734, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
903
CFuncs.Mesh.Create("BlockMesh",H32,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.100000001, 0.0333333351))
904
H33=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"Really black","H33",Vector3.new(0.823188484, 0.987826228, 0.823188484))
905
H33Weld=CFuncs.Weld.Create(m,fakehandle2,H33,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0868167877, -0.0309810638, 0.566068649, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
906
CFuncs.Mesh.Create("BlockMesh",H33,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.0333333351, 0.0333333351))
907
H34=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"Really black","H34",Vector3.new(0.823188484, 0.987826228, 0.823188484))
908
H34Weld=CFuncs.Weld.Create(m,fakehandle2,H34,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0319328308, -0.0968379974, -0.174801826, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
909
CFuncs.Mesh.Create("BlockMesh",H34,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.100000001, 0.0333333351))
910
H35=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"White","H35",Vector3.new(0.823188484, 0.987826228, 0.823188484))
911
H35Weld=CFuncs.Weld.Create(m,fakehandle2,H35,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0319328308, -0.0309829712, 0.456313133, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
912
CFuncs.Mesh.Create("BlockMesh",H35,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.0333333351, 0.0333333351))
913
H36=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"Really black","H36",Vector3.new(0.823188484, 0.987826228, 0.823188484))
914
H36Weld=CFuncs.Weld.Create(m,fakehandle2,H36,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0319347382, -0.0968379974, 0.566068649, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
915
CFuncs.Mesh.Create("SpecialMesh",H36,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.100000001, 0.0333333351))
916
H37=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"Really black","H37",Vector3.new(0.823188484, 0.987826228, 0.823188484))
917
H37Weld=CFuncs.Weld.Create(m,fakehandle2,H37,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0319328308, -0.0309810638, 0.140755653, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
918
CFuncs.Mesh.Create("BlockMesh",H37,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.233333349, 0.733333349))
919
H38=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"Really black","H38",Vector3.new(0.823188484, 0.987826228, 0.823188484))
920
H38Weld=CFuncs.Weld.Create(m,fakehandle2,H38,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0319347382, -0.0348701477, 0.566068649, 0.984807849, -0.150384158, -0.0868241042, 0.150384068, 0.988605797, -0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
921
CFuncs.Mesh.Create("SpecialMesh",H38,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.100000001, 0.0333333351))
922
H39=CFuncs.Part.Create(m,Enum.Material.Plastic,0.20000000298023,.001,"White","H39",Vector3.new(0.823188484, 0.987826228, 0.823188484))
923
H39Weld=CFuncs.Weld.Create(m,fakehandle2,H39,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0593738556, -0.0309810638, 0.456313133, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
924
CFuncs.Mesh.Create("BlockMesh",H39,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.0333333351, 0.0333333351))
925
H4=CFuncs.Part.Create(m,Enum.Material.Plastic,0.20000000298023,.001,"White","H4",Vector3.new(0.823188484, 0.987826228, 0.823188484))
926
H4Weld=CFuncs.Weld.Create(m,fakehandle2,H4,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0593719482, -0.0309829712, 0.566069603, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
927
CFuncs.Mesh.Create("BlockMesh",H4,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.0333333351, 0.0333333351))
928
H5=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"Really black","H5",Vector3.new(0.823188484, 0.987826228, 0.823188484))
929
H5Weld=CFuncs.Weld.Create(m,fakehandle2,H5,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0319347382, -0.0309810638, -0.24339962, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
930
CFuncs.Mesh.Create("BlockMesh",H5,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.233333349, 0.13333334))
931
H6=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"Really black","H6",Vector3.new(0.823188484, 0.987826228, 0.823188484))
932
H6Weld=CFuncs.Weld.Create(m,fakehandle2,H6,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0319347382, -0.0309810638, 0.511191368, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
933
CFuncs.Mesh.Create("BlockMesh",H6,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.233333349, 0.100000001))
934
H7=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"Really black","H7",Vector3.new(0.823188484, 0.987826228, 0.823188484))
935
H7Weld=CFuncs.Weld.Create(m,fakehandle2,H7,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0319347382, -0.0309810638, 0.566068649, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
936
CFuncs.Mesh.Create("BlockMesh",H7,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.0333333351, 0.0333333351))
937
H8=CFuncs.Part.Create(m,Enum.Material.Plastic,0.20000000298023,.001,"White","H8",Vector3.new(0.823188484, 0.329275399, 0.823188484))
938
H8Weld=CFuncs.Weld.Create(m,fakehandle2,H8,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0593738556, -0.018409729, 1.29982758, -0.984807849, 0.150384158, 0.0868241042, 0.150384068, 0.988605797, -0.00657919049, -0.0868242234, 0.00657771528, -0.996202052))
939
CFuncs.Mesh.Create("SpecialMesh",H8,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.333333343, 0.366666675))
940
H9=CFuncs.Part.Create(m,Enum.Material.Plastic,0,.001,"White","H9",Vector3.new(0.823188484, 0.987826228, 0.823188484))
941
H9Weld=CFuncs.Weld.Create(m,fakehandle2,H9,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0868167877, -0.0309829712, -0.17480278, -0.984807849, 0.150384158, 0.0868241042, -0.150384068, -0.988605797, 0.00657919049, 0.0868242234, -0.00657771528, 0.996202052))
942
CFuncs.Mesh.Create("BlockMesh",H9,"","",Vector3.new(0, 0, 0),Vector3.new(0.0333333351, 0.0333333351, 0.0333333351))
943
944
945
MatchHandle=CFuncs.Part.Create(m,Enum.Material.Wood,0,1,"Brick yellow","MatchHandle",Vector3.new(0.200000003, 1.2069068, 0.200000003))
946
MatchHandleWeld=CFuncs.Weld.Create(m,Character["Left Arm"],MatchHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.183748245, 0.0853595734, -0.637422562, -0.0409919024, 0.417125523, -0.907922506, 0.879357815, 0.446499467, 0.165432349, 0.474392921, -0.791607499, -0.38510561))
947
CFuncs.Mesh.Create("BlockMesh",MatchHandle,"","",Vector3.new(0, 0, 0),Vector3.new(0.400000006, 1, 0.400000006))
948
949
efex=CFuncs.Part.Create(m,Enum.Material.Concrete,0,1,"Burgundy","efex",Vector3.new(0.0500000007, 0.0500000007, 0.0500000007))
950
efexWeld=CFuncs.Weld.Create(m,MatchHandle,efex,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.90734863e-06, -0.74656105, 0, 0.866022825, -4.47034836e-08, 0.499998599, -6.33299351e-08, 0.999999881, 2.38418579e-07, -0.49999848, -3.7252903e-07, 0.866022825))
951
952
MatchHead=CFuncs.Part.Create(m,Enum.Material.Concrete,0,1,"Burgundy","MatchHead",Vector3.new(0.200000003, 0.200000003, 0.200000003))
953
MatchHeadWeld=CFuncs.Weld.Create(m,MatchHandle,MatchHead,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000194549561, -0.700827599, 0.000228881836, 0.999998569, 2.23517418e-08, 0, 3.7252903e-08, 0.999999881, -2.98023224e-08, 5.96046448e-08, -2.98023224e-08, 0.999998569))
954
CFuncs.Mesh.Create("BlockMesh",MatchHead,"","",Vector3.new(0, 0, 0),Vector3.new(0.400000006, 1, 0.400000006))
955
956
957
meshy.TextureId = "rbxassetid://27688359"
958
sref = CFuncs.Part.Create(Character, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
959
sref.Anchored = true
960
961
--Main Sounds--
962
963
964
spook=CFuncs.Sound.Create("720316845", Handle2, .1, .5)
965
spook.Looped=true
966
spook.Pitch = .5
967
spook.Name = "spook"
968
Instance.new("ReverbSoundEffect", spook)
969
970
spook2=CFuncs.Sound.Create("990088111", Character, .1, 1)
971
spook2.Looped=true
972
spook2.Pitch = .5
973
spook2.Name = "spook2"
974
975
976
spook3=CFuncs.Sound.Create("671095111", Character, .1, .3)
977
spook3.Looped=true
978
spook3.Pitch = .5
979
spook3.Name = "spook3"
980
981
982
Facemask=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,1,"Really black","Facemask",Vector3.new(0.100000903, 0.199999914, 0.0999996811))
983
FacemaskWeld=CFuncs.Weld.Create(m,Character["Head"],Facemask,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0500009656, -0.10001123, 0.150001526, 0, 0, 1, 0, 1, 0, -1, 0, 0))
984
985
986
function soundrefresh()
987
spook:Destroy()
988
spook2:Destroy()
989
spook3:Destroy()
990
991
spook=CFuncs.Sound.Create("720316845", Handle2, .1, .5)
992
spook.Looped=true
993
spook.Pitch = .5
994
spook.Name = "spook"
995
Instance.new("ReverbSoundEffect", spook)
996
997
spook2=CFuncs.Sound.Create("990088111", Character, .1, 1)
998
spook2.Looped=true
999
spook2.Pitch = .5
1000
spook2.Name = "spook2"
1001
1002
1003
spook3=CFuncs.Sound.Create("671095111", Character, .1, .3)
1004
spook3.Looped=true
1005
spook3.Pitch = .5
1006
spook3.Name = "spook3"
1007
end
1008
1009
1010
EffectModel = Create("Model"){
1011
	Parent = Character,
1012
	Name = "Effects",
1013
}
1014
1015
Effects = {
1016
	Block = {
1017
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
1018
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
1019
			prt.Anchored = true
1020
			prt.CFrame = cframe
1021
			local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1022
			game:GetService("Debris"):AddItem(prt, 10)
1023
			if Type == 1 or Type == nil then
1024
				table.insert(Effects, {
1025
					prt,
1026
					"Block1",
1027
					delay,
1028
					x3,
1029
					y3,
1030
					z3,
1031
					msh
1032
				})
1033
			elseif Type == 2 then
1034
				table.insert(Effects, {
1035
					prt,
1036
					"Block2",
1037
					delay,
1038
					x3,
1039
					y3,
1040
					z3,
1041
					msh
1042
				})
1043
			end
1044
		end;
1045
	};
1046
	
1047
	Cylinder = {
1048
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1049
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
1050
			prt.Anchored = true
1051
			prt.CFrame = cframe
1052
			local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1053
			game:GetService("Debris"):AddItem(prt, 2)
1054
			table.insert(Effects, {
1055
				prt,
1056
				"Cylinder",
1057
				delay,
1058
				x3,
1059
				y3,
1060
				z3,
1061
				msh
1062
			})
1063
		end;
1064
	};
1065
	
1066
	Head = {
1067
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1068
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
1069
			prt.Anchored = true
1070
			prt.CFrame = cframe
1071
			local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1072
			game:GetService("Debris"):AddItem(prt, 10)
1073
			table.insert(Effects, {
1074
				prt,
1075
				"Cylinder",
1076
				delay,
1077
				x3,
1078
				y3,
1079
				z3,
1080
				msh
1081
			})
1082
		end;
1083
	};
1084
	
1085
	Sphere = {
1086
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1087
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
1088
			prt.Anchored = true
1089
			prt.CFrame = cframe
1090
			local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1091
			game:GetService("Debris"):AddItem(prt, 10)
1092
			table.insert(Effects, {
1093
				prt,
1094
				"Cylinder",
1095
				delay,
1096
				x3,
1097
				y3,
1098
				z3,
1099
				msh
1100
			})
1101
		end;
1102
	};
1103
	
1104
	Elect = {
1105
		Create = function(cff, x, y, z)
1106
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("New Yeller"), "Part", Vector3.new(1, 1, 1))
1107
			prt.Anchored = true
1108
			prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
1109
			prt.CFrame = CFrame.new(prt.Position)
1110
			game:GetService("Debris"):AddItem(prt, 2)
1111
			local xval = math.random() / 2
1112
			local yval = math.random() / 2
1113
			local zval = math.random() / 2
1114
			local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
1115
			table.insert(Effects, {
1116
				prt,
1117
				"Elec",
1118
				0.1,
1119
				x,
1120
				y,
1121
				z,
1122
				xval,
1123
				yval,
1124
				zval
1125
			})
1126
		end;
1127
1128
	};
1129
	
1130
	Ring = {
1131
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1132
			local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1133
			prt.Anchored = true
1134
			prt.CFrame = cframe
1135
			local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1136
			game:GetService("Debris"):AddItem(prt, 10)
1137
			table.insert(Effects, {
1138
				prt,
1139
				"Cylinder",
1140
				delay,
1141
				x3,
1142
				y3,
1143
				z3,
1144
				msh
1145
			})
1146
		end;
1147
	};
1148
1149
1150
	Wave = {
1151
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1152
			local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1153
			prt.Anchored = true
1154
			prt.CFrame = cframe
1155
			local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1156
			game:GetService("Debris"):AddItem(prt, 10)
1157
			table.insert(Effects, {
1158
				prt,
1159
				"Cylinder",
1160
				delay,
1161
				x3,
1162
				y3,
1163
				z3,
1164
				msh
1165
			})
1166
		end;
1167
	};
1168
1169
	Break = {
1170
		Create = function(brickcolor, cframe, x1, y1, z1)
1171
			local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
1172
			prt.Anchored = true
1173
			prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1174
			local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1175
			local num = math.random(10, 50) / 1000
1176
			game:GetService("Debris"):AddItem(prt, 10)
1177
			table.insert(Effects, {
1178
				prt,
1179
				"Shatter",
1180
				num,
1181
				prt.CFrame,
1182
				math.random() - math.random(),
1183
				0,
1184
				math.random(50, 100) / 100
1185
			})
1186
		end;
1187
	};
1188
	
1189
	Fire = {
1190
		Create = function(brickcolor, cframe, x1, y1, z1, delay)
1191
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
1192
			prt.Anchored = true
1193
			prt.CFrame = cframe
1194
			msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1195
			game:GetService("Debris"):AddItem(prt, 10)
1196
			table.insert(Effects, {
1197
				prt,
1198
				"Fire",
1199
				delay,
1200
				1,
1201
				1,
1202
				1,
1203
				msh
1204
			})
1205
		end;
1206
	};
1207
	
1208
	FireWave = {
1209
		Create = function(brickcolor, cframe, x1, y1, z1)
1210
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
1211
			prt.Anchored = true
1212
			prt.CFrame = cframe
1213
			msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1214
			local d = Create("Decal"){
1215
				Parent = prt,
1216
				Texture = "rbxassetid://26356434",
1217
				Face = "Top",
1218
			}
1219
			local d = Create("Decal"){
1220
				Parent = prt,
1221
				Texture = "rbxassetid://26356434",
1222
				Face = "Bottom",
1223
			}
1224
			game:GetService("Debris"):AddItem(prt, 10)
1225
			table.insert(Effects, {
1226
				prt,
1227
				"FireWave",
1228
				1,
1229
				30,
1230
				math.random(400, 600) / 100,
1231
				msh
1232
			})
1233
		end;
1234
	};
1235
	
1236
	Lightning = {
1237
		Create = function(p0, p1, tym, ofs, col, th, tra, last)
1238
			local magz = (p0 - p1).magnitude
1239
			local curpos = p0
1240
			local trz = {
1241
				-ofs,
1242
				ofs
1243
			}
1244
			for i = 1, tym do
1245
				local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
1246
				local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
1247
				local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
1248
				li.Material = "Neon"
1249
				if tym == i then
1250
					local magz2 = (curpos - p1).magnitude
1251
					li.Size = Vector3.new(th, th, magz2)
1252
					li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
1253
					table.insert(Effects, {
1254
						li,
1255
						"Disappear",
1256
						last
1257
					})
1258
				else
1259
					do
1260
						do
1261
							li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
1262
							curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
1263
							game.Debris:AddItem(li, 10)
1264
							table.insert(Effects, {
1265
								li,
1266
								"Disappear",
1267
								last
1268
							})
1269
						end
1270
					end
1271
				end
1272
			end
1273
		end
1274
	};
1275
1276
	EffectTemplate = {
1277
1278
	};
1279
}
1280
1281
1282
--Chat--
1283
function chatfunc(text)
1284
local chat = coroutine.wrap(function()
1285
if Character:FindFirstChild("TalkingBillBoard")~= nil then
1286
Character:FindFirstChild("TalkingBillBoard"):destroy()
1287
end
1288
local naeeym2 = Instance.new("BillboardGui",Character)
1289
naeeym2.Size = UDim2.new(0,100,0,40)
1290
naeeym2.StudsOffset = Vector3.new(0,3,0)
1291
naeeym2.Adornee = Character.Head
1292
naeeym2.Name = "TalkingBillBoard"
1293
local tecks2 = Instance.new("TextLabel",naeeym2)
1294
tecks2.BackgroundTransparency = 1
1295
tecks2.BorderSizePixel = 0
1296
tecks2.Text = ""
1297
tecks2.Font = "Garamond"
1298
tecks2.FontSize = "Size18"
1299
tecks2.TextStrokeTransparency = 0
1300
tecks2.TextColor3 = Color3.new(1,1,1)
1301
tecks2.TextStrokeColor3 = Color3.new(0,0,0)
1302
tecks2.Size = UDim2.new(1,0,0.5,0)
1303
local shk = coroutine.wrap(function()
1304
while tecks2 ~= nil do
1305
wait(.05)
1306
tecks2.Position = UDim2.new(0,math.random(-2,2),0,math.random(-2,2))
1307
end
1308
end)
1309
shk()
1310
for i = 1,string.len(text),1 do
1311
local speak = CFuncs.Sound.Create("265970978", Torso, 1, 1)
1312
speak.Name = "speak"
1313
tecks2.Text = string.sub(text,1,i)
1314
wait(0.05)
1315
end
1316
wait(2)
1317
for i = 1, 5 do
1318
wait(.01)
1319
tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
1320
tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
1321
tecks2.TextTransparency = tecks2.TextTransparency + .2
1322
end
1323
naeeym2:Destroy()
1324
end)
1325
chat()
1326
end
1327
1328
function onChatted(msg)
1329
chatfunc(msg)
1330
end
1331
Player.Chatted:connect(onChatted)
1332
1333
local Ragdolls = {}
1334
1335
function Tween(obj,props,time,easing,direction,repeats,backwards)
1336
    local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false)
1337
    local tween = game:service'TweenService':Create(obj, info, props)
1338
    
1339
    tween:Play()
1340
end
1341
1342
function Ghost(who)
1343
    table.insert(Ragdolls,who)    
1344
end
1345
1346
function KillGhosts()
1347
for _,v in next, Ragdolls do
1348
v:destroy''
1349
end
1350
Ragdolls = {}
1351
end
1352
1353
1354
function ragdollenemy()
1355
	local rm = Create("Model"){
1356
	Parent = Character,
1357
	Name = "RagdollModel",
1358
	}
1359
	KillGhosts()
1360
targetted:FindFirstChild("Torso").CanCollide = false
1361
targetted:FindFirstChild("Head").CanCollide = false
1362
targetted:FindFirstChild("Left Arm").CanCollide = false
1363
targetted:FindFirstChild("Right Arm").CanCollide = false
1364
targetted:FindFirstChild("Right Leg").CanCollide = false
1365
targetted:FindFirstChild("Left Leg").CanCollide = false
1366
	targetted:FindFirstChildOfClass("Humanoid"):Destroy()
1367
	if Torso then
1368
			targetted.Torso.Transparency = 1
1369
			local sm00k = Instance.new("Smoke", targetted.Torso)
1370
			sm00k.Opacity = .2
1371
			sm00k.Color = Color3.new(0,0,0)
1372
			sm00k.Size = 8
1373
		local rHead = targetted:FindFirstChild("Head")
1374
	bodpos2 = Instance.new("BodyPosition",targetted.Torso)
1375
		bodpos2.P = 850
1376
			bodpos2.D = 1000
1377
				bodpos2.Position = rHead.Position
1378
					bodpos2.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
1379
						rHead.Parent = rm
1380
							rHead.Transparency = 1
1381
							rHead.CanCollide = false
1382
		if rHead then
1383
			local Neck = Instance.new("Weld")
1384
			Neck.Name = "Neck"
1385
			Neck.Part0 = targetted.Torso
1386
			Neck.Part1 = rHead
1387
			Neck.C0 = CFrame.new(0, 1.5, 0)
1388
			Neck.C1 = CFrame.new()
1389
			Neck.Parent = rm
1390
		end
1391
		local rLimb = targetted:FindFirstChild("Right Arm")
1392
rLimb.Parent = rm
1393
		if rLimb then
1394
rLimb.Transparency = 1
1395
rLimb.CanCollide = false
1396
			rLimb.CFrame = targetted.Torso.CFrame * CFrame.new(1.5, 0, 0)
1397
			local Joint = Instance.new("Glue")
1398
			Joint.Name = "RightShoulder"
1399
			Joint.Part0 = targetted.Torso
1400
			Joint.Part1 = rLimb
1401
			Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
1402
			Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
1403
			Joint.Parent = targetted.Torso
1404
1405
			local B = Instance.new("Part")
1406
			B.TopSurface = 0
1407
			B.BottomSurface = 0
1408
			B.formFactor = "Symmetric"
1409
			B.Size = Vector3.new(1, 1, 1)
1410
			B.Transparency = 1
1411
			B.CFrame = rLimb.CFrame * CFrame.new(0, -0.5, 0)
1412
			B.Parent = targetted
1413
			local W = Instance.new("Weld")
1414
			W.Part0 = rLimb
1415
			W.Part1 = B
1416
			W.C0 = CFrame.new(0, -0.5, 0)
1417
			W.Parent = rLimb
1418
1419
		end
1420
		local rLimb = targetted:FindFirstChild("Left Arm")
1421
rLimb.Parent = rm
1422
		if rLimb then
1423
rLimb.Transparency = 1
1424
rLimb.CanCollide = false
1425
			rLimb.CFrame = targetted.Torso.CFrame * CFrame.new(-1.5, 0, 0)
1426
			local Joint = Instance.new("Glue")
1427
			Joint.Name = "LeftShoulder"
1428
			Joint.Part0 = targetted.Torso
1429
			Joint.Part1 = rLimb
1430
			Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
1431
			Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
1432
			Joint.Parent = targetted.Torso
1433
1434
			local B = Instance.new("Part")
1435
			B.TopSurface = 0
1436
			B.BottomSurface = 0
1437
			B.formFactor = "Symmetric"
1438
			B.Size = Vector3.new(1, 1, 1)
1439
			B.Transparency = 1
1440
			B.CFrame = rLimb.CFrame * CFrame.new(0, -0.5, 0)
1441
			B.Parent = targetted
1442
			local W = Instance.new("Weld")
1443
			W.Part0 = rLimb
1444
			W.Part1 = B
1445
			W.C0 = CFrame.new(0, -0.5, 0)
1446
			W.Parent = rLimb
1447
1448
		end
1449
		local rLimb = targetted:FindFirstChild("Right Leg")
1450
rLimb.Parent = rm
1451
		if rLimb then
1452
rLimb.Transparency = 1
1453
rLimb.CanCollide = false
1454
			rLimb.CFrame = targetted.Torso.CFrame * CFrame.new(0.5, -2, 0)
1455
			local Joint = Instance.new("Glue")
1456
			Joint.Name = "RightHip"
1457
			Joint.Part0 = targetted.Torso
1458
			Joint.Part1 = rLimb
1459
			Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
1460
			Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
1461
			Joint.Parent = targetted.Torso
1462
1463
			local B = Instance.new("Part")
1464
			B.TopSurface = 0
1465
			B.BottomSurface = 0
1466
			B.formFactor = "Symmetric"
1467
			B.Size = Vector3.new(1, 1, 1)
1468
			B.Transparency = 1
1469
			B.CFrame = rLimb.CFrame * CFrame.new(0, -0.5, 0)
1470
			B.Parent = targetted
1471
			local W = Instance.new("Weld")
1472
			W.Part0 = rLimb
1473
			W.Part1 = B
1474
			W.C0 = CFrame.new(0, -0.5, 0)
1475
			W.Parent = rLimb
1476
1477
		end
1478
		local rLimb = targetted:FindFirstChild("Left Leg")
1479
rLimb.Parent = rm
1480
		if rLimb then
1481
rLimb.Transparency = 1
1482
rLimb.CanCollide = false
1483
			rLimb.CFrame = targetted.Torso.CFrame * CFrame.new(-0.5, -2, 0)
1484
			local Joint = Instance.new("Glue")
1485
			Joint.Name = "LeftHip"
1486
			Joint.Part0 = targetted.Torso
1487
			Joint.Part1 = rLimb
1488
			Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
1489
			Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
1490
			Joint.Parent = targetted.Torso
1491
1492
			local B = Instance.new("Part")
1493
			B.TopSurface = 0
1494
			B.BottomSurface = 0
1495
			B.formFactor = "Symmetric"
1496
			B.Size = Vector3.new(1, 1, 1)
1497
			B.Transparency = 1
1498
			B.CFrame = rLimb.CFrame * CFrame.new(0, -0.5, 0)
1499
			B.Parent = targetted
1500
			local W = Instance.new("Weld")
1501
			W.Part0 = rLimb
1502
			W.Part1 = B
1503
			W.C0 = CFrame.new(0, -0.5, 0)
1504
			W.Parent = rLimb
1505
1506
		end
1507
		--[
1508
		local Bar = Instance.new("Part")
1509
		Bar.TopSurface = 0
1510
		Bar.BottomSurface = 0
1511
		Bar.formFactor = "Symmetric"
1512
		Bar.Size = Vector3.new(1, 1, 1)
1513
		Bar.Transparency = 1
1514
		Bar.CFrame = targetted.Torso.CFrame * CFrame.new(0, 0.5, 0)
1515
		Bar.Parent = targetted
1516
		local Weld = Instance.new("Weld")
1517
		Weld.Part0 = targetted.Torso
1518
		Weld.Part1 = Bar
1519
		Weld.C0 = CFrame.new(0, 0.5, 0)
1520
		Weld.Parent = targetted.Torso
1521
		--]]
1522
local spooky=CFuncs.Sound.Create("94247729", targetted.Torso, .1, .5)
1523
spooky.Looped  =  true
1524
spooky.Pitch = .8
1525
spooky.Name = "spook"
1526
		local con = targetted.Torso.Touched:connect(function(hit)
1527
 if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil and hit.Parent ~= Character then
1528
	Damage(Torso, hit, 20, 30, 0, "Normal", hit, 0.1, "94247873", .9) 
1529
 if hit.Parent:FindFirstChildOfClass("Humanoid").Health == 0 then
1530
 targetted = nil
1531
	end
1532
  end end)
1533
targetted.Torso.Parent = rm
1534
Ghost(rm)
1535
	end
1536
end
1537
1538
1539
function ragdollself()
1540
	local rm = Create("Model"){
1541
	Parent = Character,
1542
	Name = "RagdollModel",
1543
	}
1544
	KillGhosts()
1545
	Character:FindFirstChildOfClass("Humanoid"):Destroy()
1546
	if Torso then
1547
			local sm00k = Instance.new("Smoke", Torso)
1548
			sm00k.Opacity = .2
1549
			sm00k.Color = Color3.new(1,0,0)
1550
			sm00k.Size = 8
1551
			Torso.Transparency = 1
1552
		local rHead = Character:FindFirstChild("Head")
1553
						rHead.Parent = rm
1554
							rHead.Transparency = 1
1555
							rHead.CanCollide = false
1556
		if rHead then
1557
			local Neck = Instance.new("Weld")
1558
			Neck.Name = "Neck"
1559
			Neck.Part0 = Torso
1560
			Neck.Part1 = rHead
1561
			Neck.C0 = CFrame.new(0, 1.5, 0)
1562
			Neck.C1 = CFrame.new()
1563
			Neck.Parent = rm
1564
		end
1565
		local rLimb = Character:FindFirstChild("Right Arm")
1566
rLimb.Parent = rm
1567
		if rLimb then
1568
rLimb.Transparency = 1
1569
			rLimb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0)
1570
			local Joint = Instance.new("Glue")
1571
			Joint.Name = "RightShoulder"
1572
			Joint.Part0 = Torso
1573
			Joint.Part1 = rLimb
1574
			Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
1575
			Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
1576
			Joint.Parent = Torso
1577
1578
			local B = Instance.new("Part")
1579
			B.TopSurface = 0
1580
			B.BottomSurface = 0
1581
			B.formFactor = "Symmetric"
1582
			B.Size = Vector3.new(1, 1, 1)
1583
			B.Transparency = 1
1584
			B.CFrame = rLimb.CFrame * CFrame.new(0, -0.5, 0)
1585
			B.Parent = Character
1586
			local W = Instance.new("Weld")
1587
			W.Part0 = rLimb
1588
			W.Part1 = B
1589
			W.C0 = CFrame.new(0, -0.5, 0)
1590
			W.Parent = rLimb
1591
1592
		end
1593
		local rLimb = Character:FindFirstChild("Left Arm")
1594
rLimb.Parent = rm
1595
		if rLimb then
1596
rLimb.Transparency = 1
1597
			rLimb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0)
1598
			local Joint = Instance.new("Glue")
1599
			Joint.Name = "LeftShoulder"
1600
			Joint.Part0 = Torso
1601
			Joint.Part1 = rLimb
1602
			Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
1603
			Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
1604
			Joint.Parent = Torso
1605
1606
			local B = Instance.new("Part")
1607
			B.TopSurface = 0
1608
			B.BottomSurface = 0
1609
			B.formFactor = "Symmetric"
1610
			B.Size = Vector3.new(1, 1, 1)
1611
			B.Transparency = 1
1612
			B.CFrame = rLimb.CFrame * CFrame.new(0, -0.5, 0)
1613
			B.Parent = Character
1614
			local W = Instance.new("Weld")
1615
			W.Part0 = rLimb
1616
			W.Part1 = B
1617
			W.C0 = CFrame.new(0, -0.5, 0)
1618
			W.Parent = rLimb
1619
1620
		end
1621
		local rLimb = Character:FindFirstChild("Right Leg")
1622
rLimb.Parent = rm
1623
		if rLimb then
1624
rLimb.Transparency = 1
1625
			rLimb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0)
1626
			local Joint = Instance.new("Glue")
1627
			Joint.Name = "RightHip"
1628
			Joint.Part0 = Torso
1629
			Joint.Part1 = rLimb
1630
			Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
1631
			Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
1632
			Joint.Parent = Torso
1633
1634
			local B = Instance.new("Part")
1635
			B.TopSurface = 0
1636
			B.BottomSurface = 0
1637
			B.formFactor = "Symmetric"
1638
			B.Size = Vector3.new(1, 1, 1)
1639
			B.Transparency = 1
1640
			B.CFrame = rLimb.CFrame * CFrame.new(0, -0.5, 0)
1641
			B.Parent = Character
1642
			local W = Instance.new("Weld")
1643
			W.Part0 = rLimb
1644
			W.Part1 = B
1645
			W.C0 = CFrame.new(0, -0.5, 0)
1646
			W.Parent = rLimb
1647
1648
		end
1649
		local rLimb = Character:FindFirstChild("Left Leg")
1650
rLimb.Parent = rm
1651
		if rLimb then
1652
rLimb.Transparency = 1
1653
			rLimb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0)
1654
			local Joint = Instance.new("Glue")
1655
			Joint.Name = "LeftHip"
1656
			Joint.Part0 = Torso
1657
			Joint.Part1 = rLimb
1658
			Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
1659
			Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
1660
			Joint.Parent = Torso
1661
1662
			local B = Instance.new("Part")
1663
			B.TopSurface = 0
1664
			B.BottomSurface = 0
1665
			B.formFactor = "Symmetric"
1666
			B.Size = Vector3.new(1, 1, 1)
1667
			B.Transparency = 1
1668
			B.CFrame = rLimb.CFrame * CFrame.new(0, -0.5, 0)
1669
			B.Parent = Character
1670
			local W = Instance.new("Weld")
1671
			W.Part0 = rLimb
1672
			W.Part1 = B
1673
			W.C0 = CFrame.new(0, -0.5, 0)
1674
			W.Parent = rLimb
1675
1676
		end
1677
		--[
1678
		local Bar = Instance.new("Part")
1679
		Bar.TopSurface = 0
1680
		Bar.BottomSurface = 0
1681
		Bar.formFactor = "Symmetric"
1682
		Bar.Size = Vector3.new(1, 1, 1)
1683
		Bar.Transparency = 1
1684
		Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0)
1685
		Bar.Parent = Character
1686
		local Weld = Instance.new("Weld")
1687
		Weld.Part0 = Torso
1688
		Weld.Part1 = Bar
1689
		Weld.C0 = CFrame.new(0, 0.5, 0)
1690
		Weld.Parent = Torso
1691
		--]]
1692
local spooky=CFuncs.Sound.Create("530591527", Torso, 1, 1)
1693
spooky.Looped  =  true
1694
spooky.Pitch = 1
1695
spooky.Name = "spook"
1696
Torso.Parent = rm
1697
Ghost(rm)
1698
	end
1699
end
1700
1701
1702
1703
1704
spawn(function()
1705
    while true do
1706
	swait()
1707
        for _,rm in next, Ragdolls do
1708
            for _,v in next, rm:children() do
1709
                if(v:IsA'BasePart')then
1710
                    pcall(function()
1711
                        local trace = Instance.new(v.ClassName)
1712
                        trace.Parent = Character
1713
                        trace.Size = v.Size
1714
                        trace.Material = Enum.Material.Neon
1715
                        trace.Color = Color3.new(0,0,0)
1716
						trace.Transparency = .3
1717
                        trace.Anchored = true
1718
                        trace.CanCollide = false
1719
                        trace.CFrame = v.CFrame
1720
                        Tween(trace,{Transparency=1},.5)
1721
						game:GetService("Debris"):AddItem(trace, 1)
1722
                        if v.Name == "Head" then
1723
                            local mehs = Instance.new("CylinderMesh",trace)
1724
                            mehs.Scale = Vector3.new(1.25,1.25,1.25)
1725
                        end
1726
                    end)
1727
                end
1728
            end
1729
        end
1730
    end
1731
end)
1732
1733
1734
1735
function burnragdollenemy()
1736
	targetted:FindFirstChildOfClass("Humanoid").Parent = nil
1737
	game:GetService("Debris"):AddItem(targetted, 10)
1738
	if Torso then
1739
game:GetService("Debris"):AddItem(PE2, 10)
1740
		local Head = targetted:FindFirstChild("Head")
1741
		if Head then
1742
			local Neck = Instance.new("Weld")
1743
			Neck.Name = "Neck"
1744
			Neck.Part0 = targetted.Torso
1745
			Neck.Part1 = Head
1746
			Neck.C0 = CFrame.new(0, 1.5, 0)
1747
			Neck.C1 = CFrame.new()
1748
			Neck.Parent = targetted.Torso
1749
		end
1750
		local Limb = targetted:FindFirstChild("Right Arm")
1751
		if Limb then
1752
1753
			Limb.CFrame = targetted.Torso.CFrame * CFrame.new(1.5, 0, 0)
1754
			local Joint = Instance.new("Glue")
1755
			Joint.Name = "RightShoulder"
1756
			Joint.Part0 = targetted.Torso
1757
			Joint.Part1 = Limb
1758
			Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
1759
			Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
1760
			Joint.Parent = targetted.Torso
1761
1762
			local B = Instance.new("Part")
1763
			B.TopSurface = 0
1764
			B.BottomSurface = 0
1765
			B.formFactor = "Symmetric"
1766
			B.Size = Vector3.new(1, 1, 1)
1767
			B.Transparency = 1
1768
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1769
			B.Parent = targetted
1770
			local W = Instance.new("Weld")
1771
			W.Part0 = Limb
1772
			W.Part1 = B
1773
			W.C0 = CFrame.new(0, -0.5, 0)
1774
			W.Parent = Limb
1775
1776
		end
1777
		local Limb = targetted:FindFirstChild("Left Arm")
1778
		if Limb then
1779
1780
			Limb.CFrame = targetted.Torso.CFrame * CFrame.new(-1.5, 0, 0)
1781
			local Joint = Instance.new("Glue")
1782
			Joint.Name = "LeftShoulder"
1783
			Joint.Part0 = targetted.Torso
1784
			Joint.Part1 = Limb
1785
			Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
1786
			Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
1787
			Joint.Parent = targetted.Torso
1788
1789
			local B = Instance.new("Part")
1790
			B.TopSurface = 0
1791
			B.BottomSurface = 0
1792
			B.formFactor = "Symmetric"
1793
			B.Size = Vector3.new(1, 1, 1)
1794
			B.Transparency = 1
1795
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1796
			B.Parent = targetted
1797
			local W = Instance.new("Weld")
1798
			W.Part0 = Limb
1799
			W.Part1 = B
1800
			W.C0 = CFrame.new(0, -0.5, 0)
1801
			W.Parent = Limb
1802
1803
		end
1804
		local Limb = targetted:FindFirstChild("Right Leg")
1805
		if Limb then
1806
1807
			Limb.CFrame = targetted.Torso.CFrame * CFrame.new(0.5, -2, 0)
1808
			local Joint = Instance.new("Glue")
1809
			Joint.Name = "RightHip"
1810
			Joint.Part0 = targetted.Torso
1811
			Joint.Part1 = Limb
1812
			Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
1813
			Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
1814
			Joint.Parent = targetted.Torso
1815
1816
			local B = Instance.new("Part")
1817
			B.TopSurface = 0
1818
			B.BottomSurface = 0
1819
			B.formFactor = "Symmetric"
1820
			B.Size = Vector3.new(1, 1, 1)
1821
			B.Transparency = 1
1822
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1823
			B.Parent = targetted
1824
			local W = Instance.new("Weld")
1825
			W.Part0 = Limb
1826
			W.Part1 = B
1827
			W.C0 = CFrame.new(0, -0.5, 0)
1828
			W.Parent = Limb
1829
1830
		end
1831
		local Limb = targetted:FindFirstChild("Left Leg")
1832
		if Limb then
1833
1834
			Limb.CFrame = targetted.Torso.CFrame * CFrame.new(-0.5, -2, 0)
1835
			local Joint = Instance.new("Glue")
1836
			Joint.Name = "LeftHip"
1837
			Joint.Part0 = targetted.Torso
1838
			Joint.Part1 = Limb
1839
			Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
1840
			Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
1841
			Joint.Parent = targetted.Torso
1842
1843
			local B = Instance.new("Part")
1844
			B.TopSurface = 0
1845
			B.BottomSurface = 0
1846
			B.formFactor = "Symmetric"
1847
			B.Size = Vector3.new(1, 1, 1)
1848
			B.Transparency = 1
1849
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1850
			B.Parent = targetted
1851
			local W = Instance.new("Weld")
1852
			W.Part0 = Limb
1853
			W.Part1 = B
1854
			W.C0 = CFrame.new(0, -0.5, 0)
1855
			W.Parent = Limb
1856
1857
		end
1858
		--[
1859
		local Bar = Instance.new("Part")
1860
		Bar.TopSurface = 0
1861
		Bar.BottomSurface = 0
1862
		Bar.formFactor = "Symmetric"
1863
		Bar.Size = Vector3.new(1, 1, 1)
1864
		Bar.Transparency = 1
1865
		Bar.CFrame = targetted.Torso.CFrame * CFrame.new(0, 0.5, 0)
1866
		Bar.Parent = targetted
1867
		local Weld = Instance.new("Weld")
1868
		Weld.Part0 = targetted.Torso
1869
		Weld.Part1 = Bar
1870
		Weld.C0 = CFrame.new(0, 0.5, 0)
1871
		Weld.Parent = targetted.Torso
1872
		--]]
1873
	end
1874
end
1875
1876
1877
function burnthem()
1878
	Humanoid.WalkSpeed = 0
1879
	attack = true
1880
		for i = 0, 1, 0.1 do
1881
		swait()
1882
		PlayAnimationFromTable({
1883
         CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1884
         CFrame.new(0, 1.49999189, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1885
         CFrame.new(0.863071084, 0.037429601, -0.671211839, 0.82317239, 0.163175449, -0.543839157, -0.511009216, 0.630423009, -0.584325612, 0.24750112, 0.758907497, 0.602330983) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1886
         CFrame.new(-1.52372348, 0.0687570125, 0.110776901, 0.88543123, 0.0834808722, 0.457211822, -0.0599410161, 0.996032119, -0.0657813028, -0.460889131, 0.0308390725, 0.886921763) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1887
         CFrame.new(0.500000358, -1.9999969, 7.4505806e-08, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1888
         CFrame.new(-0.500003219, -1.9999969, 8.49366188e-07, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1889
		}, .3, false)
1890
		end
1891
MatchHandle.Transparency = 0
1892
MatchHead.Transparency = 0
1893
		local strike = CFuncs.Sound.Create("261841453", targetted, 1, 1)
1894
strike.Name = "strike"
1895
local PE1 = Instance.new("ParticleEmitter",efex)
1896
PE1.LightEmission = NumberSequence.new(0.2)
1897
PE1.Size = NumberSequence.new(.2)
1898
PE1.Texture = "http://www.roblox.com/asset/?id=242461088"
1899
PE1.Lifetime = NumberRange.new(.75)
1900
PE1.Rate = 50.000
1901
PE1.Transparency = NumberSequence.new(0.2)
1902
PE1.LightEmission = NumberSequence.new(1)
1903
PE1.Rotation = NumberRange.new(0)
1904
PE1.Speed = NumberRange.new(.1)
1905
PE1.RotSpeed = NumberRange.new(0)
1906
PE1.ZOffset = .2
1907
			for i = 0, 1, 0.1 do
1908
		swait()
1909
		PlayAnimationFromTable({
1910
         CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1911
         CFrame.new(0, 1.49999189, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1912
         CFrame.new(0.863075495, 0.0374291539, -0.671212196, 0.82317239, 0.163175449, -0.543839157, -0.511009216, 0.630423009, -0.584325612, 0.24750112, 0.758907497, 0.602330983) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1913
         CFrame.new(-1.14803481, 0.107736275, 0.532279968, 0.967316866, -0.244378552, 0.0676561743, 0.150543988, 0.768174708, 0.622289479, -0.204045966, -0.591765761, 0.779858112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1914
         CFrame.new(0.500000179, -1.9999969, 5.21540642e-07, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1915
         CFrame.new(-0.500000477, -1.9999969, -1.78813934e-07, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1916
		}, .3, false)
1917
			end
1918
			local wattha=CFuncs.Sound.Create("239443642", targetted.Torso, 1, 1)
1919
                        wattha.Name = "wattha"
1920
                        skreem = CFuncs.Sound.Create("147758746", targetted.Torso, .8, 1)
1921
                        skreem.Name = "skreem"
1922
                        local PE2 = Instance.new("ParticleEmitter",targetted.Torso)
1923
PE2.LightEmission = NumberSequence.new(0.2)
1924
PE2.Size = NumberSequence.new(3)
1925
PE2.Texture = "http://www.roblox.com/asset/?id=242461088"
1926
PE2.Lifetime = NumberRange.new(.75)
1927
PE2.Rate = 50.000
1928
PE2.Transparency = NumberSequence.new(0.2)
1929
PE2.LightEmission = NumberSequence.new(1)
1930
PE2.Rotation = NumberRange.new(0)
1931
PE2.Speed = NumberRange.new(.1)
1932
PE2.RotSpeed = NumberRange.new(0)
1933
PE2.ZOffset = .2
1934
			SoulSteal()
1935
				for i = 0, 1, 0.1 do
1936
		swait()
1937
		PlayAnimationFromTable({
1938
         CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1939
         CFrame.new(-0.0272614881, 1.52851057, -0.13796404, 0.936596215, 0.144423872, -0.319263637, -0.0292440075, 0.940150857, 0.339501232, 0.349188089, -0.30863902, 0.884765327) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1940
         CFrame.new(0.863075078, 0.0374298692, -0.671212494, 0.866025269, 0.500000417, -5.04212892e-07, -0.433013141, 0.749999464, -0.500000536, -0.250000089, 0.43301326, 0.86602509) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1941
         CFrame.new(-0.596077204, 0.822730899, -0.847055137, -0.439862877, -0.890815496, 0.113878824, 0.881083786, -0.40351975, 0.246704638, -0.173815951, 0.208853006, 0.962376475) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1942
         CFrame.new(0.500002205, -1.9999969, 7.30156898e-07, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1943
         CFrame.new(-0.500001073, -1.9999969, 7.15255737e-07, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1944
		}, .3, false)
1945
				end
1946
      
1947
				for i = 0, 1, 0.1 do
1948
					swait()
1949
						PlayAnimationFromTable({
1950
         CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1951
         CFrame.new(-0.0272614881, 1.52851057, -0.13796404, 0.936596215, 0.144423872, -0.319263637, -0.0292440075, 0.940150857, 0.339501232, 0.349188089, -0.30863902, 0.884765327) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1952
         CFrame.new(0.863075078, 0.0374298692, -0.671212494, 0.866025269, 0.500000417, -5.04212892e-07, -0.433013141, 0.749999464, -0.500000536, -0.250000089, 0.43301326, 0.86602509) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1953
         CFrame.new(-0.799236, 0.0252398103, -0.444895387, 0.468589991, -0.644656956, 0.604020596, 0.838784993, 0.539245546, -0.0751925781, -0.277242005, 0.541877925, 0.793413758) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1954
         CFrame.new(0.500002205, -1.9999969, 7.30156898e-07, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1955
         CFrame.new(-0.500001073, -1.9999969, 7.15255737e-07, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1956
						}, .3, false)
1957
			
1958
1959
			end
1960
targetted:FindFirstChildOfClass("Humanoid").Health = 0
1961
wait(.01)
1962
burnragdollenemy()                               
1963
MatchHandle.Transparency = 1
1964
MatchHead.Transparency = 1
1965
PE1:Destroy()
1966
targetted = nil
1967
			attack = false
1968
			Humanoid.WalkSpeed = ws
1969
end
1970
1971
1972
function vood()
1973
	attack  = true
1974
humanoid.WalkSpeed = 0
1975
	for i = 0, 1, 0.1 do
1976
		swait()
1977
		fakehandle2Weld.C0 = clerp(fakehandle2Weld.C0, CFrame.new(0, -.8, 0) * CFrame.Angles(math.rad(180), math.rad(-90), math.rad(0)), 1)
1978
		PlayAnimationFromTable({
1979
         CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1980
         CFrame.new(-0.0272614881, 1.52851057, -0.13796404, 0.936596215, 0.144423872, -0.319263637, -0.0292440075, 0.940150857, 0.339501232, 0.349188089, -0.30863902, 0.884765327) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1981
         CFrame.new(0.863075078, 0.0374298692, -0.671212494, 0.866025269, 0.500000417, -5.04212892e-07, -0.433013141, 0.749999464, -0.500000536, -0.250000089, 0.43301326, 0.86602509) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1982
          CFrame.new(-1.55196524, 1.19630826, 0.2391451, -0.773338616, 0.192630485, 0.604020596, -0.295925856, -0.952246606, -0.0751947463, 0.560691774, -0.236896321, 0.79341346) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1983
         CFrame.new(0.500002205, -1.9999969, 7.30156898e-07, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1984
         CFrame.new(-0.500001073, -1.9999969, 7.15255737e-07, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1985
		}, .3, false)
1986
	end
1987
			ded = math.random(1,1)
1988
1989
		pow = CFuncs.Sound.Create("982278034", targetted.Torso, 1, 1)
1990
pow.Name = "pow"
1991
1992
	for i = 0, 1, 0.1 do
1993
		swait()
1994
stuf = CFuncs.Part.Create(workspace, "Fabric", .1, .1, BrickColor.new("White"), "stuf", Vector3.new(.1,.1,.1))
1995
stuf.Anchored = false
1996
stuf.CanCollide = true
1997
stuf.Position = Handle1.Position
1998
game:GetService("Debris"):AddItem(stuf, 1)
1999
blud = CFuncs.Part.Create(workspace, "Neon", .1, .1, BrickColor.new("Crimson"), "blud", Vector3.new(.1,.1,.1))
2000
blud.Anchored = false
2001
blud.CanCollide = true
2002
blud.Position = targetted.Torso.Position
2003
game:GetService("Debris"):AddItem(blud, 3)
2004
		PlayAnimationFromTable({
2005
         CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2006
         CFrame.new(-0.0272614881, 1.52851057, -0.13796404, 0.936596215, 0.144423872, -0.319263637, -0.0292440075, 0.940150857, 0.339501232, 0.349188089, -0.30863902, 0.884765327) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2007
         CFrame.new(0.863075078, 0.0374298692, -0.671212494, 0.866025269, 0.500000417, -5.04212892e-07, -0.433013141, 0.749999464, -0.500000536, -0.250000089, 0.43301326, 0.86602509) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2008
         CFrame.new(-0.596077204, 0.822730899, -0.847055137, -0.439862877, -0.890815496, 0.113878824, 0.881083786, -0.40351975, 0.246704638, -0.173815951, 0.208853006, 0.962376475) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2009
         CFrame.new(0.500002205, -1.9999969, 7.30156898e-07, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2010
         CFrame.new(-0.500001073, -1.9999969, 7.15255737e-07, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2011
		}, .3, false)
2012
	end
2013
 SoulSteal()
2014
		for i = 0, 1, 0.1 do
2015
			swait()
2016
		PlayAnimationFromTable({
2017
         CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2018
         CFrame.new(-0.0272614881, 1.52851057, -0.13796404, 0.936596215, 0.144423872, -0.319263637, -0.0292440075, 0.940150857, 0.339501232, 0.349188089, -0.30863902, 0.884765327) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2019
         CFrame.new(0.863075078, 0.0374298692, -0.671212494, 0.866025269, 0.500000417, -5.04212892e-07, -0.433013141, 0.749999464, -0.500000536, -0.250000089, 0.43301326, 0.86602509) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2020
          CFrame.new(-1.55196524, 1.19630826, 0.2391451, -0.773338616, 0.192630485, 0.604020596, -0.295925856, -0.952246606, -0.0751947463, 0.560691774, -0.236896321, 0.79341346) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2021
         CFrame.new(0.500002205, -1.9999969, 7.30156898e-07, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2022
         CFrame.new(-0.500001073, -1.9999969, 7.15255737e-07, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2023
		}, .3, false)
2024
		end
2025
		targetted:FindFirstChildOfClass("Humanoid").Health = 0
2026
		wait(.01)
2027
		ragdollenemy()
2028
		humanoid.WalkSpeed = ws
2029
	    targetted = nil
2030
		attack = false
2031
end
2032
2033
2034
2035
function madvood()
2036
	attack  = true
2037
humanoid.WalkSpeed = 0
2038
targetted:FindFirstChildOfClass("Humanoid").MaxHealth = 100
2039
	for i = 0, 3, 0.1 do
2040
		swait()
2041
		PlayAnimationFromTable({
2042
         CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,0), 
2043
         CFrame.new(0.347812474, 1.37974453, -0.0895925462, 0.642787278, 0.754406691, 0.133023009, -0.75440681, 0.593250871, 0.280933768, 0.133022279, -0.280934095, 0.950463653) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .03 * math.cos(sine/1), 0 + .03 * math.cos(sine/1), 0 + .03 * math.cos(sine/1)), 
2044
         CFrame.new(0.863075078, 0.0374298692, -0.671212494, 0.866025269, 0.500000417, -5.04212892e-07, -0.433013141, 0.749999464, -0.500000536, -0.250000089, 0.43301326, 0.86602509) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .03 * math.cos(sine/1), 0 + .03 * math.cos(sine/1), 0 + .03 * math.cos(sine/1)), 
2045
          CFrame.new(-1.55196524, 1.19630826, 0.2391451, -0.773338616, 0.192630485, 0.604020596, -0.295925856, -0.952246606, -0.0751947463, 0.560691774, -0.236896321, 0.79341346) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .03 * math.cos(sine/1), 0 + .03 * math.cos(sine/1), 0 + .03 * math.cos(sine/1)), 
2046
         CFrame.new(0.500002205, -1.9999969, 7.30156898e-07, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2047
         CFrame.new(-0.500001073, -1.9999969, 7.15255737e-07, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2048
		}, .3, false)
2049
		fakehandle2Weld.C0 = clerp(fakehandle2Weld.C0, CFrame.new(0, -.8, 0) * CFrame.Angles(math.rad(180), math.rad(-90), math.rad(0)), 1)
2050
	end
2051
spook.Pitch = 1.1
2052
 dis2 = Instance.new("ChorusSoundEffect", spook)
2053
dis2.Depth = .7
2054
for i = 0, 2, 1 do
2055
		pow = CFuncs.Sound.Create("429400881", targetted.Torso, .5, 1)
2056
pow.Name = "pow"
2057
2058
targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health/2
2059
spook.TimePosition = spook.TimePosition - 1
2060
	for i = 0, 1, 0.1 do
2061
		swait()
2062
									local smonk = Instance.new("ParticleEmitter",targetted.Torso)
2063
								smonk.LightEmission = .1
2064
			smonk.Size = NumberSequence.new(0.2)
2065
			smonk.Texture = "http://www.roblox.com/asset/?ID=122022304"
2066
			aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(1, 3)})
2067
			bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
2068
			smonk.Transparency = bbb
2069
			smonk.Size = aaa
2070
			smonk.ZOffset = 1
2071
			smonk.Acceleration = Vector3.new(0,0, 0)
2072
			smonk.LockedToPart = false
2073
			smonk.EmissionDirection = "Back"
2074
			smonk.Lifetime = NumberRange.new(.2, .3)
2075
			smonk.Rate = 10
2076
			smonk.Rotation = NumberRange.new(-10, 10)
2077
			smonk.RotSpeed = NumberRange.new(-10, 10)
2078
			smonk.Speed = NumberRange.new(5)
2079
			smonk.VelocitySpread = 100
2080
			smonk.Enabled=true		
2081
			game:GetService("Debris"):AddItem(smonk, .5)
2082
game:GetService("Debris"):AddItem(blud, 3)
2083
		PlayAnimationFromTable({
2084
         CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2085
         CFrame.new(0.347812474, 1.37974453, -0.0895925462, 0.642787278, 0.754406691, 0.133023009, -0.75440681, 0.593250871, 0.280933768, 0.133022279, -0.280934095, 0.950463653) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .03 * math.cos(sine/1), 0 + .03 * math.cos(sine/1), 0 + .03 * math.cos(sine/1)),  
2086
         CFrame.new(0.863075078, 0.0374298692, -0.671212494, 0.866025269, 0.500000417, -5.04212892e-07, -0.433013141, 0.749999464, -0.500000536, -0.250000089, 0.43301326, 0.86602509) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2087
         CFrame.new(-0.596077204, 0.822730899, -0.847055137, -0.439862877, -0.890815496, 0.113878824, 0.881083786, -0.40351975, 0.246704638, -0.173815951, 0.208853006, 0.962376475) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2088
         CFrame.new(0.500002205, -1.9999969, 7.30156898e-07, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2089
         CFrame.new(-0.500001073, -1.9999969, 7.15255737e-07, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2090
		}, .3, false)
2091
	end
2092
		for i = 0, 1, 0.1 do
2093
			swait()
2094
		PlayAnimationFromTable({
2095
         CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2096
        CFrame.new(0.347812474, 1.37974453, -0.0895925462, 0.642787278, 0.754406691, 0.133023009, -0.75440681, 0.593250871, 0.280933768, 0.133022279, -0.280934095, 0.950463653) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .03 * math.cos(sine/1), 0 + .03 * math.cos(sine/1), 0 + .03 * math.cos(sine/1)),  
2097
         CFrame.new(0.863075078, 0.0374298692, -0.671212494, 0.866025269, 0.500000417, -5.04212892e-07, -0.433013141, 0.749999464, -0.500000536, -0.250000089, 0.43301326, 0.86602509) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2098
          CFrame.new(-1.55196524, 1.19630826, 0.2391451, -0.773338616, 0.192630485, 0.604020596, -0.295925856, -0.952246606, -0.0751947463, 0.560691774, -0.236896321, 0.79341346) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2099
         CFrame.new(0.500002205, -1.9999969, 7.30156898e-07, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2100
         CFrame.new(-0.500001073, -1.9999969, 7.15255737e-07, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2101
		}, .3, false)
2102
		end
2103
end
2104
 SoulSteal()
2105
		targetted:FindFirstChildOfClass("Humanoid").Health = 0
2106
		wait(.01)
2107
		ragdollenemy()
2108
		humanoid.WalkSpeed = ws
2109
	    targetted = nil
2110
		attack = false
2111
dis2.Enabled = false
2112
spook.Pitch = .5
2113
end
2114
2115
2116
function minenow()
2117
		attack  = true
2118
humanoid.WalkSpeed = 0
2119
	for i = 0, 2, 0.1 do
2120
		swait()
2121
		PlayAnimationFromTable({
2122
         CFrame.new(0, -0, -0, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2123
         CFrame.new(0, 1.49998999, 0, 0.939692736, 0, 0.342019916, 0, 1, 0, -0.342019886, 0, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2124
         CFrame.new(0.846437991, 0.0426445305, -0.774509072, 0.719846129, 0.69410944, -0.00581353903, -0.642788053, 0.663413763, -0.383021921, -0.262002319, 0.279453695, 0.923721075) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2125
         CFrame.new(-1.5032959, 0.424854994, -1.00595379, 1, 2.98023224e-08, -0, 0, 0, -1, 2.98023224e-08, 1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2126
         CFrame.new(0.469847649, -1.99999297, -0.17100963, 0.984807789, 0, -0.173648685, 0, 1, 0, 0.173648715, 0, 0.984807789) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2127
         CFrame.new(-0.53245151, -1.99999297, -0.000996470451, 0.939692736, 0, 0.342019916, 0, 1, 0, -0.342019886, 0, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2128
		}, .3, false)
2129
	end	
2130
	SoulSteal()
2131
		local zap = CFuncs.Sound.Create("1135476193", targetted.Torso, 1, .9)
2132
		zap.Name = "spook"	
2133
		local zap = CFuncs.Sound.Create("177359995", Torso, .5, .9)
2134
		zap.Name = "spook"	
2135
		local pow = CFuncs.Sound.Create("429400881", targetted.Torso, 1, 1)
2136
	 pow.Name = "spook"
2137
		targetted:FindFirstChildOfClass("Humanoid").Health = 0			
2138
		local smonk2 = Instance.new("ParticleEmitter",targetted.Torso)
2139
		smonk2.LightEmission = .1
2140
			smonk2.Size = NumberSequence.new(0.2)
2141
			smonk2.Texture = "http://www.roblox.com/asset/?ID=122022304"
2142
			aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(1, 3)})
2143
			bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
2144
			smonk2.Transparency = bbb
2145
			smonk2.Size = aaa
2146
			smonk2.ZOffset = 1
2147
			smonk2.Acceleration = Vector3.new(0,0, 0)
2148
			smonk2.LockedToPart = false
2149
			smonk2.EmissionDirection = "Back"
2150
			smonk2.Lifetime = NumberRange.new(.2, .3)
2151
			smonk2.Rate = 10
2152
			smonk2.Rotation = NumberRange.new(-10, 10)
2153
			smonk2.RotSpeed = NumberRange.new(-10, 10)
2154
			smonk2.Speed = NumberRange.new(5)
2155
			smonk2.VelocitySpread = 100
2156
			smonk2.Enabled=true		
2157
			game:GetService("Debris"):AddItem(smonk2, 2)
2158
			local smonk = Instance.new("ParticleEmitter",targetted.Torso)
2159
			smonk.LightEmission = .5
2160
			smonk.Size = NumberSequence.new(0.2)
2161
			smonk.Texture = "http://www.roblox.com/asset/?ID=137243001"
2162
			aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(1, 3)})
2163
			bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
2164
			smonk.Transparency = bbb
2165
			smonk.Size = aaa
2166
			smonk.ZOffset = 1
2167
			smonk.Acceleration = Vector3.new(0,0, 0)
2168
			smonk.LockedToPart = false
2169
			smonk.EmissionDirection = "Back"
2170
			smonk.Lifetime = NumberRange.new(.2, .3)
2171
			smonk.Rate = 10
2172
			smonk.Rotation = NumberRange.new(-10, 10)
2173
			smonk.RotSpeed = NumberRange.new(-10, 10)
2174
			smonk.Speed = NumberRange.new(5)
2175
			smonk.VelocitySpread = 100
2176
			smonk.Enabled=true		
2177
			game:GetService("Debris"):AddItem(smonk, 2)
2178
bodpos = Instance.new("BodyPosition",targetted.Torso)
2179
bodpos.D = 1000
2180
bodpos.Position = targetted.Torso.Position
2181
wait(.01)
2182
ragdollenemy()
2183
targetted = nil	
2184
	for i = 0, 3, 0.1 do
2185
		swait()
2186
		PlayAnimationFromTable({
2187
         CFrame.new(-0, -0, 0, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2188
         CFrame.new(0, 1.49998999, 0, 0.939692736, 0, -0.342019916, 0, 1, 0, 0.342019886, 0, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2189
         CFrame.new(0.864185929, -0.407940805, -0.379718959, 0.719846129, 0.450618565, -0.527981699, -0.642788053, 0.71984607, -0.262002498, 0.262002319, 0.527981758, 0.807830513) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2190
         CFrame.new(-1.1422416, 0.424854994, -0.977448702, 0.766044796, -0.642787218, 0, 0, 0, -1, 0.642787218, 0.766044855, -0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2191
         CFrame.new(0.469847172, -1.99999297, 0.171010986, 0.642787755, 0, -0.766044497, 0, 1, 0, 0.766044497, 0, 0.642787755) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2192
         CFrame.new(-0.407241195, -1.99999297, -0.343016356, 0.939692736, 0, -0.342019916, 0, 1, 0, 0.342019886, 0, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2193
		}, .3, false)
2194
		bodpos.Position = Torso.Position
2195
	end
2196
	KillGhosts()
2197
	zap:Destroy()
2198
	if mad == false then
2199
	Head.face.Texture = "rbxasset://textures/face.png"
2200
	end
2201
	bodpos:Destroy()
2202
		attack  = false
2203
humanoid.WalkSpeed = ws
2204
end
2205
2206
2207
2208
2209
function selfvood()
2210
	attack  = true
2211
humanoid.WalkSpeed = 0
2212
	for i = 0, 3, 0.1 do
2213
		swait()
2214
		fakehandle2Weld.C0 = clerp(fakehandle2Weld.C0, CFrame.new(0, -.8, 0) * CFrame.Angles(math.rad(180), math.rad(-90), math.rad(0)), 1)
2215
		PlayAnimationFromTable({
2216
         CFrame.new(-0, -1.06227326, -0.0901979208, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2217
         CFrame.new(0, 1.496984, -0.0755676329, 1, 0, 0, 0, 0.984807789, 0.173648685, 0, -0.173648715, 0.984807789) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,0), 
2218
         CFrame.new(1.50000381, -0.180755094, -0.579459548, -0, 0, -1, -0.499997973, 0.8660267, 0, 0.8660267, 0.499997914, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2219
         CFrame.new(-1.27641273, 0.51513654, -1.0454185, -0.984807253, -0.173651338, -6.02125851e-07, 0.0301534254, -0.171008766, 0.984808028, -0.171013325, 0.96984601, 0.173646823) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2220
         CFrame.new(0.5, -1.59199977, 0.40675956, 1, 0, 0, 0, 0.342019916, 0.939692736, 0, -0.939692736, 0.342019886) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2221
         CFrame.new(-0.5, -1.6275661, 0.325588763, 1, 0, 0, 0, 0.342019916, 0.939692736, 0, -0.939692736, 0.342019886) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2222
		}, .3, false)
2223
	end
2224
	spook:Pause()
2225
	spook2:Pause()
2226
	spook3:Pause()
2227
	Head.face.Texture = "http://www.roblox.com/asset/?id=176777497"
2228
	local spook = CFuncs.Sound.Create("642753669", Character, 1, 1)
2229
	local pow = CFuncs.Sound.Create("429400881", Torso, 1, 1)
2230
	
2231
									local smonk = Instance.new("ParticleEmitter",Torso)
2232
								smonk.LightEmission = .1
2233
			smonk.Size = NumberSequence.new(0.2)
2234
			smonk.Texture = "http://www.roblox.com/asset/?ID=122022304"
2235
			aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(1, 3)})
2236
			bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
2237
			smonk.Transparency = bbb
2238
			smonk.Size = aaa
2239
			smonk.ZOffset = 1
2240
			smonk.Acceleration = Vector3.new(0,0, 0)
2241
			smonk.LockedToPart = false
2242
			smonk.EmissionDirection = "Back"
2243
			smonk.Lifetime = NumberRange.new(.2, .3)
2244
			smonk.Rate = 10
2245
			smonk.Rotation = NumberRange.new(-10, 10)
2246
			smonk.RotSpeed = NumberRange.new(-10, 10)
2247
			smonk.Speed = NumberRange.new(5)
2248
			smonk.VelocitySpread = 100
2249
			smonk.Enabled=true		
2250
			game:GetService("Debris"):AddItem(smonk, .8)
2251
					for i = 0, 3, 0.1 do
2252
		swait()
2253
		PlayAnimationFromTable({
2254
         CFrame.new(-0, -1.06227326, -0.0901979208, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2255
         CFrame.new(0.347812474, 1.37974453, -0.0895925462, 0.642787278, 0.754406691, 0.133023009, -0.75440681, 0.593250871, 0.280933768, 0.133022279, -0.280934095, 0.950463653) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .21 * math.cos(sine/1), 0 + .21 * math.cos(sine/1), 0 + .2 * math.cos(sine/1)), 
2256
         CFrame.new(1.50000381, -0.180755094, -0.579459548, -0, 0, -1, -0.499997973, 0.8660267, 0, 0.8660267, 0.499997914, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .1 * math.cos(sine/1), 0 + .1 * math.cos(sine/1), 0 + .1 * math.cos(sine/1)), 
2257
         CFrame.new(-0.568172455, 0.515136659, -1.04541838, 0, -1, 0, 0.17364718, 0, 0.984807909, -0.984807909, 0, 0.17364715) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .1 * math.cos(sine/1), 0 + .1 * math.cos(sine/1), 0 + .1 * math.cos(sine/1)), 
2258
         CFrame.new(0.5, -1.59199977, 0.40675956, 1, 0, 0, 0, 0.342019916, 0.939692736, 0, -0.939692736, 0.342019886) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2259
         CFrame.new(-0.5, -1.6275661, 0.325588763, 1, 0, 0, 0, 0.342019916, 0.939692736, 0, -0.939692736, 0.342019886) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2260
		}, .3, false)
2261
		 spook.TimePosition = 23
2262
					end
2263
		
2264
2265
								local smonk = Instance.new("ParticleEmitter",Torso)
2266
								smonk.LightEmission = .1
2267
			smonk.Size = NumberSequence.new(0.2)
2268
			smonk.Texture = "http://www.roblox.com/asset/?ID=122022304"
2269
			aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(1, 3)})
2270
			bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
2271
			smonk.Transparency = bbb
2272
			smonk.Size = aaa
2273
			smonk.ZOffset = 1
2274
			smonk.Acceleration = Vector3.new(0,0, 0)
2275
			smonk.LockedToPart = false
2276
			smonk.EmissionDirection = "Back"
2277
			smonk.Lifetime = NumberRange.new(.2, .3)
2278
			smonk.Rate = 10
2279
			smonk.Rotation = NumberRange.new(-10, 10)
2280
			smonk.RotSpeed = NumberRange.new(-10, 10)
2281
			smonk.Speed = NumberRange.new(5)
2282
			smonk.VelocitySpread = 100
2283
			smonk.Enabled=true		
2284
			game:GetService("Debris"):AddItem(smonk, .8)
2285
		chatfunc(beg[math.random(#beg)])
2286
		for i = 0, 12, 1 do
2287
			spook.Pitch = 1
2288
			for i = 0, .6, 0.1 do
2289
		swait()
2290
		PlayAnimationFromTable({
2291
         CFrame.new(-0, -1.06227326, -0.0901979208, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2292
         CFrame.new(0.347812474, 1.37974453, -0.0895925462, 0.642787278, 0.754406691, 0.133023009, -0.75440681, 0.593250871, 0.280933768, 0.133022279, -0.280934095, 0.950463653) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .21 * math.cos(sine/1), 0 + .21 * math.cos(sine/1), 0 + .2 * math.cos(sine/1)), 
2293
         CFrame.new(1.50000381, -0.180755094, -0.579459548, -0, 0, -1, -0.499997973, 0.8660267, 0, 0.8660267, 0.499997914, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .21 * math.cos(sine/1), 0 + .21 * math.cos(sine/1), 0 + .2 * math.cos(sine/1)), 
2294
         CFrame.new(-1.45222509, 0.532710016, -1.14508247, -0.984807849, 0.173648134, 3.13053391e-07, -0.0301533286, -0.171009853, 0.984807849, 0.171010122, 0.969846427, 0.173647866) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .21 * math.cos(sine/1), 0 + .21 * math.cos(sine/1), 0 + .2 * math.cos(sine/1)), 
2295
         CFrame.new(0.5, -1.59199977, 0.40675956, 1, 0, 0, 0, 0.342019916, 0.939692736, 0, -0.939692736, 0.342019886) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2296
         CFrame.new(-0.5, -1.6275661, 0.325588763, 1, 0, 0, 0, 0.342019916, 0.939692736, 0, -0.939692736, 0.342019886) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2297
		}, .3, false)
2298
	end
2299
			
2300
				local pow = CFuncs.Sound.Create("429400881", Torso, 1, 1)
2301
	Head.face.Texture = "http://www.roblox.com/asset/?id=176777497"
2302
							local smonk = Instance.new("ParticleEmitter",Torso)
2303
								smonk.LightEmission = .1
2304
			smonk.Size = NumberSequence.new(0.2)
2305
			smonk.Texture = "http://www.roblox.com/asset/?ID=122022304"
2306
			aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(1, 3)})
2307
			bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
2308
			smonk.Transparency = bbb
2309
			smonk.Size = aaa
2310
			smonk.ZOffset = 1
2311
			smonk.Acceleration = Vector3.new(0,0, 0)
2312
			smonk.LockedToPart = false
2313
			smonk.EmissionDirection = "Back"
2314
			smonk.Lifetime = NumberRange.new(.2, .3)
2315
			smonk.Rate = 10
2316
			smonk.Rotation = NumberRange.new(-10, 10)
2317
			smonk.RotSpeed = NumberRange.new(-10, 10)
2318
			smonk.Speed = NumberRange.new(5)
2319
			smonk.VelocitySpread = 100
2320
			smonk.Enabled=true		
2321
			game:GetService("Debris"):AddItem(smonk, .8)
2322
			spook.Pitch = .8
2323
					for i = 0, .6, 0.1 do
2324
		swait()
2325
		PlayAnimationFromTable({
2326
         CFrame.new(-0, -1.06227326, -0.0901979208, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2327
         CFrame.new(0.347812474, 1.37974453, -0.0895925462, 0.642787278, 0.754406691, 0.133023009, -0.75440681, 0.593250871, 0.280933768, 0.133022279, -0.280934095, 0.950463653) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .21 * math.cos(sine/1), 0 + .21 * math.cos(sine/1), 0 + .2 * math.cos(sine/1)), 
2328
         CFrame.new(1.50000381, -0.180755094, -0.579459548, -0, 0, -1, -0.499997973, 0.8660267, 0, 0.8660267, 0.499997914, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .1 * math.cos(sine/1), 0 + .1 * math.cos(sine/1), 0 + .1 * math.cos(sine/1)), 
2329
         CFrame.new(-0.568172455, 0.515136659, -1.04541838, 0, -1, 0, 0.17364718, 0, 0.984807909, -0.984807909, 0, 0.17364715) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .1 * math.cos(sine/1), 0 + .1 * math.cos(sine/1), 0 + .1 * math.cos(sine/1)), 
2330
         CFrame.new(0.5, -1.59199977, 0.40675956, 1, 0, 0, 0, 0.342019916, 0.939692736, 0, -0.939692736, 0.342019886) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2331
         CFrame.new(-0.5, -1.6275661, 0.325588763, 1, 0, 0, 0, 0.342019916, 0.939692736, 0, -0.939692736, 0.342019886) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2332
		}, .3, false)
2333
		 spook.TimePosition = 23
2334
					end
2335
		end
2336
								for i = 0, 13, 0.1 do
2337
		swait()
2338
		PlayAnimationFromTable({
2339
         CFrame.new(0, -2.40031433, -1.12047958, 1, 0, 0, 0, 0, 1, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,0), 
2340
         CFrame.new(0.135637388, 1.25514591, -0.148081794, 0.808915854, 0.586822987, -0.0359715298, -0.587052941, 0.802873313, -0.103746079, -0.0319999978, 0.10503903, 0.993953228) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .3 * math.cos(sine/1), 0 + .1 * math.cos(sine/2), 0 + .2 * math.cos(sine/2)), 
2341
         CFrame.new(1.50000381, 1.09464121, -0.179402828, 0, 0, -1, 0, -1, 0, -1, 0, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .21 * math.cos(sine/1), 0 + .21 * math.cos(sine/1), 0 + .2 * math.cos(sine/1)), 
2342
         CFrame.new(-1.63862431, 1.42091811, 0.0412508622, -0.984807849, 0.171009973, 0.0301539823, -0.171009988, -0.985265851, 0.00259810337, 0.0301539954, -0.00259799929, 0.999541879) * CFrame.new(0 + .21 * math.cos(sine/1), 0 + .2 * math.cos(sine/1), 0 + .1 * math.cos(sine/1)) * CFrame.Angles(0 + .21 * math.cos(sine/1), 0 + .21 * math.cos(sine/1), 0 + .2 * math.cos(sine/1)), 
2343
         CFrame.new(0.5, -1.9570061, -0.0188293457, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .21 * math.cos(sine/1), 0 + .1 * math.cos(sine/2), 0 + .2 * math.cos(sine/2)), 
2344
         CFrame.new(-0.965170562, -1.72358632, -0.0800125599, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .21 * math.cos(sine/1), 0 + .21 * math.cos(sine/2), 0 + .1 * math.cos(sine/2)), 
2345
		}, .3, false)
2346
								end
2347
Humanoid.Health=0
2348
	attack = false
2349
end
2350
2351
2352
2353
2354
2355
2356
Mouse.Button1Down:connect(function()
2357
	if attack == false and targetted ~= nil and targetted.Name ~= "SezHu" and mad == false then
2358
        vood()
2359
	elseif attack == false and targetted ~= nil and targetted.Name == "SezHu" then
2360
        selfvood()
2361
	elseif attack == false and targetted ~= nil and targetted.Name ~= "SezHu" and mad == true then
2362
        madvood()
2363
2364
	end
2365
end)
2366
2367
2368
function shadestep()
2369
	attack = true
2370
	Humanoid.WalkSpeed = 0 
2371
	Humanoid.JumpPower = 0
2372
	Humanoid.AutoRotate = false
2373
	local portal = Instance.new("Part",Torso)
2374
portal.Size = Vector3.new(7,8,3.5)
2375
portal.CanCollide = false
2376
portal.Anchored = true
2377
portal.Material = "Glass"
2378
portal.CFrame = RootPart.CFrame * CFrame.new(-6,0,0)
2379
portal.BrickColor = BrickColor.new("Earth green")
2380
portal.Transparency = .9999999	
2381
targetted.Torso.Anchored = true
2382
				zap = CFuncs.Sound.Create("1135476193", Torso, .5, .9)
2383
				zap.Name = "spook"
2384
									local smonk = Instance.new("ParticleEmitter",portal)
2385
								smonk.LightEmission = .1
2386
			smonk.Size = NumberSequence.new(0.2)
2387
			smonk.Texture = "http://www.roblox.com/asset/?ID=137243001"
2388
			aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(1, 1)})
2389
			bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
2390
			smonk.Transparency = bbb
2391
			smonk.Size = aaa
2392
			smonk.ZOffset = 1
2393
			smonk.Acceleration = Vector3.new(0,0, 0)
2394
			smonk.LockedToPart = false
2395
			smonk.EmissionDirection = "Back"
2396
			smonk.Lifetime = NumberRange.new(.2, .3)
2397
			smonk.Rate = 100
2398
			smonk.Rotation = NumberRange.new(-10, 10)
2399
			smonk.RotSpeed = NumberRange.new(-10, 10)
2400
			smonk.Speed = NumberRange.new(5)
2401
			smonk.VelocitySpread = 100
2402
			smonk.Enabled=true	
2403
       	for i = 0, 1, 0.1 do
2404
		swait()
2405
		PlayAnimationFromTable({
2406
         CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2407
         CFrame.new(3.42726707e-07, 1.49998903, 9.53674316e-07, 0.939692736, -0.0593911372, 0.336823851, 0, 0.984807849, 0.173648164, -0.342019916, -0.163175926, 0.925416648) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2408
         CFrame.new(0.931666315, -0.0946135819, -0.746298254, 0.866025269, 0.500000417, -5.04212892e-07, -0.433013141, 0.749999464, -0.500000536, -0.250000089, 0.43301326, 0.86602509) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2409
         CFrame.new(-1.49999905, 0, -0, 1, 0, -0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2410
         CFrame.new(0.5, -1.99999368, -5.36441803e-07, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2411
         CFrame.new(-0.720551491, -1.48057103, -0.248975754, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2412
		}, .3, false)
2413
end 
2414
RightLeg.Transparency = .001
2415
LeftLeg.Transparency = .001
2416
Head.Transparency = .001
2417
LeftArm.Transparency = .001
2418
RightArm.Transparency = .001
2419
Torso.Transparency = .001
2420
		for i = 0, 1, 0.1 do
2421
		swait()
2422
		PlayAnimationFromTable({
2423
         CFrame.new(-5.22641468, -0.00028098881, 0.000417715404, 1.00001502, -4.24588279e-06, -1.15687726e-09, -4.24588279e-06, 1.00000072, 2.03726813e-10, -1.15687726e-09, 2.03726813e-10, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2424
         CFrame.new(-1.23381615e-05, 1.50001132, 3.1888485e-06, 0.866936922, -0.059389241, 0.494882226, -0.0301606432, 0.984807909, 0.171010628, -0.497516185, -0.163180113, 0.851968348) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2425
         CFrame.new(0.526583731, -0.0394355357, -0.714433908, 0.500005841, 0.866030812, 1.66532845e-06, -0.750003815, 0.43301329, -0.499994576, -0.433007985, 0.249996915, 0.866028786) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2426
         CFrame.new(-1.5000447, 4.98362851e-06, -9.59282715e-08, 0.984814703, 0.173652425, -2.29182479e-06, -0.163184389, 0.925419688, -0.342009157, -0.0593881272, 0.33681336, 0.939696729) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2427
         CFrame.new(0.848292768, -1.88091469, -0.0433515906, 0.93969965, -0.342022836, -2.45875708e-06, 0.321391046, 0.883024156, 0.342018813, -0.116975173, -0.321393222, 0.939693213) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2428
         CFrame.new(-0.710637033, -1.42431033, -0.40600121, 0.9848153, 0.171010852, 0.0301539209, -0.173651934, 0.969846129, 0.171009913, -1.1019074e-07, -0.173648119, 0.984807789) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2429
		}, .3, false)
2430
		end
2431
	RootPart.CFrame = targetted.Torso.CFrame * CFrame.new(0,0,5)		
2432
portal.CFrame = RootPart.CFrame * CFrame.new(-6,0,0)		
2433
				zap = CFuncs.Sound.Create("177359995", Torso, .5, .9)
2434
				zap.Name = "spook"		
2435
			for i = 0, 1, 0.1 do
2436
		swait()
2437
		PlayAnimationFromTable({
2438
         CFrame.new(-3.96769428, -0.000213317384, 0.000316624471, 1.00001502, -4.24588279e-06, -1.15687726e-09, -4.24588279e-06, 1.00000072, 2.03726813e-10, -1.15687726e-09, 2.03726813e-10, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2439
         CFrame.new(-1.32024288e-05, 1.50001109, 1.22189522e-06, 0.862049878, -0.0593847744, -0.503347397, 0.133013517, 0.984808683, 0.111624479, 0.48906824, -0.163176596, 0.856846392) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2440
         CFrame.new(1.18375278, -0.0413921922, -0.538647294, 0.939700425, 0.34202072, 3.87117325e-06, -0.29619953, 0.813800216, -0.499996006, -0.171010777, 0.469841599, 0.866027951) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2441
         CFrame.new(-0.932069957, -0.103391632, -0.719776034, 0.866033554, -0.500000954, -1.84038799e-06, 0.469841331, 0.813804984, -0.342011005, 0.171005979, 0.296189845, 0.939696014) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2442
         CFrame.new(0.951902509, -1.61429334, -0.140393496, 0.984815419, -0.173648387, -2.52752943e-06, 0.163171723, 0.925418317, 0.342018664, -0.0593881905, -0.336822987, 0.939693272) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2443
         CFrame.new(-0.7694332, -1.75775802, -0.34629786, 0.9848153, 0.173648983, 1.36140443e-07, -0.173651934, 0.984807491, 1.44253136e-07, -1.1019074e-07, -1.65717211e-07, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2444
		}, .3, false)
2445
			end
2446
			
2447
			       	for i = 0, 1, 0.1 do
2448
		swait()
2449
		PlayAnimationFromTable({
2450
         CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2451
         CFrame.new(3.42726707e-07, 1.49998903, 9.53674316e-07, 0.939692736, -0.0593911372, 0.336823851, 0, 0.984807849, 0.173648164, -0.342019916, -0.163175926, 0.925416648) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2452
         CFrame.new(0.931666315, -0.0946135819, -0.746298254, 0.866025269, 0.500000417, -5.04212892e-07, -0.433013141, 0.749999464, -0.500000536, -0.250000089, 0.43301326, 0.86602509) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2453
         CFrame.new(-1.49999905, 0, -0, 1, 0, -0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2454
         CFrame.new(0.5, -1.99999368, -5.36441803e-07, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2455
         CFrame.new(-0.720551491, -1.48057103, -0.248975754, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2456
		}, .3, false)
2457
end 
2458
	
2459
		
2460
		
2461
portal:Destroy()		
2462
RightLeg.Transparency = 0
2463
LeftLeg.Transparency = 0
2464
Head.Transparency = 0
2465
LeftArm.Transparency = 0
2466
RightArm.Transparency = 0
2467
Torso.Transparency = 0
2468
	Humanoid.WalkSpeed = ws 
2469
	Humanoid.JumpPower = 60
2470
	Humanoid.AutoRotate = true
2471
	attack = false
2472
targetted.Torso.Anchored = false
2473
end
2474
2475
2476
2477
function SoulSteal(pos)
2478
local soulst = coroutine.wrap(function()
2479
local soul = Instance.new("Part",targetted)
2480
soul.Size = Vector3.new(.2,.2,.2)
2481
soul.CanCollide = false
2482
soul.Anchored = false
2483
soul.BrickColor = BrickColor.new("Really red")
2484
soul.Position = targetted.Torso.Position
2485
soul.Transparency = 1
2486
local bodpos = Instance.new("BodyPosition",soul)
2487
bodpos.Position = targetted.Torso.Position
2488
local col = targetted.Torso.Color
2489
game:GetService("Debris"):AddItem(soul, 20)
2490
wait(2)
2491
soul.Touched:connect(function(hit)
2492
if hit.Parent == Character then
2493
Effects.Block.Create(BrickColor.new(col), Torso.CFrame, .2, .2, .2, .2, .2, .2, .01, 1)
2494
soul:Destroy()
2495
humanoid.WalkSpeed = humanoid.WalkSpeed + souls
2496
frameincrease = frameincrease + souls
2497
ws = ws + souls
2498
souls = souls + 1
2499
2500
--chatfunc("In the forest, dark and deep, I offer you, eternal sleep..")
2501
end
2502
end)
2503
while soul do
2504
swait()
2505
bodpos.Position = Torso.Position
2506
end
2507
end)
2508
soulst()
2509
end
2510
2511
2512
2513
2514
Mouse.KeyDown:connect(function(k)
2515
	k = k:lower()
2516
	if k == 'q' and attack == false then
2517
	LockOn()
2518
	elseif k == 'e' and attack == false and targetted ~= nil then
2519
		burnthem()
2520
			elseif k == 't' and attack == false and targetted ~= nil then
2521
				minenow()
2522
				elseif k == 'g' and mad == false then
2523
					soundrefresh()
2524
					elseif k == 'f' and attack == false and souls >= 5 and mad == false then
2525
				mad = true
2526
			    spook.Pitch = .5
2527
				spook.Volume = .5	
2528
			    local dis2 = Instance.new("ChorusSoundEffect", spook)
2529
				dis2.Depth = .7
2530
				spook2:Pause()
2531
				spook2=CFuncs.Sound.Create("1285581251", Torso, 1, .5)
2532
				spook2.Name = "spook2"
2533
				spook2.Looped = true
2534
				spook3:Pause()
2535
				zap = CFuncs.Sound.Create("223103466", Character, .005, .5)
2536
				zap.Name = "spook"
2537
				zap.Looped = true
2538
				Head.face.Texture = "http://www.roblox.com/asset/?id=176777497"
2539
				local l = Instance.new("PointLight",Torso)
2540
				l.Range = 10
2541
				l.Brightness = 1
2542
				l.Color = Color3.new(1,0,0)
2543
				
2544
				elseif k == 'r' and attack == false and targetted ~= nil then
2545
        				shadestep()
2546
2547
	end
2548
end)
2549
2550
punished = false
2551
2552
Humanoid.Died:connect(function()
2553
		local bodposs = Instance.new("BodyPosition",Torso)
2554
		        bodposs.P = 1500
2555
			bodposs.D = 500
2556
			bodposs.Position = Torso.Position
2557
			bodposs.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
2558
	local con = Torso.Touched:connect(function(hit)
2559
 if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil and hit.Parent ~= Character then
2560
	hit:BreakJoints() 
2561
end
2562
end)
2563
ragdollself()
2564
punished = true
2565
if punished == true then
2566
	while true do
2567
	for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 10000)) do
2568
		if v:FindFirstChild('Torso') then
2569
if v:FindFirstChildOfClass("Humanoid").Health > 0 then
2570
			i = v
2571
			bodposs.Position = i.Torso.Position
2572
		end
2573
                    end
2574
			end
2575
		wait(.1)
2576
	end	
2577
end
2578
for v,i in pairs(game.Players:GetChildren()) do	
2579
end
2580
end)
2581
2582
2583
2584
2585
while true do
2586
text1.Text = "Souls collected: " ..souls
2587
	swait()
2588
	sref.CFrame = RightArm.CFrame * CFrame.new(0, -1.5, 0) * CFrame.fromEulerAnglesXYZ(-1.57, 0, 0)
2589
	for i, v in pairs(Character:GetChildren()) do
2590
		if v:IsA("Part") then
2591
			v.Material = "SmoothPlastic"
2592
		elseif v:IsA("Accessory") then
2593
			v:WaitForChild("Handle").Material = "SmoothPlastic"
2594
		end
2595
	end
2596
	Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude 
2597
	velocity = RootPart.Velocity.y
2598
	sine = sine + change
2599
	local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
2600
	if RootPart.Velocity.y > 1 and hit == nil then 
2601
		Anim = "Jump"
2602
		if attack == false then
2603
			PlayAnimationFromTable({
2604
				CFrame.new(0, 0.0486936681, -0.0429394133, 1, 0, -0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2605
				CFrame.new(0, 1.48698187, -0.0992434025, 1, 0, 0, 0, 0.98480767, 0.173648626, -0, -0.173648626, 0.98480767) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2606
				CFrame.new(1.66118193, 0.583681226, 0.430878729, 0.556951106, -0.772693694, -0.30454877, 0.830109596, 0.506009281, 0.234249175, -0.026898358, -0.383274168, 0.923242927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2607
				CFrame.new(-1.65963519, 0.695907593, 0.339572817, 0.482961893, 0.810776234, 0.330741376, -0.866026103, 0.498096228, 0.0435779653, -0.129409045, -0.307477146, 0.94271481) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2608
				CFrame.new(0.499997795, -1.71809137, -0.102601528, 0.984807849, 3.55863392e-007, -0.173647791, 0.0593907312, 0.939692557, 0.336824298, 0.163175657, -0.342020214, 0.925416589) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2609
				CFrame.new(-0.599241376, -1.29528463, -0.396836221, 0.992403984, 0.086823605, 0.0871558413, -0.118890785, 0.858931601, 0.498097867, -0.0316142589, -0.504676282, 0.862729669) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2610
			}, .3, false)
2611
		end
2612
	elseif RootPart.Velocity.y < -1 and hit == nil then 
2613
		Anim = "Fall"
2614
		if attack == false then
2615
			PlayAnimationFromTable({
2616
				CFrame.new(-0, -0.0520263538, -0.0354017057, 1, 0, 0, 0, 0.965925872, 0.258818984, 0, -0.258818984, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2617
				CFrame.new(0, 1.51533091, -0.10684365, 1, 0, 0, 0, 0.965925872, 0.258819342, 0, -0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2618
				CFrame.new(1.67554009, 0.885679007, 0.385592818, 0.374123871, -0.696466088, -0.61234498, 0.914592147, 0.386364758, 0.119345918, 0.153468132, -0.604696095, 0.781530797) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2619
				CFrame.new(-1.67474985, 0.999329269, 0.296636045, 0.250219911, 0.753912985, 0.607457995, -0.927206695, 0.367205799, -0.0738086402, -0.278707415, -0.544770718, 0.79091537) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2620
				CFrame.new(0.504494727, -1.81757987, -0.0935191363, 0.984807849, -0.0449431092, -0.167730823, 0.059390761, 0.99484998, 0.0821366012, 0.163175508, -0.0908504426, 0.982405365) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2621
				CFrame.new(-0.623603821, -1.49203336, -0.421764404, 0.992403865, 0.122534379, 0.0109562073, -0.118891656, 0.978150725, -0.17054674, -0.0316146575, 0.167948633, 0.985288799) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2622
			}, .3, false)
2623
		end
2624
	elseif Torsovelocity < 1 and hit ~= nil and mad == false then
2625
		Anim = "Idle"
2626
		if attack == false then
2627
			change = 1
2628
		PlayAnimationFromTable({
2629
         CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .1 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0), 
2630
         CFrame.new(-0.0272614881, 1.52851057, -0.13796404, 0.936596215, 0.144423872, -0.319263637, -0.0292440075, 0.940150857, 0.339501232, 0.349188089, -0.30863902, 0.884765327) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .02 * math.cos(sine/1), 0 + .02 * math.cos(sine/1), 0 + .02 * math.cos(sine/1)), 
2631
         CFrame.new(0.863075078, 0.0374298692, -0.671212494, 0.866025269, 0.500000417, -5.04212892e-07, -0.433013141, 0.749999464, -0.500000536, -0.250000089, 0.43301326, 0.86602509) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2632
         CFrame.new(-0.799236, 0.0252398103, -0.444895387, 0.468589991, -0.644656956, 0.604020596, 0.838784993, 0.539245546, -0.0751925781, -0.277242005, 0.541877925, 0.793413758) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2633
         CFrame.new(0.500002205, -1.9999969, 7.30156898e-07, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736) * CFrame.new(0, 0 - .1 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0), 
2634
         CFrame.new(-0.500001073, -1.9999969, 7.15255737e-07, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388) * CFrame.new(0, 0 - .1 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0), 
2635
		}, .3, false)
2636
		fakehandle2Weld.C0 = clerp(fakehandle2Weld.C0, CFrame.new(0, -.8, 0) * CFrame.Angles(math.rad(180), math.rad(-90), math.rad(0)), 1)
2637
		end
2638
		
2639
			elseif Torsovelocity < 1 and hit ~= nil and mad == true then
2640
		Anim = "Idle"
2641
		if attack == false then
2642
			change = 1
2643
		PlayAnimationFromTable({
2644
         CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .1 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0), 
2645
         CFrame.new(0.347812474, 1.37974453, -0.0895925462, 0.642787278, 0.754406691, 0.133023009, -0.75440681, 0.593250871, 0.280933768, 0.133022279, -0.280934095, 0.950463653) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .03 * math.cos(sine/1), 0 + .03 * math.cos(sine/1), 0 + .03 * math.cos(sine/1)), 
2646
         CFrame.new(0.863075078, 0.0374298692, -0.671212494, 0.866025269, 0.500000417, -5.04212892e-07, -0.433013141, 0.749999464, -0.500000536, -0.250000089, 0.43301326, 0.86602509) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .01 * math.cos(sine/1), 0 + .01 * math.cos(sine/1), 0 + .01 * math.cos(sine/1)), 
2647
         CFrame.new(-0.799236, 0.0252398103, -0.444895387, 0.468589991, -0.644656956, 0.604020596, 0.838784993, 0.539245546, -0.0751925781, -0.277242005, 0.541877925, 0.793413758) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .01 * math.cos(sine/1), 0 + .01 * math.cos(sine/1), 0 + .01 * math.cos(sine/1)), 
2648
         CFrame.new(0.500002205, -1.9999969, 7.30156898e-07, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736) * CFrame.new(0, 0 - .1 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0), 
2649
         CFrame.new(-0.500001073, -1.9999969, 7.15255737e-07, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388) * CFrame.new(0, 0 - .1 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0), 
2650
		}, .3, false)
2651
			spook.Pitch = .5
2652
				spook.Volume = .5
2653
					ws = 4
2654
			humanoid.WalkSpeed = ws
2655
			fakehandle2Weld.C0 = clerp(fakehandle2Weld.C0, CFrame.new(0, -.8, 0) * CFrame.Angles(math.rad(180), math.rad(-90), math.rad(0)), 1)
2656
		end
2657
	elseif Torsovelocity > 2 and hit ~= nil and mad == false then
2658
		Anim = "Walk"
2659
		if attack == false then
2660
			change = 2
2661
		PlayAnimationFromTable({
2662
         CFrame.new(-0, 0, 0, 0.998444736, 0.0471846126, 0.0296955798, -0.0533299893, 0.963592768, 0.262001783, -0.0162519962, -0.263177931, 0.964610517) * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(3 *  math.sin(sine / 8)), math.rad(3)), 
2663
         CFrame.new(-0.0272574369, 1.52851033, -0.137963861, 0.977806866, 0.0838034153, -0.192017511, -0.0877529904, 0.996068299, -0.0121424496, 0.190244973, 0.0287230853, 0.981316388) * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 
2664
         CFrame.new(0.59841007, 0.0103551596, -0.747657239, 0.604022443, 0.766044676, -0.219846517, -0.794415593, 0.55667001, -0.242945373, -0.0637250468, 0.321393907, 0.944799006) * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 
2665
         CFrame.new(-1.68601704, 0.119868845, 0.0212422945, 0.975082457, 0.21984607, -0.0296994951, -0.21674411, 0.972632885, 0.0837100297, 0.0472900234, -0.0751869828, 0.996047497) * CFrame.new(math.rad(3 *  math.sin(sine / 8)), math.rad(0), math.rad(3 *  math.sin(sine / 8))) * CFrame.Angles(math.rad(0), math.rad(3 *  math.sin(sine / 8)), math.rad(5 *  math.sin(sine / 8))), 
2666
		 CFrame.new(.5, -1.64 - 0.5 * math.cos(sine / 8) / 2, 0 + 2 *  math.sin(sine / 8) / 2) * CFrame.Angles(math.rad(-70 *  math.sin(sine / 8)), math.rad(-3), math.rad(0)),
2667
		 CFrame.new(-.5, -1.64 + 0.5 * math.cos(sine / 8) / 2, 0 - 2 * math.sin(sine / 8) / 2) * CFrame.Angles(math.rad(70 *  math.sin(sine / 8)), math.rad(3), math.rad(0)),
2668
		}, .3, false)
2669
		fakehandle2Weld.C0 = clerp(Handle2Weld.C0, CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2670
		end
2671
			elseif Torsovelocity > 2 and hit ~= nil and mad == true then
2672
		Anim = "Walk"
2673
		if attack == false then
2674
			ws = 5
2675
			humanoid.WalkSpeed = ws
2676
			change = 2
2677
		PlayAnimationFromTable({
2678
         CFrame.new(-0, 0, 0, 0.998444736, 0.0471846126, 0.0296955798, -0.0533299893, 0.963592768, 0.262001783, -0.0162519962, -0.263177931, 0.964610517) * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(3 *  math.sin(sine / 8)), math.rad(3)), 
2679
         CFrame.new(-0.0272574369, 1.52851033, -0.137963861, 0.977806866, 0.0838034153, -0.192017511, -0.0877529904, 0.996068299, -0.0121424496, 0.190244973, 0.0287230853, 0.981316388) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .03 * math.cos(sine/1),0 + .03 * math.cos(sine/1),math.rad(-10)), 
2680
         CFrame.new(0.59841007, 0.0103551596, -0.747657239, 0.604022443, 0.766044676, -0.219846517, -0.794415593, 0.55667001, -0.242945373, -0.0637250468, 0.321393907, 0.944799006) * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 
2681
         CFrame.new(-1.68601704, 0.119868845, 0.0212422945, 0.975082457, 0.21984607, -0.0296994951, -0.21674411, 0.972632885, 0.0837100297, 0.0472900234, -0.0751869828, 0.996047497) * CFrame.new(math.rad(3 *  math.sin(sine / 8)), math.rad(0), math.rad(3 *  math.sin(sine / 8))) * CFrame.Angles(math.rad(0), math.rad(3 *  math.sin(sine / 8)), math.rad(5 *  math.sin(sine / 8))), 
2682
		 CFrame.new(.5, -1.64 - 0.5 * math.cos(sine / 8) / 2, 0 + 2 *  math.sin(sine / 8) / 2) * CFrame.Angles(math.rad(-70 *  math.sin(sine / 8)), math.rad(-3), math.rad(0)),
2683
		 CFrame.new(-.5, -1.64 + 0.5 * math.cos(sine / 8) / 2, 0 - 2 * math.sin(sine / 8) / 2) * CFrame.Angles(math.rad(70 *  math.sin(sine / 8)), math.rad(3), math.rad(0)),
2684
		}, .3, false)
2685
		fakehandle2Weld.C0 = clerp(Handle2Weld.C0, CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2686
		end
2687
		end
2688
	if 0 < #Effects then
2689
		for e = 1, #Effects do
2690
			if Effects[e] ~= nil then
2691
				local Thing = Effects[e]
2692
				if Thing ~= nil then
2693
					local Part = Thing[1]
2694
					local Mode = Thing[2]
2695
					local Delay = Thing[3]
2696
					local IncX = Thing[4]
2697
					local IncY = Thing[5]
2698
					local IncZ = Thing[6]
2699
					if Thing[2] == "Shoot" then
2700
						local Look = Thing[1]
2701
						local move = 5
2702
						local hit, pos = rayCast(Thing[4], Thing[1], move, Character)
2703
						if Thing[10] ~= nil then
2704
							da = pos
2705
							cf2 = CFrame.new(Thing[4], Thing[10].Position)
2706
							cfa = CFrame.new(Thing[4], pos)
2707
							tehCF = cfa:lerp(cf2, 0.2)
2708
							Thing[1] = tehCF.lookVector
2709
						end
2710
						local mag = (Thing[4] - pos).magnitude
2711
						Effects.Elect.Create(CFrame.new((Thing[4] + pos) / 2, pos), 4, 4, 4)
2712
						Effects.Sphere.Create(BrickColor.new("New Yeller"), CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 3, 3, 3, 5, 5, 5, 0.15)
2713
						Thing[4] = Thing[4] + Look * move
2714
						Thing[3] = Thing[3] - 1
2715
						if 2 < Thing[5] then
2716
							Thing[5] = Thing[5] - 0.3
2717
							Thing[6] = Thing[6] - 0.3
2718
						end
2719
						if hit ~= nil then
2720
							Thing[3] = 0
2721
							MagnitudeDamage(hit, 5, 10, 15, 0, "Normal", "161006093", 0.8)
2722
							ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
2723
							ref.Anchored = true
2724
							ref.CFrame = CFrame.new(pos)
2725
							Effects.Block.Create(BrickColor.new("New Yeller"), CFrame.new(pos), 1, 1, 1, 2, 2, 2, .05)
2726
							Effects.Sphere.Create(BrickColor.new("New Yeller"), CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.03)
2727
							game:GetService("Debris"):AddItem(ref, 1)
2728
						end
2729
						if Thing[3] <= 0 then
2730
							table.remove(Effects, e)
2731
						end
2732
					end
2733
					do
2734
						do
2735
							if Thing[2] == "FireWave" then
2736
								if Thing[3] <= Thing[4] then
2737
									Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
2738
									Thing[3] = Thing[3] + 1
2739
									Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
2740
								else
2741
									Part.Parent = nil
2742
									table.remove(Effects, e)
2743
								end
2744
							end
2745
							if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
2746
								if Thing[1].Transparency <= 1 then
2747
									if Thing[2] == "Block1" then
2748
										Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
2749
										Mesh = Thing[7]
2750
										Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2751
										Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2752
									else
2753
										if Thing[2] == "Block2" then
2754
											Thing[1].CFrame = Thing[1].CFrame
2755
											Mesh = Thing[7]
2756
											Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2757
											Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2758
										else
2759
											if Thing[2] == "Fire" then
2760
												Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
2761
												Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
2762
												Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2763
											else
2764
												if Thing[2] == "Cylinder" then
2765
													Mesh = Thing[7]
2766
													Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2767
													Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2768
												else
2769
													if Thing[2] == "Blood" then
2770
														Mesh = Thing[7]
2771
														Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
2772
														Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2773
														Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2774
													else
2775
														if Thing[2] == "Elec" then
2776
															Thing[1].Size = Thing[1].Size + Vector3.new(Thing[7], Thing[8], Thing[9])
2777
															Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2778
														else
2779
															if Thing[2] == "Disappear" then
2780
																Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2781
															end
2782
														end
2783
													end
2784
												end
2785
											end
2786
										end
2787
									end
2788
								else
2789
									Part.Parent = nil
2790
									table.remove(Effects, e)
2791
								end
2792
							end
2793
						end
2794
					end
2795
				end
2796
			end
2797
		end
2798
	end
2799
		twitchy = math.random(1,500)
2800
	if twitchy == 1 and Anim == "Idle" and attack == false and mad == false then
2801
Head.face.Texture = "http://www.roblox.com/asset/?id=176777497"
2802
line = math.random(1,5)
2803
if line == 1 then
2804
laughy = CFuncs.Sound.Create("453313332", Character, 1, 1)
2805
laughy.Name = "laughy"
2806
elseif line == 2 then
2807
laughy = CFuncs.Sound.Create("453313353", Character, 1, 1)
2808
laughy.Name = "laughy"
2809
elseif line == 3 then
2810
laughy = CFuncs.Sound.Create("456177573", Character, 1, 1)
2811
laughy.Name = "laughy"
2812
elseif line == 4 then
2813
laughy = CFuncs.Sound.Create("456179838", Character, 1, 1)
2814
laughy.Name = "laughy"
2815
end
2816
2817
zap = CFuncs.Sound.Create("223103466", Character, 3, 1)
2818
zap.Name = "zap"
2819
for i = 0, .1, 0.1 do
2820
		PlayAnimationFromTable({
2821
         CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2822
         CFrame.new(-0.2433438, 1.16466844, 0.804812133, 0.977807224, -0.209098667, -0.0130749447, -0.0877520218, -0.352086037, -0.931845009, 0.190244049, 0.912312031, -0.362621069) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .5 * math.cos(sine/20), 0, 0), 
2823
         CFrame.new(1.64227509, 0.827429175, -1.03914833, 0.604023039, -0.219846934, -0.76604414, -0.794415116, -0.242945939, -0.556670427, -0.0637250096, 0.944798768, -0.321394682) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2824
         CFrame.new(-1.68601704, 0.119868845, 0.0212422945, 0.975082457, 0.21984607, -0.0296994951, -0.21674411, 0.972632885, 0.0837100297, 0.0472900234, -0.0751869828, 0.996047497) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2825
         CFrame.new(0.500002205, -1.9999969, 7.30156898e-07, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2826
         CFrame.new(-0.500001073, -1.9999969, 7.15255737e-07, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2827
		}, .3, false)
2828
end
2829
		wait(.3)
2830
Head.face.Texture = "rbxasset://textures/face.png"
2831
zap:Destroy()
2832
	end
2833
2834
if game.Lighting.OutdoorAmbient ~= Color3.new(.2,.2,.2) then
2835
game.Lighting.OutdoorAmbient = Color3.new(.2,.2,.2)
2836
game.Lighting.Ambient = Color3.new(.2,.2,.2)
2837
game.Lighting.TimeOfDay = "00:00:00"
2838
game.Lighting.FogColor = Color3.new(0,0,0)
2839
game.Lighting.FogEnd = 100
2840
end
2841
if targetted ~= nil then
2842
crosshair.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
2843
crosshair.Enabled = true
2844
elseif targetted == nil then
2845
crosshair.Adornee = nil
2846
crosshair.Enabled = false
2847
if mad == true then
2848
efekt=CFuncs.Part.Create(Torso, "Neon", 0, 1, BrickColor.new("Crimson"), "ref", Vector3.new(0,0,0))	
2849
efekt.Anchored=true
2850
efekt.CanCollide=false
2851
game:GetService("Debris"):AddItem(efekt, 1)
2852
efekt.CFrame=Torso.CFrame*CFrame.new(math.random(-10,10),-2.5,math.random(-10,10))	
2853
ShowDamage((efekt.CFrame * CFrame.new(0, 0, 0).p + Vector3.new(0, 0, 0)), folder[math.random(#folder)], 1, BrickColor.new(red).Color)
2854
    for _,v in next, game.Players:players() do
2855
        if(v.Character and v.Character:FindFirstChild'Head' and not v.Character.Parent)then
2856
            pcall(function()
2857
                v.Character.Parent = workspace
2858
                v.Character:BreakJoints()
2859
            end)
2860
        end
2861
    end
2862
end
2863
soundbork(workspace)
2864
humanoid.Health = math.huge
2865
end
2866
2867
if bodpos2 then
2868
bodpos2.Position = Head.Position
2869
end
2870
2871
if bodpos2 and targetted ~= nil and not bodpos then
2872
bodpos2.Position = targetted.Head.Position
2873
end
2874
end