View difference between Paste ID: rfSAD38q and UTwFD0AL
SHOW: | | - or go back to the newest paste.
1
local char = owner.Character
2
3
local BillboardGui = Instance.new("BillboardGui")
4
local TextLabel = Instance.new("TextLabel")
5
6
local inv = false
7
8
BillboardGui.Name = "tag"
9
BillboardGui.Parent = char.Head
10
BillboardGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
11
BillboardGui.AlwaysOnTop = false
12
BillboardGui.ExtentsOffset = Vector3.new(0, 3, 0)
13
BillboardGui.LightInfluence = 1
14
BillboardGui.Size = UDim2.new(0, 200, 0, 50)
15
 
16
TextLabel.Parent = BillboardGui
17
TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
18
TextLabel.BackgroundTransparency = 1
19
TextLabel.Size = UDim2.new(0, 200, 0, 50)
20
TextLabel.Font = Enum.Font.SourceSans
21
TextLabel.Text = "Insane"
22
TextLabel.TextColor3 = Color3.new(1, 1, 1)
23
TextLabel.TextScaled = true
24
TextLabel.TextSize = 14
25
TextLabel.TextWrapped = true
26
27
-- cool color beam.Color = ColorSequence.new(Color3.fromRGB(99, 242, 255))
28
29
char:FindFirstChild("Animate"):Destroy()
30
31
local hum = char:FindFirstChildOfClass("Humanoid")
32
33
local idleanim = Instance.new("Animation")
34
idleanim.Name = "Roblox Idle Animation"
35
idleanim.AnimationId = "http://www.roblox.com/asset/?id=180435571"
36
local idleanimplay = hum:LoadAnimation(idleanim)
37
idleanimplay:Play()
38
39
40
if not(char:FindFirstChild("Animate") == nil) then
41
char.Animate:Destroy()
42
end
43
44
hum.WalkSpeed = 13
45
46
warn("Script made by Subaru112")
47
warn("Moves in output soon")
48
49
mus = Instance.new("Sound",char)
50
mus:Destroy()
51
52
--This script is made by Subaru112.
53
54
local plr = owner
55
local char = plr.Character
56
local hum = char:FindFirstChildOfClass("Humanoid")
57
local remote = Instance.new("RemoteEvent", char)
58
remote.Name = "ReplicationEvent"
59
local client = NLS([==[
60
	local mouse = game:GetService("Players").LocalPlayer:GetMouse()
61
	local remote = game:GetService("Players").LocalPlayer.Character:WaitForChild("ReplicationEvent")
62
	spawn(function()
63
		while game:GetService("RunService").Heartbeat:Wait() do
64
			remote = game:GetService("Players").LocalPlayer.Character:WaitForChild("ReplicationEvent")
65
		end
66
	end)
67
	game:GetService("UserInputService").InputBegan:Connect(function(input, isTyping)
68
		if isTyping == false and input.UserInputType == Enum.UserInputType.Keyboard then
69
			remote:FireServer(1, input.KeyCode)
70
		end
71
	end)
72
	mouse.Button1Down:Connect(function()
73
		remote:FireServer(2)
74
	end)
75
	remote.OnClientEvent:Connect(function()
76
		game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position, Vector3.new(mouse.Hit.Position.X, game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position.Y, mouse.Hit.Position.Z))
77
	end)
78
]==], char)
79
local RS = char.Torso["Right Shoulder"]
80
local LS = char.Torso["Left Shoulder"]
81
local RH = char.Torso["Right Hip"]
82
local LH = char.Torso["Left Hip"]
83
local rootj = char.HumanoidRootPart.RootJoint
84
local neck = char.Torso.Neck
85
local throwbutton = false
86
local throw = false
87
local normalanim = true
88
local attackd = false
89
local animpose = "Idle"
90
local timepos = nil
91
local sine = 0
92
local RSnor = RS.C0
93
local LSnor = LS.C0
94
local RHnor = RH.C0
95
local LHnor = LH.C0
96
local necknor = neck.C0
97
local rootjnor = rootj.C0
98
local a0 = Instance.new("Attachment",char.Torso)
99
a0.WorldOrientation = Vector3.new(-90, -90, 0)
100
a0.WorldPosition = Vector3.new(-6.389, 5, -23.975)
101
a0.Position = Vector3.new(0, 0, 0.5)
102
a0.Orientation = Vector3.new(-90, -90, 0)
103
a0.WorldAxis = Vector3.new(0, 0, 1)
104
a0.Axis = Vector3.new(0, 0, 1)
105
a0.SecondaryAxis = Vector3.new(1, 0, 0)
106
a0.WorldSecondaryAxis = Vector3.new(1, 0, 0)
107
108
---------------------------------
109
-------------Attacks-------------
110
---------------------------------
111
112
remote.OnServerEvent:Connect(function(Player, number, key)
113
	if number == 1 and plr.Name == Player.Name and attackd == false then
114
if key == Enum.KeyCode.Z then
115
attackd = true
116
local bull5 = Instance.new("Part",workspace)
117
bull5.Name = "Bullet"
118
bull5.BrickColor = BrickColor.new("White")
119
bull5.Size = Vector3.new(2,2,2)
120
bull5.Transparency = 1
121
bull5.CanCollide = false
122
bull5.CFrame = char.Torso.CFrame
123
bull5.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 600
124
            bull5.Touched:Connect(function(hit)
125
                if hit.Parent then
126
                    local character = hit.Parent
127
if not(character == char or hit.Name == "Bullet") then
128
if not(hit.Name == "Base" or hit.Name == "Baseplate") then
129
                    local character = hit.Parent
130
local k = Instance.new("Model",char)
131
for i,hit in pairs(character:GetChildren()) do
132
if hit.ClassName == "MeshPart" or hit.ClassName == "Part" then
133
if hit.Name == "LowerTorso" or hit.Name == "Torso" or hit.Name == "Head" or hit.Name == "UpperTorso" or hit.Name == "Right Arm" or hit.Name == "Left Arm" or hit.Name == "Left Leg" or hit.Name == "Right Leg" or hit.Name == "LeftHand" or hit.Name == "LeftLowerArm" or hit.Name == "LeftUpperArm" or hit.Name == "RightHand" or hit.Name == "RightUpperArm" or hit.Name == "RightLowerArm" or hit.Name == "LeftUpperLeg" or hit.Name == "LeftLowerLeg" or hit.Name == "LeftFoot" or hit.Name == "RightFoot" or hit.Name == "RightUpperLeg" or hit.Name == "RightLowerLeg" then
134
for i,f in pairs(hit:GetChildren()) do
135
f:Destroy()
136
end
137
local bdpos = Instance.new("BodyPosition",hit)
138
bdpos.Position = hit.Position + Vector3.new(math.random(-5,5),math.random(1,5),math.random(-5,5))
139
hit.Parent = k
140
hit.Name = "kill"
141
142
local a1 = Instance.new("Attachment",hit)
143
a1.WorldOrientation = Vector3.new(-0, -30, -90)
144
a1.WorldPosition = Vector3.new(-5.433, 9, -38.616)
145
a1.Position = Vector3.new(0, 0, 0)
146
a1.Orientation = Vector3.new(0, 0, -90)
147
a1.WorldAxis = Vector3.new(0, -1, 0)
148
a1.Axis = Vector3.new(0, -1, 0)
149
a1.SecondaryAxis = Vector3.new(1, 0, 0)
150
a1.WorldSecondaryAxis = Vector3.new(0.866, 0, 0.5)
151
152
local beam = Instance.new("Beam",hit)
153
beam.Attachment0 = a0
154
beam.Attachment1 = a1
155
beam.Segments = 100
156
beam.Width0 = 0.08
157
beam.Width1 = 0.05
158
beam.CurveSize0 = 10
159
beam.CurveSize1 = 10
160
beam.Transparency = NumberSequence.new(0)
161
beam.LightEmission = 1
162
163
hit.Material = "Neon"
164
hit.BrickColor = BrickColor.new("White")
165
hit.Anchored = false
166
hit.CanCollide = true
167
hit:BreakJoints()
168
hit.Transparency = 0
169
end
170
end
171
end
172
wait(0.5)
173
for i = 1,30 do
174
wait(0.001)
175
for i,s in pairs(k:GetChildren()) do
176
s.Transparency = s.Transparency + i/30
177
end
178
end
179
k:Destroy()
180
end
181
                end
182
end
183
            end)
184
attackd = false
185
end
186
187
if key == Enum.KeyCode.B then
188
attackd = true
189
local bull5 = Instance.new("Part",workspace)
190
bull5.Name = "Bullet"
191
bull5.BrickColor = BrickColor.new("White")
192
bull5.Size = Vector3.new(2,2,2)
193
bull5.Transparency = 1
194
bull5.CanCollide = false
195
bull5.CFrame = char.Torso.CFrame
196
bull5.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 600
197
            bull5.Touched:Connect(function(hit)
198
                if hit.Parent then
199
                    local character = hit.Parent
200
if not(character == char or hit.Name == "Bullet") then
201
if not(hit.Name == "Base" or hit.Name == "Baseplate") then
202
if character ~= char then
203
                    local character = hit.Parent
204
local fire = character:FindFirstChild("Head")
205
local hum = character:FindFirstChildOfClass("Humanoid")
206
if hum then
207
if not(hum.Parent == char) then
208
local t = hum.Parent:findFirstChild("Torso")
209
local t2 = hum.Parent:findFirstChild("UpperTorso")
210
if t2 then
211
for i,v in pairs(t2:GetChildren()) do
212
if v.Name == "c" then
213
v:Destroy()
214
end
215
end
216
local c = Instance.new("Part",t2)
217
c.BrickColor = BrickColor.new("Really black")
218
c.Size = Vector3.new(5,2.5,5)
219
c.CFrame = t2.CFrame - Vector3.new(0,4,0)
220
c.Material = "Neon"
221
c.Size = Vector3.new(0.1,2.5,0.1)
222
c.CanCollide = false
223
c.Anchored = true
224
c.Name = "c"
225
t2.Anchored = true
226
for i = 1,10 do
227
wait(0.0001)
228
c.Size = c.Size + Vector3.new(0.5,0,0.5)
229
end
230
wait(0.5)
231
for i = 1,30 do
232
wait(0.00000000001)
233
t2.CFrame = t2.CFrame - Vector3.new(0,0.2,0)
234
end
235
c:Destroy()
236
if hum.Parent then
237
for i,v in pairs(character:GetChildren()) do
238
v:Destroy()
239
end
240
end
241
end
242
if t then
243
for i,v in pairs(t:GetChildren()) do
244
if v.Name == "c" then
245
v:Destroy()
246
end
247
end
248
local c = Instance.new("Part",t)
249
c.BrickColor = BrickColor.new("Really black")
250
c.Size = Vector3.new(5,2.5,5)
251
c.CFrame = t.CFrame - Vector3.new(0,4,0)
252
c.Material = "Neon"
253
c.Size = Vector3.new(0.1,2.5,0.1)
254
c.CanCollide = false
255
c.Anchored = true
256
c.Name = "c"
257
t.Anchored = true
258
for i = 1,10 do
259
wait(0.0001)
260
c.Size = c.Size + Vector3.new(0.5,0,0.5)
261
end
262
wait(0.5)
263
for i = 1,30 do
264
wait(0.00000000001)
265
t.CFrame = t.CFrame - Vector3.new(0,0.2,0)
266
end
267
c:Destroy()
268
if hum.Parent then
269
for i,v in pairs(character:GetChildren()) do
270
v:Destroy()
271
end
272
end
273
end
274
end
275
end
276
end
277
278
end
279
                end
280
end
281
            end)
282
attackd = false
283
end
284
285
if key == Enum.KeyCode.F then
286
attackd = true
287
local bull5 = Instance.new("Part",workspace)
288
bull5.Name = "Bullet"
289
bull5.BrickColor = BrickColor.new("White")
290
bull5.Size = Vector3.new(2,2,2)
291
bull5.Transparency = 1
292
bull5.CanCollide = false
293
bull5.CFrame = char.Torso.CFrame
294
bull5.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 600
295
            bull5.Touched:Connect(function(hit)
296
                if hit.Parent then
297
                    local character = hit.Parent
298
if not(character == char or hit.Name == "Bullet") then
299
if not(hit.Name == "Base" or hit.Name == "Baseplate") then
300
                    local character = hit.Parent
301
local k = Instance.new("Model",char)
302
for i,hit in pairs(character:GetChildren()) do
303
if hit.ClassName == "MeshPart" or hit.ClassName == "Part" then
304
if hit.Name == "LowerTorso" or hit.Name == "Torso" or hit.Name == "Head" or hit.Name == "UpperTorso" or hit.Name == "Right Arm" or hit.Name == "Left Arm" or hit.Name == "Left Leg" or hit.Name == "Right Leg" or hit.Name == "LeftHand" or hit.Name == "LeftLowerArm" or hit.Name == "LeftUpperArm" or hit.Name == "RightHand" or hit.Name == "RightUpperArm" or hit.Name == "RightLowerArm" or hit.Name == "LeftUpperLeg" or hit.Name == "LeftLowerLeg" or hit.Name == "LeftFoot" or hit.Name == "RightFoot" or hit.Name == "RightUpperLeg" or hit.Name == "RightLowerLeg" then
305
for i,f in pairs(hit:GetChildren()) do
306
f:Destroy()
307
end
308
local bdpos = Instance.new("BodyPosition",hit)
309
bdpos.Position = hit.Position + Vector3.new(math.random(-5,5),math.random(1,5),math.random(-5,5))
310
hit.Parent = k
311
hit.Name = "kill"
312
313
local a1 = Instance.new("Attachment",hit)
314
a1.WorldOrientation = Vector3.new(-0, -30, -90)
315
a1.WorldPosition = Vector3.new(-5.433, 9, -38.616)
316
a1.Position = Vector3.new(0, 0, 0)
317
a1.Orientation = Vector3.new(0, 0, -90)
318
a1.WorldAxis = Vector3.new(0, -1, 0)
319
a1.Axis = Vector3.new(0, -1, 0)
320
a1.SecondaryAxis = Vector3.new(1, 0, 0)
321
a1.WorldSecondaryAxis = Vector3.new(0.866, 0, 0.5)
322
323
local beam = Instance.new("Beam",hit)
324
beam.Attachment0 = a0
325
beam.Attachment1 = a1
326
beam.Segments = 100
327
beam.Width0 = 0.08
328
beam.Width1 = 0.05
329
beam.CurveSize0 = 10
330
beam.CurveSize1 = 10
331
beam.Transparency = NumberSequence.new(0.5)
332
beam.LightEmission = 10
333
334
hit.Material = "Neon"
335
hit.BrickColor = BrickColor.new("Really black")
336
hit.Anchored = true
337
hit.CanCollide = false
338
hit:BreakJoints()
339
hit.Transparency = 0
340
end
341
end
342
end
343
wait(0.5)
344
for i = 1,50 do
345
wait(0.001)
346
for i,s in pairs(k:GetChildren()) do
347
s.Transparency = s.Transparency + i/50
348
s.Size = s.Size - Vector3.new(i/50,i/50,i/50)
349
end
350
end
351
k:Destroy()
352
end
353
                end
354
end
355
            end)
356
attackd = false
357
end
358
359
if key == Enum.KeyCode.G then
360
attackd = true
361
local bull5 = Instance.new("Part",workspace)
362
bull5.Name = "Bullet"
363
bull5.BrickColor = BrickColor.new("White")
364
bull5.Size = Vector3.new(2,2,2)
365
bull5.Transparency = 1
366
bull5.CanCollide = false
367
bull5.CFrame = char.Torso.CFrame
368
bull5.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 600
369
            bull5.Touched:Connect(function(hit)
370
                if hit.Parent then
371
                    local character = hit.Parent
372
if not(character == char or hit.Name == "Bullet") then
373
if not(hit.Name == "Base" or hit.Name == "Baseplate") then
374
                    local character = hit.Parent
375
local k = Instance.new("Model",char)
376
for i,hit in pairs(character:GetChildren()) do
377
if hit.ClassName == "MeshPart" or hit.ClassName == "Part" then
378
if hit.Name == "LowerTorso" or hit.Name == "Torso" or hit.Name == "Head" or hit.Name == "UpperTorso" or hit.Name == "Right Arm" or hit.Name == "Left Arm" or hit.Name == "Left Leg" or hit.Name == "Right Leg" or hit.Name == "LeftHand" or hit.Name == "LeftLowerArm" or hit.Name == "LeftUpperArm" or hit.Name == "RightHand" or hit.Name == "RightUpperArm" or hit.Name == "RightLowerArm" or hit.Name == "LeftUpperLeg" or hit.Name == "LeftLowerLeg" or hit.Name == "LeftFoot" or hit.Name == "RightFoot" or hit.Name == "RightUpperLeg" or hit.Name == "RightLowerLeg" then
379
for i,f in pairs(hit:GetChildren()) do
380
f:Destroy()
381
end
382
local bdpos = Instance.new("BodyPosition",hit)
383
bdpos.Position = hit.Position + Vector3.new(math.random(-5,5),math.random(1,5),math.random(-5,5))
384
hit.Parent = k
385
hit.Name = "kill"
386
387
local a1 = Instance.new("Attachment",hit)
388
a1.WorldOrientation = Vector3.new(-0, -30, -90)
389
a1.WorldPosition = Vector3.new(-5.433, 9, -38.616)
390
a1.Position = Vector3.new(0, 0, 0)
391
a1.Orientation = Vector3.new(0, 0, -90)
392
a1.WorldAxis = Vector3.new(0, -1, 0)
393
a1.Axis = Vector3.new(0, -1, 0)
394
a1.SecondaryAxis = Vector3.new(1, 0, 0)
395
a1.WorldSecondaryAxis = Vector3.new(0.866, 0, 0.5)
396
397
local beam = Instance.new("Beam",hit)
398
beam.Attachment0 = a0
399
beam.Attachment1 = a1
400
beam.Segments = 100
401
beam.Width0 = 0.08
402
beam.Width1 = 0.05
403
beam.CurveSize0 = 10
404
beam.CurveSize1 = 10
405
beam.Transparency = NumberSequence.new(0.5)
406
beam.LightEmission = 10
407
beam.Color = ColorSequence.new(Color3.fromRGB(99, 242, 255))
408
409
hit.Material = "Neon"
410
hit.BrickColor = BrickColor.new("Toothpaste")
411
hit.Anchored = true
412
hit.CanCollide = false
413
hit:BreakJoints()
414
hit.Transparency = 0
415
end
416
end
417
end
418
wait(0.5)
419
for i = 1,50 do
420
wait(0.001)
421
for i,s in pairs(k:GetChildren()) do
422
s.Transparency = s.Transparency + i/50
423
s.Size = s.Size + Vector3.new(i/50,i/50,i/50)
424
end
425
end
426
k:Destroy()
427
end
428
                end
429
end
430
            end)
431
attackd = false
432
end
433
434
if key == Enum.KeyCode.X then
435
attackd = true
436
local bull5 = Instance.new("Part",workspace)
437
bull5.Name = "Bullet"
438
bull5.Shape = "Ball"
439
bull5.Anchored = true
440
bull5.BrickColor = BrickColor.new("White")
441
bull5.Size = Vector3.new(1,1,1)
442
bull5.Material = "Neon"
443
bull5.Transparency = 0
444
bull5.CanCollide = false
445
bull5.CFrame = char.Torso.CFrame
446
            bull5.Touched:Connect(function(hit)
447
                if hit.Parent then
448
                    local character = hit.Parent
449
if not(character == char or hit.Name == "Bullet") then
450
if not(hit.Name == "Base" or hit.Name == "Baseplate") then
451
                    local character = hit.Parent
452
local k = Instance.new("Model",char)
453
for i,hit in pairs(character:GetChildren()) do
454
if hit.ClassName == "MeshPart" or hit.ClassName == "Part" then
455
if hit.Name == "LowerTorso" or hit.Name == "Torso" or hit.Name == "Head" or hit.Name == "UpperTorso" or hit.Name == "Right Arm" or hit.Name == "Left Arm" or hit.Name == "Left Leg" or hit.Name == "Right Leg" or hit.Name == "LeftHand" or hit.Name == "LeftLowerArm" or hit.Name == "LeftUpperArm" or hit.Name == "RightHand" or hit.Name == "RightUpperArm" or hit.Name == "RightLowerArm" or hit.Name == "LeftUpperLeg" or hit.Name == "LeftLowerLeg" or hit.Name == "LeftFoot" or hit.Name == "RightFoot" or hit.Name == "RightUpperLeg" or hit.Name == "RightLowerLeg" then
456
for i,f in pairs(hit:GetChildren()) do
457
f:Destroy()
458
end
459
local bdpos = Instance.new("BodyPosition",hit)
460
bdpos.Position = hit.Position + Vector3.new(math.random(-5,5),math.random(1,5),math.random(-5,5))
461
hit.Parent = k
462
hit.Name = "kill"
463
hit.Material = "Neon"
464
hit.BrickColor = BrickColor.new("White")
465
hit.Anchored = false
466
hit.CanCollide = true
467
hit:BreakJoints()
468
hit.Transparency = 0
469
end
470
end
471
end
472
wait(0.5)
473
for i = 1,30 do
474
wait(0.001)
475
for i,s in pairs(k:GetChildren()) do
476
s.Transparency = s.Transparency + i/30
477
end
478
end
479
k:Destroy()
480
end
481
                end
482
end
483
            end)
484
attackd = false
485
for i = 1,30 do
486
wait(0.0001)
487
bull5.Size = bull5.Size + Vector3.new(1,1,1)
488
bull5.Transparency = bull5.Transparency + i/450
489
end
490
bull5:Destroy()
491
end
492
493
494
if key == Enum.KeyCode.V then
495
if inv == true then
496
inv = false
497
hum.WalkSpeed = 0
498
TextLabel.TextTransparency = 0
499
for i = 1,30 do
500
wait(0.001)
501
char.Head.face.Transparency = char.Head.face.Transparency - i/30
502
for i,v in pairs(char:GetChildren()) do
503
if v.ClassName == "Part" then
504
v.Transparency = v.Transparency - i/30
505
end
506
if v.ClassName == "Accessory" then
507
v.Handle.Transparency = v.Handle.Transparency - i/30
508
end
509
end
510
end
511
hum.WalkSpeed = 13
512
end
513
end
514
515
if key == Enum.KeyCode.C then
516
if inv == false then
517
inv = true
518
hum.WalkSpeed = 0
519
TextLabel.TextTransparency = 1
520
for i = 1,30 do
521
wait(0.001)
522
char.Head.face.Transparency = char.Head.face.Transparency + i/30
523
for i,v in pairs(char:GetChildren()) do
524
if v.ClassName == "Part" then
525
v.Transparency = v.Transparency + i/30
526
end
527
if v.ClassName == "Accessory" then
528
v.Handle.Transparency = v.Handle.Transparency + i/30
529
end
530
end
531
end
532
hum.WalkSpeed = 30
533
end
534
end
535
536
end
537
538
end)
539
540
541
---------------------------------
542
-----------Wrapping up-----------
543
---------------------------------
544
545
while game:GetService("RunService").Heartbeat:Wait() do
546
	if normalanim then
547
		sine = sine + 1
548
	end
549
550
    if mus.Parent == char then
551
        mus.SoundId = "rbxassetid://227076986"
552
        timepos = mus.TimePosition
553
mus.Pitch = 1
554
        mus.Volume = 1
555
mus.Playing = true
556
mus.Looped = true
557
    else
558
        mus = Instance.new("Sound", char)
559
        mus.TimePosition = timepos
560
end
561
562
hum.Health = 9999999999999999
563
564
for i,v in pairs(char:GetChildren()) do
565
if v.ClassName == "Part" or v.ClassName == "MeshPart" then
566
v.Anchored = false
567
end
568
end
569
570
local can = math.random(1,100)
571
572
if can == 20 then
573
574
local mesh = Instance.new("BlockMesh",char.Head)
575
local mesh2 = Instance.new("BlockMesh",char.Torso)
576
local mesh3 = Instance.new("BlockMesh",char["Left Arm"])
577
local mesh4 = Instance.new("BlockMesh",char["Right Arm"])
578
local mesh5 = Instance.new("BlockMesh",char["Left Leg"])
579
local mesh6 = Instance.new("BlockMesh",char["Right Leg"])
580
581
for i,v in pairs(char:GetChildren()) do
582
if v.ClassName == "Part" then
583
v.Material = "Neon"
584
end
585
end
586
587
for i = 1,10 do
588
wait(0.0001)
589
local num1 = math.random(-1,1)
590
local num2 = math.random(-1,1)
591
local num3 = math.random(-1,1)
592
593
local num4 = math.random(-1,1)
594
local num5 = math.random(-1,1)
595
local num6 = math.random(-1,1)
596
597
mesh.Offset = mesh.Offset + Vector3.new(num1,num2,num3)
598
mesh2.Offset = mesh2.Offset + Vector3.new(num4,num5,num6)
599
mesh3.Offset = mesh.Offset + Vector3.new(num1,num2,num3)
600
mesh4.Offset = mesh2.Offset + Vector3.new(num4,num5,num6)
601
mesh5.Offset = mesh.Offset + Vector3.new(num1,num2,num3)
602
mesh6.Offset = mesh2.Offset + Vector3.new(num4,num5,num6)
603
end
604
605
for i,v in pairs(char:GetChildren()) do
606
if v.ClassName == "Part" then
607
v.Material = "Plastic"
608
end
609
end
610
611
612
mesh:Destroy()
613
mesh2:Destroy()
614
mesh3:Destroy()
615
mesh4:Destroy()
616
mesh5:Destroy()
617
mesh6:Destroy()
618
end
619
620
if animpose == "Idle" then
621
                remote:FireClient(plr)
622
end
623
624
	if remote.Parent == char then
625
		remote.Name = "ReplicationEvent"
626
	else
627
		remote = Instance.new("RemoteEvent", char)
628
	end
629
	local touchfloor = workspace:FindPartOnRay(Ray.new(char.HumanoidRootPart.CFrame.Position, ((CFrame.new(char.HumanoidRootPart.Position, char.HumanoidRootPart.Position - Vector3.new(0, 1, 0))).LookVector).Unit * 4), char)
630
	if char.HumanoidRootPart.Velocity.Magnitude > 1 and touchfloor then
631
		animpose = "Walking"
632
	elseif char.HumanoidRootPart.Velocity.Y > 0.5 and touchfloor == nil then
633
		animpose = "Jumping"
634
	elseif char.HumanoidRootPart.Velocity.Y < 0.5 and touchfloor == nil then
635
		animpose = "Falling"
636
	else
637
		animpose = "Idle"
638
	end
639
	if animpose == "Idle" and normalanim then
640
                RS.C0 = RS.C0:Lerp(CFrame.new(1, 0.5, -1.1920929e-07, -0.00759610627, -0.086823903, 0.99619472, 0.422306597, 0.902745664, 0.0818994269, -0.906421244, 0.42132172, 0.0298089553), 0.15)
641
                LS.C0 = LS.C0:Lerp(CFrame.new(-1, 0.5, -1.1920929e-07, -0.00759610627, 0.086823903, -0.99619472, -0.422306597, 0.902745605, 0.0818994194, 0.906421185, 0.42132172, 0.0298089534), 0.15)
642
                LH.C0 = LH.C0:Lerp(CFrame.new(-1, -1, 0, 0, 0, -1, -0.342020124, 0.939692616, 0, 0.939692616, 0.342020124, 0), 0.15)
643
                RH.C0 = RH.C0:Lerp(CFrame.new(1, -1, 0, 0, -0.0871555507, 0.99619472, 0.42261827, 0.902859092, 0.0789897591, -0.906307817, 0.421010077, 0.0368335284), 0.15)
644
                rootj.C0 = rootj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0.342020363, 0.939692557, 0, 0.939692557, -0.342020363), 0.15)
645
                neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 1.1920929e-07, -1, 0, 0, 0, 0.342020392, 0.939692616, 0, 0.939692616, -0.342020392), 0.15)
646
647
	elseif animpose == "Walking" and normalanim then
648
                RS.C0 = RS.C0:Lerp(RSnor, 0.15)
649
                LS.C0 = LS.C0:Lerp(LSnor, 0.15)
650
                RH.C0 = RH.C0:Lerp(RHnor, 0.15)
651
                LH.C0 = LH.C0:Lerp(LHnor, 0.15)
652
                rootj.C0 = rootj.C0:Lerp(rootjnor, 0.15)
653
                neck.C0 = neck.C0:Lerp(necknor, 0.15)
654
655
        RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(0, 0, math.sin(sine / 5)), 0.1) - Vector3.new(0, rootj.C0.Position.Y / 20, 0)
656
657
        LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(0, 0, math.sin(sine / 5)), 0.1) - Vector3.new(0, rootj.C0.Position.Y / 20, 0)
658
659
        RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(0, 0, math.sin(sine / 5)), 0.1) - Vector3.new(0, rootj.C0.Position.Y / 20, 0)
660
661
        LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(0, 0, math.sin(sine / 5)), 0.1) - Vector3.new(0, rootj.C0.Position.Y / 20, 0)
662
663
	elseif animpose == "Jumping" and normalanim then
664
        rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.Angles(-0.5, 0, 0), 0.15)
665
        RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.3, 0, 0), 0.14)
666
        LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.3, 0, 0), 0.14)
667
        RH.C0 = RH.C0:Lerp(RHnor, 0.15)
668
        LH.C0 = LH.C0:Lerp(LHnor, 0.15)
669
	elseif animpose == "Falling" and normalanim then
670
        rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.Angles(0.5, 0, 0), 0.15)
671
        RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.6, 0, 0), 0.14)
672
        LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.6, 0, 0), 0.14)
673
        RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(-0.3, 0, 0), 0.10)
674
        LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(-0.3, 0, 0), 0.10)
675
	end
676
for i,v in pairs(char:GetChildren()) do
677
if v.ClassName == "ShirtGraphic" then
678
v:Destroy()
679
end
680
end
681
end