View difference between Paste ID: yq7PCcFJ and 1ZRuXSvV
SHOW: | | - or go back to the newest paste.
1
--Sans?
2
3
Player = game:GetService("Players").LocalPlayer
4
PlayerGui = Player.PlayerGui
5
Cam = workspace.CurrentCamera
6
Backpack = Player.Backpack
7
Character = Player.Character
8
Humanoid = Character.Humanoid
9
Mouse = Player:GetMouse()
10
RootPart = Character["HumanoidRootPart"]
11
Torso = Character["Torso"]
12
Head = Character["Head"]
13
RightArm = Character["Right Arm"]
14
LeftArm = Character["Left Arm"]
15
RightLeg = Character["Right Leg"]
16
LeftLeg = Character["Left Leg"]
17
RootJoint = RootPart["RootJoint"]
18
Neck = Torso["Neck"]
19
RightShoulder = Torso["Right Shoulder"]
20
LeftShoulder = Torso["Left Shoulder"]
21
RightHip = Torso["Right Hip"]
22
LeftHip = Torso["Left Hip"]
23
local sick = Instance.new("Sound",Character)
24
sick.SoundId = "rbxassetid://531711813"
25
sick.Looped = true
26
sick.Pitch = 1
27
sick.Volume = 1
28
Head:ClearAllChildren()
29
 
30
local tor = Instance.new("CharacterMesh")
31
tor.Parent = Character
32
tor.Name = "Bones"
33
tor.BodyPart = "Torso"
34
tor.MeshId = "36780113"
35
tor.OverlayTextureId = "36780292"
36
 
37
local tor = Instance.new("CharacterMesh")
38
tor.Parent = Character
39
tor.Name = "Bones"
40
tor.BodyPart = "LeftLeg"
41
tor.MeshId = "36780079"
42
tor.OverlayTextureId = "36780292"
43
 
44
local tor = Instance.new("CharacterMesh")
45
tor.Parent = Character
46
tor.Name = "Bones"
47
tor.BodyPart = "RightLeg"
48
tor.MeshId = "36780195"
49
tor.OverlayTextureId = "36780292"
50
 
51
local tor = Instance.new("CharacterMesh")
52
tor.Parent = Character
53
tor.Name = "Bones"
54
tor.BodyPart = "RightArm"
55
tor.MeshId = "36780156"
56
tor.OverlayTextureId = "36780292"
57
 
58
local tor = Instance.new("CharacterMesh")
59
tor.Parent = Character
60
tor.Name = "Bones"
61
tor.BodyPart = "LeftArm"
62
tor.MeshId = "36780032"
63
tor.OverlayTextureId = "36780292"
64
 
65
local tor = Instance.new("SpecialMesh")
66
tor.Scale = Vector3.new(1,1,1)
67
tor.MeshType = "FileMesh"
68
tor.MeshId = "http://www.roblox.com/asset/?id=36869983"
69
tor.TextureId = "rbxassetid://36869975"
70
tor.Parent = Head
71
72
73
local IDs = {133830212,235845120}
74
local p=game:service("Players").LocalPlayer
75
Instance.new("ForceField", game.Players.LocalPlayer.Character). Visible = false
76
local Player = game:service'Players'.localPlayer
77
Character = Player.Character
78
Head = Character["Head"]
79
local char=p.Character
80
Humanoid = Character.Humanoid
81
local hum=char.Humanoid
82
local chara = Player.Character
83
hum.MaxHealth= math.huge
84
hum.Health=hum.MaxHealth
85
function swait(num)
86
if num==0 or num==nil then
87
game:service'RunService'.Stepped:wait(0)
88
else
89
for i=0,num do
90
game:service'RunService'.Stepped:wait(0)
91
end
92
end
93
end
94
do
95
    local filteredMessages = { ['____'] = '___' };
96
    local onPropertyChanged = function (obj)  
97
        if (obj:isDescendantOf (workspace)) then  
98
            local objText = obj.Text;
99
           
100
            if (objText ~= '___' and objText:find '(%S)') then
101
                if (filteredMessages [objText] and filteredMessages [objText] ~= objText) then
102
                    obj.Text = filteredMessages [objText];
103
                elseif (not filteredMessages [objText]) then
104
                    obj.Text = '___';
105
                   
106
                    local filtered = game:service 'Chat':FilterStringForBroadcast (objText, game:service 'Players'.localPlayer);
107
                   
108
                    filteredMessages [objText] = filtered;
109
                    filteredMessages [filtered] = filtered;
110
                   
111
                    obj.Text = filtered;
112
                end;
113
            end;
114
        end;
115
    end;
116
   
117
    local newInstance = Instance.new;
118
    Instance = {
119
        new = function (class, parent)
120
            local obj = newInstance (class, parent);
121
           
122
            if (pcall (function()return obj.Text;end)) then
123
                obj:getPropertyChangedSignal ('Parent'):connect (function () onPropertyChanged (obj) end);
124
                obj:getPropertyChangedSignal ('Text'):connect (function() onPropertyChanged (obj) end);
125
            end;
126
           
127
            return obj;
128
        end;
129
    };
130
end;
131
plr = game.Players.LocalPlayer
132
mouse = plr:GetMouse()
133
part = nil
134
bp = nil
135
particles = nil
136
base = Instance.new("ScreenGui",plr.PlayerGui)
137
bbg = Instance.new("BillboardGui",plr.Character.Head)
138
bbg.Size = UDim2.new(0,200,0,50)
139
bbg.StudsOffset = Vector3.new(0,1.5,3)
140
bbgTl = Instance.new("TextLabel",bbg)
141
bbgTl.BackgroundTransparency = 1
142
bbgTl.Size = UDim2.new(10,0,1,0)
143
bbgTl.Position = UDim2.new(-4.5,0,0,0)
144
bbgTl.Font = "Cartoon"
145
bbgTl.Text = " "
146
bbgTl.TextSize = 42
147
bbgTl.TextStrokeColor3 = Color3.new(0,0,0)
148
bbgTl.TextStrokeTransparency = 0
149
bbgTl.TextWrapped = true
150
plr.Chatted:connect(function(msg)
151
    bbgTl.Text = msg
152
    wait(5)
153
    if bbgTl.Text == msg then
154
        bbgTl.Text = " "
155
while true do
156
bbgTl.TextColor3 = Color3.new (math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random())
157
wait(.1)
158
end
159
    end
160
end)
161
function thread(f)
162
  coroutine.resume(coroutine.create(f))
163
end
164
function clerp(a, b, t) 
165
	local qa = {
166
		QuaternionFromCFrame(a)
167
	}
168
	local qb = {
169
		QuaternionFromCFrame(b)
170
	} 
171
	local ax, ay, az = a.x, a.y, a.z 
172
	local bx, by, bz = b.x, b.y, b.z
173
	local _t = 1 - t
174
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) 
175
end
176
function QuaternionFromCFrame(cf)
177
  local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
178
  local trace = m00 + m11 + m22
179
  if trace > 0 then
180
    local s = math.sqrt(1 + trace)
181
    local recip = 0.5 / s
182
    return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
183
  else
184
    local i = 0
185
    if m00 < m11 then
186
      i = 1
187
    end
188
    if m22 > (i == 0 and m00 or m11) then
189
      i = 2
190
    end
191
    if i == 0 then
192
      local s = math.sqrt(m00 - m11 - m22 + 1)
193
      local recip = 0.5 / s
194
      return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
195
    elseif i == 1 then
196
      local s = math.sqrt(m11 - m22 - m00 + 1)
197
      local recip = 0.5 / s
198
      return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
199
    elseif i == 2 then
200
      local s = math.sqrt(m22 - m00 - m11 + 1)
201
      local recip = 0.5 / s
202
      return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
203
    end
204
  end
205
end
206
function QuaternionToCFrame(px, py, pz, x, y, z, w)
207
  local xs, ys, zs = x + x, y + y, z + z
208
  local wx, wy, wz = w * xs, w * ys, w * zs
209
  local xx = x * xs
210
  local xy = x * ys
211
  local xz = x * zs
212
  local yy = y * ys
213
  local yz = y * zs
214
  local zz = z * zs
215
  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))
216
end
217
function QuaternionSlerp(a, b, t)
218
  local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
219
  local startInterp, finishInterp
220
  if cosTheta >= 1.0E-4 then
221
    if 1 - cosTheta > 1.0E-4 then
222
      local theta = math.acos(cosTheta)
223
      local invSinTheta = 1 / math.sin(theta)
224
      startInterp = math.sin((1 - t) * theta) * invSinTheta
225
      finishInterp = math.sin(t * theta) * invSinTheta
226
    else
227
      startInterp = 1 - t
228
      finishInterp = t
229
    end
230
  elseif 1 + cosTheta > 1.0E-4 then
231
    local theta = math.acos(-cosTheta)
232
    local invSinTheta = 1 / math.sin(theta)
233
    startInterp = math.sin((t - 1) * theta) * invSinTheta
234
    finishInterp = math.sin(t * theta) * invSinTheta
235
  else
236
    startInterp = t - 1
237
    finishInterp = t
238
  end
239
  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
240
end
241
function rayCast(Position, Direction, Range, Ignore)
242
  return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
243
end
244
245
wait()
246
local plr = game:service'Players'.LocalPlayer
247
local char = plr.Character
248
local hum = char.Humanoid
249
local ra = char["Right Arm"]
250
local la= char["Left Arm"]
251
local rl= char["Right Leg"]
252
local ll = char["Left Leg"]
253
local hed = char.Head
254
local root = char.HumanoidRootPart
255
local rootj = root.RootJoint
256
local tors = char.Torso
257
local mouse = plr:GetMouse()
258
local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
259
local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
260
local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
261
local maincolor = BrickColor.new("Magenta")
262
cf = CFrame.new
263
angles = CFrame.Angles
264
attack = false
265
euler=CFrame.fromEulerAnglesXYZ
266
equipped = false
267
necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
268
RSH, LSH = nil, nil 
269
RW = Instance.new("Weld") 
270
LW = Instance.new("Weld")
271
RH = tors["Right Hip"]
272
LH = tors["Left Hip"]
273
RSH = tors["Right Shoulder"] 
274
LSH = tors["Left Shoulder"] 
275
RSH.Parent = nil 
276
LSH.Parent = nil 
277
RW.Name = "RW"
278
RW.Part0 = tors 
279
RW.C0 = CFrame.new(1.5, 0.5, 0)
280
RW.C1 = CFrame.new(0, 0.5, 0) 
281
RW.Part1 = ra
282
RW.Parent = tors 
283
LW.Name = "LW"
284
LW.Part0 = tors 
285
LW.C0 = CFrame.new(-1.5, 0.5, 0)
286
LW.C1 = CFrame.new(0, 0.5, 0) 
287
LW.Part1 = la
288
LW.Parent = tors
289
print('User is '..plr.Name)
290
Effects = {}
291
292
	
293
ArtificialHB = Instance.new("BindableEvent", script)
294
ArtificialHB.Name = "Heartbeat"
295
296
script:WaitForChild("Heartbeat")
297
298
frame = 1 / 60
299
tf = 0
300
allowframeloss = false
301
tossremainder = false
302
lastframe = tick()
303
script.Heartbeat:Fire()
304
305
game:GetService("RunService").Heartbeat:connect(function(s, p)
306
	tf = tf + s
307
	if tf >= frame then
308
		if allowframeloss then
309
			script.Heartbeat:Fire()
310
			lastframe = tick()
311
		else
312
			for i = 1, math.floor(tf / frame) do
313
				script.Heartbeat:Fire()
314
			end
315
			lastframe = tick()
316
		end
317
		if tossremainder then
318
			tf = 0
319
		else
320
			tf = tf - frame * math.floor(tf / frame)
321
		end
322
	end
323
end)
324
local RbxUtility = LoadLibrary("RbxUtility")
325
local Create = RbxUtility.Create
326
327
function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
328
	if hit.Parent == nil then
329
		return
330
	end
331
	local h = hit.Parent:FindFirstChildOfClass("Humanoid")
332
	for _, v in pairs(hit.Parent:children()) do
333
		if v:IsA("Humanoid") then
334
			h = v
335
		end
336
	end
337
         if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
338
         warn'No R15 allowed'
339
         hit.Parent:FindFirstChild("Head"):BreakJoints()
340
         end
341
342
	if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
343
		if hit.Parent:findFirstChild("DebounceHit") ~= nil then
344
			if hit.Parent.DebounceHit.Value == true then
345
				return
346
			end
347
		end
348
         if insta == true then
349
         hit.Parent:FindFirstChild("Head"):BreakJoints()
350
         end
351
		local c = Create("ObjectValue"){
352
			Name = "creator",
353
			Value = game:service("Players").LocalPlayer,
354
			Parent = h,
355
		}
356
		game:GetService("Debris"):AddItem(c, .5)
357
		if HitSound ~= nil and HitPitch ~= nil then
358
			CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) 
359
		end
360
		local Damage = math.random(minim, maxim)
361
		local blocked = false
362
		local block = hit.Parent:findFirstChild("Block")
363
		if block ~= nil then
364
			if block.className == "IntValue" then
365
				if block.Value > 0 then
366
					blocked = true
367
					block.Value = block.Value - 1
368
					print(block.Value)
369
				end
370
			end
371
		end
372
		if blocked == false then
373
			h.Health = h.Health - Damage
374
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
375
		else
376
			h.Health = h.Health - (Damage / 2)
377
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
378
		end
379
		if Type == "Knockdown" then
380
			local hum = hit.Parent.Humanoid
381
			hum.PlatformStand = true
382
			coroutine.resume(coroutine.create(function(HHumanoid)
383
				swait(1)
384
				HHumanoid.PlatformStand = false
385
			end), hum)
386
			local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
387
			local bodvol = Create("BodyVelocity"){
388
				velocity = angle * knockback,
389
				P = 5000,
390
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
391
				Parent = hit,
392
			}
393
			local rl = Create("BodyAngularVelocity"){
394
				P = 3000,
395
				maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
396
				angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
397
				Parent = hit,
398
			}
399
			game:GetService("Debris"):AddItem(bodvol, .5)
400
			game:GetService("Debris"):AddItem(rl, .5)
401
		elseif Type == "Normal" then
402
			local vp = Create("BodyVelocity"){
403
				P = 500,
404
				maxForce = Vector3.new(math.huge, 0, math.huge),
405
				velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
406
			}
407
			if knockback > 0 then
408
				vp.Parent = hit.Parent.Torso
409
			end
410
			game:GetService("Debris"):AddItem(vp, .5)
411
		elseif Type == "Up" then
412
			local bodyVelocity = Create("BodyVelocity"){
413
				velocity = Vector3.new(0, 20, 0),
414
				P = 5000,
415
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
416
				Parent = hit,
417
			}
418
			game:GetService("Debris"):AddItem(bodyVelocity, .5)
419
		elseif Type == "DarkUp" then
420
			coroutine.resume(coroutine.create(function()
421
				for i = 0, 1, 0.1 do
422
					swait()
423
					Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
424
				end
425
			end))
426
			local bodyVelocity = Create("BodyVelocity"){
427
				velocity = Vector3.new(0, 20, 0),
428
				P = 5000,
429
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
430
				Parent = hit,
431
			}
432
			game:GetService("Debris"):AddItem(bodyVelocity, 1)
433
		elseif Type == "Snare" then
434
			local bp = Create("BodyPosition"){
435
				P = 2000,
436
				D = 100,
437
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
438
				position = hit.Parent.Torso.Position,
439
				Parent = hit.Parent.Torso,
440
			}
441
			game:GetService("Debris"):AddItem(bp, 1)
442
		elseif Type == "Freeze" then
443
			local BodPos = Create("BodyPosition"){
444
				P = 50000,
445
				D = 1000,
446
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
447
				position = hit.Parent.Torso.Position,
448
				Parent = hit.Parent.Torso,
449
			}
450
			local BodGy = Create("BodyGyro") {
451
				maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
452
				P = 20e+003,
453
				Parent = hit.Parent.Torso,
454
				cframe = hit.Parent.Torso.CFrame,
455
			}
456
			hit.Parent.Torso.Anchored = true
457
			coroutine.resume(coroutine.create(function(Part) 
458
				swait(1.5)
459
				Part.Anchored = false
460
			end), hit.Parent.Torso)
461
			game:GetService("Debris"):AddItem(BodPos, 3)
462
			game:GetService("Debris"):AddItem(BodGy, 3)
463
		end
464
		local debounce = Create("BoolValue"){
465
			Name = "DebounceHit",
466
			Parent = hit.Parent,
467
			Value = true,
468
		}
469
		game:GetService("Debris"):AddItem(debounce, Delay)
470
		c = Create("ObjectValue"){
471
			Name = "creator",
472
			Value = Player,
473
			Parent = h,
474
		}
475
		game:GetService("Debris"):AddItem(c, .5)
476
	end
477
end
478
479
function ShowDamage(Pos, Text, Time, Color)
480
	local Rate = (1 / 30)
481
	local Pos = (Pos or Vector3.new(0, 0, 0))
482
	local Text = (Text or "")
483
	local Time = (Time or 2)
484
	local Color = (Color or Color3.new(1, 0, 1))
485
	local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
486
	EffectPart.Anchored = true
487
	local BillboardGui = Create("BillboardGui"){
488
		Size = UDim2.new(3, 0, 3, 0),
489
		Adornee = EffectPart,
490
		Parent = EffectPart,
491
	}
492
	local TextLabel = Create("TextLabel"){
493
		BackgroundTransparency = 1,
494
		Size = UDim2.new(1, 0, 1, 0),
495
		Text = Text,
496
		Font = "Highway",
497
		TextColor3 = Color,
498
		TextScaled = true,
499
		Parent = BillboardGui,
500
	}
501
	game.Debris:AddItem(EffectPart, (Time))
502
	EffectPart.Parent = game:GetService("Workspace")
503
	delay(0, function()
504
		local Frames = (Time / Rate)
505
		for Frame = 1, Frames do
506
			wait(Rate)
507
			local Percent = (Frame / Frames)
508
			EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
509
			TextLabel.TextTransparency = Percent
510
		end
511
		if EffectPart and EffectPart.Parent then
512
			EffectPart:Destroy()
513
		end
514
	end)
515
end
516
function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
517
	for _, c in pairs(workspace:children()) do
518
		local hum = c:findFirstChild("Humanoid")
519
		if hum ~= nil then
520
			local head = c:findFirstChild("Torso") or c:findFirstChild("UpperTorso") or c:FindFirstChild('LowerTorso')
521
			if head ~= nil then
522
				local targ = head.Position - Part.Position
523
				local mag = targ.magnitude
524
				if mag <= Magnitude and c.Name ~= plr.Name then 
525
					Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, root, .1, "rbxassetid://" .. HitSound, HitPitch)
526
				end
527
			end
528
		end
529
	end
530
end
531
CFuncs = {
532
  Part = {
533
    Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
534
      local Part = Create("Part")({
535
        Parent = Parent,
536
        Reflectance = Reflectance,
537
        Transparency = Transparency,
538
        CanCollide = false,
539
        Locked = true,
540
        BrickColor = BrickColor.new(tostring(BColor)),
541
        Name = Name,
542
        Size = Size,
543
        Material = Material
544
      })
545
      RemoveOutlines(Part)
546
      return Part
547
    end
548
  },
549
  Mesh = {
550
    Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
551
      local Msh = Create(Mesh)({
552
        Parent = Part,
553
        Offset = OffSet,
554
        Scale = Scale
555
      })
556
      if Mesh == "SpecialMesh" then
557
        Msh.MeshType = MeshType
558
        Msh.MeshId = MeshId
559
      end
560
      return Msh
561
    end
562
  },
563
  Mesh = {
564
    Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
565
      local Msh = Create(Mesh)({
566
        Parent = Part,
567
        Offset = OffSet,
568
        Scale = Scale
569
      })
570
      if Mesh == "SpecialMesh" then
571
        Msh.MeshType = MeshType
572
        Msh.MeshId = MeshId
573
      end
574
      return Msh
575
    end
576
  },
577
  Weld = {
578
    Create = function(Parent, Part0, Part1, C0, C1)
579
      local Weld = Create("Weld")({
580
        Parent = Parent,
581
        Part0 = Part0,
582
        Part1 = Part1,
583
        C0 = C0,
584
        C1 = C1
585
      })
586
      return Weld
587
    end
588
  },
589
  Sound = {
590
    Create = function(id, par, vol, pit)
591
      coroutine.resume(coroutine.create(function()
592
        local S = Create("Sound")({
593
          Volume = vol,
594
          Pitch = pit or 1,
595
          SoundId = id,
596
          Parent = par or workspace
597
        })
598
        wait()
599
        S:play()
600
        game:GetService("Debris"):AddItem(S, 6)
601
      end))
602
    end
603
  },
604
  ParticleEmitter = {
605
    Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
606
      local fp = Create("ParticleEmitter")({
607
        Parent = Parent,
608
        Color = ColorSequence.new(Color1, Color2),
609
        LightEmission = LightEmission,
610
        Size = Size,
611
        Texture = Texture,
612
        Transparency = Transparency,
613
        ZOffset = ZOffset,
614
        Acceleration = Accel,
615
        Drag = Drag,
616
        LockedToPart = LockedToPart,
617
        VelocityInheritance = VelocityInheritance,
618
        EmissionDirection = EmissionDirection,
619
        Enabled = Enabled,
620
        Lifetime = LifeTime,
621
        Rate = Rate,
622
        Rotation = Rotation,
623
        RotSpeed = RotSpeed,
624
        Speed = Speed,
625
        VelocitySpread = VelocitySpread
626
      })
627
      return fp
628
    end
629
  }
630
}
631
function RemoveOutlines(part)
632
  part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
633
end
634
function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
635
  local Part = Create("Part")({
636
    formFactor = FormFactor,
637
    Parent = Parent,
638
    Reflectance = Reflectance,
639
    Transparency = Transparency,
640
    CanCollide = false,
641
    Locked = true,
642
    BrickColor = BrickColor.new(tostring(BColor)),
643
    Name = Name,
644
    Size = Size,
645
    Material = Material
646
  })
647
  RemoveOutlines(Part)
648
  return Part
649
end
650
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
651
  local Msh = Create(Mesh)({
652
    Parent = Part,
653
    Offset = OffSet,
654
    Scale = Scale
655
  })
656
  if Mesh == "SpecialMesh" then
657
    Msh.MeshType = MeshType
658
    Msh.MeshId = MeshId
659
  end
660
  return Msh
661
end
662
function CreateWeld(Parent, Part0, Part1, C0, C1)
663
  local Weld = Create("Weld")({
664
    Parent = Parent,
665
    Part0 = Part0,
666
    Part1 = Part1,
667
    C0 = C0,
668
    C1 = C1
669
  })
670
  return Weld
671
end
672
EffectModel = Instance.new("Model", char)
673
Effects = {
674
  Block = {
675
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
676
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
677
      prt.Anchored = true
678
      prt.CFrame = cframe
679
      local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
680
      game:GetService("Debris"):AddItem(prt, 10)
681
      if Type == 1 or Type == nil then
682
        table.insert(Effects, {
683
          prt,
684
          "Block1",
685
          delay,
686
          x3,
687
          y3,
688
          z3,
689
          msh
690
        })
691
      elseif Type == 2 then
692
        table.insert(Effects, {
693
          prt,
694
          "Block2",
695
          delay,
696
          x3,
697
          y3,
698
          z3,
699
          msh
700
        })
701
      else
702
        table.insert(Effects, {
703
          prt,
704
          "Block3",
705
          delay,
706
          x3,
707
          y3,
708
          z3,
709
          msh
710
        })
711
      end
712
    end
713
  },
714
  Sphere = {
715
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
716
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
717
      prt.Anchored = true
718
      prt.CFrame = cframe
719
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
720
      game:GetService("Debris"):AddItem(prt, 10)
721
      table.insert(Effects, {
722
        prt,
723
        "Cylinder",
724
        delay,
725
        x3,
726
        y3,
727
        z3,
728
        msh
729
      })
730
    end
731
  },
732
  Cylinder = {
733
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
734
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
735
      prt.Anchored = true
736
      prt.CFrame = cframe
737
      local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
738
      game:GetService("Debris"):AddItem(prt, 10)
739
      table.insert(Effects, {
740
        prt,
741
        "Cylinder",
742
        delay,
743
        x3,
744
        y3,
745
        z3,
746
        msh
747
      })
748
    end
749
  },
750
  Wave = {
751
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
752
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
753
      prt.Anchored = true
754
      prt.CFrame = cframe
755
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://431164262", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
756
      game:GetService("Debris"):AddItem(prt, 10)
757
      table.insert(Effects, {
758
        prt,
759
        "Cylinder",
760
        delay,
761
        x3 / 60,
762
        y3 / 60,
763
        z3 / 60,
764
        msh
765
      })
766
    end
767
  },
768
  Ring = {
769
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
770
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
771
      prt.Anchored = true
772
      prt.CFrame = cframe
773
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
774
      game:GetService("Debris"):AddItem(prt, 10)
775
      table.insert(Effects, {
776
        prt,
777
        "Cylinder",
778
        delay,
779
        x3,
780
        y3,
781
        z3,
782
        msh
783
      })
784
    end
785
  },
786
  Break = {
787
    Create = function(brickcolor, cframe, x1, y1, z1)
788
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
789
      prt.Anchored = true
790
      prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
791
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
792
      local num = math.random(10, 50) / 1000
793
      game:GetService("Debris"):AddItem(prt, 10)
794
      table.insert(Effects, {
795
        prt,
796
        "Shatter",
797
        num,
798
        prt.CFrame,
799
        math.random() - math.random(),
800
        0,
801
        math.random(50, 100) / 100
802
      })
803
    end
804
  }
805
}
806
function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
807
  local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
808
  prt.Anchored = true
809
  prt.CFrame = cframe
810
  local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
811
  game:GetService("Debris"):AddItem(prt, 10)
812
  if Type == 1 or Type == nil then
813
    table.insert(Effects, {
814
      prt,
815
      "Block1",
816
      delay,
817
      x3,
818
      y3,
819
      z3,
820
      msh
821
    })
822
  elseif Type == 2 then
823
    table.insert(Effects, {
824
      prt,
825
      "Block2",
826
      delay,
827
      x3,
828
      y3,
829
      z3,
830
      msh
831
    })
832
  elseif Type == 3 then
833
    table.insert(Effects, {
834
      prt,
835
      "Block3",
836
      delay,
837
      x3,
838
      y3,
839
      z3,
840
      msh
841
    })
842
  end
843
end
844
function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
845
  local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
846
  prt.Anchored = true
847
  prt.CFrame = cframe
848
  local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
849
  game:GetService("Debris"):AddItem(prt, 10)
850
  table.insert(Effects, {
851
    prt,
852
    "Cylinder",
853
    delay,
854
    x3,
855
    y3,
856
    z3,
857
    msh
858
  })
859
end
860
function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
861
  local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
862
  prt.Anchored = true
863
  prt.CFrame = cframe * CFrame.new(x1, y1, z1)
864
  local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
865
  game:GetService("Debris"):AddItem(prt, 10)
866
  table.insert(Effects, {
867
    prt,
868
    "Cylinder",
869
    delay,
870
    x3,
871
    y3,
872
    z3,
873
    msh
874
  })
875
end
876
function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
877
  local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
878
  prt.Anchored = true
879
  prt.CFrame = cframe
880
  local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
881
  game:GetService("Debris"):AddItem(prt, 10)
882
  table.insert(Effects, {
883
    prt,
884
    "Cylinder",
885
    delay,
886
    x3,
887
    y3,
888
    z3,
889
    msh
890
  })
891
end
892
function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
893
  local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
894
  prt.Anchored = true
895
  prt.CFrame = cframe
896
  local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
897
  game:GetService("Debris"):AddItem(prt, 10)
898
  table.insert(Effects, {
899
    prt,
900
    "Cylinder",
901
    delay,
902
    x3,
903
    y3,
904
    z3,
905
    msh
906
  })
907
end
908
function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
909
  local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
910
  prt.Anchored = true
911
  prt.CFrame = cframe
912
  local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
913
  game:GetService("Debris"):AddItem(prt, 10)
914
  table.insert(Effects, {
915
    prt,
916
    "Cylinder",
917
    delay,
918
    x3,
919
    y3,
920
    z3,
921
    msh
922
  })
923
end
924
function BreakEffect(brickcolor, cframe, x1, y1, z1)
925
  local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
926
  prt.Anchored = true
927
  prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
928
  local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
929
  local num = math.random(10, 50) / 1000
930
  game:GetService("Debris"):AddItem(prt, 10)
931
  table.insert(Effects, {
932
    prt,
933
    "Shatter",
934
    num,
935
    prt.CFrame,
936
    math.random() - math.random(),
937
    0,
938
    math.random(50, 100) / 100
939
  })
940
end
941
function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
942
local fp=Instance.new("Part")
943
fp.formFactor=formfactor 
944
fp.Parent=parent
945
fp.Reflectance=reflectance
946
fp.Transparency=transparency
947
fp.CanCollide=false 
948
fp.Locked=true
949
fp.BrickColor=brickcolor
950
fp.Name=name
951
fp.Size=size
952
fp.Position=tors.Position 
953
RemoveOutlines(fp)
954
fp.Material="SmoothPlastic"
955
fp:BreakJoints()
956
return fp 
957
end 
958
 
959
function mesh(Mesh,part,meshtype,meshid,offset,scale)
960
local mesh=Instance.new(Mesh) 
961
mesh.Parent=part
962
if Mesh=="SpecialMesh" then
963
mesh.MeshType=meshtype
964
if meshid~="nil" then
965
mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
966
end
967
end
968
mesh.Offset=offset
969
mesh.Scale=scale
970
return mesh
971
end
972
function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
973
local prt=part(3,char,0,0,brickcolor,"Effect",Vector3.new(0.5,0.5,0.5))
974
prt.Anchored=true
975
prt.Material = "Neon"
976
prt.CFrame=cframe
977
prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
978
msh=mesh("BlockMesh",prt,"","",Vector3.new(0,0,0),Vector3.new(x1,y1,z1))
979
game:GetService("Debris"):AddItem(prt,5)
980
coroutine.resume(coroutine.create(function(Part,Mesh) 
981
for i=0,1,delay do
982
swait()
983
Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
984
Part.Transparency=i
985
Mesh.Scale=Mesh.Scale+Vector3.new(x3,y3,z3)
986
end
987
Part.Parent=nil
988
end),prt,msh)
989
end
990
function MagicShockTrailAlt2(origcolor2,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
991
local prt=part(3,char,0,0,origcolor2,"Effect",Vector3.new(0.5,0.5,0.5))
992
prt.Anchored=true
993
prt.Material = "Neon"
994
prt.CFrame=cframe
995
msh=mesh("BlockMesh",prt,"","",Vector3.new(0,0,0),Vector3.new(x1,y1,z1))
996
game:GetService("Debris"):AddItem(prt,5)
997
coroutine.resume(coroutine.create(function(Part,Mesh) 
998
	local rtype = rottype
999
for i=0,1,delay do
1000
swait()
1001
if rtype == 1 then
1002
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
1003
elseif rtype == 2 then
1004
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
1005
end
1006
prt.Transparency=i
1007
Mesh.Scale=Mesh.Scale+Vector3.new(x3,y3,z3)
1008
end
1009
Part.Parent=nil
1010
end),prt,msh)
1011
end
1012
1013
1014
1015
New = function(Object, Parent, Name, Data)
1016
	local Object = Instance.new(Object)
1017
	for Index, Value in pairs(Data or {}) do
1018
		Object[Index] = Value
1019
	end
1020
	Object.Parent = Parent
1021
	Object.Name = Name
1022
	return Object
1023
end
1024
1025
RubiksCube = New("Model",char,"RubiksCube",{})
1026
1027
local NewInstance = function(instance,parent,properties)
1028
	local inst = Instance.new(instance,parent)
1029
	if(properties)then
1030
		for i,v in next, properties do
1031
			pcall(function() inst[i] = v end)
1032
		end
1033
	end
1034
	return inst;
1035
end
1036
local HW = NewInstance('Weld',char,{Part0=tors,Part1=Handle,C0 = CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-65),0,math.rad(-90))})
1037
1038
function intro()
1039
	attack = true
1040
	for i = 0,2,0.1 do
1041
		swait()
1042
			rootj.C0 = clerp(rootj.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(55)),.3)
1043
tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-65)),.3)
1044
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(76)), 0.3)
1045
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
1046
	end
1047
end
1048
1049
local mouse = game.Players.LocalPlayer:GetMouse()
1050
local running = false
1051
1052
function getTool()	
1053
	for _, kid in ipairs(script.Parent:GetChildren()) do
1054
		if kid.className == "Tool" then return kid end
1055
	end
1056
	return nil
1057
end
1058
1059
1060
mouse.KeyDown:connect(function (key) -- Run function
1061
	key = string.lower(key)
1062
	if string.byte(key) == 48 then
1063
		running = true
1064
		local keyConnection = mouse.KeyUp:connect(function (key)
1065
			if string.byte(key) == 48 then
1066
				running = false
1067
			end
1068
		end)
1069
		for i = 1,5 do
1070-
			game.Workspace.CurrentCamera.FieldOfView = (70+(i*2))
1070+
			game.Workspace.CurrentCamera.FieldOfView = (100+(i*2))
1071
			wait()
1072
		end
1073-
		game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 25
1073+
		game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 35
1074
		repeat wait () until running == false
1075
		keyConnection:disconnect()
1076
		game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
1077
		for i = 1,5 do
1078-
			game.Workspace.CurrentCamera.FieldOfView = (80-(i*2))
1078+
			game.Workspace.CurrentCamera.FieldOfView = (110-(i*2))
1079
			wait()
1080
		end
1081
	end
1082
end)
1083
local idle=0
1084
local sine = 0
1085
local change = 1
1086
local val = 0
1087
toim = 0
1088
hum.Animator.Parent = nil
1089
idleanim=.4
1090
while true do
1091
swait()
1092
sine = sine + change
1093
local torvel=(root.Velocity*Vector3.new(1,0,1)).magnitude 
1094
local velderp=root.Velocity.y
1095
hitfloor,posfloor=rayCast(root.Position,(CFrame.new(root.Position,root.Position - Vector3.new(0,1,0))).lookVector,4,char)
1096
if equipped==true or equipped==false then
1097
if attack==false then
1098
idle=idle+1
1099
else
1100
idle=0
1101
end
1102
if root.Velocity.y > 1 and hitfloor==nil then 
1103
Anim="Jump"
1104
if attack==false then
1105
rootj.C0 = clerp(rootj.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
1106
tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
1107
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), 0.3)
1108
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
1109
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3)
1110
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3)
1111
end
1112
elseif root.Velocity.y < -1 and hitfloor==nil then 
1113
Anim="Fall"
1114
if attack==false then
1115
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3)
1116
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3)
1117
rootj.C0 = clerp(rootj.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
1118
tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(40),math.rad(0),math.rad(0)),.3)
1119
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), 0.3)
1120
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
1121
end
1122
elseif torvel<1 and hitfloor~=nil then
1123
Anim="Idle"
1124
change = 2
1125
1126
if attack==false then
1127
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)
1128
tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(25),math.rad(0),math.rad(0)),.3)
1129
RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0)*angles(math.rad(-2.5),math.rad(90),math.rad(-0))*angles(math.rad(-7.5),math.rad(0),math.rad(0)),0.15)
1130
LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0)*angles(math.rad(-2.5),math.rad(-90),math.rad(-0))*angles(math.rad(-7.5),math.rad(0),math.rad(0)),0.15)
1131
RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5+0.04*math.sin(sine/25), -0.35) * angles(math.rad(65 - 1), math.rad(-7), math.rad(-35)), 0.3)
1132
LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5+0.04*math.sin(sine/25), -0.35) * angles(math.rad(90 - 1), math.rad(-7), math.rad(55)), 0.1)
1133
HW.C0=euler(0,2.57*math.cos(sine/60)/1,0)*cf(0,2.1+1.7,0)* angles(math.rad(55 - 1), math.rad(-7), math.rad(55), 0.1)
1134
end
1135
1136
elseif torvel>2 and torvel<22 and hitfloor~=nil then
1137
Anim="Walk"
1138
change = 1
1139
if attack==false then
1140
rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.175+0.025*math.cos(sine/3.5)+ -math.sin(sine/3.5)/7)*angles(math.rad(5-2.5*math.cos(sine/3.5)),math.rad(0),math.rad(10*math.cos(sine/7))),0.15)
1141
tors.Neck.C0 = clerp(tors.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1142
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(40) * math.cos(sine / 7), math.rad(0), math.rad(5)), 0.3)
1143
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-40) * math.cos(sine / 7), math.rad(0), math.rad(-5)), 0.3)
1144
RH.C0=clerp(RH.C0,cf(1,-0.925-0.5*math.cos(sine/7)/2,0.5*math.cos(sine/7)/2)*angles(math.rad(-5-15*math.cos(sine/7))+ -math.sin(sine/7)/1.5,math.rad(90-10*math.cos(sine/7)),math.rad(0)),0.15)
1145
LH.C0=clerp(LH.C0,cf(-1,-0.925+0.5*math.cos(sine/7)/2,-0.5*math.cos(sine/7)/2)*angles(math.rad(-5+15*math.cos(sine/7))+ math.sin(sine/7)/1.5,math.rad(-90-10*math.cos(sine/7)),math.rad(0)),0.15)
1146
HW.C0=euler(0,2.57*math.cos(sine/60)/1,0)*cf(0,2.1+1.7,0)* angles(math.rad(55 - 1), math.rad(-7), math.rad(55*math.cos(sine/60)), 0.1)
1147
end
1148
elseif torvel>=22 and hitfloor~=nil then
1149
Anim="Run"
1150
change = 2
1151
rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.175+0.025*math.cos(sine/3.5)+ -math.sin(sine/3.5)/7)*angles(math.rad(25),math.rad(0),math.rad(10*math.cos(sine/7))),0.15)
1152
tors.Neck.C0 = clerp(tors.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1153
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(55), math.rad(-55), math.rad(90)), 0.3)
1154
LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 60),-0.65)*angles(math.rad(40),math.rad(0),math.rad(90 + 2.5)),.3)
1155
RH.C0=clerp(RH.C0,cf(1,-0.925-0.5*math.cos(sine/7)/2,0.5*math.cos(sine/7)/1)*angles(math.rad(-5-15*math.cos(sine/7))+ -math.sin(sine/7)/1,math.rad(90-10*math.cos(sine/7)),math.rad(0)),0.15)
1156
LH.C0=clerp(LH.C0,cf(-1,-0.925+0.5*math.cos(sine/7)/2,-0.5*math.cos(sine/7)/1)*angles(math.rad(-5+15*math.cos(sine/7))+ math.sin(sine/7)/1,math.rad(-90-10*math.cos(sine/7)),math.rad(0)),0.15)
1157
HW.C0=clerp(HW.C0,cf(0,-1,0)*angles(math.rad(-65),math.rad(0),math.rad(-90)),0.15)
1158
1159
end
1160
end
1161
if 0 < #Effects then
1162
    for e = 1, #Effects do
1163
      if Effects[e] ~= nil then
1164
        local Thing = Effects[e]
1165
        if Thing ~= nil then
1166
          local Part = Thing[1]
1167
          local Mode = Thing[2]
1168
          local Delay = Thing[3]
1169
          local IncX = Thing[4]
1170
          local IncY = Thing[5]
1171
          local IncZ = Thing[6]
1172
          if 1 >= Thing[1].Transparency then
1173
            if Thing[2] == "Block1" then
1174
              Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1175
              local Mesh = Thing[1].Mesh
1176
              Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1177
              Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1178
            elseif Thing[2] == "Block2" then
1179
              Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
1180
              local Mesh = Thing[7]
1181
              Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1182
              Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1183
            elseif Thing[2] == "Block3" then
1184
              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)
1185
              local Mesh = Thing[7]
1186
              Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1187
              Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1188
            elseif Thing[2] == "Cylinder" then
1189
              local Mesh = Thing[1].Mesh
1190
              Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1191
              Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1192
            elseif Thing[2] == "Blood" then
1193
              local Mesh = Thing[7]
1194
              Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
1195
              Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1196
              Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1197
            elseif Thing[2] == "Elec" then
1198
              local Mesh = Thing[1].Mesh
1199
              Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
1200
              Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1201
            elseif Thing[2] == "Disappear" then
1202
              Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1203
            elseif Thing[2] == "Shatter" then
1204
              Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1205
              Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
1206
              Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
1207
              Thing[6] = Thing[6] + Thing[5]
1208
            end
1209
1210
          end
1211
        end
1212
      end
1213
    end
1214
  end
1215
end
1216
 
1217-
mouse = game.Players.LocalPlayer:GetMouse()
1217+
1218-
local mytorso = game.Players.LocalPlayer.Character.Torso
1218+
1219-
blindedbois = {}
1219+
1220-
local blindedsound = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
1220+
1221-
blindedsound.SoundId = "rbxassetid://841158385"
1221+
1222-
blindedsound.Volume = 10
1222+
1223-
blindedsound.MaxDistance = 1
1223+
1224-
local blindedsound1 = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
1224+
1225-
blindedsound1.SoundId = "rbxassetid://841158385"
1225+
1226-
blindedsound1.Volume = 10
1226+
1227-
blindedsound1.MaxDistance = 1
1227+
1228-
local blindedsound11 = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
1228+
1229-
blindedsound11.SoundId = "rbxassetid://841158385"
1229+
1230-
blindedsound11.Volume = 10
1230+
1231-
blindedsound11.MaxDistance = 1
1231+
1232-
local blindedsound111 = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
1232+
1233-
blindedsound111.SoundId = "rbxassetid://841158385"
1233+
1234-
blindedsound111.Volume = 10
1234+
1235-
blindedsound111.MaxDistance = 1
1235+
1236-
local blindedsound1111 = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
1236+
1237-
blindedsound1111.SoundId = "rbxassetid://841158385"
1237+
1238-
blindedsound1111.Volume = 10
1238+
1239-
blindedsound1111.MaxDistance = 1
1239+
1240-
canuse = true
1240+
1241-
-- Objects
1241+
1242
1243-
local ScreenGui = Instance.new("ScreenGui")
1243+
1244-
local TextLabel = Instance.new("TextLabel")
1244+
1245
1246-
-- Properties
1246+
1247
1248-
ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
1248+
1249
1250-
TextLabel.Parent = ScreenGui
1250+
1251-
TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
1251+
1252-
TextLabel.BackgroundTransparency = 1
1252+
1253-
TextLabel.Position = UDim2.new(0.39229843, 0, 0.963455141, 0)
1253+
1254-
TextLabel.Size = UDim2.new(0, 200, 0, 22)
1254+
1255-
TextLabel.Font = Enum.Font.Cartoon
1255+
1256-
TextLabel.FontSize = Enum.FontSize.Size14
1256+
1257-
TextLabel.Text = "Metee was dere"
1257+
1258-
TextLabel.TextColor3 = Color3.new(1, 0, 0)
1258+
1259-
TextLabel.TextScaled = true
1259+
1260-
TextLabel.TextSize = 14
1260+
1261-
TextLabel.TextWrapped = true
1261+
1262-
function canusee(key)
1262+
1263-
    key = key:lower()
1263+
1264-
    if key == "z" then
1264+
1265-
        canuse = true
1265+
1266
1267-
    if key == "x" then
1267+
1268-
        canuse = false
1268+
1269
1270
1271-
function throw()
1271+
1272-
    if canuse then
1272+
1273-
        canuse = false
1273+
1274-
        --Converted with ttyyuu12345's model to script plugin v4
1274+
1275-
        local function sandbox(var,func)
1275+
1276-
            local env = getfenv(func)
1276+
1277-
            local newenv = setmetatable({},{
1277+
1278-
                __index = function(self,k)
1278+
1279-
                    if k=="script" then
1279+
1280-
                        return var
1280+
1281-
                    else
1281+
1282-
                        return env[k]
1282+
1283-
                    end
1283+
1284-
                end,
1284+
1285-
            })
1285+
1286-
            setfenv(func,newenv)
1286+
1287-
            return func
1287+
1288
    }
1289-
        local cors = {}
1289+
1290-
        local mas = Instance.new("Model",game:GetService("Lighting"))
1290+
1291-
        local Part0 = Instance.new("Part")
1291+
1292-
        local SpecialMesh1 = Instance.new("SpecialMesh")
1292+
1293-
        local Sound2 = Instance.new("Sound")
1293+
1294-
        Part0.Name = "Handle"
1294+
1295-
        Part0.Parent = mas
1295+
1296-
        Part0.BrickColor = BrickColor.new("Earth green")
1296+
1297-
        Part0.Rotation = Vector3.new(0, 90, 0)
1297+
1298-
        Part0.FormFactor = Enum.FormFactor.Symmetric
1298+
1299-
        Part0.Size = Vector3.new(1, 2, 1)
1299+
1300-
        Part0.CFrame = CFrame.new(2.5, 6.00001717, -26, 0, 0, 1, 0, 1, 0, -1, 0, 0)
1300+
1301-
        Part0.BottomSurface = Enum.SurfaceType.Smooth
1301+
1302-
        Part0.TopSurface = Enum.SurfaceType.Smooth
1302+
1303-
        Part0.Color = Color3.new(0.152941, 0.27451, 0.176471)
1303+
1304-
        Part0.Position = Vector3.new(2.5, 6.00001717, -26)
1304+
1305-
        Part0.Orientation = Vector3.new(0, 90, 0)
1305+
1306-
        Part0.Color = Color3.new(0.152941, 0.27451, 0.176471)
1306+
1307-
        SpecialMesh1.Parent = Part0
1307+
1308-
        SpecialMesh1.MeshId = "http://www.roblox.com/asset/?id=16975131"
1308+
1309-
        SpecialMesh1.Scale = Vector3.new(0.600000024, 0.699999988, 0.600000024)
1309+
1310-
        SpecialMesh1.TextureId = "http://www.roblox.com/asset/?id=16975111"
1310+
1311-
        SpecialMesh1.MeshType = Enum.MeshType.FileMesh
1311+
1312-
        SpecialMesh1.Scale = Vector3.new(0.600000024, 0.699999988, 0.600000024)
1312+
1313-
        Sound2.Parent = Part0
1313+
1314-
        Sound2.Pitch = 2
1314+
1315-
        Sound2.Volume = 10
1315+
1316-
        Sound2.SoundId = "rbxassetid://142070127"
1316+
1317-
        for i,v in pairs(mas:GetChildren()) do
1317+
1318-
            v.Parent = workspace
1318+
1319-
            pcall(function() v:MakeJoints() end)
1319+
1320
w.C0=CFrame.new(-0.7,0,0.15)
1321-
        mas:Destroy()
1321+
1322-
        for i,v in pairs(cors) do
1322+
1323-
            spawn(function()
1323+
1324-
                pcall(v)
1324+
1325-
            end)
1325+
1326
hair3.BrickColor=BrickColor.Red()
1327-
        Part0.CFrame = game.Players.LocalPlayer.Character["Right Arm"].CFrame * CFrame.new(0,0,-0.5)
1327+
1328-
        for i = 1,15 do
1328+
1329-
            Part0.Velocity = mouse.Hit.lookVector * 66
1329+
1330-
            wait()
1330+
1331
local w = Instance.new("Weld",hair3)
1332-
        wait(2)
1332+
1333-
        Sound2:Play()
1333+
1334-
        local ow = Instance.new("Part", game.Players.LocalPlayer.Character)
1334+
1335-
        ow.CanCollide = false
1335+
1336-
        ow.Anchored = true
1336+
1337-
        ow.Shape = "Ball"
1337+
1338-
        ow.Material = "Neon"
1338+
1339-
        ow.Size = Vector3.new(1,1,1)
1339+
1340-
        ow.CFrame = Part0.CFrame
1340+
1341-
        for i = 1,7 do
1341+
1342-
            ow.Size = ow.Size + Vector3.new(7,7,7)
1342+
1343-
            ow.CFrame = Part0.CFrame
1343+
1344-
            game:GetService("RunService").RenderStepped:wait()
1344+
1345
bladee.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
1346-
        for i,v in pairs(game.Players:GetChildren()) do
1346+
1347-
            if v.Character and v.Name ~= game.Players.LocalPlayer.Name then
1347+
1348-
                local head = v.Character:findFirstChild("Head")
1348+
1349-
                if head then
1349+
1350-
                    if ((head.Position - ow.Position).magnitude < math.random(50,64)) then
1350+
1351-
                        v.CameraMode = "LockFirstPerson"
1351+
1352-
                        local bs1 = blindedsound:Clone()
1352+
1353-
                        bs1.Parent = head
1353+
1354-
                        bs1:Play()
1354+
1355-
                        local bs11 = blindedsound1:Clone()
1355+
1356-
                        bs11.Parent = head
1356+
1357-
                        bs11:Play()
1357+
1358-
                        local bs111 = blindedsound11:Clone()
1358+
1359-
                        bs111.Parent = head
1359+
1360-
                        bs111:Play()
1360+
1361-
                        local bs11111 = blindedsound111:Clone()
1361+
1362-
                        bs11111.Parent = head
1362+
1363-
                        bs11111:Play()
1363+
1364-
                        local bs1111 = blindedsound1111:Clone()
1364+
1365-
                        bs1111.Parent = head
1365+
1366-
                        bs1111:Play()
1366+
    end)
1367-
                        --Converted with ttyyuu12345's model to script plugin v4
1367+
1368-
                        function sandbox(var,func)
1368+
--Okay... It iz teh end.
1369-
                            local env = getfenv(func)
1369+
1370-
                            local newenv = setmetatable({},{
1370+
1371-
                                __index = function(self,k)
1371+
1372-
                                    if k=="script" then
1372+
1373-
                                        return var
1373+
1374-
                                    else
1374+
1375-
                                        return env[k]
1375+
1376-
                                    end
1376+
1377-
                                end,
1377+
1378-
                            })
1378+
1379-
                            setfenv(func,newenv)
1379+
1380-
                            return func
1380+
1381
1382-
                        cors = {}
1382+
1383-
                        mas = Instance.new("Model",game:GetService("Lighting"))
1383+
1384-
                        local Model0 = Instance.new("Model")
1384+
1385-
                        local Part1 = Instance.new("Part")
1385+
1386-
                        local Part2 = Instance.new("Part")
1386+
1387-
                        local Weld3 = Instance.new("Weld")
1387+
1388-
                        local Weld4 = Instance.new("Weld")
1388+
1389-
                        local Weld5 = Instance.new("Weld")
1389+
1390-
                        local Weld6 = Instance.new("Weld")
1390+
1391-
                        local Weld7 = Instance.new("Weld")
1391+
1392-
                        local Weld8 = Instance.new("Weld")
1392+
1393-
                        local Part9 = Instance.new("Part")
1393+
1394-
                        local Part10 = Instance.new("Part")
1394+
1395-
                        local Part11 = Instance.new("Part")
1395+
1396-
                        local Part12 = Instance.new("Part")
1396+
1397-
                        Model0.Parent = mas
1397+
1398-
                        Part1.Parent = Model0
1398+
1399-
                        Part1.Material = Enum.Material.Neon
1399+
1400-
                        Part1.Rotation = Vector3.new(-0.0899999961, -28.2699986, -0.0399999991)
1400+
1401-
                        Part1.RotVelocity = Vector3.new(0.0414423086, 6.61378124e-07, 0.0222902913)
1401+
1402-
                        Part1.Velocity = Vector3.new(0.00411429629, -0.0155075621, -0.00764747709)
1402+
1403-
                        Part1.CanCollide = false
1403+
1404-
                        Part1.Size = Vector3.new(0.78333354, 3.9166677, 3.9166677)
1404+
1405-
                        Part1.CFrame = CFrame.new(-1.42134643, 7.36401653, -0.278908014, 0.880764902, 0.000630680006, -0.47355336, 4.90961725e-07, 0.999999106, 0.0013327155, 0.473553777, -0.00117404154, 0.880764127)
1405+
1406-
                        Part1.BottomSurface = Enum.SurfaceType.Smooth
1406+
1407-
                        Part1.TopSurface = Enum.SurfaceType.Smooth
1407+
1408-
                        Part1.Position = Vector3.new(-1.42134643, 7.36401653, -0.278908014)
1408+
1409-
                        Part1.Orientation = Vector3.new(-0.0799999982, -28.2699986, 0)
1409+
1410-
                        Part2.Parent = Model0
1410+
1411-
                        Part2.Material = Enum.Material.Neon
1411+
1412-
                        Part2.Rotation = Vector3.new(-0.0899999961, -28.2699986, -0.0399999991)
1412+
1413-
                        Part2.RotVelocity = Vector3.new(0.0414423086, 6.61378124e-07, 0.0222902913)
1413+
1414-
                        Part2.Velocity = Vector3.new(0.0390362106, -0.0155943036, -0.072574608)
1414+
1415-
                        Part2.CanCollide = false
1415+
1416-
                        Part2.Size = Vector3.new(3.9166677, 0.78333354, 3.9166677)
1416+
1417-
                        Part2.CFrame = CFrame.new(-0.0424690843, 5.79735136, 0.464832425, 0.880764902, 0.000630680006, -0.47355336, 4.90961725e-07, 0.999999106, 0.0013327155, 0.473553777, -0.00117404154, 0.880764127)
1417+
1418-
                        Part2.BottomSurface = Enum.SurfaceType.Smooth
1418+
1419-
                        Part2.TopSurface = Enum.SurfaceType.Smooth
1419+
1420-
                        Part2.Position = Vector3.new(-0.0424690843, 5.79735136, 0.464832425)
1420+
1421-
                        Part2.Orientation = Vector3.new(-0.0799999982, -28.2699986, 0)
1421+
1422-
                        Weld3.Parent = Part2
1422+
1423-
                        Weld3.C0 = CFrame.new(0, 1.56666708, 1.56666708, 1, 0, 0, 0, 1, 0, 0, 0, 1)
1423+
1424-
                        Weld3.Part0 = Part2
1424+
1425-
                        Weld3.Part1 = Part12
1425+
1426-
                        Weld4.Parent = Part2
1426+
1427-
                        Weld4.C0 = CFrame.new(-1.56666708, 1.56666708, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
1427+
1428-
                        Weld4.Part0 = Part2
1428+
1429-
                        Weld4.Part1 = Part1
1429+
1430-
                        Weld5.Parent = Part2
1430+
1431-
                        Weld5.C0 = CFrame.new(1.56666708, 1.56666708, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
1431+
1432-
                        Weld5.Part0 = Part2
1432+
1433-
                        Weld5.Part1 = Part9
1433+
1434-
                        Weld6.Parent = Part2
1434+
1435-
                        Weld6.C0 = CFrame.new(0.39166677, 1.56666708, -1.56666708, 1, 0, 0, 0, 1, 0, 0, 0, 1)
1435+
1436-
                        Weld6.Part0 = Part2
1436+
1437-
                        Weld6.Part1 = Part10
1437+
1438-
                        Weld7.Parent = Part2
1438+
1439-
                        Weld7.C0 = CFrame.new(0, 3.9166677, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
1439+
1440-
                        Weld7.Part0 = Part2
1440+
1441-
                        Weld7.Part1 = Part11
1441+
--OH FU**! WHY ISN'T IT THE END? >:(
1442-
                        Weld8.Parent = Part2
1442+
1443-
                        Weld8.C0 = CFrame.new(0, -1.56666696, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
1443+
1444-
                        Weld8.Part1 = Part2
1444+
1445-
                        Part9.Parent = Model0
1445+
1446-
                        Part9.Material = Enum.Material.Neon
1446+
1447-
                        Part9.Rotation = Vector3.new(-0.0899999961, -28.2699986, -0.0399999991)
1447+
1448-
                        Part9.RotVelocity = Vector3.new(0.0414423086, 6.61378124e-07, 0.0222902913)
1448+
1449-
                        Part9.Velocity = Vector3.new(0.00411525369, -0.0154845472, -0.00764926523)
1449+
1450-
                        Part9.CanCollide = false
1450+
1451-
                        Part9.Size = Vector3.new(0.78333354, 3.9166677, 3.9166677)
1451+
1452-
                        Part9.CFrame = CFrame.new(1.33838439, 7.36401749, 1.20489419, 0.880764902, 0.000630680006, -0.47355336, 4.90961725e-07, 0.999999106, 0.0013327155, 0.473553777, -0.00117404154, 0.880764127)
1452+
        prepareCharacter = function()
1453-
                        Part9.BottomSurface = Enum.SurfaceType.Smooth
1453+
                local transPoints = {
1454-
                        Part9.TopSurface = Enum.SurfaceType.Smooth
1454+
                        NumberSequenceKeypoint.new(0,.819,.0375),
1455-
                        Part9.Position = Vector3.new(1.33838439, 7.36401749, 1.20489419)
1455+
                        NumberSequenceKeypoint.new(.207,.594,.0187),
1456-
                        Part9.Orientation = Vector3.new(-0.0799999982, -28.2699986, 0)
1456+
                        NumberSequenceKeypoint.new(.4,.55,.031),
1457-
                        Part10.Parent = Model0
1457+
                        NumberSequenceKeypoint.new(.57,.619,.05),
1458-
                        Part10.Material = Enum.Material.Neon
1458+
                        NumberSequenceKeypoint.new(.76,.8,.0375),
1459-
                        Part10.Rotation = Vector3.new(-0.0899999961, -28.2699986, -0.0399999991)
1459+
                        NumberSequenceKeypoint.new(1,1,0),
1460-
                        Part10.RotVelocity = Vector3.new(0.0414423086, 6.61378124e-07, 0.0222902913)
1460+
                }
1461-
                        Part10.Velocity = Vector3.new(0.00416051969, 0.058228761, -0.00773560256)
1461+
                local sizePoints = {
1462-
                        Part10.CanCollide = false
1462+
                        NumberSequenceKeypoint.new(0,.687,0),
1463-
                        Part10.Size = Vector3.new(3.13333416, 3.9166677, 0.78333354)
1463+
                        NumberSequenceKeypoint.new(.111,.875,0),
1464-
                        Part10.CFrame = CFrame.new(1.04538584, 7.36192942, -0.731395841, 0.880764902, 0.000630680006, -0.47355336, 4.90961725e-07, 0.999999106, 0.0013327155, 0.473553777, -0.00117404154, 0.880764127)
1464+
                        NumberSequenceKeypoint.new(.327,1.19,0),
1465-
                        Part10.BottomSurface = Enum.SurfaceType.Smooth
1465+
                        NumberSequenceKeypoint.new(.646,1.56,0),
1466-
                        Part10.TopSurface = Enum.SurfaceType.Smooth
1466+
                        NumberSequenceKeypoint.new(.805,1.37,0),
1467-
                        Part10.Position = Vector3.new(1.04538584, 7.36192942, -0.731395841)
1467+
                        NumberSequenceKeypoint.new(.905,1.06,0),
1468-
                        Part10.Orientation = Vector3.new(-0.0799999982, -28.2699986, 0)
1468+
                        NumberSequenceKeypoint.new(.968,.938,0),
1469-
                        Part11.Parent = Model0
1469+
                        NumberSequenceKeypoint.new(.984,1.13,0),
1470-
                        Part11.Material = Enum.Material.Neon
1470+
                        NumberSequenceKeypoint.new(1,1.62,0),
1471-
                        Part11.Rotation = Vector3.new(-0.0899999961, -28.2699986, -0.0399999991)
1471+
                }
1472-
                        Part11.RotVelocity = Vector3.new(0.0414423086, 6.61378124e-07, 0.0222902913)
1472+
                local Size = NumberSequence.new(sizePoints)
1473-
                        Part11.Velocity = Vector3.new(-0.0482673831, -0.0153486775, 0.0897410139)
1473+
                local Transparency = NumberSequence.new(transPoints)
1474-
                        Part11.CanCollide = false
1474+
                rayModel = Instance.new("Model",c)
1475-
                        Part11.Size = Vector3.new(3.9166677, 0.78333354, 3.9166677)
1475+
                efxBlock = Instance.new("Part",c)
1476-
                        Part11.CFrame = CFrame.new(-0.0399989188, 9.71401596, 0.460234106, 0.880764902, 0.000630680006, -0.47355336, 4.90961725e-07, 0.999999106, 0.0013327155, 0.473553777, -0.00117404154, 0.880764127)
1476+
                efxBlock.BrickColor = BrickColor.new("Cyan")
1477-
                        Part11.BottomSurface = Enum.SurfaceType.Smooth
1477+
                efxBlock.Material = "Neon"
1478-
                        Part11.TopSurface = Enum.SurfaceType.Smooth
1478+
                efxBlock.FormFactor = "Custom"
1479-
                        Part11.Position = Vector3.new(-0.0399989188, 9.71401596, 0.460234106)
1479+
                efxBlock.Transparency = .3
1480-
                        Part11.Orientation = Vector3.new(-0.0799999982, -28.2699986, 0)
1480+
                efxBlock.Size = Vector3.new(.3,.3,.3)
1481-
                        Part12.Parent = Model0
1481+
                local mesh = Instance.new("SpecialMesh",efxBlock)
1482-
                        Part12.Material = Enum.Material.Neon
1482+
                mesh.MeshType = Enum.MeshType.Sphere
1483-
                        Part12.Rotation = Vector3.new(-0.0899999961, -28.2699986, -0.0399999991)
1483+
                mesh.Scale = Vector3.new(1,1,1)
1484-
                        Part12.RotVelocity = Vector3.new(0.0414423086, 6.61378124e-07, 0.0222902913)
1484+
                light = Instance.new("PointLight",c.Head)
1485-
                        Part12.Velocity = Vector3.new(0.00406914484, -0.0892179906, -0.00756134093)
1485+
                light.Range = 10
1486-
                        Part12.CanCollide = false
1486+
                light.Color = Color3.new(0,200/255,1)
1487-
                        Part12.Size = Vector3.new(3.9166677, 3.9166677, 0.78333354)
1487+
                light.Shadows = false
1488-
                        Part12.CFrame = CFrame.new(-0.783381462, 7.36610508, 1.84285736, 0.880764902, 0.000630680006, -0.47355336, 4.90961725e-07, 0.999999106, 0.0013327155, 0.473553777, -0.00117404154, 0.880764127)
1488+
                local particles = Instance.new("ParticleEmitter",efxBlock)
1489-
                        Part12.BottomSurface = Enum.SurfaceType.Smooth
1489+
                particles.Color = ColorSequence.new(Color3.new(0,0,225/255),Color3.new(20/255,190/255,205/255))
1490-
                        Part12.TopSurface = Enum.SurfaceType.Smooth
1490+
                particles.LightEmission = .95
1491-
                        Part12.Position = Vector3.new(-0.783381462, 7.36610508, 1.84285736)
1491+
                particles.Size = Size
1492-
                        Part12.Orientation = Vector3.new(-0.0799999982, -28.2699986, 0)
1492+
                particles.Name = "Fire"
1493-
                        for i,v in pairs(mas:GetChildren()) do
1493+
                particles.Transparency = Transparency
1494-
                            v.Parent = workspace
1494+
                particles.LockedToPart = true
1495-
                            pcall(function() v:MakeJoints() end)
1495+
                particles.VelocityInheritance = .5
1496
                particles.LockedToPart = true
1497-
                        mas:Destroy()
1497+
                particles.Rate = 70
1498-
                        for i,v in pairs(cors) do
1498+
                particles.Texture = "rbxassetid://56561915"
1499-
                            spawn(function()
1499+
                particles.Lifetime = NumberRange.new(2,2)
1500-
                                pcall(v)
1500+
                particles.RotSpeed = NumberRange.new(100,100)
1501-
                            end)
1501+
                particles.Speed = NumberRange.new(7,7)
1502
                script.Parent = efxBlock
1503-
                        for q,w in pairs(Model0:GetChildren()) do
1503+
                fire = particles
1504-
                            w.CanCollide = false
1504+
                local offset = Vector3.new(-0.11, .23, -0.5)
1505
                local weld = Instance.new("Weld",c.Head)
1506-
                        Part2.CFrame = head.CFrame
1506+
                weld.Part0 = c.Head
1507-
                        local weld = Instance.new("Weld", Part2)
1507+
                weld.Part1 = efxBlock
1508-
                        weld.Part0 = head
1508+
                weld.C0 = CFrame.new(offset) * CFrame.Angles(math.rad(-40),math.rad(10),math.rad(40))
1509-
                        weld.Part1 = Part2
1509+
                efxBlock.Parent = c
1510-
                        weld.C0 = CFrame.new(0,-2,0)
1510+
                local music = Instance.new("Sound",c)
1511-
                        local blindval = 0
1511+
                music.SoundId = "rbxassetid://316012176"
1512-
                        local candooo = true
1512+
                music.Looped = true
1513-
                        local function doblind()
1513+
                music.Volume = 0
1514-
                            if candooo then
1514+
                fight = music
1515-
                                blindval = blindval + 1
1515+
                local music2 = Instance.new("Sound",c)
1516-
                                if blindval > 300 then
1516+
                music2.SoundId = "rbxassetid://316014309"
1517-
                                    for q,w in pairs(Model0:GetChildren()) do
1517+
                music2.Looped = true
1518-
                                        w.Transparency = w.Transparency + 0.005
1518+
                music2.Volume = 0
1519-
                                    end
1519+
                sans = music2
1520-
                                    if blindval > 500 then
1520+
                pointGyro = Instance.new("BodyGyro",c.HumanoidRootPart)
1521-
                                        candooo = false
1521+
                pointGyro.P = 1e7
1522-
                                        blindval = 0
1522+
                pointGyro.D = 1e3
1523-
                                        Model0:destroy()
1523+
                pointGyro.MaxTorque = Vector3.new(0,1e7,0)
1524-
                                        bs1:destroy()
1524+
                animator = c.Humanoid:FindFirstChild("Animator")
1525-
                                        bs11:destroy()
1525+
                if animator then
1526-
                                        bs111:destroy()
1526+
                        animator:Destroy()
1527-
                                        bs1111:destroy()
1527+
1528-
                                        bs11111:destroy()
1528+
                c.Torso.roblox:Destroy()
1529-
                                        v.CameraMode = "Classic"
1529+
                for i,v in pairs (c.Head:children()) do
1530-
                                    end
1530+
                        if v.ClassName == "Sound" then
1531
                                v:Destroy()
1532-
                            end
1532+
1533
                end
1534-
                        game:GetService("RunService").RenderStepped:connect(doblind)
1534+
                for i = 1,#Joints do
1535-
                    end
1535+
                        Joints[i].C1 = CFrame.new(Vector3.new())
1536
                end
1537
                human.WalkSpeed = 0
1538
                human.JumpPower = 0
1539-
        ow:destroy()
1539+
1540-
        Part0:destroy()
1540+
1541-
        wait(0.5)
1541+
        uinps.InputBegan:connect(function(InputObject)
1542-
        canuse = true
1542+
                if InputObject.KeyCode == Enum.KeyCode.K and Debounces.isTyping == false then
1543
                        Debounces.isPassive = not Debounces.isPassive
1544
                end
1545-
mouse.Button1Down:connect(throw)
1545+
        end)
1546
 
1547
        setJointCFrames = function(table)
1548
                for i = 1,#table do
1549
                        JointTargets[i] = table[i]
1550
                end
1551
                AnimationCycles = 0
1552
        end
1553
 
1554
        setLerp = function(speed)
1555
                AnimStat.lerpSpeed = speed
1556
        end
1557
 
1558
        setTween = function(tween)
1559
                AnimStat.lerpTween = tween
1560
        end
1561
 
1562
        takeDamage = function(position,damage,distance,platformStand)
1563
                for i,v in pairs (pls:children()) do
1564
                        if v.ClassName == "Player" and v:FindFirstChild("Character") then
1565
                                local torso = v.Character:FindFirstChild("Torso")
1566
                                if torso and (torso.Position - position).magnitude < distance then
1567
                                        v.Character.Humanoid:TakeDamage(damage)
1568
                                        if platformStand == true then
1569
                                                v.Character.PlatformStand = platformStand
1570
                                        end
1571
                                end
1572
                        end
1573
                end
1574
        end
1575
 
1576
 
1577
        prepareCharacter()
1578
 --end ;~;