View difference between Paste ID: BAJUVqwg and BnfQcqeR
SHOW: | | - or go back to the newest paste.
1
--[[
2
	
3
	Made by Cronizete
4
	Cronnie#8709
5
	
6
--]]
7
8
plr = game:service'Players'.LocalPlayer
9
char = plr.Character
10
11
local RenderStepped=game:service'RunService'.RenderStepped
12
local oldpos
13
14
local bg = Instance.new("BodyGyro", script)
15
bg.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
16
bg.P = 10000
17
bg.D = 100
18
19
--// Gunbai
20
21
m = Instance.new('Model', char)
22
m.Name = "Gumbai"
23
24
Bar = Instance.new("Part",m)
25
Bar.TopSurface = "Smooth"
26
Bar.BottomSurface = "Smooth"
27
Bar.FormFactor = "Custom"
28
Bar.Size = Vector3.new(1,1,1)
29
Bar.CanCollide = true
30
Bar.BrickColor = BrickColor.new("Really black")
31
BarMesh = Instance.new("SpecialMesh", Bar)
32
BarMesh.MeshType = "Cylinder"
33
BarMesh.Scale = Vector3.new(1, 1, 0.4)
34
BarWeld = Instance.new("Weld",m)
35
BarWeld.Part0 = char.Torso
36
BarWeld.Part1 = Bar
37
BarWeld.C1 = CFrame.new(-3, 0, -0.7)*CFrame.fromEulerAnglesXYZ(0, 0, -1)
38
oldpos = BarWeld.C1
39
40
Bar2 = Instance.new("Part",m)
41
Bar2.TopSurface = "Smooth"
42
Bar2.BottomSurface = "Smooth"
43
Bar2.FormFactor = "Custom"
44
Bar2.Size = Vector3.new(3,1,1)
45
Bar2.CanCollide = true
46
Bar2.BrickColor = BrickColor.new("Institutional white")
47
Bar2Mesh = Instance.new("SpecialMesh", Bar2)
48
Bar2Mesh.MeshType = "Cylinder"
49
Bar2Mesh.Scale = Vector3.new(3, 1, 0.3)
50
Bar2Weld = Instance.new("Weld",m)
51
Bar2Weld.Part0 = Bar
52
Bar2Weld.Part1 = Bar2
53
Bar2Weld.C1 = CFrame.new(2.2, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
54
55
Bar3 = Instance.new("Part",m)
56
Bar3.TopSurface = "Smooth"
57
Bar3.BottomSurface = "Smooth"
58
Bar3.FormFactor = "Custom"
59
Bar3.Size = Vector3.new(1,1,1)
60
Bar3.CanCollide = true
61
Bar3.BrickColor = BrickColor.new("Really black")
62
Bar3Mesh = Instance.new("SpecialMesh", Bar3)
63
Bar3Mesh.MeshType = "Cylinder"
64
Bar3Mesh.Scale = Vector3.new(0.1, 1, 0.4)
65
Bar3Weld = Instance.new("Weld",m)
66
Bar3Weld.Part0 = Bar
67
Bar3Weld.Part1 = Bar3
68
Bar3Weld.C1 = CFrame.new(-2.3, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
69
70
Bar4 = Instance.new("Part",m)
71
Bar4.TopSurface = "Smooth"
72
Bar4.BottomSurface = "Smooth"
73
Bar4.FormFactor = "Custom"
74
Bar4.Size = Vector3.new(0.8,2.8,2.8)
75
Bar4.CanCollide = true
76
Bar4.BrickColor = BrickColor.new("Institutional white")
77
Bar4Mesh = Instance.new("SpecialMesh", Bar4)
78
Bar4Mesh.MeshType = "Cylinder"
79
Bar4Mesh.Scale = Vector3.new(0.2, 1, 3)
80
Bar4Weld = Instance.new("Weld",m)
81
Bar4Weld.Part0 = Bar
82
Bar4Weld.Part1 = Bar4
83
Bar4Weld.C1 = CFrame.new(0.02, 0, -3)*CFrame.fromEulerAnglesXYZ(0, 1.57, 0)
84
85
Bar5 = Instance.new("Part",m)
86
Bar5.TopSurface = "Smooth"
87
Bar5.BottomSurface = "Smooth"
88
Bar5.FormFactor = "Custom"
89
Bar5.Size = Vector3.new(0.8,3,3)
90
Bar5.CanCollide = true
91
Bar5.BrickColor = BrickColor.new("Institutional white")
92
Bar5Mesh = Instance.new("SpecialMesh", Bar5)
93
Bar5Mesh.MeshType = "Cylinder"
94
Bar5Mesh.Scale = Vector3.new(0.2, 1, 3)
95
Bar5Weld = Instance.new("Weld",m)
96
Bar5Weld.Part0 = Bar
97
Bar5Weld.Part1 = Bar5
98
Bar5Weld.C1 = CFrame.new(0.02, 0, -5)*CFrame.fromEulerAnglesXYZ(0, 1.57, 0)
99
100
Bar6 = Instance.new("Part",m)
101
Bar6.TopSurface = "Smooth"
102
Bar6.BottomSurface = "Smooth"
103
Bar6.FormFactor = "Custom"
104
Bar6.Size = Vector3.new(0.7,2.9,2.9)
105
Bar6.CanCollide = true
106
Bar6.BrickColor = BrickColor.new("Really black")
107
Bar6Mesh = Instance.new("SpecialMesh", Bar6)
108
Bar6Mesh.MeshType = "Cylinder"
109
Bar6Mesh.Scale = Vector3.new(0.2, 1, 3)
110
Bar6Weld = Instance.new("Weld",m)
111
Bar6Weld.Part0 = Bar
112
Bar6Weld.Part1 = Bar6
113
Bar6Weld.C1 = CFrame.new(0.02, 0, -3)*CFrame.fromEulerAnglesXYZ(0, 1.57, 0)
114
115
Bar7 = Instance.new("Part",m)
116
Bar7.TopSurface = "Smooth"
117
Bar7.BottomSurface = "Smooth"
118
Bar7.FormFactor = "Custom"
119
Bar7.Size = Vector3.new(0.7,3.1,3.1)
120
Bar7.CanCollide = true
121
Bar7.BrickColor = BrickColor.new("Really black")
122
Bar7Mesh = Instance.new("SpecialMesh", Bar7)
123
Bar7Mesh.MeshType = "Cylinder"
124
Bar7Mesh.Scale = Vector3.new(0.2, 1, 3)
125
Bar7Weld = Instance.new("Weld",m)
126
Bar7Weld.Part0 = Bar
127
Bar7Weld.Part1 = Bar7
128
Bar7Weld.C1 = CFrame.new(0.02, 0, -5)*CFrame.fromEulerAnglesXYZ(0, 1.57, 0)
129
130
Bar8 = Instance.new("Part",m)
131
Bar8.TopSurface = "Smooth"
132
Bar8.BottomSurface = "Smooth"
133
Bar8.FormFactor = "Custom"
134
Bar8.Size = Vector3.new(1,1,1)
135
Bar8.CanCollide = true
136
Bar8.BrickColor = BrickColor.new("Really black")
137
Bar8Mesh = Instance.new("SpecialMesh", Bar8)
138
Bar8Mesh.MeshType = "Cylinder"
139
Bar8Mesh.Scale = Vector3.new(0.1, 1, 0.4)
140
Bar8Weld = Instance.new("Weld",m)
141
Bar8Weld.Part0 = Bar
142
Bar8Weld.Part1 = Bar8
143
Bar8Weld.C1 = CFrame.new(6.7, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
144
145
Bar9 = Instance.new("Part",m)
146
Bar9.TopSurface = "Smooth"
147
Bar9.BottomSurface = "Smooth"
148
Bar9.FormFactor = "Custom"
149
Bar9.Size = Vector3.new(0.9,0.3,0.3)
150
Bar9.CanCollide = true
151
Bar9.BrickColor = BrickColor.new("Bright red")
152
Bar9Mesh = Instance.new("SpecialMesh", Bar9)
153
Bar9Mesh.MeshType = "Cylinder"
154
Bar9Mesh.Scale = Vector3.new(0.2, 1, 3)
155
Bar9Weld = Instance.new("Weld",m)
156
Bar9Weld.Part0 = Bar
157
Bar9Weld.Part1 = Bar9
158
Bar9Weld.C1 = CFrame.new(0.02, 0.5, -5)*CFrame.fromEulerAnglesXYZ(0, 1.57, 0)
159
160
Bar10 = Instance.new("Part",m)
161
Bar10.TopSurface = "Smooth"
162
Bar10.BottomSurface = "Smooth"
163
Bar10.FormFactor = "Custom"
164
Bar10.Size = Vector3.new(0.9,0.3,0.3)
165
Bar10.CanCollide = true
166
Bar10.BrickColor = BrickColor.new("Bright red")
167
Bar10Mesh = Instance.new("SpecialMesh", Bar10)
168
Bar10Mesh.MeshType = "Cylinder"
169
Bar10Mesh.Scale = Vector3.new(0.2, 1, 3)
170
Bar10Weld = Instance.new("Weld",m)
171
Bar10Weld.Part0 = Bar
172
Bar10Weld.Part1 = Bar10
173
Bar10Weld.C1 = CFrame.new(0.02, 0.9, -4.8)*CFrame.fromEulerAnglesXYZ(0, 1.57, 0)
174
175
Bar11 = Instance.new("Part",m)
176
Bar11.TopSurface = "Smooth"
177
Bar11.BottomSurface = "Smooth"
178
Bar11.FormFactor = "Custom"
179
Bar11.Size = Vector3.new(0.9,0.3,0.3)
180
Bar11.CanCollide = true
181
Bar11.BrickColor = BrickColor.new("Bright red")
182
Bar11Mesh = Instance.new("SpecialMesh", Bar11)
183
Bar11Mesh.MeshType = "Cylinder"
184
Bar11Mesh.Scale = Vector3.new(0.2, 1, 3)
185
Bar11Weld = Instance.new("Weld",m)
186
Bar11Weld.Part0 = Bar
187
Bar11Weld.Part1 = Bar11
188
Bar11Weld.C1 = CFrame.new(0.02, 0.9, -5.2)*CFrame.fromEulerAnglesXYZ(0, 1.57, 0)
189
190
Bar12 = Instance.new("Part",m)
191
Bar12.TopSurface = "Smooth"
192
Bar12.BottomSurface = "Smooth"
193
Bar12.FormFactor = "Custom"
194
Bar12.Size = Vector3.new(0.9,0.3,0.3)
195
Bar12.CanCollide = true
196
Bar12.BrickColor = BrickColor.new("Bright red")
197
Bar12Mesh = Instance.new("SpecialMesh", Bar12)
198
Bar12Mesh.MeshType = "Cylinder"
199
Bar12Mesh.Scale = Vector3.new(0.2, 1, 3)
200
Bar12Weld = Instance.new("Weld",m)
201
Bar12Weld.Part0 = Bar
202
Bar12Weld.Part1 = Bar12
203
Bar12Weld.C1 = CFrame.new(0.02, -0.9, -5)*CFrame.fromEulerAnglesXYZ(0, 1.57, 0)
204
205
Bar13 = Instance.new("Part",m)
206
Bar13.TopSurface = "Smooth"
207
Bar13.BottomSurface = "Smooth"
208
Bar13.FormFactor = "Custom"
209
Bar13.Size = Vector3.new(0.9,0.3,0.3)
210
Bar13.CanCollide = true
211
Bar13.BrickColor = BrickColor.new("Bright red")
212
Bar13Mesh = Instance.new("SpecialMesh", Bar13)
213
Bar13Mesh.MeshType = "Cylinder"
214
Bar13Mesh.Scale = Vector3.new(0.2, 1, 3)
215
Bar13Weld = Instance.new("Weld",m)
216
Bar13Weld.Part0 = Bar
217
Bar13Weld.Part1 = Bar13
218
Bar13Weld.C1 = CFrame.new(0.02, -0.5, -4.8)*CFrame.fromEulerAnglesXYZ(0, 1.57, 0)
219
220
Bar14 = Instance.new("Part",m)
221
Bar14.TopSurface = "Smooth"
222
Bar14.BottomSurface = "Smooth"
223
Bar14.FormFactor = "Custom"
224
Bar14.Size = Vector3.new(0.9,0.3,0.3)
225
Bar14.CanCollide = true
226
Bar14.BrickColor = BrickColor.new("Bright red")
227
Bar14Mesh = Instance.new("SpecialMesh", Bar14)
228
Bar14Mesh.MeshType = "Cylinder"
229
Bar14Mesh.Scale = Vector3.new(0.2, 1, 3)
230
Bar14Weld = Instance.new("Weld",m)
231
Bar14Weld.Part0 = Bar
232
Bar14Weld.Part1 = Bar14
233
Bar14Weld.C1 = CFrame.new(0.02, -0.5, -5.2)*CFrame.fromEulerAnglesXYZ(0, 1.57, 0)
234
235
Bar15 = Instance.new("Part",m)
236
Bar15.TopSurface = "Smooth"
237
Bar15.BottomSurface = "Smooth"
238
Bar15.FormFactor = "Custom"
239
Bar15.Size = Vector3.new(1,1,1)
240
Bar15.CanCollide = true
241
Bar15.BrickColor = BrickColor.new("Bright red")
242
Bar15Mesh = Instance.new("SpecialMesh", Bar15)
243
Bar15Mesh.MeshType = "Wedge"
244
Bar15Mesh.Scale = Vector3.new(0.18, 0.2, 0.3)
245
Bar15Weld = Instance.new("Weld",m)
246
Bar15Weld.Part0 = Bar12
247
Bar15Weld.Part1 = Bar15
248
Bar15Weld.C1 = CFrame.new(0, -0.05, 0.2)*CFrame.fromEulerAnglesXYZ(-0.8, 0, 0)
249
250
Bar16 = Instance.new("Part",m)
251
Bar16.TopSurface = "Smooth"
252
Bar16.BottomSurface = "Smooth"
253
Bar16.FormFactor = "Custom"
254
Bar16.Size = Vector3.new(1,1,1)
255
Bar16.CanCollide = true
256
Bar16.BrickColor = BrickColor.new("Bright red")
257
Bar16Mesh = Instance.new("SpecialMesh", Bar16)
258
Bar16Mesh.MeshType = "Wedge"
259
Bar16Mesh.Scale = Vector3.new(0.18, 0.2, 0.3)
260
Bar16Weld = Instance.new("Weld",m)
261
Bar16Weld.Part0 = Bar13
262
Bar16Weld.Part1 = Bar16
263
Bar16Weld.C1 = CFrame.new(0, -0.05, 0.2)*CFrame.fromEulerAnglesXYZ(0.6, 0, 0)
264
265
Bar17 = Instance.new("Part",m)
266
Bar17.TopSurface = "Smooth"
267
Bar17.BottomSurface = "Smooth"
268
Bar17.FormFactor = "Custom"
269
Bar17.Size = Vector3.new(1,1,1)
270
Bar17.CanCollide = true
271
Bar17.BrickColor = BrickColor.new("Bright red")
272
Bar17Mesh = Instance.new("SpecialMesh", Bar17)
273
Bar17Mesh.MeshType = "Wedge"
274
Bar17Mesh.Scale = Vector3.new(0.18, 0.2, 0.3)
275
Bar17Weld = Instance.new("Weld",m)
276
Bar17Weld.Part0 = Bar14
277
Bar17Weld.Part1 = Bar17
278
Bar17Weld.C1 = CFrame.new(0, -0.05, 0.2)*CFrame.fromEulerAnglesXYZ(3.4, 0, 0)
279
280
Bar18 = Instance.new("Part",m)
281
Bar18.TopSurface = "Smooth"
282
Bar18.BottomSurface = "Smooth"
283
Bar18.FormFactor = "Custom"
284
Bar18.Size = Vector3.new(1,1,1)
285
Bar18.CanCollide = true
286
Bar18.BrickColor = BrickColor.new("Bright red")
287
Bar18Mesh = Instance.new("SpecialMesh", Bar18)
288
Bar18Mesh.MeshType = "Wedge"
289
Bar18Mesh.Scale = Vector3.new(0.18, 0.2, 0.3)
290
Bar18Weld = Instance.new("Weld",m)
291
Bar18Weld.Part0 = Bar9
292
Bar18Weld.Part1 = Bar18
293
Bar18Weld.C1 = CFrame.new(0, -0.05, 0.2)*CFrame.fromEulerAnglesXYZ(-0.8, 0, 0)
294
295
Bar19 = Instance.new("Part",m)
296
Bar19.TopSurface = "Smooth"
297
Bar19.BottomSurface = "Smooth"
298
Bar19.FormFactor = "Custom"
299
Bar19.Size = Vector3.new(1,1,1)
300
Bar19.CanCollide = true
301
Bar19.BrickColor = BrickColor.new("Bright red")
302
Bar19Mesh = Instance.new("SpecialMesh", Bar19)
303
Bar19Mesh.MeshType = "Wedge"
304
Bar19Mesh.Scale = Vector3.new(0.18, 0.2, 0.3)
305
Bar19Weld = Instance.new("Weld",m)
306
Bar19Weld.Part0 = Bar10
307
Bar19Weld.Part1 = Bar19
308
Bar19Weld.C1 = CFrame.new(0, -0.05, 0.2)*CFrame.fromEulerAnglesXYZ(0.6, 0, 0)
309
310
Bar20 = Instance.new("Part",m)
311
Bar20.TopSurface = "Smooth"
312
Bar20.BottomSurface = "Smooth"
313
Bar20.FormFactor = "Custom"
314
Bar20.Size = Vector3.new(1,1,1)
315
Bar20.CanCollide = true
316
Bar20.BrickColor = BrickColor.new("Bright red")
317
Bar20Mesh = Instance.new("SpecialMesh", Bar20)
318
Bar20Mesh.MeshType = "Wedge"
319
Bar20Mesh.Scale = Vector3.new(0.18, 0.2, 0.3)
320
Bar20Weld = Instance.new("Weld",m)
321
Bar20Weld.Part0 = Bar11
322
Bar20Weld.Part1 = Bar20
323
Bar20Weld.C1 = CFrame.new(0, -0.05, 0.2)*CFrame.fromEulerAnglesXYZ(3.4, 0, 0)
324
325
for _, a in pairs(m:children()) do
326
	if a:IsA'Weld' then
327
		a.Name = plr.Name.."Weld"
328
	end
329
end
330
331
for _, a in pairs(m:children()) do
332
	if a:IsA'Part' then
333
		a.CanCollide = false
334
	end
335
end
336
337
--// Body Parts
338
339
human = char:FindFirstChildOfClass'Humanoid'
340
torso = char.Torso
341
root = char.HumanoidRootPart
342
lleg = char["Left Leg"]
343
rleg = char["Right Leg"]
344
larm = char["Left Arm"]
345
rarm = char["Right Arm"]
346
head = char.Head
347
ground = ""
348
mouse = plr:GetMouse()
349
parent = script
350
351
ff = Instance.new('ForceField', script)
352
ff.Visible = false
353
354
for _, a in pairs(workspace:children()) do
355
	if a:IsA'Part' then
356
		ground = a
357
	end
358
end
359
360
--// Config
361
362
speed = 4
363
cooldown = true
364
sprint = false
365
fire = false
366
gthr = false
367
out = false
368
block = false
369
370
--// Head
371
372
neck = torso.Neck
373
ncf = neck.C0
374
375
--// torso
376
377
torsojoint = root.RootJoint
378
torsoC0 = torsojoint.C0
379
380
--// Legs
381
382
lhip = torso["Left Hip"]
383
rhip = torso["Right Hip"]
384
lle = lhip.C0
385
rle = rhip.C0
386
387
--// rad,random,sin,cos,and floor
388
389
rad = math.rad
390
random = math.random
391
sin = math.sin
392
cos = math.cos
393
floor = math.floor
394
395
--// Body Color
396
397
bc = char:FindFirstChild('Body Colors')
398
bc.HeadColor = BrickColor.new('Cool yellow')
399
bc.LeftArmColor = BrickColor.new('Cool yellow')
400
bc.RightArmColor = BrickColor.new('Cool yellow')
401
bc.LeftLegColor = BrickColor.new('Cool yellow')
402
bc.RightLegColor = BrickColor.new('Cool yellow')
403
bc.TorsoColor = BrickColor.new('Cool yellow')
404
405
--// Arms
406
407
lshold = torso["Left Shoulder"]
408
rshold = torso["Right Shoulder"]
409
lsho = lshold.C0
410
rsho = rshold.C0
411
412
--// Remove animations
413
414
char.Animate.Parent = nil
415
human.Animator.Parent = nil
416
417
for i,v in pairs(human:GetPlayingAnimationTracks()) do
418
	v:Stop()
419
end
420
421
--// sfx
422
423
s1 = Instance.new('Sound', char['Right Arm'])
424
s1.SoundId = "rbxassetid://385470847"
425
s1.Volume = 4
426
427
s2 = Instance.new('Sound', char.Head)
428
s2.SoundId = "rbxassetid://134269592"
429
s2.Volume = 4
430
431
s3 = Instance.new('Sound', char.Head)
432
s3.SoundId = "rbxassetid://405596045"
433
s3.Volume = 4
434
435
s4 = Instance.new('Sound', char["Right Arm"])
436
s4.Volume = 6
437
s4.SoundId = "rbxassetid://873073853"
438
s4.Looped = false
439
440
s5 = Instance.new('Sound', char["Right Arm"])
441
s5.Volume = 6
442
s5.SoundId = "rbxassetid://898385136"
443
s5.Looped = false
444
445
s6 = Instance.new('Sound', char["Right Arm"])
446
s6.Volume = 8
447
s6.SoundId = "rbxassetid://138210320"
448
s6.Looped = false
449
450
451
452
--// char
453
454
for _, a in pairs(char:children()) do
455
	if a:IsA'Accessory' or a:IsA'CharacterMesh' or a:IsA'Shirt' or a:IsA'Pants' then
456
		a:Destroy()
457
	end
458
end
459
460
Hair = Instance.new("Part")
461
Hair.Parent = char
462
Hair.Name = "Hair"
463
Hair.CanCollide = false
464
Hair.Locked = true
465
Hair.TopSurface = "Smooth"
466
Hair.BottomSurface = "Smooth"
467
Hair.formFactor = "Symmetric"
468
Hair.Material = "Neon"
469
Hair.BrickColor = BrickColor.new("Really black")
470
Hair.CFrame = char.Torso.CFrame
471
Hair.Size = Vector3.new(1, 1, 1)
472
Hair.Transparency = 0
473
474
Mesh = Instance.new("SpecialMesh", Hair)
475
Mesh.Scale = Vector3.new(0.07, 0.07, 0.07)
476
Mesh.MeshType = "FileMesh"
477
Mesh.MeshId = "rbxassetid://522871165"
478
Mesh.TextureId = "rbxassetid://522871173"
479
480
local s = Instance.new('Shirt', char)
481
s.ShirtTemplate = "http://www.roblox.com/asset/?id=179195327"
482
local p = Instance.new('Pants', char)
483
p.PantsTemplate = "http://www.roblox.com/asset/?id=215937603"
484
485
local rad = math.rad
486
487
Weld = Instance.new("Weld", Hair)
488
Weld.Name = plr.Name.."Weld"
489
Weld.Part0 = char.Head
490
Weld.Part1 = Hair
491
Weld.C0 = CFrame.new(0,0.2,0.07) * CFrame.Angles(0,rad(180),0)
492
493
char.Head.face.Texture = ""
494
495
--// functionns
496
497
function scan(p)
498
	for _,v in pairs(p:GetChildren()) do
499
		if v:IsA("Weld") and v.Name ~= plr.Name.."Weld" then
500
			v:Destroy()
501
		elseif v:IsA'BodyVelocity' or v:IsA'BodyGyro' or v:IsA'BodyPosition' then
502
			v:Destroy()
503
		end
504
	scan(v)
505
	end
506
end
507
508
controlled = {
509
	
510
}
511
512
function smooth(a)
513
	a.BottomSurface = 0 
514
	a.TopSurface = 0
515
end
516
517
function control()
518
	if mouse.Target and mouse.Target.Parent then
519
		local targ = mouse.Target
520
		local humtarg = targ.Parent:FindFirstChildOfClass'Humanoid'
521
		table.insert(controlled,targ.Parent.Name)
522
		local p = Instance.new('Part', char)
523
		smooth(p)
524
		p.Anchored = true
525
		p.Size = Vector3.new(0.2,0.2,0.2)
526
		p.CanCollide = false
527
		p.Material = 'Neon'
528
		p.Shape = "Ball"
529
		p.BrickColor = BrickColor.new('Royal purple')
530
		s2:Play()
531
		for i = 1,25 do
532
			wait()
533
			p.Size = p.Size + Vector3.new(2,2,2)
534
			p.Transparency = p.Transparency + 0.04
535
			p.CFrame = char.Torso.CFrame
536
		end
537
	end
538
end
539
540
function kamui()
541
	s2:Play()
542
	local mpos = mouse.Hit
543
	local k = Instance.new('Part', char)
544
	k.Anchored = true
545
	k.CanCollide = false
546
	k.Name = "Kamui"
547
	k.Transparency = 1
548
	k.Position = char.Torso.Position + Vector3.new(0,5,0) +char.Torso.CFrame.lookVector * 8
549
	k.Size = Vector3.new(19, 19, 1)
550
	local k1 = k:Clone()
551
	k1.Parent = char
552
	k1.Position = mpos.p + Vector3.new(0,8,0)
553
	k.Touched:connect(function(hit)
554
		if hit and hit.Parent then
555
			ypcall(function()
556
				hit.CFrame = k1.CFrame
557
				hit.Anchored = false
558
				hit.CanCollide = true
559
			end)
560
		end
561
	end)
562
	local d = Instance.new('Decal', k)
563
	d.Texture = "http://www.roblox.com/asset/?id=21315275"
564
	d.Color3 = Color3.new(0,0,0)
565
	d.Face = "Back"
566
	d.Transparency = 1
567
	local d1 = d:Clone()
568
	d1.Parent = k
569
	d1.Face = "Front"
570
	local d2 = d:Clone()
571
	d2.Parent = k1
572
	d1:Clone().Parent = k1
573
	local pos = k.Position
574
	local pos1 = k1.Position
575
	for i = 1,200 do
576
		wait()
577
		for _, a in pairs(k:children()) do
578
			if a:IsA'Decal' then
579
				a.Transparency = a.Transparency - 0.1
580
			end
581
		end
582
		for _, b in pairs(k1:children()) do
583
			if b:IsA'Decal' then
584
				b.Transparency = b.Transparency - 0.1
585
			end
586
		end
587
		k.CFrame = k.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0.1)
588
		k1.CFrame = k1.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0.1)
589
		k.Position = pos
590
		k1.Position = pos1
591
	end
592
	for i = 1,200 do
593
		wait()
594
		k.CFrame = k.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0.1)
595
		k.Size = k.Size - Vector3.new(0.1,0.1,0.1)
596
		k1.CFrame = k1.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0.1)
597
		k1.Size = k1.Size - Vector3.new(0.1,0.1,0.1)
598
		k1.Position = pos1
599
		k.Position = pos
600
	end
601
	k1:Destroy()
602
	k:Destroy()
603
end
604
605
function debris(a, b, c)
606
	for j = 1, c do
607
        local pr = Instance.new("Part")
608
        pr.Name = ""
609
        pr.Anchored = true
610
        pr.BrickColor = b.BrickColor
611
        pr.CanCollide = true
612
        pr.Material = b.Material
613
        pr.Transparency = b.Transparency
614
        pr.Size = Vector3.new(math.random(16, 24), math.random(12, 16), math.random(16, 24))
615
        pr.CFrame = a * CFrame.Angles(0, math.rad(c * j), 0) * CFrame.new(0, -5, math.random(18, 22)) * CFrame.Angles(math.rad(math.random(-30, -15)), math.rad(math.random(0, 1)), math.rad(math.random(0, 1)))
616
        pr.Parent = workspace
617
        game.Debris:AddItem(pr, 15)
618
    end
619
end
620
621
function hit(b)
622
	for _,v in pairs(workspace:children()) do
623
		if v:IsA('Model') and v.Name ~= plr.Name and v:FindFirstChild("HumanoidRootPart") and v:FindFirstChildOfClass("Humanoid") then
624
			if (v.HumanoidRootPart.Position-char:FindFirstChild('HumanoidRootPart').Position).magnitude <=b then
625
				v:FindFirstChildOfClass'Humanoid':TakeDamage(v:FindFirstChildOfClass'Humanoid'.MaxHealth/2)
626
			end
627
		end
628
	end
629
end
630
631
function smash()
632
	human.WalkSpeed = 0
633
	for i = 0,1,0.1 do
634
		wait()
635
		neck.C0 = neck.C0:lerp(ncf*CFrame.Angles(math.rad(-19.538), 0, 0),i)
636
		rshold.C0 = rshold.C0:lerp(rsho*CFrame.Angles(0, 0, math.rad(154.928)),i)
637
	end
638
	wait(.05)
639
	debris(char:FindFirstChild('HumanoidRootPart').CFrame,ground,30)
640
	s6:Play()
641
	hit(50)
642
	for i = 0,1,0.2 do
643
		wait()
644
		neck.C0 = neck.C0:lerp(ncf*CFrame.Angles(math.rad(23.549), 0, 0),i)
645
		rshold.C0 = rshold.C0:lerp(rsho*CFrame.Angles(0, 0, math.rad(-19.767)),i)
646
	end
647
	wait(.5)
648
	for i = 0,1,0.2 do
649
		wait()
650
		neck.C0 = neck.C0:lerp(ncf,i)
651
		rshold.C0 = rshold.C0:lerp(rsho,i)
652
	end
653
	human.WalkSpeed = 16
654
end
655
656
function stop()
657
	local p = Instance.new('Part', char)
658
	smooth(p)
659
	p.Anchored = true
660
	p.Size = Vector3.new(0.2,0.2,0.2)
661
	p.CanCollide = false
662
	p.Material = 'Neon'
663
	p.Shape = "Ball"
664
	p.BrickColor = BrickColor.new('Royal purple')
665
	p.Touched:connect(function(hit)
666
		if hit.Name ~= "HumanoidRootPart" then
667
			hit.Transparency = 0
668
		end
669
	end)
670
	s2:Play()
671
	for _, a in pairs(game:service'Players':players()) do
672
		for _, b in pairs(a.Character:children()) do
673
			if b:IsA'Part' and b.Name == "Part" and b:FindFirstChildOfClass'BodyVelocity' then
674
				b.Anchored = true
675
				b.Parent = char
676
				b:FindFirstChildOfClass'BodyVelocity':Destroy()
677
				b:FindFirstChildOfClass'BodyGyro':Destroy()
678
				b.Touched:connect(function(hit)
679
					if hit.Parent and hit.Parent:FindFirstChildOfClass'Humanoid' and hit.Parent.Name ~= plr.Name then
680
						local targ = hit.Parent
681
						local humtarg = targ:FindFirstChildOfClass'Humanoid'
682
						humtarg.Parent:BreakJoints()
683
					end
684
				end)
685
				local BodyVel=Instance.new('BodyVelocity',b)
686
				BodyVel.maxForce=Vector3.new(math.huge,math.huge,math.huge)
687
				local BodyGyro=Instance.new('BodyGyro',b)
688
				BodyGyro.maxTorque=Vector3.new(math.huge,math.huge,math.huge)
689
				BodyGyro.P=2e4
690
				coroutine.wrap(function()
691
					RenderStepped:connect(function()
692
						BodyGyro.cframe=CFrame.new(b.Position,mouse.Hit.p)
693
						BodyVel.velocity = b.CFrame.lookVector*50
694
					end)
695
				end)()
696
				b.Anchored = false
697
			end
698
		end
699
	end
700
	for i = 1,25 do
701
		wait()
702
		p.Size = p.Size + Vector3.new(8,8,8)
703
		p.Transparency = p.Transparency + 0.07
704
		p.CFrame = char.Torso.CFrame
705
	end
706
end
707
708
function explo()
709
	for _, a in pairs(game:service'Players':players()) do
710
		for _, b in pairs(a.Character:children()) do
711
			if a.Name ~= plr.Name then
712
				if b:IsA'ForceField' then
713
					b:Destroy()
714
				end
715
			end
716
		end
717
	end
718
	human.WalkSpeed = 0
719
	for i = 0,1,0.02 do
720
		wait()
721
		lshold.C0 = lshold.C0:lerp(lsho*CFrame.Angles(math.rad(0.057), math.rad(-0.745), math.rad(-85.428)),i)
722
		rshold.C0 = rshold.C0:lerp(rsho*CFrame.Angles(math.rad(-0.229), math.rad(-2.063), math.rad(83.881)),i)
723
	end
724
	s1:Play()
725
	for i = 0,1,0.2 do
726
		wait()
727
		lshold.C0 = lshold.C0:lerp(lsho*CFrame.new(-0.217, -0.017, -0.265) * CFrame.Angles(math.rad(5.5), math.rad(-50.306), math.rad(-82.85)),i)
728
		rshold.C0 = rshold.C0:lerp(rsho*CFrame.new(0.206, -0.022, -0.234) * CFrame.Angles(math.rad(6.875), math.rad(48.186), math.rad(80.844)),i)
729
	end
730
	human.WalkSpeed = 16
731
	wait(.1)
732
	local mp = mouse.Hit
733
	local p = Instance.new('Part', char)
734
	p.Anchored = true
735
	p.CanCollide = false
736
	p.BrickColor = BrickColor.new('Really black')
737
	p.Size = Vector3.new(0.2,0.2,0.2)
738
	p.BottomSurface = 0
739
	p.TopSurface = 0
740
	p.Material = 'Neon'
741
	p.Shape = "Ball"
742
	p.Touched:connect(function(hit)
743
		if hit:IsA'Part' then
744
			hit.Anchored = false
745
		end
746
	end)
747
	local Ex = Instance.new("Explosion", char)
748
	Ex.Position = mp.p
749
	Ex.BlastRadius = 19
750
	Ex.Visible = false
751
	Ex.DestroyJointRadiusPercent = .3
752
	for i = 1,25 do
753
		wait()
754
		p.Size = p.Size + Vector3.new(3.5,3.5,3.5)
755
		p.Transparency = p.Transparency + 0.04
756
		p.CFrame = mp
757
	end
758
	p:Destroy()
759
end
760
761
function gout()
762
	human.WalkSpeed = 0
763
	for i = 0,1,0.09 do
764
		wait()
765
		rshold.C0 = rshold.C0:lerp(rsho*CFrame.new(-0.114, 0.584, 0.09) * CFrame.Angles(math.rad(8.422), math.rad(1.662), -math.rad(-169.08)),i)
766
		neck.C0 = neck.C0:lerp(ncf*CFrame.Angles(math.rad(-10.6), math.rad(7.277), math.rad(-34.034)),i)
767
	end
768
	wait(0.5)
769
	s4:Play()
770
	BarWeld.Part0 = char["Right Arm"]
771
	BarWeld.Part1 = Bar
772
	BarWeld.C0 = CFrame.new(0,-0.34,-3) * CFrame.fromEulerAnglesXYZ(rad(75),rad(60),rad(50))
773
	for i = 0,1,0.1 do
774
		wait()
775
		neck.C0 = neck.C0:lerp(ncf,i)
776
		rshold.C0 = rshold.C0:lerp(rsho,i)
777
	end
778
	human.WalkSpeed = 16
779
end
780
781
function around()
782
	for i = 0,1,0.1 do
783
		wait()
784
		rshold.C0 = rshold.C0:lerp(rsho*CFrame.new(0, -0.356, 0.425) * CFrame.Angles(math.rad(-84.225), 0, 0),i)
785
		lshold.C0 = lshold.C0:lerp(lsho*CFrame.new(0, -0.403, 0.234) * CFrame.Angles(math.rad(-78.839), 0, 0),i)
786
	end
787
	bg.Parent = char.Torso
788
	wait(6)
789
	bg.Parent = script
790
end
791
792
function gin()
793
	human.WalkSpeed = 0
794
	for i = 0,1,0.1 do
795
		wait()
796
		rshold.C0 = rshold.C0:lerp(rsho*CFrame.new(-0.114, 0.584, 0.09) * CFrame.Angles(math.rad(8.422), math.rad(1.662), -math.rad(-169.08)),i)
797
		neck.C0 = neck.C0:lerp(ncf*CFrame.Angles(math.rad(-10.6), math.rad(7.277), math.rad(-34.034)),i)
798
	end
799
	wait(0.5)
800
	s5:Play()
801
	BarWeld.Part0 = char.Torso
802
	BarWeld.Part1 = Bar
803
	BarWeld.C0 = CFrame.new(0,0,-0.1)*CFrame.fromEulerAnglesXYZ(0, 0, rad(-1))
804
	for i = 0,1,0.1 do
805
		wait()
806
		neck.C0 = neck.C0:lerp(ncf,i)
807
		rshold.C0 = rshold.C0:lerp(rsho,i)
808
	end
809
	human.WalkSpeed = 16
810
end
811
812
--// keys
813
814
char['Left Leg'].Touched:connect(function(hit)
815
	if hit:IsA'Part' then
816
		ground = hit
817
	end
818
end)
819
820
mouse.Button1Down:connect(function()
821
	gthr = true
822
end)
823
824
mouse.Button1Up:connect(function()
825
	gthr = false
826
end)
827
828
mouse.KeyDown:connect(function(key)
829
	if key == "e" and cooldown then
830
		cooldown = false
831
		cooldown = true
832
	end
833
end)
834
835
mouse.KeyUp:connect(function(key)
836
	if key == "e" and cooldown then
837
		cooldown = false
838
		cooldown = true
839
	end
840
end)
841
842
mouse.KeyDown:connect(function(key)
843
	if key == "q" and cooldown and not out then
844
		human.WalkSpeed = 0
845
		cooldown = false
846
		fire = true
847
		explo()
848
		cooldown = true
849
		fire = false
850
		human.WalkSpeed = 16
851
	elseif key == "q" and cooldown and out then
852
		cooldown = false
853
		fire = true
854
		smash()
855
		cooldown = true
856
		fire = false
857
	elseif key == "z" and cooldown then
858
		cooldown = false
859
		control()
860
		cooldown = true
861
	elseif key == "x" and cooldown then
862
		cooldown = false
863
		s3:Play()
864
		controlled = {}
865
		cooldown = true
866
	elseif key == "t" and cooldown then
867
		cooldown = false
868
		kamui()
869
		cooldown = true
870
	elseif key == "g" then
871
		if out == false and cooldown then
872
			out = true
873
			cooldown = false
874
			fire = true
875
			gout()
876
			fire = false
877
			cooldown = true
878
		elseif out and cooldown then
879
			out = false
880
			cooldown = false
881
			fire = true
882
			gin()
883
			fire = false
884
			cooldown = true
885
		end
886
	end
887
end)
888
889
--// Go through
890
891
game:GetService('RunService').RenderStepped:connect(function()
892
	human = char:FindFirstChildOfClass'Humanoid'
893
	if gthr then
894
		human.MaxHealth = math.huge
895
		human:ChangeState(11)
896
		human.Health = human.MaxHealth
897
		ff.Parent = char
898
		human.Name = math.random(1,50)
899
	elseif not gthr then
900-
		human.MaxHealth = 1000
900+
		human.MaxHealth = 1000000
901
		ff.Parent = script
902
		human.Name = "Humanoid"
903
	end
904
end)
905
906
--// control
907
908
game:GetService('RunService').RenderStepped:connect(function()
909
	bg.cframe = bg.CFrame*CFrame.fromEulerAnglesXYZ(math.rad(0),0.1 , 0 )
910
	if #controlled >= 1 then
911
		for _, a in pairs(controlled) do
912
			if game:service'Players':FindFirstChild(a) then
913
				game:service'Players'[a].Character:FindFirstChildOfClass'Humanoid':MoveTo(mouse.Hit.p)
914
				game:service'Players'[a].Character:FindFirstChildOfClass'Humanoid'.WalkSpeed = 20
915
			end
916
		end
917
	end
918
end)
919
920
--// Animations
921
922
local ang = -5
923
local ang2 = -5
924
local sine = 0
925
local change = 0.5
926
arm = 0
927
928
local t = math.huge
929
930
game:GetService('RunService').RenderStepped:connect(function()
931
932
sine = change+sine
933
ang = ang+0.08
934
ang2 = ang2+0.01
935
rad = math.rad
936
sin = math.sin
937
arm = arm + 0.06
938
939
if fire == false and sprint == false and Vector3.new(torso.Velocity.X,0,torso.Velocity.Z).magnitude > 2 then
940
		lshold.C0 = lshold.C0:lerp(CFrame.new(0,0,0) * lsho * CFrame.Angles(-0.1, 0, sin(arm)/1.5), .1)
941
		rshold.C0 = rshold.C0:lerp(CFrame.new(0,0,0) * rsho * CFrame.Angles(-0.1, 0, sin(arm)/1.5), .1)
942
		neck.C0 = neck.C0:lerp(CFrame	.new(0,0,0) * ncf * CFrame.Angles(0, 0, 0), 0.1)
943
		lhip.C0 = lhip.C0:lerp(CFrame.new(-1,-0.95+0.1*-math.cos(tick()*speed),0.2*math.sin(tick()*4))*CFrame.Angles(math.rad(25*-math.sin(tick()*4)),   rad(-90), rad(0)), 1.5) * CFrame.Angles(-0.1, 0, 0)
944
		rhip.C0 = rhip.C0:lerp(CFrame.new(1,-0.95+0.1*math.cos(tick()*speed),0.2*-math.sin(tick()*4))*CFrame.Angles(math.rad(25*math.sin(tick()*4)), rad(90), rad(0)), 1.5) * CFrame.Angles(-0.1, 0, 0)
945
	elseif fire == false and sprint == false and Vector3.new(torso.Velocity.X,0,torso.Velocity.Z).magnitude < 2 then
946
		lshold.C0 = lshold.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * lsho * CFrame.Angles(-0.1, 0, 0), 0.1)
947
		rshold.C0 = rshold.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * rsho * CFrame.Angles(-0.1, 0, 0), 0.1)
948
		torsojoint.C0 = torsojoint.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * torsoC0 * CFrame.Angles(0, 0, 0), 0.1)
949
		lhip.C0 = lhip.C0:lerp(lle * CFrame.Angles(-0.07, 0, 0), 0.1)
950
		rhip.C0 = rhip.C0:lerp(rle * CFrame.Angles(-0.07, 0, 0), 0.1)
951
	elseif fire == false and sprint and Vector3.new(torso.Velocity.X,0,torso.Velocity.Z).magnitude > 2 then
952
		torsojoint.C0 = torsojoint.C0:lerp(torsoC0*CFrame.new(0, 0, 2.88) * CFrame.Angles(math.rad(9), 0, 0), 0.1)
953
		lhip.C0 = lhip.C0:lerp(lle*CFrame.Angles(math.rad(-5.386), math.rad(-3.667), math.rad(22.861)), 0.1)
954
		rhip.C0 = rhip.C0:lerp(rle*CFrame.Angles(math.rad(-7.047), math.rad(4.813), math.rad(-21.028)), 0.1)
955
		lshold.C0 = lshold.C0:lerp(sho*CFrame.Angles(math.rad(-15), math.rad(-8), math.rad(45)), 0.1)
956
		rshold.C0 = rshold.C0:lerp(rshlo*CFrame.Angles(math.rad(-15), math.rad(-8), math.rad(-45)), 0.1)
957
	elseif fire == false and sprint and Vector3.new(torso.Velocity.X,0,torso.Velocity.Z).magnitude < 2 then
958
		torsojoint.C0 = torsojoint.C0:lerp(torsoC0*CFrame.new(0, 0, 2.88) * CFrame.Angles(math.rad(9), 0, 0), 0.1)
959
		lhip.C0 = lhip.C0:lerp(lle*CFrame.new(-0.557, 0.4, 0) * CFrame.Angles(0, 0, math.rad(-14.439)), 0.1)
960
		rhip.C0 = rhip.C0:lerp(rle*CFrame.new(0.104, 0.064, 0.016) * CFrame.Angles(0, math.rad(-8.537), math.rad(4.756)), 0.1)
961
		lshold.C0 = lshold.C0:lerp(lsho*CFrame.Angles(math.rad(-9.511), 0, 0), 0.1)
962
		rshold.C0 = rshold.C0:lerp(rsho*CFrame.Angles(math.rad(-9.912), 0, 0), 0.1)
963
		neck.C0 = neck.C0:lerp(ncf*CFrame.Angles(math.rad(10.371), math.rad(-0.401), math.rad(0.057)), 0.1)
964
	end
965
end)
966
967
while wait(.05) do
968
	if gthr then
969
		scan(char)
970
	end
971
end