View difference between Paste ID: cUK1JxSq and NWzP4YK4
SHOW: | | - or go back to the newest paste.
1
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
2
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
3
do
4
	print("FE Compatibility code by Mokiros")
5
	script.Parent = Player.Character
6
7
	--RemoteEvent for communicating
8
	local Event = Instance.new("RemoteEvent")
9
	Event.Name = "UserInput_Event"
10
11
	--Fake event to make stuff like Mouse.KeyDown work
12
	local function fakeEvent()
13
		local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
14
		t.connect = t.Connect
15
		return t
16
	end
17
18
	--Creating fake input objects with fake variables
19
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
20
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
21
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
22
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
23
	end}
24
	--Merged 2 functions into one by checking amount of arguments
25
	CAS.UnbindAction = CAS.BindAction
26
27
	--This function will trigger the events that have been :Connect()'ed
28
	local function te(self,ev,...)
29
		local t = m[ev]
30
		if t and t._fakeEvent and t.Function then
31
			t.Function(...)
32
		end
33
	end
34
	m.TrigEvent = te
35
	UIS.TrigEvent = te
36
37
	Event.OnServerEvent:Connect(function(plr,io)
38
	    if plr~=Player then return end
39
		if io.isMouse then
40
			m.Target = io.Target
41
			m.Hit = io.Hit
42
		else
43
			local b = io.UserInputState == Enum.UserInputState.Begin
44
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
45
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
46
			end
47
			for _,t in pairs(CAS.Actions) do
48
				for _,k in pairs(t.Keys) do
49
					if k==io.KeyCode then
50
						t.Function(t.Name,io.UserInputState,io)
51
					end
52
				end
53
			end
54
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
55
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
56
	    end
57
	end)
58
	Event.Parent = NLS([==[
59
	local Player = game:GetService("Players").LocalPlayer
60
	local Event = script:WaitForChild("UserInput_Event")
61
62
	local UIS = game:GetService("UserInputService")
63
	local input = function(io,a)
64
		if a then return end
65
		--Since InputObject is a client-side instance, we create and pass table instead
66
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
67
	end
68
	UIS.InputBegan:Connect(input)
69
	UIS.InputEnded:Connect(input)
70
71
	local Mouse = Player:GetMouse()
72
	local h,t
73
	--Give the server mouse data 30 times every second, but only if the values changed
74
	--If player is not moving their mouse, client won't fire events
75
	while wait(1/30) do
76
		if h~=Mouse.Hit or t~=Mouse.Target then
77
			h,t=Mouse.Hit,Mouse.Target
78
			Event:FireServer({isMouse=true,Target=t,Hit=h})
79
		end
80
	end]==],Player.Character)
81
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
82
end
83
-----------------------
84
--Voodoo Child--
85
-------------------------------------------------------
86
--A script By makhail07
87
88
--Discord Creterisk#2958 
89
-------------------------------------------------------
90
91
local FavIDs = {
92
	340106355, --Nefl Crystals
93
	927529620, --Dimension
94
	876981900, --Fantasy
95
	398987889, --Ordinary Days
96
	1117396305, --Oh wait, it's you.
97
	885996042, --Action Winter Journey
98
	919231299, --Sprawling Idiot Effigy
99
	743466274, --Good Day Sunshine
100
	727411183, --Knife Fight
101
	1402748531, --The Earth Is Counting On You!
102
	595230126 --Robot Language
103
	}
104
105
106
107
--The reality of my life isn't real but a Universe -makhail07
108
wait()
109
local plr = game:service'Players'.LocalPlayer
110
print('Local User is '..plr.Name)
111
local char = plr.Character
112
local hum = char.Humanoid
113
local ra = char["Right Arm"]
114
local la= char["Left Arm"]
115
local rl= char["Right Leg"]
116
local ll = char["Left Leg"]
117
local hed = char.Head
118
local root = char.HumanoidRootPart
119
local rootj = root.RootJoint
120
local tors = char.Torso
121
local mouse = plr:GetMouse()
122
local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
123
local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
124
local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
125
126
127
-------------------------------------------------------
128
--Start Good Stuff--
129
-------------------------------------------------------
130
CF = CFrame.new
131
angles = CFrame.Angles
132
attack = false
133
Euler = CFrame.fromEulerAnglesXYZ
134
Rad = math.rad
135
IT = Instance.new
136
BrickC = BrickColor.new
137
Cos = math.cos
138
Acos = math.acos
139
Sin = math.sin
140
Asin = math.asin
141
Abs = math.abs
142
Mrandom = math.random
143
Floor = math.floor
144
-------------------------------------------------------
145
--End Good Stuff--
146
-------------------------------------------------------
147
necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
148
RSH, LSH = nil, nil 
149
RW = Instance.new("Weld") 
150
LW = Instance.new("Weld")
151
RH = tors["Right Hip"]
152
LH = tors["Left Hip"]
153
RSH = tors["Right Shoulder"] 
154
LSH = tors["Left Shoulder"] 
155
RSH.Parent = nil 
156
LSH.Parent = nil 
157
RW.Name = "RW"
158
RW.Part0 = tors 
159
RW.C0 = CF(1.5, 0.5, 0)
160
RW.C1 = CF(0, 0.5, 0) 
161
RW.Part1 = ra
162
RW.Parent = tors 
163
LW.Name = "LW"
164
LW.Part0 = tors 
165
LW.C0 = CF(-1.5, 0.5, 0)
166
LW.C1 = CF(0, 0.5, 0) 
167
LW.Part1 = la
168
LW.Parent = tors
169
Effects = {}
170
171
-------------------------------------------------------
172
--Start HeartBeat--
173
-------------------------------------------------------
174
ArtificialHB = Instance.new("BindableEvent", script)
175
ArtificialHB.Name = "Heartbeat"
176
script:WaitForChild("Heartbeat")
177
178
frame = 1 / 60
179
tf = 0
180
allowframeloss = false
181
tossremainder = false
182
183
184
lastframe = tick()
185
script.Heartbeat:Fire()
186
187
188
game:GetService("RunService").Heartbeat:connect(function(s, p)
189
	tf = tf + s
190
	if tf >= frame then
191
		if allowframeloss then
192
			script.Heartbeat:Fire()
193
			lastframe = tick()
194
		else
195
			for i = 1, math.floor(tf / frame) do
196
				script.Heartbeat:Fire()
197
			end
198
			lastframe = tick()
199
		end
200
		if tossremainder then
201
			tf = 0
202
		else
203
			tf = tf - frame * math.floor(tf / frame)
204
		end
205
	end
206
end)
207
-------------------------------------------------------
208
--End HeartBeat--
209
-------------------------------------------------------
210
211
-------------------------------------------------------
212
--Start Important Functions--
213
-------------------------------------------------------
214
function swait(num)
215
	if num == 0 or num == nil then
216
		game:service("RunService").Stepped:wait(0)
217
	else
218
		for i = 0, num do
219
			game:service("RunService").Stepped:wait(0)
220
		end
221
	end
222
end
223
function thread(f)
224
	coroutine.resume(coroutine.create(f))
225
end
226
function clerp(a, b, t)
227
	local qa = {
228
		QuaternionFromCFrame(a)
229
	}
230
	local qb = {
231
		QuaternionFromCFrame(b)
232
	}
233
	local ax, ay, az = a.x, a.y, a.z
234
	local bx, by, bz = b.x, b.y, b.z
235
	local _t = 1 - t
236
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
237
end
238
function QuaternionFromCFrame(cf)
239
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
240
	local trace = m00 + m11 + m22
241
	if trace > 0 then
242
		local s = math.sqrt(1 + trace)
243
		local recip = 0.5 / s
244
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
245
	else
246
		local i = 0
247
		if m00 < m11 then
248
			i = 1
249
		end
250
		if m22 > (i == 0 and m00 or m11) then
251
			i = 2
252
		end
253
		if i == 0 then
254
			local s = math.sqrt(m00 - m11 - m22 + 1)
255
			local recip = 0.5 / s
256
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
257
		elseif i == 1 then
258
			local s = math.sqrt(m11 - m22 - m00 + 1)
259
			local recip = 0.5 / s
260
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
261
		elseif i == 2 then
262
			local s = math.sqrt(m22 - m00 - m11 + 1)
263
			local recip = 0.5 / s
264
			return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
265
		end
266
	end
267
end
268
function QuaternionToCFrame(px, py, pz, x, y, z, w)
269
	local xs, ys, zs = x + x, y + y, z + z
270
	local wx, wy, wz = w * xs, w * ys, w * zs
271
	local xx = x * xs
272
	local xy = x * ys
273
	local xz = x * zs
274
	local yy = y * ys
275
	local yz = y * zs
276
	local zz = z * zs
277
	return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
278
end
279
function QuaternionSlerp(a, b, t)
280
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
281
	local startInterp, finishInterp
282
	if cosTheta >= 1.0E-4 then
283
		if 1 - cosTheta > 1.0E-4 then
284
			local theta = math.acos(cosTheta)
285
			local invSinTheta = 1 / Sin(theta)
286
			startInterp = Sin((1 - t) * theta) * invSinTheta
287
			finishInterp = Sin(t * theta) * invSinTheta
288
		else
289
			startInterp = 1 - t
290
			finishInterp = t
291
		end
292
	elseif 1 + cosTheta > 1.0E-4 then
293
		local theta = math.acos(-cosTheta)
294
		local invSinTheta = 1 / Sin(theta)
295
		startInterp = Sin((t - 1) * theta) * invSinTheta
296
		finishInterp = Sin(t * theta) * invSinTheta
297
	else
298
		startInterp = t - 1
299
		finishInterp = t
300
	end
301
	return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
302
end
303
function rayCast(Position, Direction, Range, Ignore)
304
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
305
end
306
local RbxUtility = LoadLibrary("RbxUtility")
307
local Create = RbxUtility.Create
308
309
-------------------------------------------------------
310
--Start Damage Function--
311
-------------------------------------------------------
312
function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
313
	if hit.Parent == nil then
314
		return
315
	end
316
	local h = hit.Parent:FindFirstChildOfClass("Humanoid")
317
	for _, v in pairs(hit.Parent:children()) do
318
		if v:IsA("Humanoid") then
319
			h = v
320
		end
321
	end
322
         if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
323
	
324
         hit.Parent:FindFirstChild("Head"):BreakJoints()
325
         end
326
327
	if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
328
		if hit.Parent:findFirstChild("DebounceHit") ~= nil then
329
			if hit.Parent.DebounceHit.Value == true then
330
				return
331
			end
332
		end
333
         if insta == true then
334
         hit.Parent:FindFirstChild("Head"):BreakJoints()
335
         end
336
		local c = Create("ObjectValue"){
337
			Name = "creator",
338
			Value = game:service("Players").LocalPlayer,
339
			Parent = h,
340
		}
341
		game:GetService("Debris"):AddItem(c, .5)
342
		if HitSound ~= nil and HitPitch ~= nil then
343
			CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) 
344
		end
345
		local Damage = math.random(minim, maxim)
346
		local blocked = false
347
		local block = hit.Parent:findFirstChild("Block")
348
		if block ~= nil then
349
			if block.className == "IntValue" then
350
				if block.Value > 0 then
351
					blocked = true
352
					block.Value = block.Value - 1
353
					print(block.Value)
354
				end
355
			end
356
		end
357
		if blocked == false then
358
			h.Health = h.Health - Damage
359
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
360
		else
361
			h.Health = h.Health - (Damage / 2)
362
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
363
		end
364
		if Type == "Knockdown" then
365
			local hum = hit.Parent.Humanoid
366
			hum.PlatformStand = true
367
			coroutine.resume(coroutine.create(function(HHumanoid)
368
				swait(1)
369
				HHumanoid.PlatformStand = false
370
			end), hum)
371
			local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
372
			local bodvol = Create("BodyVelocity"){
373
				velocity = angle * knockback,
374
				P = 5000,
375
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
376
				Parent = hit,
377
			}
378
			local rl = Create("BodyAngularVelocity"){
379
				P = 3000,
380
				maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
381
				angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
382
				Parent = hit,
383
			}
384
			game:GetService("Debris"):AddItem(bodvol, .5)
385
			game:GetService("Debris"):AddItem(rl, .5)
386
		elseif Type == "Normal" then
387
			local vp = Create("BodyVelocity"){
388
				P = 500,
389
				maxForce = Vector3.new(math.huge, 0, math.huge),
390
				velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
391
			}
392
			if knockback > 0 then
393
				vp.Parent = hit.Parent.Torso
394
			end
395
			game:GetService("Debris"):AddItem(vp, .5)
396
		elseif Type == "Up" then
397
			local bodyVelocity = Create("BodyVelocity"){
398
				velocity = Vector3.new(0, 20, 0),
399
				P = 5000,
400
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
401
				Parent = hit,
402
			}
403
			game:GetService("Debris"):AddItem(bodyVelocity, .5)
404
		elseif Type == "DarkUp" then
405
			coroutine.resume(coroutine.create(function()
406
				for i = 0, 1, 0.1 do
407
					swait()
408
					Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
409
				end
410
			end))
411
			local bodyVelocity = Create("BodyVelocity"){
412
				velocity = Vector3.new(0, 20, 0),
413
				P = 5000,
414
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
415
				Parent = hit,
416
			}
417
			game:GetService("Debris"):AddItem(bodyVelocity, 1)
418
		elseif Type == "Snare" then
419
			local bp = Create("BodyPosition"){
420
				P = 2000,
421
				D = 100,
422
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
423
				position = hit.Parent.Torso.Position,
424
				Parent = hit.Parent.Torso,
425
			}
426
			game:GetService("Debris"):AddItem(bp, 1)
427
		elseif Type == "Freeze" then
428
			local BodPos = Create("BodyPosition"){
429
				P = 50000,
430
				D = 1000,
431
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
432
				position = hit.Parent.Torso.Position,
433
				Parent = hit.Parent.Torso,
434
			}
435
			local BodGy = Create("BodyGyro") {
436
				maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
437
				P = 20e+003,
438
				Parent = hit.Parent.Torso,
439
				cframe = hit.Parent.Torso.CFrame,
440
			}
441
			hit.Parent.Torso.Anchored = true
442
			coroutine.resume(coroutine.create(function(Part) 
443
				swait(1.5)
444
				Part.Anchored = false
445
			end), hit.Parent.Torso)
446
			game:GetService("Debris"):AddItem(BodPos, 3)
447
			game:GetService("Debris"):AddItem(BodGy, 3)
448
		end
449
		local debounce = Create("BoolValue"){
450
			Name = "DebounceHit",
451
			Parent = hit.Parent,
452
			Value = true,
453
		}
454
		game:GetService("Debris"):AddItem(debounce, Delay)
455
		c = Create("ObjectValue"){
456
			Name = "creator",
457
			Value = Player,
458
			Parent = h,
459
		}
460
		game:GetService("Debris"):AddItem(c, .5)
461
	end
462
end
463
-------------------------------------------------------
464
--End Damage Function--
465
-------------------------------------------------------
466
467
-------------------------------------------------------
468
--Start Damage Function Customization--
469
-------------------------------------------------------
470
function ShowDamage(Pos, Text, Time, Color)
471
	local Rate = (1 / 30)
472
	local Pos = (Pos or Vector3.new(0, 0, 0))
473
	local Text = (Text or "")
474
	local Time = (Time or 2)
475
	local Color = (Color or Color3.new(1, 0, 1))
476
	local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
477
	EffectPart.Anchored = true
478
	local BillboardGui = Create("BillboardGui"){
479
		Size = UDim2.new(3, 0, 3, 0),
480
		Adornee = EffectPart,
481
		Parent = EffectPart,
482
	}
483
	local TextLabel = Create("TextLabel"){
484
		BackgroundTransparency = 1,
485
		Size = UDim2.new(1, 0, 1, 0),
486
		Text = Text,
487
		Font = "Bodoni",
488
		TextColor3 = Color,
489
		TextScaled = true,
490
		TextStrokeColor3 = Color3.fromRGB(0,0,0),
491
		Parent = BillboardGui,
492
	}
493
	game.Debris:AddItem(EffectPart, (Time))
494
	EffectPart.Parent = game:GetService("Workspace")
495
	delay(0, function()
496
		local Frames = (Time / Rate)
497
		for Frame = 1, Frames do
498
			wait(Rate)
499
			local Percent = (Frame / Frames)
500
			EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
501
			TextLabel.TextTransparency = Percent
502
		end
503
		if EffectPart and EffectPart.Parent then
504
			EffectPart:Destroy()
505
		end
506
	end)
507
end
508
-------------------------------------------------------
509
--End Damage Function Customization--
510
-------------------------------------------------------
511
512
function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
513
  for _, c in pairs(workspace:children()) do
514
    local hum = c:findFirstChild("Humanoid")
515
    if hum ~= nil then
516
      local head = c:findFirstChild("Head")
517
      if head ~= nil then
518
        local targ = head.Position - Part.Position
519
        local mag = targ.magnitude
520
        if magni >= mag and c.Name ~= plr.Name then
521
          Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
522
        end
523
      end
524
    end
525
  end
526
end
527
528
529
CFuncs = {
530
	Part = {
531
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
532
			local Part = Create("Part")({
533
				Parent = Parent,
534
				Reflectance = Reflectance,
535
				Transparency = Transparency,
536
				CanCollide = false,
537
				Locked = true,
538
				BrickColor = BrickColor.new(tostring(BColor)),
539
				Name = Name,
540
				Size = Size,
541
				Material = Material
542
			})
543
			RemoveOutlines(Part)
544
			return Part
545
		end
546
	},
547
	Mesh = {
548
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
549
			local Msh = Create(Mesh)({
550
				Parent = Part,
551
				Offset = OffSet,
552
				Scale = Scale
553
			})
554
			if Mesh == "SpecialMesh" then
555
				Msh.MeshType = MeshType
556
				Msh.MeshId = MeshId
557
			end
558
			return Msh
559
		end
560
	},
561
	Mesh = {
562
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
563
			local Msh = Create(Mesh)({
564
				Parent = Part,
565
				Offset = OffSet,
566
				Scale = Scale
567
			})
568
			if Mesh == "SpecialMesh" then
569
				Msh.MeshType = MeshType
570
				Msh.MeshId = MeshId
571
			end
572
			return Msh
573
		end
574
	},
575
	Weld = {
576
		Create = function(Parent, Part0, Part1, C0, C1)
577
			local Weld = Create("Weld")({
578
				Parent = Parent,
579
				Part0 = Part0,
580
				Part1 = Part1,
581
				C0 = C0,
582
				C1 = C1
583
			})
584
			return Weld
585
		end
586
	},
587
	Sound = {
588
		Create = function(id, par, vol, pit)
589
			coroutine.resume(coroutine.create(function()
590
				local S = Create("Sound")({
591
					Volume = vol,
592
					Pitch = pit or 1,
593
					SoundId = id,
594
					Parent = par or workspace
595
				})
596
				wait()
597
				S:play()
598
				game:GetService("Debris"):AddItem(S, 6)
599
			end))
600
		end
601
	},
602
	ParticleEmitter = {
603
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
604
			local fp = Create("ParticleEmitter")({
605
				Parent = Parent,
606
				Color = ColorSequence.new(Color1, Color2),
607
				LightEmission = LightEmission,
608
				Size = Size,
609
				Texture = Texture,
610
				Transparency = Transparency,
611
				ZOffset = ZOffset,
612
				Acceleration = Accel,
613
				Drag = Drag,
614
				LockedToPart = LockedToPart,
615
				VelocityInheritance = VelocityInheritance,
616
				EmissionDirection = EmissionDirection,
617
				Enabled = Enabled,
618
				Lifetime = LifeTime,
619
				Rate = Rate,
620
				Rotation = Rotation,
621
				RotSpeed = RotSpeed,
622
				Speed = Speed,
623
				VelocitySpread = VelocitySpread
624
			})
625
			return fp
626
		end
627
	}
628
}
629
function RemoveOutlines(part)
630
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
631
end
632
function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
633
	local Part = Create("Part")({
634
		formFactor = FormFactor,
635
		Parent = Parent,
636
		Reflectance = Reflectance,
637
		Transparency = Transparency,
638
		CanCollide = false,
639
		Locked = true,
640
		BrickColor = BrickColor.new(tostring(BColor)),
641
		Name = Name,
642
		Size = Size,
643
		Material = Material
644
	})
645
	RemoveOutlines(Part)
646
	return Part
647
end
648
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
649
	local Msh = Create(Mesh)({
650
		Parent = Part,
651
		Offset = OffSet,
652
		Scale = Scale
653
	})
654
	if Mesh == "SpecialMesh" then
655
		Msh.MeshType = MeshType
656
		Msh.MeshId = MeshId
657
	end
658
	return Msh
659
end
660
function CreateWeld(Parent, Part0, Part1, C0, C1)
661
	local Weld = Create("Weld")({
662
		Parent = Parent,
663
		Part0 = Part0,
664
		Part1 = Part1,
665
		C0 = C0,
666
		C1 = C1
667
	})
668
	return Weld
669
end
670
671
672
-------------------------------------------------------
673
--Start Effect Function--
674
-------------------------------------------------------
675
EffectModel = Instance.new("Model", char)
676
Effects = {
677
  Block = {
678
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
679
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
680
      prt.Anchored = true
681
      prt.CFrame = cframe
682
      local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
683
      game:GetService("Debris"):AddItem(prt, 10)
684
      if Type == 1 or Type == nil then
685
        table.insert(Effects, {
686
          prt,
687
          "Block1",
688
          delay,
689
          x3,
690
          y3,
691
          z3,
692
          msh
693
        })
694
      elseif Type == 2 then
695
        table.insert(Effects, {
696
          prt,
697
          "Block2",
698
          delay,
699
          x3,
700
          y3,
701
          z3,
702
          msh
703
        })
704
      else
705
        table.insert(Effects, {
706
          prt,
707
          "Block3",
708
          delay,
709
          x3,
710
          y3,
711
          z3,
712
          msh
713
        })
714
      end
715
    end
716
  },
717
  Sphere = {
718
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
719
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
720
      prt.Anchored = true
721
      prt.CFrame = cframe
722
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
723
      game:GetService("Debris"):AddItem(prt, 10)
724
      table.insert(Effects, {
725
        prt,
726
        "Cylinder",
727
        delay,
728
        x3,
729
        y3,
730
        z3,
731
        msh
732
      })
733
    end
734
  },
735
  Cylinder = {
736
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
737
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
738
      prt.Anchored = true
739
      prt.CFrame = cframe
740
      local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
741
      game:GetService("Debris"):AddItem(prt, 10)
742
      table.insert(Effects, {
743
        prt,
744
        "Cylinder",
745
        delay,
746
        x3,
747
        y3,
748
        z3,
749
        msh
750
      })
751
    end
752
  },
753
  Wave = {
754
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
755
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
756
      prt.Anchored = true
757
      prt.CFrame = cframe
758
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
759
      game:GetService("Debris"):AddItem(prt, 10)
760
      table.insert(Effects, {
761
        prt,
762
        "Cylinder",
763
        delay,
764
        x3 / 60,
765
        y3 / 60,
766
        z3 / 60,
767
        msh
768
      })
769
    end
770
  },
771
  Ring = {
772
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
773
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
774
      prt.Anchored = true
775
      prt.CFrame = cframe
776
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
777
      game:GetService("Debris"):AddItem(prt, 10)
778
      table.insert(Effects, {
779
        prt,
780
        "Cylinder",
781
        delay,
782
        x3,
783
        y3,
784
        z3,
785
        msh
786
      })
787
    end
788
  },
789
  Break = {
790
    Create = function(brickcolor, cframe, x1, y1, z1)
791
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
792
      prt.Anchored = true
793
      prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
794
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
795
      local num = math.random(10, 50) / 1000
796
      game:GetService("Debris"):AddItem(prt, 10)
797
      table.insert(Effects, {
798
        prt,
799
        "Shatter",
800
        num,
801
        prt.CFrame,
802
        math.random() - math.random(),
803
        0,
804
        math.random(50, 100) / 100
805
      })
806
    end
807
  },
808
Spiral = {
809
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
810
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
811
      prt.Anchored = true
812
      prt.CFrame = cframe
813
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
814
      game:GetService("Debris"):AddItem(prt, 10)
815
      table.insert(Effects, {
816
        prt,
817
        "Cylinder",
818
        delay,
819
        x3,
820
        y3,
821
        z3,
822
        msh
823
      })
824
    end
825
  },
826
Push = {
827
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
828
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
829
      prt.Anchored = true
830
      prt.CFrame = cframe
831
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
832
      game:GetService("Debris"):AddItem(prt, 10)
833
      table.insert(Effects, {
834
        prt,
835
        "Cylinder",
836
        delay,
837
        x3,
838
        y3,
839
        z3,
840
        msh
841
      })
842
    end
843
  }
844
}
845
-------------------------------------------------------
846
--End Effect Function--
847
-------------------------------------------------------
848
849
function CreateSound(ID, PARENT, VOLUME, PITCH)
850
	local NSound = nil
851
	coroutine.resume(coroutine.create(function()
852
		NSound = Instance.new("Sound", PARENT)
853
		NSound.Volume = VOLUME
854
		NSound.Pitch = PITCH
855
		NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
856
		swait()
857
		NSound:play()
858
		game:GetService("Debris"):AddItem(NSound, 10)
859
	end))
860
	return NSound
861
end
862
863
--Very lazi from here to below except the animations but who cares /shrug
864
function chatfunc(text)
865
local chat = coroutine.wrap(function()
866
if char:FindFirstChild("TalkingBillBoard")~= nil then
867
char:FindFirstChild("TalkingBillBoard"):destroy()
868
end
869
local naeeym2 = Instance.new("BillboardGui",char)
870
naeeym2.Size = UDim2.new(0,100,0,40)
871
naeeym2.StudsOffset = Vector3.new(0,3,0)
872
naeeym2.Adornee = char.Head
873
naeeym2.Name = "TalkingBillBoard"
874
local tecks2 = Instance.new("TextLabel",naeeym2)
875
tecks2.BackgroundTransparency = 1
876
tecks2.BorderSizePixel = 0
877
tecks2.Text = ""
878
tecks2.Font = "Bodoni"
879
tecks2.TextSize = 30
880
tecks2.TextStrokeTransparency = 0
881
tecks2.TextColor3 = Color3.new(255,0,0)
882
tecks2.TextStrokeColor3 = Color3.new(0,0,0)
883
tecks2.Size = UDim2.new(1,0,0.5,0)
884
local tecks3 = Instance.new("TextLabel",naeeym2)
885
tecks3.BackgroundTransparency = 1
886
tecks3.BorderSizePixel = 0
887
tecks3.Text = ""
888
tecks3.Font = "Bodoni"
889
tecks3.TextSize = 30
890
tecks3.TextStrokeTransparency = 0
891
tecks3.TextColor3 = Color3.new(255,0,0)
892
tecks3.TextStrokeColor3 = Color3.new(0,0,0)
893
tecks3.Size = UDim2.new(1,0,0.5,0)
894
coroutine.resume(coroutine.create(function()
895
	while tecks3 ~= nil do
896
		swait()	
897
		tecks3.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))	
898
		tecks3.Rotation = math.random(-3,3)
899
		tecks3.TextColor3 = Color3.new(math.random(0, 255)/255,0,0)
900
		tecks3.TextStrokeColor3 = Color3.new(math.random(0, 255)/255,0,0)
901
	end
902
end))
903
for i = 1,string.len(text),1 do
904
tecks2.Text = string.sub(text,1,i)
905
tecks3.Text = string.sub(text,1,i)
906
wait(0.01)
907
end
908
wait(2)
909
for i = 1, 50 do
910
swait()
911
tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
912
tecks2.Rotation = tecks2.Rotation - .8
913
tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
914
tecks2.TextTransparency = tecks2.TextTransparency + .04
915
tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
916
tecks3.Rotation = tecks2.Rotation + .8
917
tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
918
tecks3.TextTransparency = tecks2.TextTransparency + .04
919
end
920
naeeym2:Destroy()
921
end)
922
chat()
923
end
924
function onChatted(msg)
925
chatfunc(msg)
926
end
927
--plr.Chatted:connect(onChatted)
928
929
abss = Instance.new("BillboardGui",char)
930
abss.Size = UDim2.new(10,0,10,0)
931
abss.Enabled = false
932
imgl = Instance.new("ImageLabel",abss)
933
imgl.Position = UDim2.new(0,0,0,0)
934
imgl.Size = UDim2.new(1,0,1,0)
935
imgl.Image = "rbxassetid://153485522"
936
imgl.BackgroundTransparency = 1
937
imgl.ImageColor3 = Color3.new(.9,0,0)
938
img2 = Instance.new("ImageLabel",abss)
939
img2.Position = UDim2.new(0,0,0,0)
940
img2.Size = UDim2.new(1,0,1,0)
941
img2.Image = "rbxassetid://153485522"
942
img2.BackgroundTransparency = 1
943
img2.ImageColor3 = Color3.new(.9,0,0)
944
945
function TargetSelect(person)
946
local dd=coroutine.wrap(function()
947
if targetted ~= person then
948
targetted = person
949
img2.Size = UDim2.new(1,0,1,0)
950
img2.ImageTransparency = 0
951
img2.Position = UDim2.new(0,0,0,0)
952
for i = 0, 2, 0.1 do
953
swait()
954
img2.Size = img2.Size + UDim2.new(.05,0,.05,0)
955
img2.Position = img2.Position + UDim2.new(-.025,0,-.025,0)
956
img2.ImageTransparency = img2.ImageTransparency + 0.05
957
end
958
end
959
end)
960
dd()
961
end
962
963
function dmg(dude)
964
if dude.Name ~= char then
965
dude:FindFirstChildOfClass("Humanoid").PlatformStand = true
966
local bgf = Instance.new("BodyGyro",dude.Head)
967
bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
968
local val = Instance.new("BoolValue",dude)
969
val.Name = "IsHit"
970
local torsy = dude:FindFirstChild("UpperTorso") or dude:FindFirstChild("Torso")
971
local partasdeff = Instance.new("ParticleEmitter",torsy)
972
partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
973
partasdeff.LightEmission = .1
974
partasdeff.Size = NumberSequence.new(0.2)
975
partasdeff.Texture = "rbxassetid://771221224"
976
aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
977
bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
978
partasdeff.Transparency = bbb
979
partasdeff.Size = aaa
980
partasdeff.ZOffset = .9
981
partasdeff.Acceleration = Vector3.new(0, -5, 0)
982
partasdeff.LockedToPart = false
983
partasdeff.EmissionDirection = "Back"
984
partasdeff.Lifetime = NumberRange.new(1, 2)
985
partasdeff.Rate = 1000
986
partasdeff.Rotation = NumberRange.new(-100, 100)
987
partasdeff.RotSpeed = NumberRange.new(-100, 100)
988
partasdeff.Speed = NumberRange.new(6)
989
partasdeff.VelocitySpread = 10000
990
partasdeff.Enabled=false
991
partasdeff:Emit(30)
992
coroutine.wrap(function()
993
targetted = nil
994
swait(30)
995
dude:BreakJoints()
996
swait(5)
997
dude:FindFirstChildOfClass("Humanoid"):Destroy()
998
for i=0,1,.05 do
999
for a,v in pairs(dude:GetChildren()) do
1000
if v:IsA("BasePart") then
1001
v.Transparency = i
1002
end
1003
end
1004
swait()
1005
end
1006
for a,v in pairs(dude:GetChildren()) do
1007
if v:IsA("BasePart") and v:FindFirstChild("ParticleEmitter") then
1008
v.ParticleEmitter.Enabled = false
1009
end
1010
game:service'Debris':AddItem(v,2)
1011
end
1012
end)()
1013
end
1014
end
1015
1016
--lazi
1017
function kdown(dd)
1018
if dd.Name ~= char then
1019
dd.Humanoid.PlatformStand = true
1020
local bgf = Instance.new("BodyGyro",dd.Head)
1021
bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
1022
local val = Instance.new("BoolValue",dd)
1023
val.Name = "IsHit"
1024
end
1025
end
1026
1027
function mdmg(Part, Magnitude)--, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
1028
    --local buddy
1029
	for _, c in pairs(workspace:children()) do
1030
		local hum = c:findFirstChild("Humanoid")
1031
		if hum ~= nil then
1032
			local head = c:findFirstChild("Torso")
1033
			if head ~= nil then
1034
				local targ = head.Position - Part.Position
1035
				local mag = targ.magnitude
1036
				if mag <= Magnitude and c.Name ~= plr.Name then 
1037
				if c.Name ~= char then
1038
				if c.Name ~= "makhail07" and c.Name ~= "Nebula_Zorua" and c.Name ~= "KillerDarkness0105" and c.Name ~= "Salvo_Starly" then
1039
			local asd = Instance.new("ParticleEmitter",c.Torso)
1040
			asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
1041
			asd.LightEmission = .1
1042
			asd.Size = NumberSequence.new(0.2)
1043
			asd.Texture = "http://www.roblox.com/asset/?ID=771221224"
1044
			aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
1045
			bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
1046
			asd.Transparency = bbb
1047
			asd.Size = aaa
1048
			asd.ZOffset = .9
1049
			asd.Acceleration = Vector3.new(0, -5, 0)
1050
			asd.LockedToPart = false
1051
			asd.EmissionDirection = "Back"
1052
			asd.Lifetime = NumberRange.new(1, 2)
1053
			asd.Rate = 1000
1054
			asd.Rotation = NumberRange.new(-100, 100)
1055
			asd.RotSpeed = NumberRange.new(-100, 100)
1056
			asd.Speed = NumberRange.new(6)
1057
			asd.VelocitySpread = 10000
1058
			asd.Enabled=true
1059
					--Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
1060
					dmg(c)
1061
					CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=206082273", c.Torso, 1.2, .8)
1062
					coroutine.wrap(function()
1063
					wait(.2)
1064
					asd.Enabled = false
1065
					wait(2)
1066
					asd:Remove()
1067
					end)()
1068
				       else
1069
        CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=240429289", c.Torso, 1.5, math.random(1,1.3))		
1070
        Effects.Sphere.Create(BrickColor.new("Bright red"), c.Torso.CFrame, 30, 30, 30, .5, .5, .5, 0.04)
1071
1072
					end
1073
				end
1074
			end
1075
		end
1076
	end
1077
	end
1078
end
1079
1080
-------------------------------------------------------
1081
--End Important Functions--
1082
-------------------------------------------------------
1083
1084
--[[
1085
		Thanks for using Build-To-Lua by jarredbcv.
1086
]]--
1087
1088
New = function(Object, Parent, Name, Data)
1089
	local Object = Instance.new(Object)
1090
	for Index, Value in pairs(Data or {}) do
1091
		Object[Index] = Value
1092
	end
1093
	Object.Parent = Parent
1094
	Object.Name = Name
1095
	return Object
1096
end
1097
	
1098
Doll = New("Model",char,"Doll",{})
1099
Handle = New("Part",Doll,"Handle",{BrickColor = BrickColor.new("Beige"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.755005181, 0.52783519, 0.664805532),CFrame = CFrame.new(17.7066402, 4.04866695, 4.38868618, -0.408491671, 0.666965187, -0.623126268, 0.353551745, 0.745008111, 0.565648913, 0.841502249, 0.0107554942, -0.540138841),Color = Color3.new(0.792157, 0.74902, 0.639216),})
1100
Mesh = New("CylinderMesh",Handle,"Mesh",{})
1101
--Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
1102
--Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
1103
--Decal = New("Decal",Handle,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
1104
--Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
1105
--Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
1106
--Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
1107
Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.354117572, 0.611353397, 0.337414026),CFrame = CFrame.new(17.8601875, 3.91987228, 3.94369364, 0.725253046, -0.0676794797, 0.685131192, -0.652452052, -0.385200739, 0.652613878, 0.219753951, -0.920328677, -0.3235268),Color = Color3.new(0.792157, 0.74902, 0.639216),})
1108
Mesh = New("CylinderMesh",Part,"Mesh",{})
1109
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
1110
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
1111
--Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
1112
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
1113
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
1114
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
1115
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.725257337, -0.652455866, 0.219753742, -0.0676780641, -0.385204077, -0.920336843, 0.685135007, 0.652616382, -0.323529661),C1 = CFrame.new(-0.482725382, 0.00167179108, 0.0718259811, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
1116
Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),Shape = Enum.PartType.Ball,Size = Vector3.new(0.357458174, 0.357458174, 0.357458174),CFrame = CFrame.new(17.834486, 3.79168725, 3.64936543, 0.0676793754, -0.685130835, 0.725253344, 0.385200799, -0.652614176, -0.652451873, 0.920328736, 0.323526919, 0.219753981),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.792157, 0.74902, 0.639216),})
1117
--Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
1118
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
1119
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
1120
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
1121
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
1122
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
1123
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0676779449, 0.385204136, 0.920336902, -0.685134649, -0.65261662, 0.32352975, 0.725257695, -0.652455688, 0.219753742),C1 = CFrame.new(-0.765227079, -0.114135742, 0.174312592, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
1124
Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.354117572, 0.611353397, 0.337414026),CFrame = CFrame.new(17.469902, 4.25766516, 4.74769306, 0.445832253, 0.789082885, 0.422561586, -0.410611928, -0.239177942, 0.879868925, 0.795366764, -0.565779567, 0.217372388),Color = Color3.new(0.792157, 0.74902, 0.639216),})
1125
Mesh = New("CylinderMesh",Part,"Mesh",{})
1126
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
1127
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
1128
--Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
1129
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
1130
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
1131
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
1132
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.445833862, -0.410613358, 0.795372128, 0.789088428, -0.239180744, -0.565785825, 0.422562867, 0.879873633, 0.217374772),C1 = CFrame.new(0.472706556, 0.0016708374, 0.0718240738, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
1133
Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),Shape = Enum.PartType.Ball,Size = Vector3.new(0.357458174, 0.357458174, 0.357458174),CFrame = CFrame.new(17.1839867, 3.98582673, 3.75731707, 0.429396152, -0.706048965, 0.563108683, -0.389012426, -0.70731467, -0.590215027, 0.815025091, 0.0343795903, -0.578376234),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.792157, 0.74902, 0.639216),})
1134
--Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
1135
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
1136
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
1137
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
1138
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
1139
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
1140
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.429397583, -0.389013648, 0.815030634, -0.706052482, -0.707317889, 0.0343799815, 0.563113213, -0.590219498, -0.57838279),C1 = CFrame.new(-0.340019703, -0.402200699, 0.631163597, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
1141
Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.354117572, 0.611353397, 0.337414026),CFrame = CFrame.new(17.3263435, 3.86502314, 4.01973581, 0.563109279, -0.429397821, 0.706047297, -0.590211987, 0.389013797, 0.707316399, -0.578378439, -0.815023482, -0.0343782082),Color = Color3.new(0.792157, 0.74902, 0.639216),})
1142
Mesh = New("CylinderMesh",Part,"Mesh",{})
1143
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
1144
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
1145
--Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
1146
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
1147
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
1148
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
1149
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.563113868, -0.590216458, -0.578384995, -0.429399252, 0.389015079, -0.815029025, 0.706050813, 0.707319558, -0.0343785957),C1 = CFrame.new(-0.220053911, -0.394431114, 0.332381248, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
1150
Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.354117572, 0.611353397, 0.337414026),CFrame = CFrame.new(17.1463699, 4.02708626, 4.39648008, 0.0949088037, -0.73499012, 0.671386242, -0.165235519, 0.653441608, 0.738708198, -0.981658518, -0.181056261, -0.0594294369),Color = Color3.new(0.792157, 0.74902, 0.639216),})
1151
Mesh = New("CylinderMesh",Part,"Mesh",{})
1152
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
1153
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
1154
--Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
1155
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
1156
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
1157
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
1158
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0949110687, -0.165237904, -0.981667101, -0.734994531, 0.653445482, -0.181055605, 0.67138958, 0.738711536, -0.0594298989),C1 = CFrame.new(0.227796555, -0.389676094, 0.33270359, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
1159
Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),Shape = Enum.PartType.Ball,Size = Vector3.new(0.357458174, 0.357458174, 0.357458174),CFrame = CFrame.new(16.9056702, 4.23298216, 4.33822775, 0.734989643, -0.671386659, 0.0949084461, -0.65344131, -0.738707781, -0.165238559, 0.18105793, 0.0594319291, -0.981658101),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.792157, 0.74902, 0.639216),})
1160
--Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
1161
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
1162
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
1163
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
1164
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
1165
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
1166
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.734994054, -0.653445184, 0.181057304, -0.671389878, -0.738711119, 0.0594324097, 0.0949106514, -0.165240943, -0.981666625),C1 = CFrame.new(0.349896908, -0.397447586, 0.630620956, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
1167
Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),Shape = Enum.PartType.Ball,Size = Vector3.new(0.668146014, 0.668146014, 0.668146014),CFrame = CFrame.new(17.5317345, 3.8532939, 4.38586617, -0.408485681, -0.666960537, 0.62312144, 0.353546619, -0.745002985, -0.565644801, 0.841490149, -0.01075528, 0.540134549),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.792157, 0.74902, 0.639216),})
1168
--Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
1169
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
1170
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
1171
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
1172
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
1173
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
1174
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.408489615, 0.353550047, 0.841498256, -0.666963577, -0.745006442, -0.0107553881, 0.623124659, -0.565647602, 0.540137351),C1 = CFrame.new(2.38418579e-07, -0.262242317, -9.53674316e-07, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
1175
Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),Shape = Enum.PartType.Ball,Size = Vector3.new(0.357458174, 0.357458174, 0.357458174),CFrame = CFrame.new(17.2187252, 4.32988024, 4.93205738, 0.445832521, -0.422561586, 0.789083481, -0.410612077, -0.879869342, -0.239178166, 0.795367122, -0.217372417, -0.565779924),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.792157, 0.74902, 0.639216),})
1176
--Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
1177
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
1178
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
1179
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
1180
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
1181
--Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
1182
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.4458341, -0.410613567, 0.795372486, -0.422562897, -0.879873991, -0.217374831, 0.789088964, -0.239180893, -0.565786123),C1 = CFrame.new(0.755987883, -0.110072136, 0.169605255, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
1183
Part = New("Part",Doll,"Part",{FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.668145955, 0.668145835, 0.668145955),CFrame = CFrame.new(18.08988, 4.4767499, 4.39486742, 0.408485681, 0.666960537, 0.62312144, -0.353546619, 0.745002985, -0.565644801, -0.841490149, 0.01075528, 0.540134549),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
1184
Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.267258376, 0.267258346, 0.267258376),MeshId = "rbxassetid://511959728",TextureId = "rbxassetid://511959832",MeshType = Enum.MeshType.FileMesh,})
1185
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.408489615, -0.353550047, -0.841498256, 0.666963577, 0.745006442, 0.0107553881, 0.623124659, -0.565647602, 0.540137351),C1 = CFrame.new(7.15255737e-07, 0.574602127, -9.53674316e-07, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
1186
ConeMesh = New("Part",Doll,"ConeMesh",{Material = Enum.Material.SmoothPlastic,Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.334072918, 0.200000003),CFrame = CFrame.new(17.9875202, 4.01644802, 3.77061558, -0.0676794201, -0.685131192, -0.725253105, -0.385200799, -0.652613878, 0.652452171, -0.920328856, 0.3235268, -0.219753891),CanCollide = false,})
1187
Mesh = New("SpecialMesh",ConeMesh,"Mesh",{Scale = Vector3.new(0.0100221895, 0.334072918, 0.0100221895),MeshId = "http://www.roblox.com/asset/?id=1033714",MeshType = Enum.MeshType.FileMesh,})
1188
mot = New("Motor",ConeMesh,"mot",{Part0 = ConeMesh,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0676780194, -0.385204077, -0.920336962, -0.685135007, -0.652616382, 0.323529661, -0.725257397, 0.652455926, -0.219753653),C1 = CFrame.new(-0.646242142, 0.156686783, 0.14059639, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
1189
ConeMesh = New("Part",Doll,"ConeMesh",{Material = Enum.Material.SmoothPlastic,Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.334072918, 0.200000003),CFrame = CFrame.new(17.5272255, 4.25228214, 4.19855928, 0.0679666698, 0.36827448, 0.927217185, -0.212974086, -0.902587652, 0.374107033, 0.974675775, -0.222893685, 0.017090857),CanCollide = false,})
1190
Mesh = New("SpecialMesh",ConeMesh,"Mesh",{Scale = Vector3.new(0.0100221895, 0.334072918, 0.0100221895),MeshId = "http://www.roblox.com/asset/?id=1033714",MeshType = Enum.MeshType.FileMesh,})
1191
mot = New("Motor",ConeMesh,"mot",{Part0 = ConeMesh,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0679656863, -0.212973878, 0.974683523, 0.368277669, -0.902593136, -0.22289744, 0.927222073, 0.374108285, 0.0170900673),C1 = CFrame.new(-0.0147144794, 0.0299873352, 0.329668999, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
1192
Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Bright red"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Ball,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(18.0725803, 4.09775925, 3.73087263, 0.0676794201, 0.685131252, -0.725253105, 0.385200679, 0.652613938, 0.652452171, 0.920328856, -0.32352671, -0.219753891),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.768628, 0.156863, 0.109804),})
1193
Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.334072977, 0.334072918, 0.334072977),MeshType = Enum.MeshType.Sphere,})
1194
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0676779896, 0.385204017, 0.920336962, 0.685135067, 0.652616382, -0.323529571, -0.725257397, 0.652455926, -0.219753653),C1 = CFrame.new(-0.685684681, 0.273569107, 0.155054092, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
1195
Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Bright red"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Ball,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(17.4762096, 4.37637663, 4.2292285, 0.0679666698, 0.927216947, -0.368275285, -0.212974086, 0.374107838, 0.902587295, 0.974675775, 0.0170910954, 0.222893804),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.768628, 0.156863, 0.109804),})
1196
Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.334072977, 0.334072918, 0.334072977),MeshType = Enum.MeshType.Sphere,})
1197
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0679656863, -0.212973878, 0.974683523, 0.927221835, 0.374109089, 0.0170903057, -0.368278474, 0.902592778, 0.22289747),C1 = CFrame.new(0.0758080482, 0.0887422562, 0.4150877, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
1198
1199
--lazi xd
1200
Needle = New("Model",char,"Needle",{})
1201
Handle2 = New("Part",Needle,"Handle2",{FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1, 2.4000001, 1),CFrame = CFrame.new(16.3492584, 4.78270006, 4.07852173, 0.0870969296, 0.578728557, -0.810855865, 0.54097569, -0.710955501, -0.449318945, -0.836516261, -0.399518967, -0.375000119),BackSurface = Enum.SurfaceType.Weld,BottomSurface = Enum.SurfaceType.Weld,FrontSurface = Enum.SurfaceType.Weld,LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,})
1202
Mesh = New("SpecialMesh",Handle2,"Mesh",{Scale = Vector3.new(0.100000001, 0.800000012, 0.100000001),MeshId = "http://www.roblox.com/asset/?id=1082802",MeshType = Enum.MeshType.FileMesh,})
1203
1204
1205
for _, v in pairs(Doll:GetChildren()) do
1206
    if v:IsA'BasePart' then
1207
    v.CanCollide = false
1208
end
1209
end
1210
1211
for _, v in pairs(Needle:GetChildren()) do
1212
    if v:IsA'BasePart' then
1213
    v.CanCollide = false
1214
end
1215
end
1216
1217
1218
local NewInstance = function(instance,parent,properties)
1219
	local inst = Instance.new(instance,parent)
1220
	if(properties)then
1221
		for i,v in next, properties do
1222
			pcall(function() inst[i] = v end)
1223
		end
1224
	end
1225
	return inst;
1226
end
1227
local HW = NewInstance('Weld',char,{Part0=ra,Part1=Handle,C0 = CFrame.new(-.2,-.8,-.4)*CFrame.Angles(math.rad(-30),math.rad(220),math.rad(65))})
1228
1229
local HW2 = NewInstance('Weld',char,{Part0=la,Part1=Handle2,C0 = CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),math.rad(125),math.rad(90))})
1230
1231
1232
1233
-------------------------------------------------------
1234
--Start Music Option--
1235
-------------------------------------------------------
1236
local Music = Instance.new("Sound",tors)
1237
Music.Volume = 2.5
1238
Music.SoundId = "rbxassetid://803936798" --536675558 1470848774
1239
Music.Looped = true
1240
Music.Pitch = .9 --Pitcher
1241
Music:Play()
1242
-------------------------------------------------------
1243
--End Music Option--
1244
-------------------------------------------------------
1245
1246
1247
-------------------------------------------------------
1248
--Start Attacks N Stuff--
1249
-------------------------------------------------------
1250
local sine=0
1251
function LockOn()
1252
if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
1253
TargetSelect(mouse.Target.Parent)
1254
CreateSound("743521450", char, 1, .8)
1255
end
1256
end
1257
1258
1259
1260
function Stab_Them_For_FUN()
1261
	attack = true
1262
	hum.WalkSpeed = 0
1263
	if targetted.Name ~= "makhail07" and targetted.Name ~= "Salvo_Starly" and targetted.Name ~= "Nebula_Zorua" and targetted.Name ~= "KillerDarkness0105" then
1264
		local torsy = targetted:FindFirstChild("UpperTorso") or targetted:FindFirstChild("Torso")
1265
			local partasdeff = Instance.new("ParticleEmitter",torsy)
1266
			partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
1267
			partasdeff.LightEmission = .1
1268
			partasdeff.Size = NumberSequence.new(0.2)
1269
			partasdeff.Texture = "http://www.roblox.com/asset/?ID=771221224"
1270
			aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
1271
			bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
1272
			partasdeff.Transparency = bbb
1273
			partasdeff.Size = aaa
1274
			partasdeff.ZOffset = .9
1275
			partasdeff.Acceleration = Vector3.new(0, -5, 0)
1276
			partasdeff.LockedToPart = false
1277
			partasdeff.EmissionDirection = "Back"
1278
			partasdeff.Lifetime = NumberRange.new(1, 2)
1279
			partasdeff.Rate = 1000
1280
			partasdeff.Rotation = NumberRange.new(-100, 100)
1281
			partasdeff.RotSpeed = NumberRange.new(-100, 100)
1282
			partasdeff.Speed = NumberRange.new(6)
1283
			partasdeff.VelocitySpread = 10000
1284
			partasdeff.Enabled=false
1285
	for i = 0, 1.4, 0.1 do
1286
        swait()
1287
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
1288
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-15), Rad(0), Rad(-25)), 0.3)
1289
		if Mrandom(1,15) == 1 then
1290
			tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
1291
		end
1292
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
1293
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
1294
		RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
1295
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30),  -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(175), Rad(0), Rad(20)), 0.1)
1296
  	end
1297
    dmg(targetted)
1298
    partasdeff.Enabled=true
1299
CreateSound("429400881", torsy, 10, .8)
1300
	for i = 0, 1.4, 0.1 do
1301
        swait()
1302
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
1303
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3)
1304
		if Mrandom(1,15) == 1 then
1305
			tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
1306
		end
1307
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
1308
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
1309
		RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
1310
		LW.C0 = clerp(LW.C0, CF(-.4, 0.5 + 0.05 * Sin(sine / 30),  -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(75), Rad(0), Rad(65)), 0.1)
1311
  	end
1312
	partasdeff.Enabled=false
1313
	for i = 0, 1.4, 0.1 do
1314
        swait()
1315
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
1316
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-15), Rad(0), Rad(-25)), 0.3)
1317
		if Mrandom(1,15) == 1 then
1318
			tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
1319
		end
1320
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
1321
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
1322
		RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
1323
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30),  -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(175), Rad(0), Rad(20)), 0.1)
1324
	  	end
1325
	attack = false
1326
	hum.WalkSpeed = 8
1327
	elseif targetted.Name == "makhail07" then
1328
	for i = 0, 2.4, 0.1 do
1329
        swait()
1330
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
1331
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3)
1332
		if Mrandom(1,15) == 1 then
1333
			tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
1334
		end
1335
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
1336
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
1337
		RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
1338
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30),  -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(175), Rad(0), Rad(20)), 0.1)
1339
  	end
1340
	for i = 0, 2.4, 0.1 do
1341
        swait()
1342
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
1343
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25 * Cos(sine / 20))), 0.3)
1344
		if Mrandom(1,15) == 1 then
1345
			tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
1346
		end
1347
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
1348
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
1349
		RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
1350
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30),  -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-10)), 0.1)
1351
  	end
1352
	coroutine.wrap(function()
1353
	wait(2)
1354
	--partasdeff:Remove()
1355
	end)()
1356
	local sel = Mrandom(1,3)
1357
	if sel == 1 then	
1358
	chatfunc("Hmhmhm, Why try?")
1359
	elseif sel == 2 then	
1360
	chatfunc("Stop it that's my creator.")
1361
	elseif sel == 3 then
1362
	chatfunc("I can't do that...")
1363
	end
1364
	wait(2)
1365
	hum.WalkSpeed = 8
1366
	attack = false
1367
	elseif targetted.Name == "Salvo_Starly" then
1368
		for i = 0, 2.4, 0.1 do
1369
        swait()
1370
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
1371
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3)
1372
		if Mrandom(1,15) == 1 then
1373
			tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
1374
		end
1375
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
1376
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
1377
		RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
1378
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30),  -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(175), Rad(0), Rad(20)), 0.1)
1379
  	end
1380
		for i = 0, 2.4, 0.1 do
1381
        swait()
1382
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
1383
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25 * Cos(sine / 20))), 0.3)
1384
		if Mrandom(1,15) == 1 then
1385
			tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
1386
		end
1387
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
1388
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
1389
		RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
1390
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30),  -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-10)), 0.1)
1391
  	end
1392
	coroutine.wrap(function()
1393
	wait(2)
1394
	--partasdeff:Remove()
1395
	end)()
1396
	local sel = Mrandom(1,3)
1397
	if sel == 1 then	
1398
	chatfunc("Sorry about that.")
1399
	elseif sel == 2 then	
1400
	chatfunc("H-Hello. I almost killed you.")
1401
	elseif sel == 3 then
1402
	chatfunc("OwO?")
1403
	end
1404
	wait(2)
1405
	hum.WalkSpeed = 8
1406
	attack = false
1407
	elseif targetted.Name == "Nebula_Zorua" then
1408
		for i = 0, 2.4, 0.1 do
1409
        swait()
1410
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
1411
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3)
1412
		if Mrandom(1,15) == 1 then
1413
			tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
1414
		end
1415
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
1416
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
1417
		RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
1418
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30),  -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(175), Rad(0), Rad(20)), 0.1)
1419
  	end
1420
		for i = 0, 2.4, 0.1 do
1421
        swait()
1422
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
1423
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25 * Cos(sine / 20))), 0.3)
1424
		if Mrandom(1,15) == 1 then
1425
			tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
1426
		end
1427
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
1428
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
1429
		RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
1430
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30),  -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-10)), 0.1)
1431
  	end
1432
	coroutine.wrap(function()
1433
	wait(2)
1434
	--partasdeff:Remove()
1435
	end)()
1436
	local sel = Mrandom(1,3)
1437
	if sel == 1 then	
1438
	chatfunc("Sorry, Nebula.")
1439
	elseif sel == 2 then	
1440
	chatfunc("Theres no need to harm you. Yet...")
1441
	elseif sel == 3 then
1442
	chatfunc("My mistake.")
1443
	end
1444
	wait(2)
1445
	hum.WalkSpeed = 8
1446
	attack = false
1447
	elseif targetted.Name == "KillerDarkness0105" then
1448
		for i = 0, 2.4, 0.1 do
1449
        swait()
1450
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
1451
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3)
1452
		if Mrandom(1,15) == 1 then
1453
			tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
1454
		end
1455
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
1456
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
1457
		RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
1458
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30),  -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(175), Rad(0), Rad(20)), 0.1)
1459
  	end
1460
		for i = 0, 2.4, 0.1 do
1461
        swait()
1462
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
1463
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25 * Cos(sine / 20))), 0.3)
1464
		if Mrandom(1,15) == 1 then
1465
			tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
1466
		end
1467
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
1468
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
1469
		RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
1470
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30),  -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-10)), 0.1)
1471
  	end
1472
	coroutine.wrap(function()
1473
	wait(2)
1474
	--partasdeff:Remove()
1475
	end)()
1476
	local sel = Mrandom(1,3)
1477
	if sel == 1 then	
1478
	chatfunc("Hm, Killer it's been a while.")
1479
	elseif sel == 2 then	
1480
	chatfunc("No need for this.")
1481
	elseif sel == 3 then
1482
	chatfunc("Hello, sorry.")
1483
	end
1484
	wait(2)
1485
	hum.WalkSpeed = 8
1486
	attack = false
1487
	end
1488
end
1489
1490
function Oh_No_AN_ERROR_Has_OcccccccurrEEEED()
1491
	attack = true
1492
	hum.WalkSpeed = 0
1493
	if targetted.Name ~= "makhail07" and targetted.Name ~= "Salvo_Starly" and targetted.Name ~= "Nebula_Zorua" and targetted.Name ~= "KillerDarkness0105" then
1494
	local torsy = targetted:FindFirstChild("UpperTorso") or targetted:FindFirstChild("Torso")
1495
	local partasdeff = Instance.new("ParticleEmitter",torsy)
1496
			partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
1497
			partasdeff.LightEmission = .1
1498
			partasdeff.Size = NumberSequence.new(0.2)
1499
			partasdeff.Texture = "http://www.roblox.com/asset/?ID=771221224"
1500
			aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
1501
			bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
1502
			partasdeff.Transparency = bbb
1503
			partasdeff.Size = aaa
1504
			partasdeff.ZOffset = .9
1505
			partasdeff.Acceleration = Vector3.new(0, -5, 0)
1506
			partasdeff.LockedToPart = false
1507
			partasdeff.EmissionDirection = "Back"
1508
			partasdeff.Lifetime = NumberRange.new(1, 2)
1509
			partasdeff.Rate = 1000
1510
			partasdeff.Rotation = NumberRange.new(-100, 100)
1511
			partasdeff.RotSpeed = NumberRange.new(-100, 100)
1512
			partasdeff.Speed = NumberRange.new(6)
1513
			partasdeff.VelocitySpread = 10000
1514
			partasdeff.Enabled=false
1515
	for i = 0, 1.2, 0.1 do
1516
        swait()
1517
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1518
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
1519
		if Mrandom(1,15) == 1 then
1520
			tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
1521
		end
1522
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
1523
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
1524
		RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(5)), 0.1)
1525
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
1526
	  	end
1527
	HW.Part0 = root
1528
	for i = 0, 1.8, 0.1 do
1529
        swait()
1530
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1531
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(0)), 0.3)
1532
		if Mrandom(1,15) == 1 then
1533
			tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
1534
		end
1535
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
1536
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
1537
		RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(35), Rad(0), Rad(5)), 0.1)
1538
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
1539
		HW.C0 = clerp(HW.C0, CF(1,-2.9,-.7) * angles(Rad(-90), Rad(0), Rad(0)), 0.1)
1540
	  	end
1541
	kdown(targetted)
1542
	for i = 0, 1.6, 0.1 do
1543
        swait()
1544
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1545
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(0)), 0.3)
1546
		if Mrandom(1,15) == 1 then
1547
			tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
1548
		end
1549
		RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.8 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
1550
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
1551
		RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
1552
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
1553
	  end
1554
	for i = 1,7 do
1555
		partasdeff.Enabled = false
1556
        for i = 0, 1.6, 0.1 do
1557
        swait()
1558
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(0)), 0.15)
1559
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(25), Rad(0), Rad(0)), 0.3)
1560
		if Mrandom(1,15) == 1 then
1561
			tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
1562
		end
1563
		RH.C0 = clerp(RH.C0, CF(1, -0.1 - 0.1 * Cos(sine / 20), -.8 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
1564
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
1565
		RW.C0 = clerp(RW.C0, CF(1.5, 0.3 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(15)), 0.1)
1566
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.3 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-15)), 0.1)
1567
  	end
1568
CreateSound("429400881", torsy, 10, 1)
1569
	partasdeff.Enabled = true
1570
	for i = 0, 1.6, 0.1 do
1571
        swait()
1572
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
1573
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(25), Rad(0), Rad(0)), 0.3)
1574
		if Mrandom(1,15) == 1 then
1575
			tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
1576
		end
1577
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), -.5 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(10)), 0.15)
1578
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
1579
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(15)), 0.1)
1580
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-15)), 0.1)
1581
  	end
1582
	  	end
1583
	partasdeff.Enabled = false
1584
	dmg(targetted)
1585
	attack = false
1586
	HW.Part0 = ra
1587
	HW.C0 = clerp(HW.C0, CF(-.2,-.8,-.4) * angles(Rad(-30), Rad(220), Rad(65)), 0.1)
1588
	hum.WalkSpeed = 8
1589
	elseif targetted.Name == "makhail07" then
1590
	for i = 0, 3.2, 0.1 do
1591
        swait()
1592
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1593
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
1594
		if Mrandom(1,15) == 1 then
1595
			tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
1596
		end
1597
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
1598
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
1599
		RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(5)), 0.1)
1600
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
1601
	  	end
1602
	for i = 0, 1.8, 0.1 do
1603
        swait()
1604
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1605
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(0)), 0.3)
1606
		if Mrandom(1,15) == 1 then
1607
			tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
1608
		end
1609
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
1610
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
1611
		RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
1612
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
1613
		  	end
1614
		coroutine.wrap(function()
1615
	wait(2)
1616
	--partasdeff:Remove()
1617
	end)()
1618
	local sel = Mrandom(1,3)
1619
	if sel == 1 then	
1620
	chatfunc("Hah you tried.")
1621
	elseif sel == 2 then	
1622
	chatfunc("No,no that's wrong.")
1623
	elseif sel == 3 then
1624
	chatfunc("Oops, I almost smashed myself to pieces.")
1625
	end
1626
	wait(2)
1627
	hum.WalkSpeed = 8
1628
	attack = false
1629
	elseif targetted.Name == "Salvo_Starly" then
1630
	for i = 0, 3.2, 0.1 do
1631
        swait()
1632
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1633
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
1634
		if Mrandom(1,15) == 1 then
1635
			tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
1636
		end
1637
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
1638
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
1639
		RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(5)), 0.1)
1640
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
1641
	  	end
1642
	for i = 0, 1.8, 0.1 do
1643
        swait()
1644
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1645
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(0)), 0.3)
1646
		if Mrandom(1,15) == 1 then
1647
			tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
1648
		end
1649
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
1650
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
1651
		RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
1652
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
1653
		  	end
1654
		coroutine.wrap(function()
1655
	wait(2)
1656
	--partasdeff:Remove()
1657
	end)()
1658
	local sel = Mrandom(1,3)
1659
	if sel == 1 then	
1660
	chatfunc("Ooooopsy.")
1661
	elseif sel == 2 then	
1662
	chatfunc("OOF I almost smashed you.")
1663
	elseif sel == 3 then
1664
	chatfunc("Give me, wait...Salvo?")
1665
	end
1666
	wait(2)
1667
	hum.WalkSpeed = 8
1668
	attack = false
1669
	elseif targetted.Name == "Nebula_Zorua" then
1670
	for i = 0, 3.2, 0.1 do
1671
        swait()
1672
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1673
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
1674
		if Mrandom(1,15) == 1 then
1675
			tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
1676
		end
1677
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
1678
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
1679
		RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(5)), 0.1)
1680
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
1681
	  	end
1682
	for i = 0, 1.8, 0.1 do
1683
        swait()
1684
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1685
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(0)), 0.3)
1686
		if Mrandom(1,15) == 1 then
1687
			tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
1688
		end
1689
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
1690
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
1691
		RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
1692
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
1693
		  	end
1694
		coroutine.wrap(function()
1695
	wait(2)
1696
	--partasdeff:Remove()
1697
	end)()
1698
	local sel = Mrandom(1,3)
1699
	if sel == 1 then	
1700
	chatfunc("Lucky I know you...")
1701
	elseif sel == 2 then	
1702
	chatfunc("Nebu?")
1703
	elseif sel == 3 then
1704
	chatfunc("VSB = Bad, GSB = Good")
1705
	end
1706
	wait(2)
1707
	hum.WalkSpeed = 8
1708
	attack = false
1709
	elseif targetted.Name == "KillerDarkness0105" then
1710
	for i = 0, 3.2, 0.1 do
1711
        swait()
1712
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1713
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
1714
		if Mrandom(1,15) == 1 then
1715
			tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
1716
		end
1717
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
1718
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
1719
		RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(5)), 0.1)
1720
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
1721
	  	end
1722
	for i = 0, 1.8, 0.1 do
1723
        swait()
1724
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1725
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(0)), 0.3)
1726
		if Mrandom(1,15) == 1 then
1727
			tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
1728
		end
1729
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
1730
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
1731
		RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
1732
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
1733
		  	end
1734
		coroutine.wrap(function()
1735
	wait(2)
1736
	--partasdeff:Remove()
1737
	end)()
1738
	local sel = Mrandom(1,3)
1739
	if sel == 1 then	
1740
	chatfunc("AaaaAA Killer, what are you doing?")
1741
	elseif sel == 2 then	
1742
	chatfunc("Are you finished with those touhou scripts?")
1743
	elseif sel == 3 then
1744
	chatfunc("Oh hi, sorry for that.")
1745
	end
1746
	wait(2)
1747
	hum.WalkSpeed = 8
1748
	attack = false
1749
	end
1750
end
1751
1752
function Get_Over_Here_And_PERISH()
1753
	attack = true
1754
	hum.WalkSpeed = 0
1755
	local torsy = targetted:FindFirstChild("UpperTorso") or targetted:FindFirstChild("Torso")
1756
	for i = 0, 2, 0.1 do
1757
        swait()
1758
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(25)), 0.15)
1759
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
1760
		if Mrandom(1,15) == 1 then
1761
			tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
1762
		end
1763
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
1764
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
1765
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(10)), 0.1)
1766
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-10)), 0.1)
1767
	  	end
1768
	coroutine.resume(coroutine.create(function()
1769
		for i = 1,10 do
1770
			swait()
1771
		local Pully = Create("BodyPosition")({
1772
            P = 9000,
1773
            D = 1000,
1774
            maxForce = Vector3.new(math.huge, math.huge, math.huge),
1775
            position = ra.Position - ra.CFrame.lookVector * 6,
1776
            Parent = torsy
1777
          })
1778
          game:GetService("Debris"):AddItem(Pully, 0.2)
1779
          wait()
1780
		end
1781
	end))
1782
	CreateSound("541909814", torsy, 10, 1)
1783
	CreateSound("131228548", hed, 10, 1)
1784
	for i = 0, 2.2, 0.1 do
1785
        swait()
1786
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-35)), 0.15)
1787
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(35)), 0.3)
1788
		if Mrandom(1,15) == 1 then
1789
			tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
1790
		end
1791
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(17), Rad(-10)), 0.15)
1792
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
1793
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
1794
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(40), Rad(0), Rad(-5)), 0.1)
1795
	  	end
1796
	attack = false
1797
	hum.WalkSpeed = 8
1798
end
1799
1800
function The_End_offfff()
1801
	attack = true
1802
	hum.WalkSpeed = 0
1803
	Music:Stop()
1804
	for _, v in pairs(Doll:GetChildren()) do
1805
    if v:IsA'BasePart' then
1806
    v:Remove()
1807
	end
1808
	end
1809
	for _, v in pairs(Needle:GetChildren()) do
1810
    if v:IsA'BasePart' then
1811
     v:Remove()
1812
	end
1813
	end
1814
	for i = 0,6,0.1 do
1815
		swait()
1816
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1817
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
1818
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1819
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1820
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
1821
		LW.C0 = clerp(LW.C0, CF(-1.3, 0.8 + 0.05 * Sin(sine / 30), -0.025 * Cos(sine / 20)) * angles(Rad(140), Rad(0), Rad(15)), 0.1)
1822
	end
1823
    CreateSound("1093102664", hed, 10, 1)
1824
	for i = 0,4,0.1 do
1825
		swait()
1826
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(5), Rad(0), Rad(0)), 0.15)
1827
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(-90)), 0.4)
1828
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1829
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1830
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
1831
		LW.C0 = clerp(LW.C0, CF(-1.3, 0.8 + 0.05 * Sin(sine / 30), -0.025 * Cos(sine / 20)) * angles(Rad(40), Rad(0), Rad(40)), 0.4)
1832
	end
1833
	for i = 0,6,0.1 do
1834
		swait()
1835
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -3 + 0.1) * angles(Rad(90), Rad(0), Rad(0)), 0.15)
1836
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.4)
1837
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-14), Rad(0), Rad(0)), 0.15)
1838
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6), Rad(0), Rad(0)), 0.15)
1839
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(155)), 0.1)
1840
		LW.C0 = clerp(LW.C0, CF(-1.3, 0.8 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-167)), 0.4)
1841
	end
1842
	wait(2)
1843
	dmg(char)
1844
end
1845
1846
-------------------------------------------------------
1847
--End Attacks N Stuff--
1848
-------------------------------------------------------
1849
mouse.Button1Down:connect(function()
1850
	if attack == false and targetted ~= nil then
1851
		Stab_Them_For_FUN()
1852
	end
1853
end)
1854
1855
1856
mouse.KeyDown:connect(function(key)
1857
if attack == false then
1858
	if key == 'q' then
1859
		LockOn()
1860
	elseif key == 'f' then
1861
		chatfunc("Come on now child everythings okay...")
1862
	elseif key == 'e' and targetted ~= nil then 
1863
		Oh_No_AN_ERROR_Has_OcccccccurrEEEED()
1864
	elseif key == 'x' and targetted ~= nil then
1865
		Get_Over_Here_And_PERISH()
1866
	elseif key == 'r' and targetted ~= nil then
1867
		CreateSound("289556450", hed, .4, math.random(5, 15) / 5) 
1868
		root.CFrame = targetted.Head.CFrame * CFrame.new(0, 0, 6)
1869
	elseif key == 'p' then
1870
		The_End_offfff()
1871
		end
1872
	end
1873
end)
1874
1875
1876
1877
1878
1879
1880
-------------------------------------------------------
1881
--Start Animations--
1882
-------------------------------------------------------
1883
local equipped = false
1884
hum.WalkSpeed = 8
1885
hed.face.Texture = "rbxassetid://1471407701"
1886
local idle = 0
1887
local change = 1
1888
local val = 0
1889
local toim = 0
1890
local idleanim = 0.4
1891
hum.Animator.Parent = nil
1892
while true do
1893
	swait()
1894
	game.Lighting.TimeOfDay = "00:00:00"
1895
	--game.Lighting.FogEnd = 50
1896
	--game.Lighting.FogColor = Color3.fromRGB(0,0,0)
1897
	Music.Parent = tors
1898
	
1899
	imgl.Rotation = imgl.Rotation + 3
1900
	img2.Rotation = img2.Rotation + 3
1901
	if targetted ~= nil then
1902
	abss.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
1903
	abss.Enabled = true
1904
	elseif targetted == nil then
1905
	abss.Adornee = nil
1906
	abss.Enabled = false
1907
	end
1908
1909
	while true and imgl.Rotation >= 360 do
1910
	imgl.Rotation = 0	
1911
	img2.Rotation = 0
1912
	end
1913
	
1914
	sine = sine + change
1915
	local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
1916
	local velderp = root.Velocity.y
1917
	hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char)
1918
	if equipped == true or equipped == false then
1919
		if attack == false then
1920
			idle = idle + 1
1921
		else
1922
			idle = 0
1923
		end
1924
		if 1 < root.Velocity.y and hitfloor == nil then
1925
			Anim = "Jump"
1926
			if attack == false then
1927
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-10), Rad(0), Rad(0)), 0.3)
1928
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(0)), 0.3)
1929
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(Rad(30), Rad(0), Rad(20)), 0.3)
1930
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(-20), Rad(0), Rad(-30)), 0.3)
1931
				LH.C0=clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
1932
				RH.C0=clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3)
1933
			end
1934
		elseif -1 > root.Velocity.y and hitfloor == nil then
1935
			Anim = "Fall"
1936
			if attack == false then
1937
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(0)), 0.3)
1938
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(0)), 0.3)
1939
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(Rad(30), Rad(0), Rad(20)), 0.3)
1940
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(-20), Rad(0), Rad(-30)), 0.3)
1941
				LH.C0 = clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
1942
				RH.C0 = clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3)
1943
			end
1944
		elseif torvel < 1 and hitfloor ~= nil then
1945
			Anim = "Idle"
1946
			change = .6
1947
			if attack == false then
1948
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
1949
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3)
1950
				if Mrandom(1,15) == 1 then
1951
					tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
1952
				end
1953
				RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
1954
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
1955
				RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
1956
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30),  -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(130), Rad(0), Rad(20)), 0.1)
1957
				HW.C0 = clerp(HW.C0, CF(-.2,-.8,-.4) * angles(Rad(-30), Rad(220), Rad(65)), 0.1)
1958
			end
1959
		elseif tors.Velocity.magnitude < 50 and hitfloor ~= nil then
1960
			Anim = "Walk"
1961
			change = .4
1962
			if attack == false then
1963
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(9-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(10 * Cos(sine / 7))), 0.15)
1964
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(30 * Cos(sine / 20)), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
1965
				RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 35 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
1966
         		LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 35 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
1967
				RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15) - ra.RotVelocity.Y / 75), 0.1)
1968
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-70)  * Cos(sine / 7) , Rad(0) ,	Rad(-5) + la.RotVelocity.Y / 75), 0.1)
1969
				HW.C0 = clerp(HW.C0, CF(-.2,-.8,-.4) * angles(Rad(-30), Rad(220), Rad(65)), 0.1)
1970
			end
1971
		end
1972
	end
1973
	if 0 < #Effects then
1974
		for e = 1, #Effects do
1975
			if Effects[e] ~= nil then
1976
				local Thing = Effects[e]
1977
				if Thing ~= nil then
1978
					local Part = Thing[1]
1979
					local Mode = Thing[2]
1980
					local Delay = Thing[3]
1981
					local IncX = Thing[4]
1982
					local IncY = Thing[5]
1983
					local IncZ = Thing[6]
1984
					if 1 >= Thing[1].Transparency then
1985
						if Thing[2] == "Block1" then
1986
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1987
							local Mesh = Thing[1].Mesh
1988
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1989
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1990
						elseif Thing[2] == "Block2" then
1991
							Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
1992
							local Mesh = Thing[7]
1993
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1994
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1995
						elseif Thing[2] == "Block3" then
1996
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
1997
							local Mesh = Thing[7]
1998
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1999
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2000
						elseif Thing[2] == "Cylinder" then
2001
							local Mesh = Thing[1].Mesh
2002
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2003
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2004
						elseif Thing[2] == "Blood" then
2005
							local Mesh = Thing[7]
2006
							Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
2007
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2008
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2009
						elseif Thing[2] == "Elec" then
2010
							local Mesh = Thing[1].Mesh
2011
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
2012
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2013
						elseif Thing[2] == "Disappear" then
2014
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2015
						elseif Thing[2] == "Shatter" then
2016
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2017
							Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
2018
							Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
2019
							Thing[6] = Thing[6] + Thing[5]
2020
						end
2021
					else
2022
						Part.Parent = nil
2023
						table.remove(Effects, e)
2024
					end
2025
				end
2026
			end
2027
		end
2028
	end
2029
end
2030
-------------------------------------------------------
2031
--End Animations And Script--
2032
-------------------------------------------------------