View difference between Paste ID: VzYBwJnX and 5Prh731g
SHOW: | | - or go back to the newest paste.
1
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
2
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
3
do
4
	print("FE Compatibility code by Mokiros")
5
	script.Parent = Player.Character
6
7
	--RemoteEvent for communicating
8
	local Event = Instance.new("RemoteEvent")
9
	Event.Name = "UserInput_Event"
10
11
	--Fake event to make stuff like Mouse.KeyDown work
12
	local function fakeEvent()
13
		local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
14
		t.connect = t.Connect
15
		return t
16
	end
17
18
	--Creating fake input objects with fake variables
19
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
20
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
21
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
22
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
23
	end}
24
	--Merged 2 functions into one by checking amount of arguments
25
	CAS.UnbindAction = CAS.BindAction
26
27
	--This function will trigger the events that have been :Connect()'ed
28
	local function te(self,ev,...)
29
		local t = m[ev]
30
		if t and t._fakeEvent and t.Function then
31
			t.Function(...)
32
		end
33
	end
34
	m.TrigEvent = te
35
	UIS.TrigEvent = te
36
37
	Event.OnServerEvent:Connect(function(plr,io)
38
	    if plr~=Player then return end
39
		if io.isMouse then
40
			m.Target = io.Target
41
			m.Hit = io.Hit
42
		else
43
			local b = io.UserInputState == Enum.UserInputState.Begin
44
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
45
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
46
			end
47
			for _,t in pairs(CAS.Actions) do
48
				for _,k in pairs(t.Keys) do
49
					if k==io.KeyCode then
50
						t.Function(t.Name,io.UserInputState,io)
51
					end
52
				end
53
			end
54
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
55
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
56
	    end
57
	end)
58
	Event.Parent = NLS([==[
59
	local Player = game:GetService("Players").LocalPlayer
60
	local Event = script:WaitForChild("UserInput_Event")
61
62
	local UIS = game:GetService("UserInputService")
63
	local input = function(io,a)
64
		if a then return end
65
		--Since InputObject is a client-side instance, we create and pass table instead
66
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
67
	end
68
	UIS.InputBegan:Connect(input)
69
	UIS.InputEnded:Connect(input)
70
71
	local Mouse = Player:GetMouse()
72
	local h,t
73
	--Give the server mouse data 30 times every second, but only if the values changed
74
	--If player is not moving their mouse, client won't fire events
75
	while wait(1/30) do
76
		if h~=Mouse.Hit or t~=Mouse.Target then
77
			h,t=Mouse.Hit,Mouse.Target
78
			Event:FireServer({isMouse=true,Target=t,Hit=h})
79
		end
80
	end]==],Player.Character)
81
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
82
end
83
84
-----------------------
85
--XEvent Chara--
86
-----------------------
87
-------------------------------------------------------
88
--A script By makhail07 and KillerDarkness0105
89
--Effect Smoothing By OblivionCreature
90
--Discords Creterisk#2958, Codex#6685, and [L]ewd#2941
91
-------------------------------------------------------
92
93
local FavIDs = {340106355,927529620,876981900,398987889,1117396305}
94
95
function swait(num)
96
if num==0 or num==nil then
97
game:service'RunService'.Stepped:wait(0)
98
else
99
for i=0,num do
100
game:service'RunService'.Stepped:wait(0)
101
end
102
end
103
end
104
function thread(f)
105
  coroutine.resume(coroutine.create(f))
106
end
107
108
--Needed to add this for a good reason, thank me later mak.
109
so = function(id,par,vol,pit) 
110
coroutine.resume(coroutine.create(function()
111
local sou = Instance.new("Sound",par or workspace)
112
sou.Volume=vol
113
sou.Pitch=pit or 1
114
sou.SoundId=id
115
swait() 
116
sou:play() 
117
game:GetService("Debris"):AddItem(sou,8)
118
end))
119
end
120
121-
local plr = game:service'Players'.LocalPlayer
121+
122
function clerp(a, b, t) 
123
	local qa = {
124
		QuaternionFromCFrame(a)
125
	}
126
	local qb = {
127
		QuaternionFromCFrame(b)
128
	} 
129
	local ax, ay, az = a.x, a.y, a.z 
130
	local bx, by, bz = b.x, b.y, b.z
131
	local _t = 1 - t
132-
local mouse = plr:GetMouse()
132+
133
end
134
function QuaternionFromCFrame(cf)
135
  local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
136
  local trace = m00 + m11 + m22
137
  if trace > 0 then
138
    local s = math.sqrt(1 + trace)
139
    local recip = 0.5 / s
140
    return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
141
  else
142
    local i = 0
143
    if m00 < m11 then
144
      i = 1
145
    end
146
    if m22 > (i == 0 and m00 or m11) then
147
      i = 2
148
    end
149
    if i == 0 then
150
      local s = math.sqrt(m00 - m11 - m22 + 1)
151
      local recip = 0.5 / s
152
      return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
153
    elseif i == 1 then
154
      local s = math.sqrt(m11 - m22 - m00 + 1)
155
      local recip = 0.5 / s
156
      return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
157
    elseif i == 2 then
158
      local s = math.sqrt(m22 - m00 - m11 + 1)
159
      local recip = 0.5 / s
160
      return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
161
    end
162
  end
163
end
164
function QuaternionToCFrame(px, py, pz, x, y, z, w)
165
  local xs, ys, zs = x + x, y + y, z + z
166
  local wx, wy, wz = w * xs, w * ys, w * zs
167
  local xx = x * xs
168
  local xy = x * ys
169
  local xz = x * zs
170
  local yy = y * ys
171
  local yz = y * zs
172
  local zz = z * zs
173
  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))
174
end
175
function QuaternionSlerp(a, b, t)
176
  local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
177
  local startInterp, finishInterp
178
  if cosTheta >= 1.0E-4 then
179
    if 1 - cosTheta > 1.0E-4 then
180
      local theta = math.acos(cosTheta)
181
      local invSinTheta = 1 / math.sin(theta)
182
      startInterp = math.sin((1 - t) * theta) * invSinTheta
183
      finishInterp = math.sin(t * theta) * invSinTheta
184
    else
185
      startInterp = 1 - t
186
      finishInterp = t
187
    end
188
  elseif 1 + cosTheta > 1.0E-4 then
189
    local theta = math.acos(-cosTheta)
190
    local invSinTheta = 1 / math.sin(theta)
191
    startInterp = math.sin((t - 1) * theta) * invSinTheta
192
    finishInterp = math.sin(t * theta) * invSinTheta
193
  else
194
    startInterp = t - 1
195
    finishInterp = t
196
  end
197
  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
198
end
199
function rayCast(Position, Direction, Range, Ignore)
200
  return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
201
end
202
--Wait what okay
203
wait()
204
local plr = owner
205
local char = plr.Character
206
local hum = char.Humanoid
207
local ra = char["Right Arm"]
208
local la= char["Left Arm"]
209
local rl= char["Right Leg"]
210
local ll = char["Left Leg"]
211
local hed = char.Head
212
local root = char.HumanoidRootPart
213
local rootj = root.RootJoint
214
local tors = char.Torso
215
local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
216
local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
217
local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
218
local maincolor = BrickColor.new("Dark indigo")
219
cf = CFrame.new
220
angles = CFrame.Angles
221
attack = false
222
euler=CFrame.fromEulerAnglesXYZ
223
equipped = false
224
necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
225
RSH, LSH = nil, nil 
226
RW = Instance.new("Weld") 
227-
			Value = game:service("Players").LocalPlayer,
227+
228
RH = tors["Right Hip"]
229
LH = tors["Left Hip"]
230
RSH = tors["Right Shoulder"] 
231
LSH = tors["Left Shoulder"] 
232
RSH.Parent = nil 
233
LSH.Parent = nil 
234
RW.Name = "RW"
235
RW.Part0 = tors 
236
RW.C0 = CFrame.new(1.5, 0.5, 0)
237
RW.C1 = CFrame.new(0, 0.5, 0) 
238
RW.Part1 = ra
239
RW.Parent = tors 
240
LW.Name = "LW"
241
LW.Part0 = tors 
242
LW.C0 = CFrame.new(-1.5, 0.5, 0)
243
LW.C1 = CFrame.new(0, 0.5, 0) 
244
LW.Part1 = la
245
LW.Parent = tors
246
print('User is '..plr.Name)
247
Effects = {}
248
	
249
ArtificialHB = Instance.new("BindableEvent", script)
250
ArtificialHB.Name = "Heartbeat"
251
252
script:WaitForChild("Heartbeat")
253
254
frame = 1 / 60
255
tf = 0
256
allowframeloss = false
257
tossremainder = false
258
lastframe = tick()
259
script.Heartbeat:Fire()
260
261
game:GetService("RunService").Heartbeat:connect(function(s, p)
262
	tf = tf + s
263
	if tf >= frame then
264
		if allowframeloss then
265
			script.Heartbeat:Fire()
266
			lastframe = tick()
267
		else
268
			for i = 1, math.floor(tf / frame) do
269
				script.Heartbeat:Fire()
270
			end
271
			lastframe = tick()
272
		end
273
		if tossremainder then
274
			tf = 0
275
		else
276
			tf = tf - frame * math.floor(tf / frame)
277
		end
278
	end
279
end)
280
local RbxUtility = LoadLibrary("RbxUtility")
281
local Create = RbxUtility.Create
282
283
function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
284
	if hit.Parent == nil then
285
		return
286
	end
287
	local h = hit.Parent:FindFirstChildOfClass("Humanoid")
288
	for _, v in pairs(hit.Parent:children()) do
289
		if v:IsA("Humanoid") then
290
			h = v
291
		end
292
	end
293
         if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
294
         warn'No R15 allowed'
295
         hit.Parent:FindFirstChild("Head"):BreakJoints()
296
         end
297
298
	if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
299
		if hit.Parent:findFirstChild("DebounceHit") ~= nil then
300
			if hit.Parent.DebounceHit.Value == true then
301
				return
302
			end
303
		end
304
         if insta == true then
305
         hit.Parent:FindFirstChild("Head"):BreakJoints()
306
         end
307
		local c = Create("ObjectValue"){
308
			Name = "creator",
309
			Value = owner,
310
			Parent = h,
311
		}
312
		game:GetService("Debris"):AddItem(c, .5)
313
		if HitSound ~= nil and HitPitch ~= nil then
314
			CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) 
315
		end
316
		local Damage = math.random(minim, maxim)
317
		local blocked = false
318
		local block = hit.Parent:findFirstChild("Block")
319
		if block ~= nil then
320
			if block.className == "IntValue" then
321
				if block.Value > 0 then
322
					blocked = true
323
					block.Value = block.Value - 1
324
					print(block.Value)
325
				end
326
			end
327
		end
328
		if blocked == false then
329
			h.Health = h.Health - Damage
330
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
331
		else
332
			h.Health = h.Health - (Damage / 2)
333
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
334
		end
335
		if Type == "Knockdown" then
336
			local hum = hit.Parent.Humanoid
337
			hum.PlatformStand = true
338
			coroutine.resume(coroutine.create(function(HHumanoid)
339
				swait(1)
340
				HHumanoid.PlatformStand = false
341
			end), hum)
342
			local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
343
			local bodvol = Create("BodyVelocity"){
344
				velocity = angle * knockback,
345
				P = 5000,
346
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
347
				Parent = hit,
348
			}
349
			local rl = Create("BodyAngularVelocity"){
350
				P = 3000,
351
				maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
352
				angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
353
				Parent = hit,
354
			}
355
			game:GetService("Debris"):AddItem(bodvol, .5)
356
			game:GetService("Debris"):AddItem(rl, .5)
357
		elseif Type == "Normal" then
358
			local vp = Create("BodyVelocity"){
359
				P = 500,
360
				maxForce = Vector3.new(math.huge, 0, math.huge),
361
				velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
362
			}
363
			if knockback > 0 then
364
				vp.Parent = hit.Parent.Torso
365
			end
366
			game:GetService("Debris"):AddItem(vp, .5)
367
		elseif Type == "Up" then
368
			local bodyVelocity = Create("BodyVelocity"){
369
				velocity = Vector3.new(0, 20, 0),
370
				P = 5000,
371
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
372
				Parent = hit,
373
			}
374
			game:GetService("Debris"):AddItem(bodyVelocity, .5)
375
		elseif Type == "DarkUp" then
376
			coroutine.resume(coroutine.create(function()
377
				for i = 0, 1, 0.1 do
378
					swait()
379
					Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
380
				end
381
			end))
382
			local bodyVelocity = Create("BodyVelocity"){
383
				velocity = Vector3.new(0, 20, 0),
384
				P = 5000,
385
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
386
				Parent = hit,
387
			}
388
			game:GetService("Debris"):AddItem(bodyVelocity, 1)
389
		elseif Type == "Snare" then
390
			local bp = Create("BodyPosition"){
391
				P = 2000,
392
				D = 100,
393
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
394
				position = hit.Parent.Torso.Position,
395
				Parent = hit.Parent.Torso,
396
			}
397
			game:GetService("Debris"):AddItem(bp, 1)
398
		elseif Type == "Freeze" then
399
			local BodPos = Create("BodyPosition"){
400
				P = 50000,
401
				D = 1000,
402
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
403
				position = hit.Parent.Torso.Position,
404
				Parent = hit.Parent.Torso,
405
			}
406
			local BodGy = Create("BodyGyro") {
407
				maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
408
				P = 20e+003,
409
				Parent = hit.Parent.Torso,
410
				cframe = hit.Parent.Torso.CFrame,
411
			}
412
			hit.Parent.Torso.Anchored = true
413
			coroutine.resume(coroutine.create(function(Part) 
414
				swait(1.5)
415
				Part.Anchored = false
416
			end), hit.Parent.Torso)
417
			game:GetService("Debris"):AddItem(BodPos, 3)
418
			game:GetService("Debris"):AddItem(BodGy, 3)
419
		end
420
		local debounce = Create("BoolValue"){
421
			Name = "DebounceHit",
422
			Parent = hit.Parent,
423
			Value = true,
424
		}
425
		game:GetService("Debris"):AddItem(debounce, Delay)
426
		c = Create("ObjectValue"){
427
			Name = "creator",
428
			Value = Player,
429
			Parent = h,
430
		}
431
		game:GetService("Debris"):AddItem(c, .5)
432
	end
433
end
434
435
function ShowDamage(Pos, Text, Time, Color)
436
	local Rate = (1 / 30)
437
	local Pos = (Pos or Vector3.new(0, 0, 0))
438
	local Text = (Text or "")
439
	local Time = (Time or 2)
440
	local Color = (Color or Color3.new(1, 0, 1))
441
	local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
442
	EffectPart.Anchored = true
443
	local BillboardGui = Create("BillboardGui"){
444
		Size = UDim2.new(3, 0, 3, 0),
445
		Adornee = EffectPart,
446
		Parent = EffectPart,
447
	}
448
	local TextLabel = Create("TextLabel"){
449
		BackgroundTransparency = 1,
450
		Size = UDim2.new(1, 0, 1, 0),
451
		Text = Text,
452
		Font = "Highway",
453
		TextColor3 = Color,
454
		TextScaled = true,
455
		Parent = BillboardGui,
456
	}
457
	game.Debris:AddItem(EffectPart, (Time))
458
	EffectPart.Parent = game:GetService("Workspace")
459
	delay(0, function()
460
		local Frames = (Time / Rate)
461
		for Frame = 1, Frames do
462
			wait(Rate)
463
			local Percent = (Frame / Frames)
464
			EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
465
			TextLabel.TextTransparency = Percent
466
		end
467
		if EffectPart and EffectPart.Parent then
468
			EffectPart:Destroy()
469
		end
470
	end)
471
end
472
function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
473
  for _, c in pairs(workspace:children()) do
474
    local hum = c:findFirstChild("Humanoid")
475
    if hum ~= nil then
476
      local head = c:findFirstChild("Head")
477
      if head ~= nil then
478
        local targ = head.Position - Part.Position
479
        local mag = targ.magnitude
480
        if magni >= mag and c.Name ~= plr.Name then
481
          Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=623904185", 5.2)
482
        end
483
      end
484
    end
485
  end
486
end
487
function MagniKILL(Part, magni, knock, Type)
488
  for _, c in pairs(workspace:children()) do
489
    local hum = c:findFirstChild("Humanoid")
490
    if hum ~= nil then
491
      local head = c:findFirstChild("Head")
492
      if head ~= nil then
493
        local targ = head.Position - Part.Position
494
        local mag = targ.magnitude
495
        if magni >= mag and c.Name ~= plr.Name then
496
          hum.Health = 0
497
        end
498
      end
499
    end
500
  end
501
end
502
CFuncs = {
503
  Part = {
504
    Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
505
      local Part = Create("Part")({
506
        Parent = Parent,
507
        Reflectance = Reflectance,
508
        Transparency = Transparency,
509
        CanCollide = false,
510
        Locked = true,
511
        BrickColor = BrickColor.new(tostring(BColor)),
512
        Name = Name,
513
        Size = Size,
514
        Material = Material
515
      })
516
      RemoveOutlines(Part)
517
      return Part
518
    end
519
  },
520
  Mesh = {
521
    Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
522
      local Msh = Create(Mesh)({
523
        Parent = Part,
524
        Offset = OffSet,
525
        Scale = Scale
526
      })
527
      if Mesh == "SpecialMesh" then
528
        Msh.MeshType = MeshType
529
        Msh.MeshId = MeshId
530
      end
531
      return Msh
532
    end
533
  },
534
  Mesh = {
535
    Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
536
      local Msh = Create(Mesh)({
537
        Parent = Part,
538
        Offset = OffSet,
539
        Scale = Scale
540
      })
541
      if Mesh == "SpecialMesh" then
542
        Msh.MeshType = MeshType
543
        Msh.MeshId = MeshId
544
      end
545
      return Msh
546
    end
547
  },
548
  Weld = {
549
    Create = function(Parent, Part0, Part1, C0, C1)
550
      local Weld = Create("Weld")({
551
        Parent = Parent,
552
        Part0 = Part0,
553
        Part1 = Part1,
554
        C0 = C0,
555
        C1 = C1
556
      })
557
      return Weld
558
    end
559
  },
560
  Sound = {
561
    Create = function(id, par, vol, pit)
562
      coroutine.resume(coroutine.create(function()
563
        local S = Create("Sound")({
564
          Volume = vol,
565
          Pitch = pit or 1,
566
          SoundId = id,
567
          Parent = par or workspace
568
        })
569
        wait()
570
        S:play()
571
        game:GetService("Debris"):AddItem(S, 6)
572
      end))
573
    end
574
  },
575
  ParticleEmitter = {
576
    Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
577
      local fp = Create("ParticleEmitter")({
578
        Parent = Parent,
579
        Color = ColorSequence.new(Color1, Color2),
580
        LightEmission = LightEmission,
581
        Size = Size,
582
        Texture = Texture,
583
        Transparency = Transparency,
584
        ZOffset = ZOffset,
585
        Acceleration = Accel,
586
        Drag = Drag,
587
        LockedToPart = LockedToPart,
588
        VelocityInheritance = VelocityInheritance,
589
        EmissionDirection = EmissionDirection,
590
        Enabled = Enabled,
591
        Lifetime = LifeTime,
592
        Rate = Rate,
593
        Rotation = Rotation,
594
        RotSpeed = RotSpeed,
595
        Speed = Speed,
596
        VelocitySpread = VelocitySpread
597
      })
598
      return fp
599
    end
600
  }
601
}
602
function RemoveOutlines(part)
603
  part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
604
end
605
function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
606
  local Part = Create("Part")({
607
    formFactor = FormFactor,
608
    Parent = Parent,
609
    Reflectance = Reflectance,
610
    Transparency = Transparency,
611
    CanCollide = false,
612
    Locked = true,
613
    BrickColor = BrickColor.new(tostring(BColor)),
614
    Name = Name,
615
    Size = Size,
616
    Material = Material
617
  })
618
  RemoveOutlines(Part)
619
  return Part
620
end
621
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
622
  local Msh = Create(Mesh)({
623
    Parent = Part,
624
    Offset = OffSet,
625
    Scale = Scale
626
  })
627
  if Mesh == "SpecialMesh" then
628
    Msh.MeshType = MeshType
629
    Msh.MeshId = MeshId
630
  end
631
  return Msh
632
end
633
function CreateWeld(Parent, Part0, Part1, C0, C1)
634
  local Weld = Create("Weld")({
635
    Parent = Parent,
636
    Part0 = Part0,
637
    Part1 = Part1,
638
    C0 = C0,
639
    C1 = C1
640
  })
641
  return Weld
642
end
643
EffectModel = Instance.new("Model", char)
644
Effects = {
645
  Block = {
646
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
647
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
648
      prt.Anchored = true
649
      prt.CFrame = cframe
650
      local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
651
      game:GetService("Debris"):AddItem(prt, 10)
652
      if Type == 1 or Type == nil then
653
        table.insert(Effects, {
654
          prt,
655
          "Block1",
656
          delay,
657
          x3,
658
          y3,
659
          z3,
660
          msh
661
        })
662
      elseif Type == 2 then
663
        table.insert(Effects, {
664
          prt,
665
          "Block2",
666
          delay,
667
          x3,
668
          y3,
669
          z3,
670
          msh
671
        })
672
      else
673
        table.insert(Effects, {
674
          prt,
675
          "Block3",
676
          delay,
677
          x3,
678
          y3,
679
          z3,
680
          msh
681
        })
682
      end
683
    end
684
  },
685
  Sphere = {
686
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
687
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
688
      prt.Anchored = true
689
      prt.CFrame = cframe
690
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
691
      game:GetService("Debris"):AddItem(prt, 10)
692
      table.insert(Effects, {
693
        prt,
694
        "Cylinder",
695
        delay,
696
        x3,
697
        y3,
698
        z3,
699
        msh
700
      })
701
    end
702
  },
703
  Cylinder = {
704
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
705
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
706
      prt.Anchored = true
707
      prt.CFrame = cframe
708
      local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
709
      game:GetService("Debris"):AddItem(prt, 10)
710
      table.insert(Effects, {
711
        prt,
712
        "Cylinder",
713
        delay,
714
        x3,
715
        y3,
716
        z3,
717
        msh
718
      })
719
    end
720
  },
721
  Wave = {
722
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
723
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
724
      prt.Anchored = true
725
      prt.CFrame = cframe
726
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://431164262", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
727
      game:GetService("Debris"):AddItem(prt, 10)
728
      table.insert(Effects, {
729
        prt,
730
        "Cylinder",
731
        delay,
732
        x3 / 60,
733
        y3 / 60,
734
        z3 / 60,
735
        msh
736
      })
737
    end
738
  },
739
  Ring = {
740
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
741
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
742
      prt.Anchored = true
743
      prt.CFrame = cframe
744
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
745
      game:GetService("Debris"):AddItem(prt, 10)
746
      table.insert(Effects, {
747
        prt,
748
        "Cylinder",
749
        delay,
750
        x3,
751
        y3,
752
        z3,
753
        msh
754
      })
755
    end
756
  },
757
  Break = {
758
    Create = function(brickcolor, cframe, x1, y1, z1)
759
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
760
      prt.Anchored = true
761
      prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
762
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
763
      local num = math.random(10, 50) / 1000
764
      game:GetService("Debris"):AddItem(prt, 10)
765
      table.insert(Effects, {
766
        prt,
767
        "Shatter",
768
        num,
769
        prt.CFrame,
770
        math.random() - math.random(),
771
        0,
772
        math.random(50, 100) / 100
773
      })
774
    end
775
  }
776
}
777
function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
778
  local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
779
  prt.Anchored = true
780
  prt.CFrame = cframe
781
  local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
782
  game:GetService("Debris"):AddItem(prt, 10)
783
  if Type == 1 or Type == nil then
784
    table.insert(Effects, {
785
      prt,
786
      "Block1",
787
      delay,
788
      x3,
789
      y3,
790
      z3,
791
      msh
792
    })
793
  elseif Type == 2 then
794
    table.insert(Effects, {
795
      prt,
796
      "Block2",
797
      delay,
798
      x3,
799
      y3,
800
      z3,
801
      msh
802
    })
803
  elseif Type == 3 then
804
    table.insert(Effects, {
805
      prt,
806
      "Block3",
807
      delay,
808
      x3,
809
      y3,
810
      z3,
811
      msh
812
    })
813
  end
814
end
815
function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
816
  local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
817
  prt.Anchored = true
818
  prt.CFrame = cframe
819
  local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
820
  game:GetService("Debris"):AddItem(prt, 10)
821
  table.insert(Effects, {
822
    prt,
823
    "Cylinder",
824
    delay,
825
    x3,
826
    y3,
827
    z3,
828
    msh
829
  })
830
end
831
function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
832
  local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
833
  prt.Anchored = true
834
  prt.CFrame = cframe * CFrame.new(x1, y1, z1)
835
  local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
836
  game:GetService("Debris"):AddItem(prt, 10)
837
  table.insert(Effects, {
838
    prt,
839
    "Cylinder",
840
    delay,
841
    x3,
842
    y3,
843
    z3,
844
    msh
845
  })
846
end
847
function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
848
  local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
849
  prt.Anchored = true
850
  prt.CFrame = cframe
851
  local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
852
  game:GetService("Debris"):AddItem(prt, 10)
853
  table.insert(Effects, {
854
    prt,
855
    "Cylinder",
856
    delay,
857
    x3,
858
    y3,
859
    z3,
860
    msh
861
  })
862
end
863
function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
864
  local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
865
  prt.Anchored = true
866
  prt.CFrame = cframe
867
  local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
868
  game:GetService("Debris"):AddItem(prt, 10)
869
  table.insert(Effects, {
870
    prt,
871
    "Cylinder",
872
    delay,
873
    x3,
874
    y3,
875
    z3,
876
    msh
877
  })
878
end
879
function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
880
  local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
881
  prt.Anchored = true
882
  prt.CFrame = cframe
883
  local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
884
  game:GetService("Debris"):AddItem(prt, 10)
885
  table.insert(Effects, {
886
    prt,
887
    "Cylinder",
888
    delay,
889
    x3,
890
    y3,
891
    z3,
892
    msh
893
  })
894
end
895
function BreakEffect(brickcolor, cframe, x1, y1, z1)
896
  local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
897
  prt.Anchored = true
898
  prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
899
  local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
900
  local num = math.random(10, 50) / 1000
901
  game:GetService("Debris"):AddItem(prt, 10)
902
  table.insert(Effects, {
903
    prt,
904
    "Shatter",
905-
HeartLocket = New("Model",char,"Heart Locket",{})
905+
906-
Heart = New("Hat",HeartLocket,"Heart",{})
906+
907-
Handle2 = New("Part",Heart,"Handle2",{BrickColor = BrickColor.new("Gold"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.0500000007, 0.0500000007, 0.25),CFrame = CFrame.new(-42.7335167, 3.20922303, 175.050156, 0.14691636, -0.00137452304, -0.989146531, 0.00403097179, 0.999989152, -0.00079088629, 0.98914516, -0.00387096009, 0.14692001),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.937255, 0.721569, 0.219608),})
907+
908-
Mesh = New("SpecialMesh",Handle2,"Mesh",{Scale = Vector3.new(2, 2, 1),MeshId = "http://www.roblox.com/asset/?id=105992239",MeshType = Enum.MeshType.FileMesh,})
908+
909-
String = New("Part",HeartLocket,"String",{BrickColor = BrickColor.new("Burnt Sienna"),FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(2, 2, 2),CFrame = CFrame.new(-43.4914551, 3.64470506, 175.102722, 0.0703944117, 0, -0.997525692, 0, 1, 0, 0.997519255, 0, 0.0703952685),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.415686, 0.223529, 0.0352941),})
909+
910-
Mesh = New("SpecialMesh",String,"Mesh",{Scale = Vector3.new(1.10000002, 1, 0.949999988),VertexColor = Vector3.new(0, 0, 0),MeshId = "http://www.roblox.com/asset/?id=34237901",MeshType = Enum.MeshType.FileMesh,})
910+
911
end
912
function CreateSound(ID, PARENT, VOLUME, PITCH)
913
	local NEWSOUND = nil
914
	coroutine.resume(coroutine.create(function()
915
		NEWSOUND = Instance.new("Sound", PARENT)
916
		NEWSOUND.Volume = VOLUME
917
		NEWSOUND.Pitch = PITCH
918
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
919
		swait()
920
		NEWSOUND:play()
921
		game:GetService("Debris"):AddItem(NEWSOUND, 10)
922
	end))
923
	return NEWSOUND
924
end
925
926
927
--[[
928
		Thanks for using Build-To-Lua by jarredbcv.
929
]]--
930
931
New = function(Object, Parent, Name, Data)
932
	local Object = Instance.new(Object)
933
	for Index, Value in pairs(Data or {}) do
934
		Object[Index] = Value
935
	end
936
	Object.Parent = Parent
937
	Object.Name = Name
938
	return Object
939
end
940
	
941
XBlade = New("Model",char,"XBlade",{})
942
Handle = New("Part",XBlade,"Handle",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(2, 0.119999982, 0.119999982),CFrame = CFrame.new(-44.0486794, 1.89940667, 173.921341, 0.99009043, -0.134159163, -0.0414969474, 0.0418755226, -2.00014849e-09, 0.999122798, -0.134041354, -0.990959466, 0.00561797712),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
943
Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.0500000156),CFrame = CFrame.new(-41.3519974, 0.784493208, 173.553787, 0.134159118, 0.931669831, -0.337627381, -1.78345172e-10, 0.340707511, 0.940169215, 0.990959346, -0.126132146, 0.0457089804),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
944
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.93166995, 0.340707511, -0.12613225, -0.337627441, 0.940169275, 0.0457090214),C1 = CFrame.new(2.67253876, 0.00244140625, -1.22790456, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
945
Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1.92999995, 0.0500000156),CFrame = CFrame.new(-44.0702477, 1.93928599, 173.921783, 0.134159118, 0.99009037, -0.0414969437, -1.78345172e-10, 0.0418755226, 0.999122798, 0.990959346, -0.13404125, 0.00561797526),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
946
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.990090549, 0.0418755226, -0.134041384, -0.0414969586, 0.999122858, 0.00561798085),C1 = CFrame.new(-0.019744873, 0.00245666504, 0.0407419205, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
947
Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.0500000156),CFrame = CFrame.new(-40.7464447, 1.01027775, 173.471802, 0.134159118, 0.903306067, -0.407478601, -1.78345172e-10, 0.411195904, 0.911546826, 0.990959346, -0.122292183, 0.0551656336),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
948
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.903306186, 0.411195934, -0.122292288, -0.40747866, 0.911546886, 0.0551656857),C1 = CFrame.new(3.29253769, 0.00245666504, -1.02790737, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
949
Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.130000025),CFrame = CFrame.new(-39.0396805, 1.93485165, 173.240723, 0.134159118, 0.86384666, -0.48556143, -1.78345172e-10, 0.489991099, 0.871727467, 0.990959346, -0.116950043, 0.065736711),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
950
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.863846779, 0.489991099, -0.116950139, -0.48556149, 0.871727467, 0.0657367632),C1 = CFrame.new(5.05207825, 0.00245666504, -0.176268101, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
951
Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.0500000156),CFrame = CFrame.new(-40.2101974, 1.23313034, 173.3992, 0.134159118, 0.88381362, -0.448190004, -1.78345172e-10, 0.452278793, 0.891876459, 0.990959346, -0.119653247, 0.0606772564),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
952
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.883813798, 0.452278793, -0.119653352, -0.448190093, 0.891876578, 0.0606773123),C1 = CFrame.new(3.84253311, 0.00245666504, -0.827910662, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
953
Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.0500000156),CFrame = CFrame.new(-41.9794464, 0.607830167, 173.638718, 0.134159118, 0.966715217, -0.217858434, -1.78345172e-10, 0.219845936, 0.975534439, 0.990959346, -0.130876735, 0.0294943117),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
954
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.966715395, 0.219845951, -0.130876839, -0.217858493, 0.975534499, 0.0294943396),C1 = CFrame.new(2.03252411, 0.00245666504, -1.37789822, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
955
Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1.08000004, 0.0500000156),CFrame = CFrame.new(-42.5497932, 0.498351336, 173.715927, 0.134159118, 0.975934744, -0.171907738, -1.78345172e-10, 0.17347604, 0.984838009, 0.990959346, -0.132124841, 0.0232733674),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
956
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.975934923, 0.17347604, -0.132124975, -0.171907783, 0.984838068, 0.0232733898),C1 = CFrame.new(1.45289612, 0.00247192383, -1.46317959, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
957
Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1.92999995, 0.0500000156),CFrame = CFrame.new(-44.0665131, 1.84935343, 173.92128, 0.134159118, 0.99009037, -0.0414969437, -1.78345172e-10, 0.0418755226, 0.999122798, 0.990959346, -0.13404125, 0.00561797526),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
958
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.990090549, 0.0418755226, -0.134041384, -0.0414969586, 0.999122858, 0.00561798085),C1 = CFrame.new(-0.019744873, 0.00245666504, -0.0492696762, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
959
Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.360000014),CFrame = CFrame.new(-42.5316505, 0.708744168, 173.713501, 0.134159118, 0.975934744, -0.171907738, -1.78345172e-10, 0.17347604, 0.984838009, 0.990959346, -0.132124841, 0.0232733674),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
960
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.975934923, 0.17347604, -0.132124975, -0.171907783, 0.984838068, 0.0232733898),C1 = CFrame.new(1.47999573, 0.00244140625, -1.25373793, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
961
Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.079999879, 0.149999917, 0.100000016),CFrame = CFrame.new(-45.0332489, 1.85846865, 174.05719, 0.134159118, -0.0414969884, -0.99009037, -1.78345172e-10, 0.999122798, -0.0418755673, 0.990959346, 0.00561798224, 0.13404125),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
962
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, -0.0414970033, 0.999122858, 0.00561798783, -0.990090549, -0.0418755673, 0.134041384),C1 = CFrame.new(-0.994735718, -0.00253295898, 0.000717639923, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
963
Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1.52999997, 0.0500000156),CFrame = CFrame.new(-43.0991249, 1.12461293, 173.790329, 0.134159118, -0.041496899, -0.99009037, -1.78345172e-10, 0.999122798, -0.0418754779, 0.990959346, 0.0056179706, 0.13404125),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
964
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 1.60021901e-16, 0.990959764, -0.0414969139, 0.999122858, 0.00561797619, -0.990090549, -0.0418754779, 0.134041384),C1 = CFrame.new(0.925262451, 0.00244140625, -0.814253807, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
965
Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.360000014),CFrame = CFrame.new(-41.8233681, 0.848814011, 173.617599, 0.134159118, 0.949757814, -0.282773912, -1.78345172e-10, 0.285353601, 0.958422184, 0.990959346, -0.128580973, 0.0382827483),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
966
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.949757874, 0.285353601, -0.128581077, -0.282773942, 0.958422303, 0.0382827818),C1 = CFrame.new(2.19998169, 0.00245666504, -1.14372134, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
967
Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 0.0799999386, 0.0500000156),CFrame = CFrame.new(-43.1370964, 2.03881836, 173.795456, 0.134159118, -0.041496899, -0.99009037, -1.78345172e-10, 0.999122798, -0.0418754779, 0.990959346, 0.0056179706, 0.13404125),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
968
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 1.60021901e-16, 0.990959764, -0.0414969139, 0.999122858, 0.00561797619, -0.990090549, -0.0418754779, 0.134041384),C1 = CFrame.new(0.925262451, 0.00245666504, 0.100754261, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
969
Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.0500000156),CFrame = CFrame.new(-38.9191017, 1.90829134, 173.224411, 0.134159118, 0.863252759, -0.486616373, -1.78345172e-10, 0.491055667, 0.871128023, 0.990959346, -0.116869673, 0.0658795312),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
970
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.863252878, 0.491055697, -0.11686977, -0.486616433, 0.871128082, 0.0658795834),C1 = CFrame.new(5.17253876, 0.00245666504, -0.207900524, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
971
Wedge = New("WedgePart",XBlade,"Wedge",{BrickColor = BrickColor.new("Pearl"),Material = Enum.Material.Neon,Size = Vector3.new(0.0799999461, 4.97000027, 1.66999996),CFrame = CFrame.new(-40.6379662, 1.33008528, 173.459518, 0.134159088, 0.990090489, -0.0414969511, -3.48056417e-10, 0.0418755226, 0.999122798, 0.990959585, -0.134041339, 0.00561797852),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
972
mot = New("Motor",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.990090549, 0.0418755226, -0.134041384, -0.0414969586, 0.999122858, 0.00561798085),C1 = CFrame.new(3.41497803, 7.62939453e-05, -0.712950706, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
973
Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.360000014),CFrame = CFrame.new(-40.5334549, 1.31371856, 173.442963, 0.134159118, 0.888382077, -0.439065397, -1.78345172e-10, 0.443070978, 0.89648658, 0.990959346, -0.120271713, 0.059441939),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
974
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.888382196, 0.443070978, -0.120271817, -0.439065516, 0.89648664, 0.0594419949),C1 = CFrame.new(3.51998901, 0.00245666504, -0.733733177, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
975
Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.360000014),CFrame = CFrame.new(-39.8037491, 1.65485072, 173.344177, 0.134159118, 0.879470766, -0.456653416, -1.78345172e-10, 0.460819334, 0.887493968, 0.990959346, -0.1190653, 0.0618230514),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
976
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.879470944, 0.460819364, -0.119065404, -0.456653476, 0.887494028, 0.0618231073),C1 = CFrame.new(4.26998901, 0.00245666504, -0.423735619, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
977
Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1.02999997, 0.0500000156),CFrame = CFrame.new(-38.633503, 2.03729534, 173.18576, 0.134159118, 0.863252759, -0.486616373, -1.78345172e-10, 0.491055667, 0.871128023, 0.990959346, -0.116869673, 0.0658795312),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
978
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.863252878, 0.491055697, -0.11686977, -0.486616433, 0.871128082, 0.0658795834),C1 = CFrame.new(5.46588898, 0.00244140625, -0.0910782814, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
979
Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.0500000156),CFrame = CFrame.new(-39.5588799, 1.55094099, 173.311005, 0.134159118, 0.863252759, -0.486616373, -1.78345172e-10, 0.491055667, 0.871128023, 0.990959346, -0.116869673, 0.0658795312),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
980
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.863252878, 0.491055697, -0.11686977, -0.486616433, 0.871128082, 0.0658795834),C1 = CFrame.new(4.51252747, 0.00247192383, -0.537901878, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
981
Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 5, 0.0500000156),CFrame = CFrame.new(-40.6833267, 2.18262863, 173.463257, 0.134159118, 0.99009037, -0.0414969437, -1.78345172e-10, 0.0418755226, 0.999122798, 0.990959346, -0.13404125, 0.00561797526),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
982
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.990090549, 0.0418755226, -0.134041384, -0.0414969586, 0.999122858, 0.00561798085),C1 = CFrame.new(3.40526581, 0.00245666504, 0.140748024, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
983
Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.360000014),CFrame = CFrame.new(-41.1286964, 1.07836723, 173.523544, 0.134159118, 0.920541048, -0.36688596, -1.78345172e-10, 0.37023294, 0.928938925, 0.990959346, -0.124625482, 0.0496700779),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
984
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.920541227, 0.37023297, -0.124625586, -0.36688602, 0.928938985, 0.0496701226),C1 = CFrame.new(2.9099884, 0.00245666504, -0.943724632, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
985
986
987
988
989
990
for _, v in pairs(XBlade:GetChildren()) do
991
    if v:IsA'BasePart' then
992
    v.CanCollide = false
993
end
994
end
995
996
997
998
local NewInstance = function(instance,parent,properties)
999
	local inst = Instance.new(instance,parent)
1000
	if(properties)then
1001
		for i,v in next, properties do
1002
			pcall(function() inst[i] = v end)
1003
		end
1004
	end
1005
	return inst;
1006
end
1007
local HW = NewInstance('Weld',char,{Part0=ra,Part1=Handle,C0 = CFrame.new(0,-.9,0)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(90))})
1008
local Locket = NewInstance('Weld',char,{Part0=hed,Part1=String,C0 = CFrame.new(0,-.9,0.1)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))})
1009
local HeartL = NewInstance('Weld',char,{Part0=hed,Part1=Handle2,C0 = CFrame.new(0,-1.3,-0.7)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))})
1010
1011
1012
1013
1014
--Chat Function--
1015
function chatfunc(text,waitt)
1016
local chat = coroutine.wrap(function()
1017
if char:FindFirstChild("TalkingBillBoard")~= nil then
1018
char:FindFirstChild("TalkingBillBoard").Parent = nil
1019
end
1020
local naeeym2 = Instance.new("BillboardGui",char)
1021
naeeym2.Size = UDim2.new(0,100,0,40)
1022
naeeym2.StudsOffset = Vector3.new(0,2,0)
1023
naeeym2.Adornee = char.Head
1024
naeeym2.Name = "TalkingBillBoard"
1025
naeeym2.AlwaysOnTop = true
1026
local tecks2 = Instance.new("TextLabel",naeeym2)
1027
tecks2.BackgroundTransparency = 1
1028
tecks2.BorderSizePixel = 0
1029
tecks2.Text = ""
1030
tecks2.Font = "Code"
1031
tecks2.TextSize = 30
1032
tecks2.TextStrokeTransparency = 0
1033
tecks2.TextColor3 = Color3.fromRGB(255,255,255)
1034
tecks2.TextStrokeColor3 = Color3.fromRGB(98, 37, 209)
1035
tecks2.Size = UDim2.new(1,0,0.5,0)
1036
for i = 1,string.len(text),1 do
1037
tecks2.Text = string.sub(text,1,i)
1038
swait(3)
1039
end
1040
wait(waitt/10)
1041
coroutine.resume(coroutine.create(function()
1042
	for i = 1, 10 do
1043
		tecks2.TextTransparency = tecks2.TextTransparency + 0.1
1044
		swait()
1045
	end
1046
	naeeym2:Destroy()
1047
end))
1048
end)
1049
chat()
1050
end
1051
1052
local asd = Instance.new("ParticleEmitter")
1053
asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
1054
asd.LightEmission = .1
1055
asd.Size = NumberSequence.new(0.2)
1056
asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
1057
aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
1058
bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
1059
asd.Transparency = bbb
1060
asd.Size = aaa
1061
asd.ZOffset = .9
1062
asd.Acceleration = Vector3.new(0, -5, 0)
1063
asd.LockedToPart = false
1064
asd.EmissionDirection = "Back"
1065
asd.Lifetime = NumberRange.new(1, 2)
1066
asd.Rotation = NumberRange.new(-100, 100)
1067
asd.RotSpeed = NumberRange.new(-100, 100)
1068
asd.Speed = NumberRange.new(2)
1069
asd.Enabled = false
1070
asd.VelocitySpread = 10000
1071
1072
function bleed(victim,amount)
1073
local prtcl = asd:Clone()
1074
prtcl.Parent = victim
1075
prtcl:Emit(amount)
1076
end
1077
1078
1079
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
1080
	local NEWMESH = Instance.new(MESH)
1081
	if MESH == "SpecialMesh" then
1082
		NEWMESH.MeshType = MESHTYPE
1083
		if MESHID ~= "nil" and MESHID ~= "" then
1084
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
1085
		end
1086
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
1087
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
1088
		end
1089
	end
1090
	NEWMESH.Offset = OFFSET or Vector3.new(0, 0, 0)
1091
	NEWMESH.Scale = SCALE
1092
	NEWMESH.Parent = PARENT
1093
	return NEWMESH
1094
end
1095
1096
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
1097
	local NEWPART = Instance.new("Part")
1098
	NEWPART.formFactor = FORMFACTOR
1099
	NEWPART.Reflectance = REFLECTANCE
1100
	NEWPART.Transparency = TRANSPARENCY
1101
	NEWPART.CanCollide = false
1102
	NEWPART.Locked = true
1103
	NEWPART.Anchored = true
1104
	if ANCHOR == false then
1105
		NEWPART.Anchored = false
1106
	end
1107
	NEWPART.BrickColor = BrickColor.new(tostring(BRICKCOLOR))
1108
	NEWPART.Name = NAME
1109
	NEWPART.Size = SIZE
1110
	NEWPART.Position = tors.Position
1111
	NEWPART.Material = MATERIAL
1112
	NEWPART:BreakJoints()
1113
	NEWPART.Parent = PARENT
1114-
top.ShirtTemplate = "rbxassetid://831629350"
1114+
1115
end
1116
1117-
bottom.PantsTemplate = "rbxassetid://227915108"
1117+
1118
	    local weldd = Instance.new("ManualWeld")
1119
	    weldd.Part0 = a
1120
	    weldd.Part1 = b
1121
	    weldd.C0 = CFrame.new()
1122
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
1123
	    weldd.Parent = a
1124
	    return weldd
1125
	end
1126
1127
function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
1128
local acs = Instance.new("Part")
1129
acs.CanCollide = false
1130
acs.Anchored = false
1131
acs.Size = Vector3.new(0,0,0)
1132
acs.CFrame = attachmentpart.CFrame
1133
acs.Parent = char
1134
acs.BrickColor = color
1135
    local meshs = Instance.new("SpecialMesh")
1136
    meshs.MeshId = mesh
1137
    meshs.TextureId = texture
1138
    meshs.Parent = acs
1139
    meshs.Scale = scale
1140
    meshs.Offset = offset
1141
weldBetween(attachmentpart,acs)
1142
end
1143
1144
local accessories = Instance.new("Folder",char)
1145
accessories.Name = "Add-ons"
1146
1147
function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
1148
if TYPE == "Gem" then
1149
	local acs = CreatePart(3, accessories, "Plastic", 0, 0, COLOR, "Part", Vector3.new(0,0,0))
1150
	acs.Anchored = false
1151
    acs.CanCollide = false
1152
	acs.CFrame = PART.CFrame
1153
	local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
1154
weldBetween(PART,acs)
1155
elseif TYPE == "Skull" then
1156
	local acs = CreatePart(3, accessories, "Plastic", 0, 0, COLOR, "Part", Vector3.new(0,0,0))
1157
	acs.Anchored = false
1158
    acs.CanCollide = false
1159
	acs.CFrame = PART.CFrame
1160
	local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
1161
weldBetween(PART,acs)
1162
elseif TYPE == "Eye" then
1163
	local acs = CreatePart(3, accessories, "Neon", 0, 0, COLOR, "Part", Vector3.new(0,0,0))
1164
	acs.Anchored = false
1165
    acs.CanCollide = false
1166
	acs.CFrame = PART.CFrame
1167
	local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
1168
weldBetween(PART,acs)
1169
end
1170
end
1171
1172
createbodypart("Eye","Really black",hed,Vector3.new(0.2, 0.17, -0.55),Vector3.new(3,5,3))
1173
createbodypart("Eye","White",hed,Vector3.new(-0.2, 0.17, -0.55),Vector3.new(3,5,3))
1174
1175
--Extras--
1176
q = char:GetChildren()
1177
		for u = 1, #q do
1178
		if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
1179
				q[u]:remove()
1180
				elseif q[u].ClassName == "CharacterMesh" then
1181
				q[u]:remove()
1182
			elseif q[u].ClassName == "ShirtGraphic" then
1183
				q[u]:remove()
1184
	elseif q[u].ClassName == "Shirt" then
1185
		q[u]:Destroy()
1186
elseif q[u].ClassName == "Pants" then
1187-
Weld.C1 = CFrame.new(0, -.5, 0)
1187+
1188
	end
1189
end	
1190
local top = Instance.new("Shirt")
1191
top.ShirtTemplate = "rbxassetid://338740550"
1192-
M2.MeshId = "http://www.roblox.com/asset/?id=346578029"
1192+
1193-
M2.Scale = Vector3.new(1.2, 1.1, 1.1)
1193+
1194
bottom.PantsTemplate = "rbxassetid://338750779"
1195-
--Hood--
1195+
1196-
local Hood = Instance.new("Part", char)
1196+
1197-
Hood.Name = "Hood"
1197+
1198-
Hood.CanCollide = false
1198+
1199-
Hood.BrickColor = BrickColor.new("Institutional white")
1199+
1200-
Hood.Transparency = 0
1200+
1201-
Hood.Material = "Plastic"
1201+
1202-
Hood.Size = Vector3.new(1, 1, 2)
1202+
1203-
Hood.TopSurface = Enum.SurfaceType.Smooth
1203+
1204-
Hood.BottomSurface = Enum.SurfaceType.Smooth
1204+
1205
end
1206-
local Weld = Instance.new("Weld", Hood)
1206+
1207-
Weld.Part0 = tors
1207+
1208-
Weld.Part1 = Hood
1208+
1209-
Weld.C1 = CFrame.new(0, .4, -.9)
1209+
1210-
Weld.C0 = CFrame.Angles(math.rad(-0),math.rad(0),math.rad(180))
1210+
1211
Blobby.BrickColor = BrickColor.new("Institutional white")
1212
Blobby.Transparency = 0
1213-
M2.Parent = Hood
1213+
1214-
M2.MeshId = "http://www.roblox.com/asset/?id=18010902"
1214+
1215-
M2.Scale = Vector3.new(0.922, 0.922, 0.922)
1215+
1216-
hed.face.Texture = "http://www.roblox.com/asset/?id=176217905"
1216+
1217
1218
local Weld = Instance.new("Weld", Blobby)
1219
Weld.Part0 = hed
1220
Weld.Part1 = Blobby
1221
Weld.C1 = CFrame.new(0, 1.1, 0)
1222
Weld.C0 = CFrame.Angles(math.rad(0),math.rad(180),0)
1223
1224
local M2 = Instance.new("SpecialMesh")
1225
M2.Parent = Blobby
1226
M2.MeshId = "http://www.roblox.com/asset/?id=448710145"
1227
M2.Scale = Vector3.new(0.8, 0.8, 0.8)
1228
1229
local Blobby2 = Instance.new("Part", char)
1230
Blobby2.Name = "Blob"
1231
Blobby2.CanCollide = false
1232
Blobby2.BrickColor = BrickColor.new("Really black")
1233
Blobby2.Transparency = 0
1234
Blobby2.Material = "Plastic"
1235
Blobby2.Size = Vector3.new(1, 1, 2)
1236-
chatfunc("Finally, after all this time.",3)
1236+
1237
Blobby2.BottomSurface = Enum.SurfaceType.Smooth
1238
1239
local Weld = Instance.new("Weld", Blobby2)
1240
Weld.Part0 = hed
1241
Weld.Part1 = Blobby2
1242
Weld.C1 = CFrame.new(0, 1.2, 0)
1243
Weld.C0 = CFrame.Angles(math.rad(0),math.rad(180),0)
1244
1245
local M2 = Instance.new("SpecialMesh")
1246
M2.Parent = Blobby2
1247
M2.MeshId = "http://www.roblox.com/asset/?id=448710145"
1248
M2.Scale = Vector3.new(0.8, 0.8, 0.8)
1249-
chatfunc("At last I have a human soul.",3)
1249+
1250
--Hair--
1251
local Hair = Instance.new("Part", char)
1252
Hair.Name = "Hair"
1253
Hair.CanCollide = false
1254
Hair.BrickColor = BrickColor.new("Institutional white")
1255
Hair.Transparency = 0
1256
Hair.Material = "Plastic"
1257
Hair.Size = Vector3.new(1, 1, 2)
1258
Hair.TopSurface = Enum.SurfaceType.Smooth
1259
Hair.BottomSurface = Enum.SurfaceType.Smooth
1260
 
1261-
chatfunc("And finally not attached to that dumb Skeleton.",3)
1261+
1262
Weld.Part0 = hed
1263
Weld.Part1 = Hair
1264
Weld.C1 = CFrame.new(0, -.6, 0)
1265
Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0)
1266
 
1267
local M2 = Instance.new("SpecialMesh")
1268
M2.Parent = Hair
1269
M2.MeshId = "http://www.roblox.com/asset/?id=16627529"
1270
M2.TextureId = "http://www.roblox.com/asset/?id=16627494"
1271
M2.Scale = Vector3.new(1, 1, 1)
1272
1273-
chatfunc("You'll get to live long enough to see something special.",5)
1273+
1274
1275
1276
Slashy = Instance.new("Sound", ra)
1277
Slashy.Volume = 5
1278
Slashy.Pitch = 1
1279
Slashy.SoundId = "http://www.roblox.com/asset/?id=978101945"
1280
Slashy.Looped = false
1281
1282
local VALUE1 = false
1283
local sine=0
1284
for _, v in pairs(XBlade:GetChildren()) do
1285
    if v:IsA'BasePart' then
1286
    v.CanCollide = false
1287
	v.Transparency = 1
1288
end
1289
end
1290
function intro()
1291
attack = true
1292-
chatfunc("Welcome my friend, to the XEvent.",3)
1292+
chatfunc("Well....after im become dead from stupid (N)(E)(P)(T)(U)(N)(I)(A)(N) arms",3)
1293
hum.WalkSpeed = 0
1294-
CreateSound("367453005", hed, 10, 1)
1294+
1295
	swait()
1296
	rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
1297
tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
1298
RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
1299
LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
1300
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(5)), 0.1)
1301
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), 0.1)
1302
HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(90),math.rad(0)), 0.15)
1303
end
1304
wait(2.5)
1305-
bigboi.SoundId = "rbxassetid://736980589"
1305+
chatfunc("After i,ve gotta revive...How?",3)
1306
for i = 0,6,0.1 do
1307
	swait()
1308
	rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
1309
tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
1310
RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
1311
LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
1312
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(5)), 0.1)
1313
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), 0.1)
1314
HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
1315
end
1316
wait(2.5)
1317
chatfunc("I'M SOLD MY SOUL TO WILL ONLY REVIVE BUT IM GET THE POWER",3)
1318
for i = 0,6,0.1 do
1319
	swait()
1320
	rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
1321
tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
1322
RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
1323
LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
1324
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(5)), 0.1)
1325
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), 0.1)
1326
HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
1327
end
1328
wait(2.5)
1329
chatfunc("NOW YOU NEPTUNIA BECOME DEAD!!!",5)
1330
1331
for i = 0,6,0.1 do
1332
swait()
1333
for _, v in pairs(XBlade:GetChildren()) do
1334
    if v:IsA'BasePart' then
1335
    v.CanCollide = false
1336
	v.Transparency = v.Transparency - .3
1337
end
1338
end
1339
rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
1340
tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
1341
RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
1342
LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
1343
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(90), math.rad(0), math.rad(5)), 0.1)
1344
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), 0.1)
1345
HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(180)), 0.15)
1346
end
1347
wait(4.5)
1348
chatfunc("HA HA HA HA HA HA",3)
1349
wait(2.5)
1350
CreateSound("246480487", hed, 10, 1)
1351
ShadowHead = New("Part",char,"ShadowHead",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
1352
Mesh = New("SpecialMesh",ShadowHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
1353
Weld = New("Weld",ShadowHead,"mot",{Part0 = ShadowHead,Part1 = char.Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
1354
Effects.Ring.Create(BrickColor.new("Institutional white"), tors.CFrame*angles(math.rad(90),math.rad(0),math.rad(0)), 2, 2, 2, 7.6, 7.6, 7.6, 0.03)
1355
Effects.Sphere.Create(maincolor, tors.CFrame, 2, 2, 2, 17.6, 17.6, 17.6, 0.02)
1356
Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 10.6, 10.6, 10.6, 0.02)
1357
Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 14.6, 14.6, 14.6, 0.02)
1358
Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 16.6, 16.6, 16.6, 0.02)
1359
Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 5.6, 5.6, 5.6, 0.02)
1360
local bigboi = Instance.new("Sound",tors)
1361
bigboi.SoundId = "rbxassetid://561833161"
1362
bigboi.Volume = 2.5
1363
bigboi.Looped = true
1364
bigboi.Pitch = 1
1365
bigboi:Play()
1366
attack = false
1367
VALUE1 = true
1368
hum.WalkSpeed = 28
1369
end
1370
1371
1372
1373
1374
1375
function NothingPersonal()
1376
	if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
1377
		local HITBODY = mouse.Target.Parent
1378
		local TORS = HITBODY:FindFirstChild("Torso") or HITBODY:FindFirstChild("UpperTorso")
1379
		local HUMAN = mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
1380
		if TORS ~= nil and HUMAN ~= nil then
1381
			attack = true
1382
			hum.WalkSpeed = 0
1383
			root.CFrame = TORS.CFrame * CFrame.new(-1,0,6)
1384
			TORS.Anchored = true
1385
			CreateSound("367453005", hed, 10, 1)
1386
			Effects.Sphere.Create(maincolor, tors.CFrame * CFrame.new(0, -1.2, 0), 100, 100, 100, 15, 15, 15, .1, .1)
1387
			for i = 0,6,0.1 do
1388
	swait()
1389
	rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(-20)),0.15)
1390
tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
1391
RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
1392
LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
1393
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(125)), 0.1)
1394
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(90), math.rad(0), math.rad(-15)), 0.1)
1395
HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(90),math.rad(0)), 0.15)
1396
			end
1397
			CreateSound("357417055", hed, 10, 1)
1398
			for i = 0,4,0.1 do
1399
	rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(5),math.rad(0),math.rad(45)),0.15)
1400
tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
1401
RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
1402
LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
1403
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(90), math.rad(0), math.rad(15)), 0.1)
1404
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), 0.1)
1405
HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(90),math.rad(0)), 0.15)
1406
			end
1407
			wait(2.5)
1408
			CreateSound("623904185", hed, 10, 1)
1409
			HITBODY:BreakJoints()
1410
			TORS.Anchored = false
1411
			attack = false
1412
			hum.WalkSpeed = 28
1413
			bleed(TORS,25)
1414
			end
1415
		end
1416
end
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
---ATTACKS N STUFF
1430
function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
1431
  Hitboxpart = Instance.new("Part", EffectModel)
1432
  RemoveOutlines(Hitboxpart)
1433
  Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
1434
  Hitboxpart.CanCollide = false
1435
  Hitboxpart.Transparency = 1
1436
  Hitboxpart.Anchored = true
1437
  Hitboxpart.CFrame = Pose
1438
  game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
1439
  MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
1440
end
1441
wait2 = false
1442
combo = 1
1443
mouse.Button1Down:connect(function(key)
1444
  if attack == false then
1445
    attack = true
1446
    hum.WalkSpeed = 3.01
1447
    if combo == 1 and wait2 == false then
1448
      wait2 = true
1449
      for i = 0, 1.2, 0.1 do
1450
        swait()
1451
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-15)), 0.3)
1452
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
1453
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(175), math.rad(0), math.rad(0)), 0.1)
1454
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
1455
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-0)), 0.3)
1456
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(15), math.rad(-20)), 0.3)
1457
      end
1458
Effects.Ring.Create(BrickColor.new("Institutional white"), ra.CFrame, 2, 2, 2, 0.1, 0.1, 0.1, 0.03)
1459
Slashy:Play()
1460
      HitboxFunction(Wedge.CFrame * CFrame.new(0, 0, -.9), 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
1461
      for i = 0, 1.2, 0.1 do
1462
        swait()
1463
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(15)), 0.3)
1464
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
1465
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.1)
1466
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
1467
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-15), math.rad(-20)), 0.3)
1468
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(-0), math.rad(0)), 0.3)
1469
      end
1470
      combo = 2
1471
    end
1472
    if combo == 2 and wait2 == false then
1473
      wait2 = true
1474
      HitboxFunction(ll.CFrame * CFrame.new(0, 0, .4), 0.01, 1, 1, 1, 7, 10, 20, 3, "Normal")
1475
      for i = 0, 1.4, 0.1 do
1476
        swait()
1477
       rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-1.25)*angles(math.rad(-20),math.rad(0),math.rad(0)),0.15)
1478
	tors.Neck.C0=clerp(tors.Neck.C0,necko*cf(0,0,0)*angles(math.rad(30),math.rad(0),math.rad(0)),0.15)
1479
	RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(10)), 0.3)
1480
	LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(-4.5)),0.15)
1481
	RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(90),math.rad(90),math.rad(0))*angles(math.rad(-15),math.rad(0),math.rad(0)),0.15)
1482
	LH.C0=clerp(LH.C0,cf(-1,-1,-1)*angles(math.rad(-60),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),0.15)
1483
      end
1484
      combo = 3
1485
    end
1486
    if combo == 3 and wait2 == false then
1487
      wait2 = true
1488
1489
      for i = 0, 1.2, 0.1 do
1490
        swait()
1491
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-15)), 0.3)
1492
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
1493
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(0), math.rad(0), math.rad(50)), 0.1)
1494
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
1495
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-0)), 0.3)
1496
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(15), math.rad(-20)), 0.3)
1497
      end
1498
      HitboxFunction(Wedge.CFrame * CFrame.new(0, 0, -.9), 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
1499
  Effects.Ring.Create(BrickColor.new("Institutional white"), Wedge.CFrame, 2, 2, 2, 0.1, 0.1, 0.1, 0.03)
1500
Slashy:Play()
1501
      for i = 0, 1.2, 0.1 do
1502
        swait()
1503
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(30)), 0.3)
1504
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
1505
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -1) * angles(math.rad(55), math.rad(0), math.rad(40)), 0.1)
1506
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
1507
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-15), math.rad(-20)), 0.3)
1508
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(-0), math.rad(0)), 0.3)
1509
      end
1510
      combo = 1
1511
    end
1512
    hum.WalkSpeed = 16
1513
    wait2 = false
1514
    attack = false
1515
  end
1516
end)
1517
1518
1519
1520-
		CreateSound("367453005", hed, 10, 1)
1520+
1521
1522
1523
function DashingSpin()
1524
			attack = true
1525
			hum.WalkSpeed = 0
1526
			CreateSound("707957812", workspace, 5, 1)
1527-
		CreateSound("649634100", hed, 10, .89)
1527+
1528
    Effects.Block.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 3.4, 3.4, 3.4, 0.03)
1529
Effects.Block.Create(BrickColor.new("Institutional white"), tors.CFrame, 2, 2, 2, 6.6, 6.6, 6.6, 0.05)
1530
    Effects.Block.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 6.4, 6.4, 6.4, 0.05)
1531
 Effects.Block.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
1532
1533
Effects.Ring.Create(BrickColor.new("Institutional white"), tors.CFrame, 2, 2, 2, 7.6, 7.6, 7.6, 0.03)
1534
Effects.Sphere.Create(maincolor, tors.CFrame, 2, 2, 2, 17.6, 17.6, 17.6, 0.02)
1535
Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 10.6, 10.6, 10.6, 0.02)
1536
Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 14.6, 14.6, 14.6, 0.02)
1537
Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 16.6, 16.6, 16.6, 0.02)
1538
Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 5.6, 5.6, 5.6, 0.02)
1539
			root.CFrame = root.CFrame + root.CFrame.lookVector * 35
1540
			for i = 0,6,0.1 do
1541
--Not to put a swait here this is going to be like, you know what just dont put a swait kthx 
1542
rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-1.25)*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
1543
tors.Neck.C0=clerp(tors.Neck.C0,necko*cf(0,0,0)*angles(math.rad(30),math.rad(0),math.rad(0)),0.15)
1544
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(110), math.rad(90)), 0.1)
1545
LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.4,0)*angles(math.rad(0),math.rad(0),math.rad(-4.5)),0.15)
1546
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-60),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),0.15)
1547
LH.C0=clerp(LH.C0,cf(-0.75,0.25,-1)*angles(math.rad(-15),math.rad(-90),math.rad(0))*angles(math.rad(-15),math.rad(0),math.rad(0)),0.15)
1548
HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
1549
			end
1550
			for i = 0,9,0.1 do
1551
				swait()
1552
				MagniDamage(Wedge, 12, 6, 12, 10, "Normal")
1553
rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-1.25+0.45*i)*angles(math.rad(0),math.rad(0),math.rad(0-255.45*i)),0.15)
1554
tors.Neck.C0=clerp(tors.Neck.C0,necko*cf(0,0,0)*angles(math.rad(30-5.35*i),math.rad(0),math.rad(0)),0.15)
1555
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(110-25.35*i), math.rad(90)), 0.1)
1556
LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.4,0)*angles(math.rad(0+17.35*i),math.rad(0-25.35*i),math.rad(-4.5)),0.15)
1557
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-60+10.35*i),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),0.15)
1558
LH.C0=clerp(LH.C0,cf(-0.75,0.25,-1)*angles(math.rad(-15),math.rad(-90),math.rad(0))*angles(math.rad(-15),math.rad(0),math.rad(0)),0.15)
1559
HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
1560
			end
1561
			attack = false
1562
			hum.WalkSpeed = 28
1563
end
1564
1565
1566
1567
1568
1569
1570
1571
mouse.KeyDown:connect(function(key)
1572
	if attack == false then
1573
	if key == 'q' then
1574
		NothingPersonal()
1575
	elseif key == 'c' then
1576
		CreateSound("1841058541", hed, 10, 1)
1577
		Effects.Sphere.Create(maincolor, tors.CFrame * CFrame.new(0, -1.2, 0), 100, 100, 100, 15, 15, 15, .1, .1)
1578
	    root.CFrame = CFrame.new(CFrame.new(mouse.Hit.p)*CFrame.new(0,2.8,0).p,root.Position)
1579
		Effects.Sphere.Create(maincolor, tors.CFrame * CFrame.new(0, -1.2, 0), 100, 100, 100, 15, 15, 15, .1, .1)
1580
	elseif key == 'f' then
1581
		DashingSpin()
1582
	elseif key == 't' then
1583
		CreateSound("246480487", hed, 10, .89)
1584
		end
1585
	end
1586
end)
1587
1588
1589
1590
ff = Instance.new("ForceField",char)
1591
ff.Visible = false
1592
1593
local idle=0
1594
local change = 1
1595
local val = 0
1596
toim = 0
1597
hum.Animator.Parent = nil
1598
idleanim=.4
1599
while true do
1600
swait()
1601
hum.MaxHealth = math.huge
1602
hum.Health = math.huge
1603
hum.Name = "TheXEvent"
1604
sine = sine + change
1605
local torvel=(root.Velocity*Vector3.new(1,0,1)).magnitude 
1606
local velderp=root.Velocity.y
1607
hitfloor,posfloor=rayCast(root.Position,(CFrame.new(root.Position,root.Position - Vector3.new(0,1,0))).lookVector,4,char)
1608
if equipped==true or equipped==false then
1609
if attack==false then
1610
idle=idle+1
1611
else
1612
idle=0
1613
end
1614
if root.Velocity.y > 1 and hitfloor==nil then 
1615
Anim="Jump"
1616
if attack==false then
1617
rootj.C0 = clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
1618
tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
1619
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), 0.3)
1620
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
1621
LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),-0.3)*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(20)),0.15)
1622
RH.C0=clerp(RH.C0,cf(1,-1,0.3)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3)
1623
end
1624
elseif root.Velocity.y < -1 and hitfloor==nil then 
1625
Anim="Fall"
1626
if attack==false then
1627
rootj.C0 = clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))* angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
1628
tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
1629
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(90)), 0.3)
1630
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-90)), 0.3)
1631
LH.C0=clerp(LH.C0,cf(-1,-.4-0.1*math.cos(sine/20),-.6)*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(20)),0.15)
1632
RH.C0=clerp(RH.C0,cf(1,-.3-0.1*math.cos(sine/20),-.6)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3)
1633
end
1634
elseif torvel<1 and hitfloor~=nil then
1635
Anim="Idle"
1636
change = 1
1637
if attack==false then
1638
rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,0.6+0.5*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(43)),0.15)
1639
tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-2.5*math.cos(sine/20)),math.rad(0),math.rad(-25)),.3)
1640
RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
1641
LH.C0=clerp(LH.C0,cf(-1,-.6-0.1*math.cos(sine/20),-.085)*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(0)),0.15)
1642
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0),math.rad(-40), math.rad(15)), 0.1)
1643
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0), math.rad(-0), math.rad(-10)), 0.1)
1644
HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
1645
end
1646
1647
elseif (tors.Velocity).magnitude < 50 and hitfloor ~= nil then
1648
Anim="Walk"
1649
change = 1
1650
if attack==false then
1651
rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,0.6+0.5*math.cos(sine/20))*angles(math.rad(20),math.rad(0),math.rad(0)),0.15)
1652
tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-2.5*math.cos(sine/20)),math.rad(0),math.rad(-0)),.3)
1653
RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
1654
LH.C0=clerp(LH.C0,cf(-1,-.4-0.1*math.cos(sine/20),-.3)*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(20)),0.15)
1655
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0),math.rad(-5), math.rad(15)), 0.1)
1656
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0), math.rad(-0), math.rad(-10)), 0.1)
1657
HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
1658
end
1659
end
1660
end
1661
1662
if 0 < #Effects then
1663
    for e = 1, #Effects do
1664
      if Effects[e] ~= nil then
1665
        local Thing = Effects[e]
1666
        if Thing ~= nil then
1667
          local Part = Thing[1]
1668
          local Mode = Thing[2]
1669
          local Delay = Thing[3]
1670
          local IncX = Thing[4]
1671
          local IncY = Thing[5]
1672
          local IncZ = Thing[6]
1673
          if 1 >= Thing[1].Transparency then
1674
            if Thing[2] == "Block1" then
1675
              Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1676
              local Mesh = Thing[1].Mesh
1677
              Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1678
              Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1679
            elseif Thing[2] == "Block2" then
1680
              Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
1681
              local Mesh = Thing[7]
1682
              Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1683
              Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1684
            elseif Thing[2] == "Block3" then
1685
              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)
1686
              local Mesh = Thing[7]
1687
              Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1688
              Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1689
            elseif Thing[2] == "Cylinder" then
1690
              local Mesh = Thing[1].Mesh
1691
              Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1692
              Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1693
            elseif Thing[2] == "Blood" then
1694
              local Mesh = Thing[7]
1695
              Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
1696
              Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1697
              Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1698
            elseif Thing[2] == "Elec" then
1699
              local Mesh = Thing[1].Mesh
1700
              Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
1701
              Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1702
            elseif Thing[2] == "Disappear" then
1703
              Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1704
            elseif Thing[2] == "Shatter" then
1705
              Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1706
              Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
1707
              Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
1708
              Thing[6] = Thing[6] + Thing[5]
1709
            end
1710
          else
1711
            Part.Parent = nil
1712
            table.remove(Effects, e)
1713
          end
1714
        end
1715
      end
1716
    end
1717
  end
1718
if VALUE1 == false and attack == false then
1719
		intro()
1720
	end
1721
end