View difference between Paste ID: nuBaMWwg and qef4NnaB
SHOW: | | - or go back to the newest paste.
1
--FRUIT--
2
--Converted with ttyyuu12345's model to script plugin v4
3
function sandbox(var,func)
4
	local env = getfenv(func)
5
	local newenv = setmetatable({},{
6
		__index = function(self,k)
7
			if k=="script" then
8
				return var
9
			else
10
				return env[k]
11
			end
12
		end,
13
	})
14
	setfenv(func,newenv)
15
	return func
16
end
17
cors = {}
18
mas = Instance.new("Model",game:GetService("Lighting"))
19
Tool0 = Instance.new("Tool")
20
Part1 = Instance.new("Part")
21
Decal2 = Instance.new("Decal")
22
Decal3 = Instance.new("Decal")
23
Decal4 = Instance.new("Decal")
24
Decal5 = Instance.new("Decal")
25
Decal6 = Instance.new("Decal")
26
Decal7 = Instance.new("Decal")
27
SpecialMesh8 = Instance.new("SpecialMesh")
28
Sound9 = Instance.new("Sound")
29
LocalScript10 = Instance.new("LocalScript")
30
LocalScript11 = Instance.new("LocalScript")
31
HopperBin12 = Instance.new("HopperBin")
32
LocalScript13 = Instance.new("LocalScript")
33
BlockMesh14 = Instance.new("BlockMesh")
34
Script15 = Instance.new("Script")
35
Script16 = Instance.new("Script")
36
HopperBin17 = Instance.new("HopperBin")
37
LocalScript18 = Instance.new("LocalScript")
38
HopperBin19 = Instance.new("HopperBin")
39
LocalScript20 = Instance.new("LocalScript")
40
BlockMesh21 = Instance.new("BlockMesh")
41
Script22 = Instance.new("Script")
42
Script23 = Instance.new("Script")
43
Script24 = Instance.new("Script")
44
StringValue25 = Instance.new("StringValue")
45
Part26 = Instance.new("Part")
46
SpecialMesh27 = Instance.new("SpecialMesh")
47
Part28 = Instance.new("Part")
48
SpecialMesh29 = Instance.new("SpecialMesh")
49
Part30 = Instance.new("Part")
50
SpecialMesh31 = Instance.new("SpecialMesh")
51
Tool0.Name = "(Click to eat) Gomu Gomu no mi"
52
Tool0.Parent = mas
53
Tool0.Grip = CFrame.new(0, 0, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
54
Tool0.GripForward = Vector3.new(1, -0, -0)
55
Tool0.GripRight = Vector3.new(0, 0, 1)
56
Part1.Name = "Handle"
57
Part1.Parent = Tool0
58
Part1.CFrame = CFrame.new(48.749485, 0.503547013, 19.1430969, -0.999999523, -0.000978620723, 1.05401614e-05, -0.000978537253, 0.999980748, 0.00612961594, -1.66846348e-05, 0.0061296029, -0.999981225)
59
Part1.Orientation = Vector3.new(-0.349999994, 180, -0.0599999987)
60
Part1.Position = Vector3.new(48.749485, 0.503547013, 19.1430969)
61
Part1.Rotation = Vector3.new(-179.649994, 0, 179.940002)
62
Part1.Color = Color3.new(0.972549, 0.85098, 0.427451)
63
Part1.Size = Vector3.new(1, 1, 1)
64
Part1.BottomSurface = Enum.SurfaceType.Smooth
65
Part1.BrickColor = BrickColor.new("Daisy orange")
66
Part1.Material = Enum.Material.SmoothPlastic
67
Part1.TopSurface = Enum.SurfaceType.Smooth
68
Part1.brickColor = BrickColor.new("Daisy orange")
69
Part1.FormFactor = Enum.FormFactor.Symmetric
70
Part1.formFactor = Enum.FormFactor.Symmetric
71
Decal2.Parent = Part1
72
Decal2.Texture = "rbxassetid://114369508"
73
Decal2.Transparency = 0.5
74
Decal3.Parent = Part1
75
Decal3.Texture = "rbxassetid://114369508"
76
Decal3.Transparency = 0.5
77
Decal3.Face = Enum.NormalId.Left
78
Decal4.Parent = Part1
79
Decal4.Texture = "rbxassetid://114369508"
80
Decal4.Transparency = 0.5
81
Decal4.Face = Enum.NormalId.Back
82
Decal5.Parent = Part1
83
Decal5.Texture = "rbxassetid://114369508"
84
Decal5.Transparency = 0.5
85
Decal5.Face = Enum.NormalId.Right
86
Decal6.Parent = Part1
87
Decal6.Texture = "rbxassetid://114369508"
88
Decal6.Transparency = 0.5
89
Decal6.Face = Enum.NormalId.Top
90
Decal7.Parent = Part1
91
Decal7.Texture = "rbxassetid://114369508"
92
Decal7.Transparency = 0.5
93
Decal7.Face = Enum.NormalId.Bottom
94
SpecialMesh8.Parent = Part1
95
SpecialMesh8.Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995)
96
SpecialMesh8.MeshType = Enum.MeshType.Sphere
97
Sound9.Name = "Eat"
98
Sound9.Parent = Part1
99
Sound9.Looped = true
100
Sound9.Pitch = 1.1000000238419
101
Sound9.PlaybackSpeed = 1.1000000238419
102
Sound9.SoundId = "rbxassetid://161190414"
103
LocalScript10.Name = "InstaWeld"
104
LocalScript10.Parent = Tool0
105
table.insert(cors,sandbox(LocalScript10,function()
106
local currentwelds = {}
107
108
function Weld(x,y)
109
	local W = Instance.new("Weld")
110
	W.Part0 = x
111
	W.Part1 = y
112
	local CJ = CFrame.new(x.Position)
113
	local C0 = x.CFrame:inverse()*CJ
114
	local C1 = y.CFrame:inverse()*CJ
115
	W.C0 = C0
116
	W.C1 = C1
117
	W.Parent = x
118
	currentwelds[#currentwelds+1] = W
119
end
120
121
function Get(A)
122
	if A:IsA("BasePart") then
123
		Weld(script.Parent.Handle, A)
124
		A.Anchored = false
125
	else
126
		local C = A:GetChildren()
127
		for i=1, #C do
128
		Get(C[i])
129
		end
130
	end
131
end
132
133
function Finale()
134
	currentwelds = {}
135
	Get(script.Parent)
136
	coroutine.resume(coroutine.create(function()
137
		wait(0.1)
138
		local toolparts = script.Parent:GetChildren()
139
		for h = 1, #toolparts do
140
			local c = toolparts[h]:GetChildren()
141
			for j = 1, #c do
142
				if c[j]:IsA("Weld") then
143
					local stop = false
144
					for k = 1, #currentwelds do
145
						if c[j] == currentwelds[k] then
146
							stop = true
147
						end
148
					end
149
					if not stop then
150
						c[j]:Destroy()
151
					end
152
				end
153
			end
154
		end
155
	end))
156
end
157
158
script.Parent.Equipped:connect(Finale)
159
script.Parent.Unequipped:connect(Finale)
160
Finale()
161
end))
162
LocalScript11.Name = "EatScript"
163
LocalScript11.Parent = Tool0
164
table.insert(cors,sandbox(LocalScript11,function()
165
wait()
166
167
local tool = script.Parent
168
local player = owner
169
170
defaultholdingpos = tool.GripPos
171
eaten = false
172
equipped = false
173
cancelled = false
174
tool.Equipped:connect(function()
175
	equipped = true
176
	script.Parent.Activated:connect(function()
177
		if not eaten then
178
			cancelled = false
179
			tool.GripPos = Vector3.new(0.8, -0.5, 1.5)
180
			tool.Handle.Eat:Play()
181
			wait(1.4)
182
			tool.Handle.Eat:Stop()
183
			if equipped and not cancelled then
184
				local currentsavedgear = player:FindFirstChild("StarterGear"):GetChildren()
185
				local hasdf = false
186
				if #currentsavedgear > 0 then
187
					for i = 1, #currentsavedgear do
188
						if currentsavedgear[i]:FindFirstChild("DevilFruitAbility") then
189
							currentsavedgear[i]:Destroy()
190
							hasdf = true
191
						end
192
					end
193
				end
194
				if not hasdf then
195
					local dftools = script:GetChildren()
196
					for i = 1, #dftools do
197
						local df_tag = Instance.new("StringValue")
198
						df_tag.Name = "DevilFruitAbility"
199
						df_tag.Value = tool.DevilFruitType.Value
200
						df_tag.Parent = dftools[i]
201
						dftools[i]:clone().Parent = player:FindFirstChild("Backpack")
202
						dftools[i]:clone().Parent = player:FindFirstChild("StarterGear")
203
					end
204
					tool:Destroy()
205
				elseif hasdf then
206
					if player.Character then
207
						if player.Character:FindFirstChild("Humanoid") then
208
							player.Character:BreakJoints()
209
							player.Character:FindFirstChild("Humanoid").Health = 0
210
						end
211
					end
212
					tool:Destroy()
213
				end
214
			end
215
		end
216
	end)
217
end)
218
219
tool.Unequipped:connect(function()
220
	tool.Handle.Eat:Stop()
221
	cancelled = true
222
	equipped = false
223
	if not eaten then
224
		tool.GripPos = defaultholdingpos
225
	end
226
end)
227
end))
228
HopperBin12.Name = "Pistol"
229
HopperBin12.Parent = LocalScript11
230
LocalScript13.Name = "Normal"
231
LocalScript13.Parent = HopperBin12
232
table.insert(cors,sandbox(LocalScript13,function()
233
COOLDOWN = 1
234
235
MAX_VELOCITY = 475
236
MIN_VELOCITY = 400
237
238
AUTOFIRE = false
239
240
SPREAD = 2
241
ORIGIN_SPREAD = 0
242
LOCK_FORWARD = false
243
244
ANTI_GRAVITY = 1
245
246
FIRE_SOUND = "http://www.roblox.com/asset/?id=93011731"
247
248
DESPAWN_TIME = 1
249
250
251
wait(1)
252
------------------------------
253
missile = Instance.new("Part")
254
missile.Name = "Gomu"
255
missile.Transparency = 0
256
missile.Reflectance = 0
257
missile.CanCollide = false
258
missile.Shape = "Block"
259
missile.FormFactor = "Custom"
260
missile.Size = Vector3.new(2, 2, 2)
261
missile.Elasticity = 0
262
missile.TopSurface = 0
263
missile.BottomSurface = 0
264
265
while script:FindFirstChild("Mesh") == nil do wait() end
266
script.Mesh:clone().Parent = missile
267
268
force = Instance.new("BodyForce")
269
force.force = Vector3.new(0,missile:GetMass() * 196.2 * ANTI_GRAVITY)
270
force.Parent = missile
271
272
scriptName = "ArrowScript"
273
while script:FindFirstChild(scriptName) == nil do wait() end
274
script:FindFirstChild(scriptName):clone().Parent = missile
275
276
------------------------------
277
278
wait()
279
Tool = script.Parent
280
player = owner
281
while player.Character == nil do wait() end
282
char = player.Character
283
284
function hidePart(part)
285
	if part:FindFirstChild("AttackHide") == nil then
286
		local hide = Instance.new("SpecialMesh")
287
		hide.Name = "AttackHide"
288
		hide.MeshType = "FileMesh"
289
		hide.Scale = Vector3.new(0, 0, 0)
290
		hide.Parent = part
291
		game.Debris:AddItem(hide, DESPAWN_TIME/2)
292
	end
293
end
294
295
shooting = false
296
function fire(v)
297
	if choosehand == 1 then
298
		choosehand = 2
299
		arm = char:FindFirstChild("Right Arm")
300
	else
301
		choosehand = 1
302
		arm = char:FindFirstChild("Left Arm")
303
	end
304
	if arm == nil then return end
305
	hidePart(arm)
306
307
	if not LOCK_FORWARD then
308
		v_spreadx = math.random(-SPREAD, SPREAD)
309
		v_spready = math.random(-SPREAD, SPREAD)
310
		v_spreadz = math.random(-SPREAD, SPREAD)
311
		v = v + Vector3.new(v_spreadx, v_spready, v_spreadz)
312
		v = (v - arm.Position).unit
313
	else
314
		v = char:FindFirstChild("Torso").CFrame.lookVector
315
	end	
316
317
	o_spreadx = math.random(-ORIGIN_SPREAD, ORIGIN_SPREAD)
318
	o_spready = math.random(-ORIGIN_SPREAD, ORIGIN_SPREAD)
319
	o_spreadz = math.random(-ORIGIN_SPREAD, ORIGIN_SPREAD)
320
	local spawnPos = arm.Position + Vector3.new(o_spreadx, o_spready, o_spreadz)
321
	spawnPos  = spawnPos + (v * 1)
322
323
	shot = missile:clone()
324
	shot.BrickColor = arm.BrickColor
325
	shot.Velocity = v * math.random(MIN_VELOCITY, MAX_VELOCITY)
326
	local launch = spawnPos + 2 * v
327
	shot.CFrame = CFrame.new(launch, launch + v)
328
329
	local creator_tag = Instance.new("ObjectValue")
330
	creator_tag.Value = player
331
	creator_tag.Name = "creator"
332
	creator_tag.Parent = shot
333
334
	local firesound = Instance.new("Sound")
335
	firesound.Name = "FiredSound"
336
	firesound.SoundId = FIRE_SOUND
337
	firesound.Volume = 1
338
	firesound.Pitch = math.random(8, 14)/10
339
	firesound.Parent = shot
340
341
	shot.Parent = game.Workspace
342
	game.Debris:AddItem(shot, DESPAWN_TIME)
343
	shot:FindFirstChild(scriptName).Disabled = false
344
end
345
346
347
enabled = true
348
gatlingmode = false
349
350
function onButtonUp()
351
	shooting = false
352
end
353
354
function onDeselect()
355
	stopped = true
356
end
357
358
function gatlingOFF()
359
	gatlingmode = false	-- its not gatling ya know
360
	COOLDOWN = 2
361
	MAX_VELOCITY = 250
362
	MIN_VELOCITY = 200
363
	AUTOFIRE = false
364
	SPREAD = 3
365
	ORIGIN_SPREAD = 3
366
	DESPAWN_TIME = 0.9
367
	missile.Transparency = 0.4
368
	LOCK_FORWARD = true
369
end
370
371
function gatlingON()
372
	gatlingmode = true	-- its one shot
373
	COOLDOWN = 2
374
	MAX_VELOCITY = 475
375
	MIN_VELOCITY = 400
376
	AUTOFIRE = false
377
	SPREAD = 2
378
	ORIGIN_SPREAD = 0
379
	DESPAWN_TIME = 1
380
	missile.Transparency = 0
381
	LOCK_FORWARD = false
382
end
383
384
function onSelected(mouse)
385
	gatlingmode = false
386
	gatlingOFF()
387
	mouse.Icon = "rbxasset://textures\\GunCursor.png"
388
	mouse.Button1Down:connect(function()
389
390
		if not enabled then return end
391
			mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
392
			enabled = false
393
			shooting = true
394
			stopped = false
395
			while shooting do
396
				hum = char:FindFirstChild("Humanoid")
397
				if hum == nil then else
398
				if hum.Health <= 0 then shooting = false end
399
				fire(mouse.Hit.p)
400
401
				wait(COOLDOWN)
402
				if not AUTOFIRE then
403
					shooting = false
404
				end
405
			end
406
			if AUTOFIRE then
407
				wait(COOLDOWN)
408
			end
409
			if mouse then
410
				mouse.Icon = "rbxasset://textures\\GunCursor.png"
411
			end
412
			enabled = true
413
		end
414
	end)
415
	mouse.Button1Up:connect(function() onButtonUp() end)
416
	mouse.KeyDown:connect(function(key2)
417
	local key=string.byte(key2)
418
		if key==string.byte("g") then
419
			if gatlingmode == false then
420
				gatlingON()
421
			else
422
				gatlingOFF()
423
			end
424
		end
425
	end)
426
end
427
428
script.Parent.Selected:connect(onSelected)
429
script.Parent.Deselected:connect(onDeselected)
430
431
432
433
434
end))
435
BlockMesh14.Parent = LocalScript13
436
Script15.Name = "Stretch"
437
Script15.Parent = BlockMesh14
438
table.insert(cors,sandbox(Script15,function()
439
local missile = script.Parent.Parent
440
if missile:IsA("Part") then 
441
	origPos = missile.Position
442
	m = script.Parent
443
	for i = 1, 10 do
444
		script.Parent.Parent.Velocity = script.Parent.Parent.Velocity * 0.8
445
		dist = (origPos - missile.Position).magnitude
446
		m.Scale = Vector3.new(0.5, 0.5, dist/2)
447
		m.Offset = Vector3.new(0.5, 0.5, dist/2)
448
		wait()
449
	end
450
	wait(0.1)
451
	script.Parent.Parent.Velocity = script.Parent.Parent.Velocity * -0.6
452
	while true do
453
		script.Parent.Parent.Velocity = script.Parent.Parent.Velocity * 1.15
454
		dist = (origPos - missile.Position).magnitude
455
		m.Scale = Vector3.new(0.5, 0.5, dist/2)
456
		m.Offset = Vector3.new(0.5, 0.5, dist/2)
457
		wait()
458
	end
459
end
460
end))
461
Script16.Name = "ArrowScript"
462
Script16.Parent = LocalScript13
463
table.insert(cors,sandbox(Script16,function()
464
arrow = script.Parent
465
466
local hitsound = Instance.new("Sound")
467
hitsound.SoundId = "http://www.roblox.com/asset/?id=137579113"
468
hitsound.Volume = 0.3
469
hitsound.Pitch = math.random(11, 17)/10
470
hitsound.Parent = arrow
471
472
if arrow:FindFirstChild("creator") == nil then
473
	arrow:WaitForChild("creator")
474
end
475
476
damage = 25
477
if arrow.Transparency ~= 0 then
478
	damage = 25
479
end
480
481
local tag = arrow:FindFirstChild("creator")
482
local ourguy = tag.Value.Character:FindFirstChild("Humanoid")
483
484
485
function onTouched(hit)
486
	humanoid = nil
487
	if tag ~= nil and ourguy ~= nil then
488
		if hit.Parent == nil then return end
489
		if hit.Parent:findFirstChild("Humanoid") then
490
			humanoid = hit.Parent:findFirstChild("Humanoid")
491
		elseif hit.Parent.Parent:findFirstChild("Humanoid") then
492
			humanoid = hit.Parent.Parent:findFirstChild("Humanoid")
493
		end 
494
		if humanoid ~= nil then
495
			if humanoid ~= ourguy then
496
				stop = false
497
				local ph = hit.Parent:FindFirstChild("PunchHurt")
498
				if (ph ~= nil) then
499
					if ph.Value == false then
500
						stop = true
501
					end
502
				end
503
				if stop == false then
504
					hitsound:Play()
505
					tagHumanoid(humanoid, vPlayer)
506
					humanoid:TakeDamage(damage)
507
					arrow:Destroy()
508
				end
509
			end
510
		elseif hit.Anchored == true and hit.CanCollide == true then
511
			arrow:Destroy()
512
		end
513
	end
514
end
515
516
function tagHumanoid(humanoid)
517
	local tag = arrow:findFirstChild("creator")
518
	if tag ~= nil then
519
		local new_tag = tag:clone()
520
		new_tag.Parent = humanoid
521
		game.Debris:AddItem(new_tag, 1)
522
	end
523
end
524
525
arrow.Touched:connect(onTouched)
526
527
wait()
528
if arrow:FindFirstChild("FiredSound") then
529
	arrow:FindFirstChild("FiredSound"):Play()
530
end
531
532
wait(10)
533
arrow:Destroy()
534
end))
535
Script16.Disabled = true
536
HopperBin17.Name = "Gear Second"
537
HopperBin17.Parent = LocalScript11
538
LocalScript18.Parent = HopperBin17
539
table.insert(cors,sandbox(LocalScript18,function()
540
bin = script.Parent 
541
player = script.Parent.Parent.Parent
542
me = script.Parent.Parent.Parent
543
544
enabled = true
545
546
function Talk(msg)
547
game:GetService("Chat"):Chat(player.Character.Head, msg, Enum.ChatColor.Blue)
548
end
549
550
function onButton1Down(mouse)
551
if not enabled then
552
		return
553
	end
554
555
	local player = owner
556
	if player == nil then return end
557
558
	enabled = false
559
	RightShoulder = me.Character.Torso["Right Shoulder"]
560
		LeftShoulder = me.Character.Torso["Left Shoulder"]
561
		Run = game:GetService("RunService")
562
			for i = 1, 3 do
563
				LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, 0, 1)
564
				RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 0, -1)
565
				RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 1.1, 0)
566
				LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, -1.1, 0)
567
				Run.Stepped:wait(0.005)
568
			end
569
     -------------------------------------------------------------------------------
570
                  
571
                         --EDIT HERE--
572
		Talk("Gear Second!")-- you can change Gear Second or Gear 2nd
573
		gg = Instance.new("Part")
574
		gg.Anchored = true
575
		gg.Shape = "Ball" --THIS ball will appear when transforming
576
		gg.TopSurface = "Smooth"
577
		gg.BottomSurface = "Smooth"
578
		gg.BrickColor = BrickColor.new("Persimmon")--color of the bode when transforming
579
		gg.CanCollide = false
580
		gg.Parent = Workspace
581
		gg.Size = Vector3.new(6, 6, 6)
582
		p = Instance.new("PointLight", gg)
583
		p.Brightness = 10
584
		p.Range = 10
585
		p.Color = Color3.new(255, 0, 0)
586
		gg.CFrame = me.Character.Torso.CFrame*CFrame.new(0, 0, 0)
587
		qq = Instance.new("SpecialMesh")
588
		qq.Parent = gg
589
		qq.Scale = Vector3.new(6, 6, 6)
590
		qq.MeshType = ("Sphere")
591
		for i = 1,6 do 
592
		qq.Scale = qq.Scale -Vector3.new(1 ,1 ,1)
593
		wait(0.01)
594
		end
595
		gg:remove()	
596
		Hardening = me.Character["Body Colors"]
597
		Hardening.LeftArmColor = BrickColor.new("Persimmon") --color 
598
		Hardening.RightArmColor = BrickColor.new("Persimmon")--of
599
		Hardening.RightLegColor = BrickColor.new("Persimmon")--the
600
		Hardening.LeftLegColor = BrickColor.new("Persimmon")--body
601
		Hardening.TorsoColor = BrickColor.new("Persimmon")--when
602
		Hardening. HeadColor = BrickColor.new("Persimmon")--transforming
603
		j = me.Character.Head
604
		k = me.Character.Torso
605
		q = me.Character["Left Arm"]
606
		w = me.Character["Left Leg"]
607
		e = me.Character["Right Arm"]
608
		r = me.Character["Right Leg"]
609
		
610
		me.Character.Humanoid.MaxHealth = 500-- 500 - 550 Health of human when transformed
611
		me.Character.Humanoid.Health = 500----- SAME ONE
612
		me.Character.Humanoid.WalkSpeed = 0
613
		wait(1.5)
614
		me.Character.Humanoid.WalkSpeed = 20 --edit 17 - 100 it will increase speed
615
616
617
618
619
		for i = 1, 3 do
620
			LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, 1.1, 0)
621
			RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, -1.1, 0)
622
			LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, 0, -1)
623
			RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 0, 1)
624
			Run.Stepped:wait(0.01)
625
		end
626
	wait(20)
627
enabled = true
628
	end
629
	
630
631
enabled = true
632
function onS(mouse) 
633
mouse.Button1Down:connect(function() onButton1Down(mouse) end) 
634
end 
635
bin.Selected:connect(onS)
636
637
638
end))
639
HopperBin19.Name = "Gatling Gun"
640
HopperBin19.Parent = LocalScript11
641
LocalScript20.Name = "Gatling"
642
LocalScript20.Parent = HopperBin19
643
table.insert(cors,sandbox(LocalScript20,function()
644
COOLDOWN = 2
645
646
MAX_VELOCITY = 475
647
MIN_VELOCITY = 400
648
649
AUTOFIRE = false
650
651
SPREAD = 2
652
ORIGIN_SPREAD = 0
653
LOCK_FORWARD = false
654
655
ANTI_GRAVITY = 1
656
657
FIRE_SOUND = "http://www.roblox.com/asset/?id=93011731"
658
659
DESPAWN_TIME = 1
660
661
662
wait(1)
663
------------------------------
664
missile = Instance.new("Part")
665
missile.Name = "Gomu"
666
missile.Transparency = 0
667
missile.Reflectance = 0
668
missile.CanCollide = false
669
missile.Shape = "Block"
670
missile.FormFactor = "Custom"
671
missile.Size = Vector3.new(2, 2, 2)
672
missile.Elasticity = 0
673
missile.TopSurface = 0
674
missile.BottomSurface = 0
675
676
while script:FindFirstChild("Mesh") == nil do wait() end
677
script.Mesh:clone().Parent = missile
678
679
force = Instance.new("BodyForce")
680
force.force = Vector3.new(0,missile:GetMass() * 196.2 * ANTI_GRAVITY)
681
force.Parent = missile
682
683
scriptName = "ArrowScript"
684
while script:FindFirstChild(scriptName) == nil do wait() end
685
script:FindFirstChild(scriptName):clone().Parent = missile
686
687
------------------------------
688
689
wait()
690
Tool = script.Parent
691
player = owner
692
while player.Character == nil do wait() end
693
char = player.Character
694
695
function hidePart(part)
696
	if part:FindFirstChild("AttackHide") == nil then
697
		local hide = Instance.new("SpecialMesh")
698
		hide.Name = "AttackHide"
699
		hide.MeshType = "FileMesh"
700
		hide.Scale = Vector3.new(0, 0, 0)
701
		hide.Parent = part
702
		game.Debris:AddItem(hide, DESPAWN_TIME/2)
703
	end
704
end
705
706
shooting = false
707
function fire(v)
708
	if choosehand == 1 then
709
		choosehand = 2
710
		arm = char:FindFirstChild("Right Arm")
711
	else
712
		choosehand = 1
713
		arm = char:FindFirstChild("Left Arm")
714
	end
715
	if arm == nil then return end
716
	hidePart(arm)
717
718
	if not LOCK_FORWARD then
719
		v_spreadx = math.random(-SPREAD, SPREAD)
720
		v_spready = math.random(-SPREAD, SPREAD)
721
		v_spreadz = math.random(-SPREAD, SPREAD)
722
		v = v + Vector3.new(v_spreadx, v_spready, v_spreadz)
723
		v = (v - arm.Position).unit
724
	else
725
		v = char:FindFirstChild("Torso").CFrame.lookVector
726
	end	
727
728
	o_spreadx = math.random(-ORIGIN_SPREAD, ORIGIN_SPREAD)
729
	o_spready = math.random(-ORIGIN_SPREAD, ORIGIN_SPREAD)
730
	o_spreadz = math.random(-ORIGIN_SPREAD, ORIGIN_SPREAD)
731
	local spawnPos = arm.Position + Vector3.new(o_spreadx, o_spready, o_spreadz)
732
	spawnPos  = spawnPos + (v * 1)
733
734
	shot = missile:clone()
735
	shot.BrickColor = arm.BrickColor
736
	shot.Velocity = v * math.random(MIN_VELOCITY, MAX_VELOCITY)
737
	local launch = spawnPos + 2 * v
738
	shot.CFrame = CFrame.new(launch, launch + v)
739
740
	local creator_tag = Instance.new("ObjectValue")
741
	creator_tag.Value = player
742
	creator_tag.Name = "creator"
743
	creator_tag.Parent = shot
744
745
	local firesound = Instance.new("Sound")
746
	firesound.Name = "FiredSound"
747
	firesound.SoundId = FIRE_SOUND
748
	firesound.Volume = 1
749
	firesound.Pitch = math.random(8, 14)/10
750
	firesound.Parent = shot
751
752
	shot.Parent = game.Workspace
753
	game.Debris:AddItem(shot, DESPAWN_TIME)
754
	shot:FindFirstChild(scriptName).Disabled = false
755
end
756
757
758
enabled = true
759
gatlingmode = false
760
761
function onButtonUp()
762
	shooting = false
763
end
764
765
function onDeselect()
766
	stopped = true
767
end
768
769
function gatlingON()
770
	gatlingmode = true	--if gatling mode
771
	COOLDOWN = 0
772
	MAX_VELOCITY = 250
773
	MIN_VELOCITY = 200
774
	AUTOFIRE = true --it means if you click one time it will repeat
775
	SPREAD = 3
776
	ORIGIN_SPREAD = 3
777
	DESPAWN_TIME = 0.9
778
	missile.Transparency = 0.4
779
	LOCK_FORWARD = true --change it to false if you want to back attack
780
end
781
782
function gatlingOFF()
783
	gatlingmode = false	-- if one shot mode
784
	COOLDOWN = 0.4
785
	MAX_VELOCITY = 475
786
	MIN_VELOCITY = 400
787
	AUTOFIRE = true --it means if you click one time it will repeat
788
	SPREAD = 2
789
	ORIGIN_SPREAD = 0
790
	DESPAWN_TIME = 1
791
	missile.Transparency = 0
792
	LOCK_FORWARD = false
793
end
794
795
function onSelected(mouse)
796
	gatlingmode = true
797
	gatlingON()
798
	mouse.Icon = "rbxasset://textures\\GunCursor.png"
799
	mouse.Button1Down:connect(function()
800
801
		if not enabled then return end
802
			mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
803
			enabled = false
804
			shooting = true
805
			stopped = false
806
			while shooting do
807
				hum = char:FindFirstChild("Humanoid")
808
				if hum == nil then else
809
				if hum.Health <= 0 then shooting = false end
810
				fire(mouse.Hit.p)
811
812
				wait(COOLDOWN)
813
				if not AUTOFIRE then
814
					shooting = false
815
				end
816
			end
817
			if AUTOFIRE then
818
				wait(COOLDOWN)
819
			end
820
			if mouse then
821
				mouse.Icon = "rbxasset://textures\\GunCursor.png"
822
			end
823
			enabled = true
824
		end
825
	end)
826
	mouse.Button1Up:connect(function() onButtonUp() end)
827
	mouse.KeyDown:connect(function(key2)
828
	local key=string.byte(key2)
829
		if key==string.byte("g") then
830
			if gatlingmode == false then
831
				gatlingON()
832
			else
833
				gatlingOFF()
834
			end
835
		end
836
	end)
837
end
838
839
script.Parent.Selected:connect(onSelected)
840
script.Parent.Deselected:connect(onDeselected)
841
842
843
844
845
846
847
end))
848
BlockMesh21.Parent = LocalScript20
849
Script22.Name = "Stretch"
850
Script22.Parent = BlockMesh21
851
table.insert(cors,sandbox(Script22,function()
852
local missile = script.Parent.Parent
853
if missile:IsA("Part") then 
854
	origPos = missile.Position
855
	m = script.Parent
856
	for i = 1, 10 do
857
		script.Parent.Parent.Velocity = script.Parent.Parent.Velocity * 0.8
858
		dist = (origPos - missile.Position).magnitude
859
		m.Scale = Vector3.new(0.5, 0.5, dist/2)
860
		m.Offset = Vector3.new(0.5, 0.5, dist/2)
861
		wait()
862
	end
863
	wait(0.1)
864
	script.Parent.Parent.Velocity = script.Parent.Parent.Velocity * -0.6
865
	while true do
866
		script.Parent.Parent.Velocity = script.Parent.Parent.Velocity * 1.15
867
		dist = (origPos - missile.Position).magnitude
868
		m.Scale = Vector3.new(0.5, 0.5, dist/2)
869
		m.Offset = Vector3.new(0.5, 0.5, dist/2)
870
		wait()
871
	end
872
end
873
end))
874
Script23.Name = "ArrowScript"
875
Script23.Parent = LocalScript20
876
table.insert(cors,sandbox(Script23,function()
877
arrow = script.Parent
878
879
local hitsound = Instance.new("Sound")
880
hitsound.SoundId = "http://www.roblox.com/asset/?id=137579113"
881
hitsound.Volume = 0.3
882
hitsound.Pitch = math.random(11, 17)/10
883
hitsound.Parent = arrow
884
885
if arrow:FindFirstChild("creator") == nil then
886
	arrow:WaitForChild("creator")
887
end
888
889
damage = 40
890
if arrow.Transparency ~= 0 then
891
	damage = 40
892
end
893
894
local tag = arrow:FindFirstChild("creator")
895
local ourguy = tag.Value.Character:FindFirstChild("Humanoid")
896
897
898
function onTouched(hit)
899
	humanoid = nil
900
	if tag ~= nil and ourguy ~= nil then
901
		if hit.Parent == nil then return end
902
		if hit.Parent:findFirstChild("Humanoid") then
903
			humanoid = hit.Parent:findFirstChild("Humanoid")
904
		elseif hit.Parent.Parent:findFirstChild("Humanoid") then
905
			humanoid = hit.Parent.Parent:findFirstChild("Humanoid")
906
		end 
907
		if humanoid ~= nil then
908
			if humanoid ~= ourguy then
909
				stop = false
910
				local ph = hit.Parent:FindFirstChild("PunchHurt")
911
				if (ph ~= nil) then
912
					if ph.Value == false then
913
						stop = true
914
					end
915
				end
916
				if stop == false then
917
					hitsound:Play()
918
					tagHumanoid(humanoid, vPlayer)
919
					humanoid:TakeDamage(damage)
920
					arrow:Destroy()
921
				end
922
			end
923
		elseif hit.Anchored == true and hit.CanCollide == true then
924
			arrow:Destroy()
925
		end
926
	end
927
end
928
929
function tagHumanoid(humanoid)
930
	local tag = arrow:findFirstChild("creator")
931
	if tag ~= nil then
932
		local new_tag = tag:clone()
933
		new_tag.Parent = humanoid
934
		game.Debris:AddItem(new_tag, 1)
935
	end
936
end
937
938
arrow.Touched:connect(onTouched)
939
940
wait()
941
if arrow:FindFirstChild("FiredSound") then
942
	arrow:FindFirstChild("FiredSound"):Play()
943
end
944
945
wait(10)
946
arrow:Destroy()
947
end))
948
Script23.Disabled = true
949
Script24.Name = "DevilFruitAttributes"
950
Script24.Parent = LocalScript11
951
table.insert(cors,sandbox(Script24,function()
952
wait()
953
if script.Parent then
954
	if not script.Parent:IsA("Script") or not script.Parent.Name == "StarterGear" then
955
		local debris = game:GetService("Debris")
956
		local backpack = script.Parent
957
		local player = backpack.Parent
958
		while player.Character == nil do wait() end
959
		local character = player.Character
960
		if character then
961
			while character:FindFirstChild("Humanoid") == nil do wait() end
962
			local hum = character:FindFirstChild("Humanoid")
963
964
			-- Logia
965
			local charparts = character:GetChildren()
966
			for i = 1, #charparts do
967
				local charpart = charparts[i]
968
				if charpart:IsA("BasePart") then
969
					charpart.Touched:connect(function(hit)
970
						if charpart:FindFirstChild("Hide") then return end
971
						local stop = true
972
						if hit ~= nil then
973
							if hit.Parent ~= nil then
974
								if hit:FindFirstChild("creator") or hit.Parent:FindFirstChild("creator") then
975
									stop = false
976
								elseif hit.Parent:FindFirstChild("Humanoid") then
977
									if hit.Parent:FindFirstChild("Humanoid") ~= hum then
978
										stop = false
979
									end
980
								end
981
							end
982
						end
983
						if stop then return end
984
						local hidemesh = Instance.new("SpecialMesh")
985
						hidemesh.Name = "Hide"
986
						hidemesh.MeshType = "FileMesh"
987
						hidemesh.MeshId = ""
988
						hidemesh.Scale = Vector3.new(0, 0, 0)
989
						hidemesh.Parent = charpart
990
						debris:AddItem(hidemesh, 1.5)
991
992
						local bodyeffect = Instance.new("Part")
993
						bodyeffect.Name = "BodyEffect"
994
						bodyeffect.Transparency = 0.3
995
						bodyeffect.CanCollide = false
996
						bodyeffect.FormFactor = "Custom"
997
						bodyeffect.Size = Vector3.new(0.2, 0.2, 0.2)
998
						bodyeffect.TopSurface = "Smooth"
999
						bodyeffect.BottomSurface = "Smooth"
1000
						bodyeffect.CFrame = charpart.CFrame
1001
1002
						local mesh = Instance.new("SpecialMesh")
1003
						mesh.MeshId = "http://www.roblox.com/asset?id=165709404"
1004
						mesh.TextureId = "http://www.roblox.com/asset?id=165709478"
1005
						mesh.Scale = Vector3.new(3, 3, 3)
1006
						mesh.Parent = bodyeffect
1007
1008
						local sound = Instance.new("Sound")
1009
						sound.SoundId = "http://www.roblox.com/asset/?id=31759626"
1010
						sound.Volume = 0.3
1011
						sound.Pitch = math.random(9, 11)/10
1012
						sound.Parent = bodyeffect
1013
1014
						local light = Instance.new("PointLight")
1015
						light.Range = 5
1016
						light.Color = Color3.new(1, 1, 0)
1017
						light.Parent = bodyeffect
1018
1019
						bodyeffect.Parent = charpart.Parent
1020
1021
						sound:Play()
1022
1023
						local weld = Instance.new("ManualWeld")
1024
						weld.Part0 = bodyeffect
1025
						weld.Part1 = charpart
1026
						weld.C1 = charpart.CFrame:inverse() * bodyeffect.CFrame
1027
						weld.Parent = bodyeffect
1028
1029
						debris:AddItem(bodyeffect, 1.5)
1030
					end)
1031
				end
1032
			end
1033
		end
1034
	end
1035
end
1036
end))
1037
StringValue25.Name = "DevilFruitType"
1038
StringValue25.Parent = Tool0
1039
StringValue25.Value = "Rubber"
1040
Part26.Name = "Leafs"
1041
Part26.Parent = Tool0
1042
Part26.CFrame = CFrame.new(48.6795959, 1.326491, 19.1532822, -4.4091145e-08, -7.30506144e-08, -1, 1, -4.51691449e-08, -4.36030163e-08, -4.23751771e-08, -1, -7.30506144e-08)
1043
Part26.Orientation = Vector3.new(0, -90, 90)
1044
Part26.Position = Vector3.new(48.6795959, 1.326491, 19.1532822)
1045
Part26.Rotation = Vector3.new(-90, -90, 0)
1046
Part26.Color = Color3.new(1, 0.34902, 0.34902)
1047
Part26.Size = Vector3.new(0.410000086, 0.329999983, 0.200000048)
1048
Part26.Anchored = true
1049
Part26.BrickColor = BrickColor.new("Persimmon")
1050
Part26.Material = Enum.Material.SmoothPlastic
1051
Part26.brickColor = BrickColor.new("Persimmon")
1052
Part26.FormFactor = Enum.FormFactor.Custom
1053
Part26.formFactor = Enum.FormFactor.Custom
1054
SpecialMesh27.Parent = Part26
1055
SpecialMesh27.Scale = Vector3.new(1, 0.200000003, 0.200000003)
1056
SpecialMesh27.MeshType = Enum.MeshType.Cylinder
1057
Part28.Name = "Leafs"
1058
Part28.Parent = Tool0
1059
Part28.CFrame = CFrame.new(48.6795998, 1.51648796, 19.1482849, -1.16759111e-07, 4.34269509e-10, -1, -1.52271241e-07, -1, 1.92770244e-11, -1, 1.49477273e-07, -2.93402991e-08)
1060
Part28.Orientation = Vector3.new(0, -90, -180)
1061
Part28.Position = Vector3.new(48.6795998, 1.51648796, 19.1482849)
1062
Part28.Rotation = Vector3.new(180, -90, 0)
1063
Part28.Color = Color3.new(0.411765, 0.25098, 0.156863)
1064
Part28.Size = Vector3.new(0.640000045, 0.329999983, 0.200000048)
1065
Part28.Anchored = true
1066
Part28.BrickColor = BrickColor.new("Reddish brown")
1067
Part28.Material = Enum.Material.SmoothPlastic
1068
Part28.brickColor = BrickColor.new("Reddish brown")
1069
Part28.FormFactor = Enum.FormFactor.Custom
1070
Part28.formFactor = Enum.FormFactor.Custom
1071
SpecialMesh29.Parent = Part28
1072
SpecialMesh29.Scale = Vector3.new(1, 0.200000003, 0.200000003)
1073
SpecialMesh29.MeshType = Enum.MeshType.Cylinder
1074
Part30.Name = "Leafs"
1075
Part30.Parent = Tool0
1076
Part30.CFrame = CFrame.new(48.6795998, 1.543787, 18.7326698, -1.14498107e-07, -1.83335942e-08, -1, 0.258818775, -0.965925932, -1.1264305e-08, -0.965925932, -0.258818686, -3.08291419e-08)
1077
Part30.Orientation = Vector3.new(0, -90, 165)
1078
Part30.Position = Vector3.new(48.6795998, 1.543787, 18.7326698)
1079
Part30.Rotation = Vector3.new(-165, -90, 0)
1080
Part30.Color = Color3.new(0.411765, 0.25098, 0.156863)
1081
Part30.Size = Vector3.new(0.200000077, 0.329999983, 0.200000048)
1082
Part30.Anchored = true
1083
Part30.BrickColor = BrickColor.new("Reddish brown")
1084
Part30.Material = Enum.Material.SmoothPlastic
1085
Part30.brickColor = BrickColor.new("Reddish brown")
1086
Part30.FormFactor = Enum.FormFactor.Custom
1087
Part30.formFactor = Enum.FormFactor.Custom
1088
SpecialMesh31.Parent = Part30
1089
SpecialMesh31.Scale = Vector3.new(1, 0.200000003, 0.200000003)
1090
SpecialMesh31.MeshType = Enum.MeshType.Cylinder
1091
for i,v in pairs(mas:GetChildren()) do
1092
	v.Parent = workspace
1093
	pcall(function() v:MakeJoints() end)
1094
end
1095
mas:Destroy()
1096
for i,v in pairs(cors) do
1097
	spawn(function()
1098
		pcall(v)
1099
	end)
1100
end
1101
1102
--Converted with ttyyuu12345's model to script plugin v4
1103
function sandbox(var,func)
1104
	local env = getfenv(func)
1105
	local newenv = setmetatable({},{
1106
		__index = function(self,k)
1107
			if k=="script" then
1108
				return var
1109
			else
1110
				return env[k]
1111
			end
1112
		end,
1113
	})
1114
	setfenv(func,newenv)
1115
	return func
1116
end
1117
cors = {}
1118
mas = Instance.new("Model",game:GetService("Lighting"))
1119
Tool0 = Instance.new("Tool")
1120
Part1 = Instance.new("Part")
1121
Decal2 = Instance.new("Decal")
1122
Decal3 = Instance.new("Decal")
1123
Decal4 = Instance.new("Decal")
1124
Decal5 = Instance.new("Decal")
1125
Decal6 = Instance.new("Decal")
1126
Decal7 = Instance.new("Decal")
1127
SpecialMesh8 = Instance.new("SpecialMesh")
1128
Sound9 = Instance.new("Sound")
1129
LocalScript10 = Instance.new("LocalScript")
1130
LocalScript11 = Instance.new("LocalScript")
1131
HopperBin12 = Instance.new("HopperBin")
1132
LocalScript13 = Instance.new("LocalScript")
1133
BlockMesh14 = Instance.new("BlockMesh")
1134
Script15 = Instance.new("Script")
1135
Script16 = Instance.new("Script")
1136
HopperBin17 = Instance.new("HopperBin")
1137
LocalScript18 = Instance.new("LocalScript")
1138
HopperBin19 = Instance.new("HopperBin")
1139
LocalScript20 = Instance.new("LocalScript")
1140
BlockMesh21 = Instance.new("BlockMesh")
1141
Script22 = Instance.new("Script")
1142
Script23 = Instance.new("Script")
1143
Script24 = Instance.new("Script")
1144
StringValue25 = Instance.new("StringValue")
1145
Part26 = Instance.new("Part")
1146
SpecialMesh27 = Instance.new("SpecialMesh")
1147
Part28 = Instance.new("Part")
1148
SpecialMesh29 = Instance.new("SpecialMesh")
1149
Part30 = Instance.new("Part")
1150
SpecialMesh31 = Instance.new("SpecialMesh")
1151
Tool0.Name = "(Click to eat) Gomu Gomu no mi"
1152
Tool0.Parent = mas
1153
Tool0.Grip = CFrame.new(0, 0, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
1154
Tool0.GripForward = Vector3.new(1, -0, -0)
1155
Tool0.GripRight = Vector3.new(0, 0, 1)
1156
Part1.Name = "Handle"
1157
Part1.Parent = Tool0
1158
Part1.CFrame = CFrame.new(48.749485, 0.503547013, 19.1430969, -0.999999523, -0.000978620723, 1.05401614e-05, -0.000978537253, 0.999980748, 0.00612961594, -1.66846348e-05, 0.0061296029, -0.999981225)
1159
Part1.Orientation = Vector3.new(-0.349999994, 180, -0.0599999987)
1160
Part1.Position = Vector3.new(48.749485, 0.503547013, 19.1430969)
1161
Part1.Rotation = Vector3.new(-179.649994, 0, 179.940002)
1162
Part1.Color = Color3.new(0.972549, 0.85098, 0.427451)
1163
Part1.Size = Vector3.new(1, 1, 1)
1164
Part1.BottomSurface = Enum.SurfaceType.Smooth
1165
Part1.BrickColor = BrickColor.new("Daisy orange")
1166
Part1.Material = Enum.Material.SmoothPlastic
1167
Part1.TopSurface = Enum.SurfaceType.Smooth
1168
Part1.brickColor = BrickColor.new("Daisy orange")
1169
Part1.FormFactor = Enum.FormFactor.Symmetric
1170
Part1.formFactor = Enum.FormFactor.Symmetric
1171
Decal2.Parent = Part1
1172
Decal2.Texture = "rbxassetid://114369508"
1173
Decal2.Transparency = 0.5
1174
Decal3.Parent = Part1
1175
Decal3.Texture = "rbxassetid://114369508"
1176
Decal3.Transparency = 0.5
1177
Decal3.Face = Enum.NormalId.Left
1178
Decal4.Parent = Part1
1179
Decal4.Texture = "rbxassetid://114369508"
1180
Decal4.Transparency = 0.5
1181
Decal4.Face = Enum.NormalId.Back
1182
Decal5.Parent = Part1
1183
Decal5.Texture = "rbxassetid://114369508"
1184
Decal5.Transparency = 0.5
1185
Decal5.Face = Enum.NormalId.Right
1186
Decal6.Parent = Part1
1187
Decal6.Texture = "rbxassetid://114369508"
1188
Decal6.Transparency = 0.5
1189
Decal6.Face = Enum.NormalId.Top
1190
Decal7.Parent = Part1
1191
Decal7.Texture = "rbxassetid://114369508"
1192
Decal7.Transparency = 0.5
1193
Decal7.Face = Enum.NormalId.Bottom
1194
SpecialMesh8.Parent = Part1
1195
SpecialMesh8.Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995)
1196
SpecialMesh8.MeshType = Enum.MeshType.Sphere
1197
Sound9.Name = "Eat"
1198
Sound9.Parent = Part1
1199
Sound9.Looped = true
1200
Sound9.Pitch = 1.1000000238419
1201
Sound9.PlaybackSpeed = 1.1000000238419
1202
Sound9.SoundId = "rbxassetid://161190414"
1203
LocalScript10.Name = "InstaWeld"
1204
LocalScript10.Parent = Tool0
1205
table.insert(cors,sandbox(LocalScript10,function()
1206
local currentwelds = {}
1207
1208
function Weld(x,y)
1209
	local W = Instance.new("Weld")
1210
	W.Part0 = x
1211
	W.Part1 = y
1212
	local CJ = CFrame.new(x.Position)
1213
	local C0 = x.CFrame:inverse()*CJ
1214
	local C1 = y.CFrame:inverse()*CJ
1215
	W.C0 = C0
1216
	W.C1 = C1
1217
	W.Parent = x
1218
	currentwelds[#currentwelds+1] = W
1219
end
1220
1221
function Get(A)
1222
	if A:IsA("BasePart") then
1223
		Weld(script.Parent.Handle, A)
1224
		A.Anchored = false
1225
	else
1226
		local C = A:GetChildren()
1227
		for i=1, #C do
1228
		Get(C[i])
1229
		end
1230
	end
1231
end
1232
1233
function Finale()
1234
	currentwelds = {}
1235
	Get(script.Parent)
1236
	coroutine.resume(coroutine.create(function()
1237
		wait(0.1)
1238
		local toolparts = script.Parent:GetChildren()
1239
		for h = 1, #toolparts do
1240
			local c = toolparts[h]:GetChildren()
1241
			for j = 1, #c do
1242
				if c[j]:IsA("Weld") then
1243
					local stop = false
1244
					for k = 1, #currentwelds do
1245
						if c[j] == currentwelds[k] then
1246
							stop = true
1247
						end
1248
					end
1249
					if not stop then
1250
						c[j]:Destroy()
1251
					end
1252
				end
1253
			end
1254
		end
1255
	end))
1256
end
1257
1258
script.Parent.Equipped:connect(Finale)
1259
script.Parent.Unequipped:connect(Finale)
1260
Finale()
1261
end))
1262
LocalScript11.Name = "EatScript"
1263
LocalScript11.Parent = Tool0
1264
table.insert(cors,sandbox(LocalScript11,function()
1265
wait()
1266
1267
local tool = script.Parent
1268
local player = owner
1269
1270
defaultholdingpos = tool.GripPos
1271
eaten = false
1272
equipped = false
1273
cancelled = false
1274
tool.Equipped:connect(function()
1275
	equipped = true
1276
	script.Parent.Activated:connect(function()
1277
		if not eaten then
1278
			cancelled = false
1279
			tool.GripPos = Vector3.new(0.8, -0.5, 1.5)
1280
			tool.Handle.Eat:Play()
1281
			wait(1.4)
1282
			tool.Handle.Eat:Stop()
1283
			if equipped and not cancelled then
1284
				local currentsavedgear = player:FindFirstChild("StarterGear"):GetChildren()
1285
				local hasdf = false
1286
				if #currentsavedgear > 0 then
1287
					for i = 1, #currentsavedgear do
1288
						if currentsavedgear[i]:FindFirstChild("DevilFruitAbility") then
1289
							currentsavedgear[i]:Destroy()
1290
							hasdf = true
1291
						end
1292
					end
1293
				end
1294
				if not hasdf then
1295
					local dftools = script:GetChildren()
1296
					for i = 1, #dftools do
1297
						local df_tag = Instance.new("StringValue")
1298
						df_tag.Name = "DevilFruitAbility"
1299
						df_tag.Value = tool.DevilFruitType.Value
1300
						df_tag.Parent = dftools[i]
1301
						dftools[i]:clone().Parent = player:FindFirstChild("Backpack")
1302
						dftools[i]:clone().Parent = player:FindFirstChild("StarterGear")
1303
					end
1304
					tool:Destroy()
1305
				elseif hasdf then
1306
					if player.Character then
1307
						if player.Character:FindFirstChild("Humanoid") then
1308
							player.Character:BreakJoints()
1309
							player.Character:FindFirstChild("Humanoid").Health = 0
1310
						end
1311
					end
1312
					tool:Destroy()
1313
				end
1314
			end
1315
		end
1316
	end)
1317
end)
1318
1319
tool.Unequipped:connect(function()
1320
	tool.Handle.Eat:Stop()
1321
	cancelled = true
1322
	equipped = false
1323
	if not eaten then
1324
		tool.GripPos = defaultholdingpos
1325
	end
1326
end)
1327
end))
1328
HopperBin12.Name = "Pistol"
1329
HopperBin12.Parent = LocalScript11
1330
LocalScript13.Name = "Normal"
1331
LocalScript13.Parent = HopperBin12
1332
table.insert(cors,sandbox(LocalScript13,function()
1333
COOLDOWN = 1
1334
1335
MAX_VELOCITY = 475
1336
MIN_VELOCITY = 400
1337
1338
AUTOFIRE = false
1339
1340
SPREAD = 2
1341
ORIGIN_SPREAD = 0
1342
LOCK_FORWARD = false
1343
1344
ANTI_GRAVITY = 1
1345
1346
FIRE_SOUND = "http://www.roblox.com/asset/?id=93011731"
1347
1348
DESPAWN_TIME = 1
1349
1350
1351
wait(1)
1352
------------------------------
1353
missile = Instance.new("Part")
1354
missile.Name = "Gomu"
1355
missile.Transparency = 0
1356
missile.Reflectance = 0
1357
missile.CanCollide = false
1358
missile.Shape = "Block"
1359
missile.FormFactor = "Custom"
1360
missile.Size = Vector3.new(2, 2, 2)
1361
missile.Elasticity = 0
1362
missile.TopSurface = 0
1363
missile.BottomSurface = 0
1364
1365
while script:FindFirstChild("Mesh") == nil do wait() end
1366
script.Mesh:clone().Parent = missile
1367
1368
force = Instance.new("BodyForce")
1369
force.force = Vector3.new(0,missile:GetMass() * 196.2 * ANTI_GRAVITY)
1370
force.Parent = missile
1371
1372
scriptName = "ArrowScript"
1373
while script:FindFirstChild(scriptName) == nil do wait() end
1374
script:FindFirstChild(scriptName):clone().Parent = missile
1375
1376
------------------------------
1377
1378
wait()
1379
Tool = script.Parent
1380
player = owner
1381
while player.Character == nil do wait() end
1382
char = player.Character
1383
1384
function hidePart(part)
1385
	if part:FindFirstChild("AttackHide") == nil then
1386
		local hide = Instance.new("SpecialMesh")
1387
		hide.Name = "AttackHide"
1388
		hide.MeshType = "FileMesh"
1389
		hide.Scale = Vector3.new(0, 0, 0)
1390
		hide.Parent = part
1391
		game.Debris:AddItem(hide, DESPAWN_TIME/2)
1392
	end
1393
end
1394
1395
shooting = false
1396
function fire(v)
1397
	if choosehand == 1 then
1398
		choosehand = 2
1399
		arm = char:FindFirstChild("Right Arm")
1400
	else
1401
		choosehand = 1
1402
		arm = char:FindFirstChild("Left Arm")
1403
	end
1404
	if arm == nil then return end
1405
	hidePart(arm)
1406
1407
	if not LOCK_FORWARD then
1408
		v_spreadx = math.random(-SPREAD, SPREAD)
1409
		v_spready = math.random(-SPREAD, SPREAD)
1410
		v_spreadz = math.random(-SPREAD, SPREAD)
1411
		v = v + Vector3.new(v_spreadx, v_spready, v_spreadz)
1412
		v = (v - arm.Position).unit
1413
	else
1414
		v = char:FindFirstChild("Torso").CFrame.lookVector
1415
	end	
1416
1417
	o_spreadx = math.random(-ORIGIN_SPREAD, ORIGIN_SPREAD)
1418
	o_spready = math.random(-ORIGIN_SPREAD, ORIGIN_SPREAD)
1419
	o_spreadz = math.random(-ORIGIN_SPREAD, ORIGIN_SPREAD)
1420
	local spawnPos = arm.Position + Vector3.new(o_spreadx, o_spready, o_spreadz)
1421
	spawnPos  = spawnPos + (v * 1)
1422
1423
	shot = missile:clone()
1424
	shot.BrickColor = arm.BrickColor
1425
	shot.Velocity = v * math.random(MIN_VELOCITY, MAX_VELOCITY)
1426
	local launch = spawnPos + 2 * v
1427
	shot.CFrame = CFrame.new(launch, launch + v)
1428
1429
	local creator_tag = Instance.new("ObjectValue")
1430
	creator_tag.Value = player
1431
	creator_tag.Name = "creator"
1432
	creator_tag.Parent = shot
1433
1434
	local firesound = Instance.new("Sound")
1435
	firesound.Name = "FiredSound"
1436
	firesound.SoundId = FIRE_SOUND
1437
	firesound.Volume = 1
1438
	firesound.Pitch = math.random(8, 14)/10
1439
	firesound.Parent = shot
1440
1441
	shot.Parent = game.Workspace
1442
	game.Debris:AddItem(shot, DESPAWN_TIME)
1443
	shot:FindFirstChild(scriptName).Disabled = false
1444
end
1445
1446
1447
enabled = true
1448
gatlingmode = false
1449
1450
function onButtonUp()
1451
	shooting = false
1452
end
1453
1454
function onDeselect()
1455
	stopped = true
1456
end
1457
1458
function gatlingOFF()
1459
	gatlingmode = false	-- its not gatling ya know
1460
	COOLDOWN = 2
1461
	MAX_VELOCITY = 250
1462
	MIN_VELOCITY = 200
1463
	AUTOFIRE = false
1464
	SPREAD = 3
1465
	ORIGIN_SPREAD = 3
1466
	DESPAWN_TIME = 0.9
1467
	missile.Transparency = 0.4
1468
	LOCK_FORWARD = true
1469
end
1470
1471
function gatlingON()
1472
	gatlingmode = true	-- its one shot
1473
	COOLDOWN = 2
1474
	MAX_VELOCITY = 475
1475
	MIN_VELOCITY = 400
1476
	AUTOFIRE = false
1477
	SPREAD = 2
1478
	ORIGIN_SPREAD = 0
1479
	DESPAWN_TIME = 1
1480
	missile.Transparency = 0
1481
	LOCK_FORWARD = false
1482
end
1483
1484
function onSelected(mouse)
1485
	gatlingmode = false
1486
	gatlingOFF()
1487
	mouse.Icon = "rbxasset://textures\\GunCursor.png"
1488
	mouse.Button1Down:connect(function()
1489
1490
		if not enabled then return end
1491
			mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
1492
			enabled = false
1493
			shooting = true
1494
			stopped = false
1495
			while shooting do
1496
				hum = char:FindFirstChild("Humanoid")
1497
				if hum == nil then else
1498
				if hum.Health <= 0 then shooting = false end
1499
				fire(mouse.Hit.p)
1500
1501
				wait(COOLDOWN)
1502
				if not AUTOFIRE then
1503
					shooting = false
1504
				end
1505
			end
1506
			if AUTOFIRE then
1507
				wait(COOLDOWN)
1508
			end
1509
			if mouse then
1510
				mouse.Icon = "rbxasset://textures\\GunCursor.png"
1511
			end
1512
			enabled = true
1513
		end
1514
	end)
1515
	mouse.Button1Up:connect(function() onButtonUp() end)
1516
	mouse.KeyDown:connect(function(key2)
1517
	local key=string.byte(key2)
1518
		if key==string.byte("g") then
1519
			if gatlingmode == false then
1520
				gatlingON()
1521
			else
1522
				gatlingOFF()
1523
			end
1524
		end
1525
	end)
1526
end
1527
1528
script.Parent.Selected:connect(onSelected)
1529
script.Parent.Deselected:connect(onDeselected)
1530
1531
1532
1533
1534
end))
1535
BlockMesh14.Parent = LocalScript13
1536
Script15.Name = "Stretch"
1537
Script15.Parent = BlockMesh14
1538
table.insert(cors,sandbox(Script15,function()
1539
local missile = script.Parent.Parent
1540
if missile:IsA("Part") then 
1541
	origPos = missile.Position
1542
	m = script.Parent
1543
	for i = 1, 10 do
1544
		script.Parent.Parent.Velocity = script.Parent.Parent.Velocity * 0.8
1545
		dist = (origPos - missile.Position).magnitude
1546
		m.Scale = Vector3.new(0.5, 0.5, dist/2)
1547
		m.Offset = Vector3.new(0.5, 0.5, dist/2)
1548
		wait()
1549
	end
1550
	wait(0.1)
1551
	script.Parent.Parent.Velocity = script.Parent.Parent.Velocity * -0.6
1552
	while true do
1553
		script.Parent.Parent.Velocity = script.Parent.Parent.Velocity * 1.15
1554
		dist = (origPos - missile.Position).magnitude
1555
		m.Scale = Vector3.new(0.5, 0.5, dist/2)
1556
		m.Offset = Vector3.new(0.5, 0.5, dist/2)
1557
		wait()
1558
	end
1559
end
1560
end))
1561
Script16.Name = "ArrowScript"
1562
Script16.Parent = LocalScript13
1563
table.insert(cors,sandbox(Script16,function()
1564
arrow = script.Parent
1565
1566
local hitsound = Instance.new("Sound")
1567
hitsound.SoundId = "http://www.roblox.com/asset/?id=137579113"
1568
hitsound.Volume = 0.3
1569
hitsound.Pitch = math.random(11, 17)/10
1570
hitsound.Parent = arrow
1571
1572
if arrow:FindFirstChild("creator") == nil then
1573
	arrow:WaitForChild("creator")
1574
end
1575
1576
damage = 25
1577
if arrow.Transparency ~= 0 then
1578
	damage = 25
1579
end
1580
1581
local tag = arrow:FindFirstChild("creator")
1582
local ourguy = tag.Value.Character:FindFirstChild("Humanoid")
1583
1584
1585
function onTouched(hit)
1586
	humanoid = nil
1587
	if tag ~= nil and ourguy ~= nil then
1588
		if hit.Parent == nil then return end
1589
		if hit.Parent:findFirstChild("Humanoid") then
1590
			humanoid = hit.Parent:findFirstChild("Humanoid")
1591
		elseif hit.Parent.Parent:findFirstChild("Humanoid") then
1592
			humanoid = hit.Parent.Parent:findFirstChild("Humanoid")
1593
		end 
1594
		if humanoid ~= nil then
1595
			if humanoid ~= ourguy then
1596
				stop = false
1597
				local ph = hit.Parent:FindFirstChild("PunchHurt")
1598
				if (ph ~= nil) then
1599
					if ph.Value == false then
1600
						stop = true
1601
					end
1602
				end
1603
				if stop == false then
1604
					hitsound:Play()
1605
					tagHumanoid(humanoid, vPlayer)
1606
					humanoid:TakeDamage(damage)
1607
					arrow:Destroy()
1608
				end
1609
			end
1610
		elseif hit.Anchored == true and hit.CanCollide == true then
1611
			arrow:Destroy()
1612
		end
1613
	end
1614
end
1615
1616
function tagHumanoid(humanoid)
1617
	local tag = arrow:findFirstChild("creator")
1618
	if tag ~= nil then
1619
		local new_tag = tag:clone()
1620
		new_tag.Parent = humanoid
1621
		game.Debris:AddItem(new_tag, 1)
1622
	end
1623
end
1624
1625
arrow.Touched:connect(onTouched)
1626
1627
wait()
1628
if arrow:FindFirstChild("FiredSound") then
1629
	arrow:FindFirstChild("FiredSound"):Play()
1630
end
1631
1632
wait(10)
1633
arrow:Destroy()
1634
end))
1635
Script16.Disabled = true
1636
HopperBin17.Name = "Gear Second"
1637
HopperBin17.Parent = LocalScript11
1638
LocalScript18.Parent = HopperBin17
1639
table.insert(cors,sandbox(LocalScript18,function()
1640
bin = script.Parent 
1641
player = script.Parent.Parent.Parent
1642
me = script.Parent.Parent.Parent
1643
1644
enabled = true
1645
1646
function Talk(msg)
1647
game:GetService("Chat"):Chat(player.Character.Head, msg, Enum.ChatColor.Blue)
1648
end
1649
1650
function onButton1Down(mouse)
1651
if not enabled then
1652
		return
1653
	end
1654
1655
	local player = owner
1656
	if player == nil then return end
1657
1658
	enabled = false
1659
	RightShoulder = me.Character.Torso["Right Shoulder"]
1660
		LeftShoulder = me.Character.Torso["Left Shoulder"]
1661
		Run = game:GetService("RunService")
1662
			for i = 1, 3 do
1663
				LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, 0, 1)
1664
				RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 0, -1)
1665
				RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 1.1, 0)
1666
				LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, -1.1, 0)
1667
				Run.Stepped:wait(0.005)
1668
			end
1669
     -------------------------------------------------------------------------------
1670
                  
1671
                         --EDIT HERE--
1672
		Talk("Gear Second!")-- you can change Gear Second or Gear 2nd
1673
		gg = Instance.new("Part")
1674
		gg.Anchored = true
1675
		gg.Shape = "Ball" --THIS ball will appear when transforming
1676
		gg.TopSurface = "Smooth"
1677
		gg.BottomSurface = "Smooth"
1678
		gg.BrickColor = BrickColor.new("Persimmon")--color of the bode when transforming
1679
		gg.CanCollide = false
1680
		gg.Parent = Workspace
1681
		gg.Size = Vector3.new(6, 6, 6)
1682
		p = Instance.new("PointLight", gg)
1683
		p.Brightness = 10
1684
		p.Range = 10
1685
		p.Color = Color3.new(255, 0, 0)
1686
		gg.CFrame = me.Character.Torso.CFrame*CFrame.new(0, 0, 0)
1687
		qq = Instance.new("SpecialMesh")
1688
		qq.Parent = gg
1689
		qq.Scale = Vector3.new(6, 6, 6)
1690
		qq.MeshType = ("Sphere")
1691
		for i = 1,6 do 
1692
		qq.Scale = qq.Scale -Vector3.new(1 ,1 ,1)
1693
		wait(0.01)
1694
		end
1695
		gg:remove()	
1696
		Hardening = me.Character["Body Colors"]
1697
		Hardening.LeftArmColor = BrickColor.new("Persimmon") --color 
1698
		Hardening.RightArmColor = BrickColor.new("Persimmon")--of
1699
		Hardening.RightLegColor = BrickColor.new("Persimmon")--the
1700
		Hardening.LeftLegColor = BrickColor.new("Persimmon")--body
1701
		Hardening.TorsoColor = BrickColor.new("Persimmon")--when
1702
		Hardening. HeadColor = BrickColor.new("Persimmon")--transforming
1703
		j = me.Character.Head
1704
		k = me.Character.Torso
1705
		q = me.Character["Left Arm"]
1706
		w = me.Character["Left Leg"]
1707
		e = me.Character["Right Arm"]
1708
		r = me.Character["Right Leg"]
1709
		
1710
		me.Character.Humanoid.MaxHealth = 500-- 500 - 550 Health of human when transformed
1711
		me.Character.Humanoid.Health = 500----- SAME ONE
1712
		me.Character.Humanoid.WalkSpeed = 0
1713
		wait(1.5)
1714
		me.Character.Humanoid.WalkSpeed = 20 --edit 17 - 100 it will increase speed
1715
1716
1717
1718
1719
		for i = 1, 3 do
1720
			LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, 1.1, 0)
1721
			RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, -1.1, 0)
1722
			LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, 0, -1)
1723
			RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 0, 1)
1724
			Run.Stepped:wait(0.01)
1725
		end
1726
	wait(20)
1727
enabled = true
1728
	end
1729
	
1730
1731
enabled = true
1732
function onS(mouse) 
1733
mouse.Button1Down:connect(function() onButton1Down(mouse) end) 
1734
end 
1735
bin.Selected:connect(onS)
1736
1737
1738
end))
1739
HopperBin19.Name = "Gatling Gun"
1740
HopperBin19.Parent = LocalScript11
1741
LocalScript20.Name = "Gatling"
1742
LocalScript20.Parent = HopperBin19
1743
table.insert(cors,sandbox(LocalScript20,function()
1744
COOLDOWN = 2
1745
1746
MAX_VELOCITY = 475
1747
MIN_VELOCITY = 400
1748
1749
AUTOFIRE = false
1750
1751
SPREAD = 2
1752
ORIGIN_SPREAD = 0
1753
LOCK_FORWARD = false
1754
1755
ANTI_GRAVITY = 1
1756
1757
FIRE_SOUND = "http://www.roblox.com/asset/?id=93011731"
1758
1759
DESPAWN_TIME = 1
1760
1761
1762
wait(1)
1763
------------------------------
1764
missile = Instance.new("Part")
1765
missile.Name = "Gomu"
1766
missile.Transparency = 0
1767
missile.Reflectance = 0
1768
missile.CanCollide = false
1769
missile.Shape = "Block"
1770
missile.FormFactor = "Custom"
1771
missile.Size = Vector3.new(2, 2, 2)
1772
missile.Elasticity = 0
1773
missile.TopSurface = 0
1774
missile.BottomSurface = 0
1775
1776
while script:FindFirstChild("Mesh") == nil do wait() end
1777
script.Mesh:clone().Parent = missile
1778
1779
force = Instance.new("BodyForce")
1780
force.force = Vector3.new(0,missile:GetMass() * 196.2 * ANTI_GRAVITY)
1781
force.Parent = missile
1782
1783
scriptName = "ArrowScript"
1784
while script:FindFirstChild(scriptName) == nil do wait() end
1785
script:FindFirstChild(scriptName):clone().Parent = missile
1786
1787
------------------------------
1788
1789
wait()
1790
Tool = script.Parent
1791
player = owner
1792
while player.Character == nil do wait() end
1793
char = player.Character
1794
1795
function hidePart(part)
1796
	if part:FindFirstChild("AttackHide") == nil then
1797
		local hide = Instance.new("SpecialMesh")
1798
		hide.Name = "AttackHide"
1799
		hide.MeshType = "FileMesh"
1800
		hide.Scale = Vector3.new(0, 0, 0)
1801
		hide.Parent = part
1802
		game.Debris:AddItem(hide, DESPAWN_TIME/2)
1803
	end
1804
end
1805
1806
shooting = false
1807
function fire(v)
1808
	if choosehand == 1 then
1809
		choosehand = 2
1810
		arm = char:FindFirstChild("Right Arm")
1811
	else
1812
		choosehand = 1
1813
		arm = char:FindFirstChild("Left Arm")
1814
	end
1815
	if arm == nil then return end
1816
	hidePart(arm)
1817
1818
	if not LOCK_FORWARD then
1819
		v_spreadx = math.random(-SPREAD, SPREAD)
1820
		v_spready = math.random(-SPREAD, SPREAD)
1821
		v_spreadz = math.random(-SPREAD, SPREAD)
1822
		v = v + Vector3.new(v_spreadx, v_spready, v_spreadz)
1823
		v = (v - arm.Position).unit
1824
	else
1825
		v = char:FindFirstChild("Torso").CFrame.lookVector
1826
	end	
1827
1828
	o_spreadx = math.random(-ORIGIN_SPREAD, ORIGIN_SPREAD)
1829
	o_spready = math.random(-ORIGIN_SPREAD, ORIGIN_SPREAD)
1830
	o_spreadz = math.random(-ORIGIN_SPREAD, ORIGIN_SPREAD)
1831
	local spawnPos = arm.Position + Vector3.new(o_spreadx, o_spready, o_spreadz)
1832
	spawnPos  = spawnPos + (v * 1)
1833
1834
	shot = missile:clone()
1835
	shot.BrickColor = arm.BrickColor
1836
	shot.Velocity = v * math.random(MIN_VELOCITY, MAX_VELOCITY)
1837
	local launch = spawnPos + 2 * v
1838
	shot.CFrame = CFrame.new(launch, launch + v)
1839
1840
	local creator_tag = Instance.new("ObjectValue")
1841
	creator_tag.Value = player
1842
	creator_tag.Name = "creator"
1843
	creator_tag.Parent = shot
1844
1845
	local firesound = Instance.new("Sound")
1846
	firesound.Name = "FiredSound"
1847
	firesound.SoundId = FIRE_SOUND
1848
	firesound.Volume = 1
1849
	firesound.Pitch = math.random(8, 14)/10
1850
	firesound.Parent = shot
1851
1852
	shot.Parent = game.Workspace
1853
	game.Debris:AddItem(shot, DESPAWN_TIME)
1854
	shot:FindFirstChild(scriptName).Disabled = false
1855
end
1856
1857
1858
enabled = true
1859
gatlingmode = false
1860
1861
function onButtonUp()
1862
	shooting = false
1863
end
1864
1865
function onDeselect()
1866
	stopped = true
1867
end
1868
1869
function gatlingON()
1870
	gatlingmode = true	--if gatling mode
1871
	COOLDOWN = 0
1872
	MAX_VELOCITY = 250
1873
	MIN_VELOCITY = 200
1874
	AUTOFIRE = true --it means if you click one time it will repeat
1875
	SPREAD = 3
1876
	ORIGIN_SPREAD = 3
1877
	DESPAWN_TIME = 0.9
1878
	missile.Transparency = 0.4
1879
	LOCK_FORWARD = true --change it to false if you want to back attack
1880
end
1881
1882
function gatlingOFF()
1883
	gatlingmode = false	-- if one shot mode
1884
	COOLDOWN = 0.4
1885
	MAX_VELOCITY = 475
1886
	MIN_VELOCITY = 400
1887
	AUTOFIRE = true --it means if you click one time it will repeat
1888
	SPREAD = 2
1889
	ORIGIN_SPREAD = 0
1890
	DESPAWN_TIME = 1
1891
	missile.Transparency = 0
1892
	LOCK_FORWARD = false
1893
end
1894
1895
function onSelected(mouse)
1896
	gatlingmode = true
1897
	gatlingON()
1898
	mouse.Icon = "rbxasset://textures\\GunCursor.png"
1899
	mouse.Button1Down:connect(function()
1900
1901
		if not enabled then return end
1902
			mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
1903
			enabled = false
1904
			shooting = true
1905
			stopped = false
1906
			while shooting do
1907
				hum = char:FindFirstChild("Humanoid")
1908
				if hum == nil then else
1909
				if hum.Health <= 0 then shooting = false end
1910
				fire(mouse.Hit.p)
1911
1912
				wait(COOLDOWN)
1913
				if not AUTOFIRE then
1914
					shooting = false
1915
				end
1916
			end
1917
			if AUTOFIRE then
1918
				wait(COOLDOWN)
1919
			end
1920
			if mouse then
1921
				mouse.Icon = "rbxasset://textures\\GunCursor.png"
1922
			end
1923
			enabled = true
1924
		end
1925
	end)
1926
	mouse.Button1Up:connect(function() onButtonUp() end)
1927
	mouse.KeyDown:connect(function(key2)
1928
	local key=string.byte(key2)
1929
		if key==string.byte("g") then
1930
			if gatlingmode == false then
1931
				gatlingON()
1932
			else
1933
				gatlingOFF()
1934
			end
1935
		end
1936
	end)
1937
end
1938
1939
script.Parent.Selected:connect(onSelected)
1940
script.Parent.Deselected:connect(onDeselected)
1941
1942
1943
1944
1945
1946
1947
end))
1948
BlockMesh21.Parent = LocalScript20
1949
Script22.Name = "Stretch"
1950
Script22.Parent = BlockMesh21
1951
table.insert(cors,sandbox(Script22,function()
1952
local missile = script.Parent.Parent
1953
if missile:IsA("Part") then 
1954
	origPos = missile.Position
1955
	m = script.Parent
1956
	for i = 1, 10 do
1957
		script.Parent.Parent.Velocity = script.Parent.Parent.Velocity * 0.8
1958
		dist = (origPos - missile.Position).magnitude
1959
		m.Scale = Vector3.new(0.5, 0.5, dist/2)
1960
		m.Offset = Vector3.new(0.5, 0.5, dist/2)
1961
		wait()
1962
	end
1963
	wait(0.1)
1964
	script.Parent.Parent.Velocity = script.Parent.Parent.Velocity * -0.6
1965
	while true do
1966
		script.Parent.Parent.Velocity = script.Parent.Parent.Velocity * 1.15
1967
		dist = (origPos - missile.Position).magnitude
1968
		m.Scale = Vector3.new(0.5, 0.5, dist/2)
1969
		m.Offset = Vector3.new(0.5, 0.5, dist/2)
1970
		wait()
1971
	end
1972
end
1973
end))
1974
Script23.Name = "ArrowScript"
1975
Script23.Parent = LocalScript20
1976
table.insert(cors,sandbox(Script23,function()
1977
arrow = script.Parent
1978
1979
local hitsound = Instance.new("Sound")
1980
hitsound.SoundId = "http://www.roblox.com/asset/?id=137579113"
1981
hitsound.Volume = 0.3
1982
hitsound.Pitch = math.random(11, 17)/10
1983
hitsound.Parent = arrow
1984
1985
if arrow:FindFirstChild("creator") == nil then
1986
	arrow:WaitForChild("creator")
1987
end
1988
1989
damage = 40
1990
if arrow.Transparency ~= 0 then
1991
	damage = 40
1992
end
1993
1994
local tag = arrow:FindFirstChild("creator")
1995
local ourguy = tag.Value.Character:FindFirstChild("Humanoid")
1996
1997
1998
function onTouched(hit)
1999
	humanoid = nil
2000
	if tag ~= nil and ourguy ~= nil then
2001
		if hit.Parent == nil then return end
2002
		if hit.Parent:findFirstChild("Humanoid") then
2003
			humanoid = hit.Parent:findFirstChild("Humanoid")
2004
		elseif hit.Parent.Parent:findFirstChild("Humanoid") then
2005
			humanoid = hit.Parent.Parent:findFirstChild("Humanoid")
2006
		end 
2007
		if humanoid ~= nil then
2008
			if humanoid ~= ourguy then
2009
				stop = false
2010
				local ph = hit.Parent:FindFirstChild("PunchHurt")
2011
				if (ph ~= nil) then
2012
					if ph.Value == false then
2013
						stop = true
2014
					end
2015
				end
2016
				if stop == false then
2017
					hitsound:Play()
2018
					tagHumanoid(humanoid, vPlayer)
2019
					humanoid:TakeDamage(damage)
2020
					arrow:Destroy()
2021
				end
2022
			end
2023
		elseif hit.Anchored == true and hit.CanCollide == true then
2024
			arrow:Destroy()
2025
		end
2026
	end
2027
end
2028
2029
function tagHumanoid(humanoid)
2030
	local tag = arrow:findFirstChild("creator")
2031
	if tag ~= nil then
2032
		local new_tag = tag:clone()
2033
		new_tag.Parent = humanoid
2034
		game.Debris:AddItem(new_tag, 1)
2035
	end
2036
end
2037
2038
arrow.Touched:connect(onTouched)
2039
2040
wait()
2041
if arrow:FindFirstChild("FiredSound") then
2042
	arrow:FindFirstChild("FiredSound"):Play()
2043
end
2044
2045
wait(10)
2046
arrow:Destroy()
2047
end))
2048
Script23.Disabled = true
2049
Script24.Name = "DevilFruitAttributes"
2050
Script24.Parent = LocalScript11
2051
table.insert(cors,sandbox(Script24,function()
2052
wait()
2053
if script.Parent then
2054
	if not script.Parent:IsA("Script") or not script.Parent.Name == "StarterGear" then
2055
		local debris = game:GetService("Debris")
2056
		local backpack = script.Parent
2057
		local player = backpack.Parent
2058
		while player.Character == nil do wait() end
2059
		local character = player.Character
2060
		if character then
2061
			while character:FindFirstChild("Humanoid") == nil do wait() end
2062
			local hum = character:FindFirstChild("Humanoid")
2063
2064
			-- Logia
2065
			local charparts = character:GetChildren()
2066
			for i = 1, #charparts do
2067
				local charpart = charparts[i]
2068
				if charpart:IsA("BasePart") then
2069
					charpart.Touched:connect(function(hit)
2070
						if charpart:FindFirstChild("Hide") then return end
2071
						local stop = true
2072
						if hit ~= nil then
2073
							if hit.Parent ~= nil then
2074
								if hit:FindFirstChild("creator") or hit.Parent:FindFirstChild("creator") then
2075
									stop = false
2076
								elseif hit.Parent:FindFirstChild("Humanoid") then
2077
									if hit.Parent:FindFirstChild("Humanoid") ~= hum then
2078
										stop = false
2079
									end
2080
								end
2081
							end
2082
						end
2083
						if stop then return end
2084
						local hidemesh = Instance.new("SpecialMesh")
2085
						hidemesh.Name = "Hide"
2086
						hidemesh.MeshType = "FileMesh"
2087
						hidemesh.MeshId = ""
2088
						hidemesh.Scale = Vector3.new(0, 0, 0)
2089
						hidemesh.Parent = charpart
2090
						debris:AddItem(hidemesh, 1.5)
2091
2092
						local bodyeffect = Instance.new("Part")
2093
						bodyeffect.Name = "BodyEffect"
2094
						bodyeffect.Transparency = 0.3
2095
						bodyeffect.CanCollide = false
2096
						bodyeffect.FormFactor = "Custom"
2097
						bodyeffect.Size = Vector3.new(0.2, 0.2, 0.2)
2098
						bodyeffect.TopSurface = "Smooth"
2099
						bodyeffect.BottomSurface = "Smooth"
2100
						bodyeffect.CFrame = charpart.CFrame
2101
2102
						local mesh = Instance.new("SpecialMesh")
2103
						mesh.MeshId = "http://www.roblox.com/asset?id=165709404"
2104
						mesh.TextureId = "http://www.roblox.com/asset?id=165709478"
2105
						mesh.Scale = Vector3.new(3, 3, 3)
2106
						mesh.Parent = bodyeffect
2107
2108
						local sound = Instance.new("Sound")
2109
						sound.SoundId = "http://www.roblox.com/asset/?id=31759626"
2110
						sound.Volume = 0.3
2111
						sound.Pitch = math.random(9, 11)/10
2112
						sound.Parent = bodyeffect
2113
2114
						local light = Instance.new("PointLight")
2115
						light.Range = 5
2116
						light.Color = Color3.new(1, 1, 0)
2117
						light.Parent = bodyeffect
2118
2119
						bodyeffect.Parent = charpart.Parent
2120
2121
						sound:Play()
2122
2123
						local weld = Instance.new("ManualWeld")
2124
						weld.Part0 = bodyeffect
2125
						weld.Part1 = charpart
2126
						weld.C1 = charpart.CFrame:inverse() * bodyeffect.CFrame
2127
						weld.Parent = bodyeffect
2128
2129
						debris:AddItem(bodyeffect, 1.5)
2130
					end)
2131
				end
2132
			end
2133
		end
2134
	end
2135
end
2136
end))
2137
StringValue25.Name = "DevilFruitType"
2138
StringValue25.Parent = Tool0
2139
StringValue25.Value = "Rubber"
2140
Part26.Name = "Leafs"
2141
Part26.Parent = Tool0
2142
Part26.CFrame = CFrame.new(48.6795959, 1.326491, 19.1532822, -4.4091145e-08, -7.30506144e-08, -1, 1, -4.51691449e-08, -4.36030163e-08, -4.23751771e-08, -1, -7.30506144e-08)
2143
Part26.Orientation = Vector3.new(0, -90, 90)
2144
Part26.Position = Vector3.new(48.6795959, 1.326491, 19.1532822)
2145
Part26.Rotation = Vector3.new(-90, -90, 0)
2146
Part26.Color = Color3.new(1, 0.34902, 0.34902)
2147
Part26.Size = Vector3.new(0.410000086, 0.329999983, 0.200000048)
2148
Part26.Anchored = true
2149
Part26.BrickColor = BrickColor.new("Persimmon")
2150
Part26.Material = Enum.Material.SmoothPlastic
2151
Part26.brickColor = BrickColor.new("Persimmon")
2152
Part26.FormFactor = Enum.FormFactor.Custom
2153
Part26.formFactor = Enum.FormFactor.Custom
2154
SpecialMesh27.Parent = Part26
2155
SpecialMesh27.Scale = Vector3.new(1, 0.200000003, 0.200000003)
2156
SpecialMesh27.MeshType = Enum.MeshType.Cylinder
2157
Part28.Name = "Leafs"
2158
Part28.Parent = Tool0
2159
Part28.CFrame = CFrame.new(48.6795998, 1.51648796, 19.1482849, -1.16759111e-07, 4.34269509e-10, -1, -1.52271241e-07, -1, 1.92770244e-11, -1, 1.49477273e-07, -2.93402991e-08)
2160
Part28.Orientation = Vector3.new(0, -90, -180)
2161
Part28.Position = Vector3.new(48.6795998, 1.51648796, 19.1482849)
2162
Part28.Rotation = Vector3.new(180, -90, 0)
2163
Part28.Color = Color3.new(0.411765, 0.25098, 0.156863)
2164
Part28.Size = Vector3.new(0.640000045, 0.329999983, 0.200000048)
2165
Part28.Anchored = true
2166
Part28.BrickColor = BrickColor.new("Reddish brown")
2167
Part28.Material = Enum.Material.SmoothPlastic
2168
Part28.brickColor = BrickColor.new("Reddish brown")
2169
Part28.FormFactor = Enum.FormFactor.Custom
2170
Part28.formFactor = Enum.FormFactor.Custom
2171
SpecialMesh29.Parent = Part28
2172
SpecialMesh29.Scale = Vector3.new(1, 0.200000003, 0.200000003)
2173
SpecialMesh29.MeshType = Enum.MeshType.Cylinder
2174
Part30.Name = "Leafs"
2175
Part30.Parent = Tool0
2176
Part30.CFrame = CFrame.new(48.6795998, 1.543787, 18.7326698, -1.14498107e-07, -1.83335942e-08, -1, 0.258818775, -0.965925932, -1.1264305e-08, -0.965925932, -0.258818686, -3.08291419e-08)
2177
Part30.Orientation = Vector3.new(0, -90, 165)
2178
Part30.Position = Vector3.new(48.6795998, 1.543787, 18.7326698)
2179
Part30.Rotation = Vector3.new(-165, -90, 0)
2180
Part30.Color = Color3.new(0.411765, 0.25098, 0.156863)
2181
Part30.Size = Vector3.new(0.200000077, 0.329999983, 0.200000048)
2182
Part30.Anchored = true
2183
Part30.BrickColor = BrickColor.new("Reddish brown")
2184
Part30.Material = Enum.Material.SmoothPlastic
2185
Part30.brickColor = BrickColor.new("Reddish brown")
2186
Part30.FormFactor = Enum.FormFactor.Custom
2187
Part30.formFactor = Enum.FormFactor.Custom
2188
SpecialMesh31.Parent = Part30
2189
SpecialMesh31.Scale = Vector3.new(1, 0.200000003, 0.200000003)
2190
SpecialMesh31.MeshType = Enum.MeshType.Cylinder
2191
for i,v in pairs(mas:GetChildren()) do
2192
	v.Parent = workspace
2193
	pcall(function() v:MakeJoints() end)
2194
end
2195
for i,v in pairs(cors) do
2196
	spawn(function()
2197
		pcall(v)
2198
	end)
2199
end
2200
2201
----------------------------------------------------------------
2202
                 --//Budha-Budha no mi\\--
2203
----------------------------------------------------------------
2204
2205
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
2206
local Player,game,owner = owner,game
2207
local RealPlayer = Player
2208
do
2209
	local rp = RealPlayer
2210
	script.Parent = rp.Character
2211
	
2212
	--RemoteEvent for communicating
2213
	local Event = Instance.new("RemoteEvent")
2214
	Event.Name = "UserInput_Event"
2215
2216
	--Fake event to make stuff like Mouse.KeyDown work
2217
	local function fakeEvent()
2218
		local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
2219
		t.connect = t.Connect
2220
		return t
2221
	end
2222
2223
	--Creating fake input objects with fake variables
2224
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
2225
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
2226
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
2227
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
2228
	end}
2229
	--Merged 2 functions into one by checking amount of arguments
2230
	CAS.UnbindAction = CAS.BindAction
2231
2232
	--This function will trigger the events that have been :Connect()'ed
2233
	local function te(self,ev,...)
2234
		local t = m[ev]
2235
		if t and t._fakeEvent then
2236
			for _,f in pairs(t.Functions) do
2237
				f(...)
2238
			end
2239
		end
2240
	end
2241
	m.TrigEvent = te
2242
	UIS.TrigEvent = te
2243
2244
	Event.OnServerEvent:Connect(function(plr,io)
2245
	    if plr~=rp then return end
2246
		m.Target = io.Target
2247
		m.Hit = io.Hit
2248
		if not io.isMouse then
2249
			local b = io.UserInputState == Enum.UserInputState.Begin
2250
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
2251
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
2252
			end
2253
			for _,t in pairs(CAS.Actions) do
2254
				for _,k in pairs(t.Keys) do
2255
					if k==io.KeyCode then
2256
						t.Function(t.Name,io.UserInputState,io)
2257
					end
2258
				end
2259
			end
2260
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
2261
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
2262
	    end
2263
	end)
2264
	Event.Parent = NLS([==[
2265
	local Player = game:GetService("Players").LocalPlayer
2266
	local Event = script:WaitForChild("UserInput_Event")
2267
2268
	local Mouse = Player:GetMouse()
2269
	local UIS = game:GetService("UserInputService")
2270
	local input = function(io,a)
2271
		if a then return end
2272
		--Since InputObject is a client-side instance, we create and pass table instead
2273
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
2274
	end
2275
	UIS.InputBegan:Connect(input)
2276
	UIS.InputEnded:Connect(input)
2277
2278
	local h,t
2279
	--Give the server mouse data 30 times every second, but only if the values changed
2280
	--If player is not moving their mouse, client won't fire events
2281
	while wait(1/30) do
2282
		if h~=Mouse.Hit or t~=Mouse.Target then
2283
			h,t=Mouse.Hit,Mouse.Target
2284
			Event:FireServer({isMouse=true,Target=t,Hit=h})
2285
		end
2286
	end]==],Player.Character)
2287
2288
	----Sandboxed game object that allows the usage of client-side methods and services
2289
	--Real game object
2290
	local _rg = game
2291
2292
	--Metatable for fake service
2293
	local fsmt = {
2294
		__index = function(self,k)
2295
			local s = rawget(self,"_RealService")
2296
			if s then return s[k] end
2297
		end,
2298
		__newindex = function(self,k,v)
2299
			local s = rawget(self,"_RealService")
2300
			if s then s[k]=v end
2301
		end,
2302
		__call = function(self,...)
2303
			local s = rawget(self,"_RealService")
2304
			if s then return s(...) end
2305
		end
2306
	}
2307
	local function FakeService(t,RealService)
2308
		t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
2309
		return setmetatable(t,fsmt)
2310
	end
2311
2312
	--Fake game object
2313
	local g = {
2314
		GetService = function(self,s)
2315
			return self[s]
2316
		end,
2317
		Players = FakeService({
2318
			LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
2319
		},"Players"),
2320
		UserInputService = FakeService(UIS,"UserInputService"),
2321
		ContextActionService = FakeService(CAS,"ContextActionService"),
2322
	}
2323
	rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
2324
	g.service = g.GetService
2325
	
2326
	g.RunService = FakeService({
2327
		RenderStepped = _rg:GetService("RunService").Heartbeat,
2328
		BindToRenderStep = function(self,name,_,fun)
2329
			self._btrs[name] = self.Heartbeat:Connect(fun)
2330
		end,
2331
		UnbindFromRenderStep = function(self,name)
2332
			self._btrs[name]:Disconnect()
2333
		end,
2334
	},"RunService")
2335
2336
	setmetatable(g,{
2337
		__index=function(self,s)
2338
			return _rg:GetService(s) or typeof(_rg[s])=="function"
2339
			and function(_,...)return _rg[s](_rg,...)end or _rg[s]
2340
		end,
2341
		__newindex = fsmt.__newindex,
2342
		__call = fsmt.__call
2343
	})
2344
	--Changing owner to fake player object to support owner:GetMouse()
2345
	game,owner = g,g.Players.LocalPlayer
2346
end
2347
2348
Player = owner
2349
PlayerGui = Player.PlayerGui
2350
Cam = workspace.CurrentCamera
2351
Backpack = Player.Backpack
2352
Character = Player.Character
2353
Humanoid = Character.Humanoid
2354
Mouse = Player:GetMouse()
2355
RootPart = Character["HumanoidRootPart"]
2356
Torso = Character["Torso"]
2357
Head = Character["Head"]
2358
RightArm = Character["Right Arm"]
2359
LeftArm = Character["Left Arm"]
2360
RightLeg = Character["Right Leg"]
2361
LeftLeg = Character["Left Leg"]
2362
RootJoint = RootPart["RootJoint"]
2363
Neck = Torso["Neck"]
2364
RightShoulder = Torso["Right Shoulder"]
2365
LeftShoulder = Torso["Left Shoulder"]
2366
RightHip = Torso["Right Hip"]
2367
LeftHip = Torso["Left Hip"]
2368
2369
removeuseless = game:GetService("Debris")
2370
laff = Instance.new("Sound",Head)
2371
tauntdebounce = false
2372
Character = Player.Character
2373
Humanoid = Character.Humanoid
2374
---------
2375
plr = game.Players.LocalPlayer
2376
chara = plr.Character
2377
mouse = plr:GetMouse()
2378
Create = Instance.new
2379
Huge = math.huge
2380
2381
Player = game:GetService("Players").LocalPlayer
2382
PlayerGui = Player.PlayerGui
2383
Cam = workspace.CurrentCamera
2384
Backpack = Player.Backpack
2385
Character = Player.Character
2386
char = Player.Character
2387
Humanoid = Character.Humanoid
2388
Mouse = Player:GetMouse()
2389
RootPart = Character["HumanoidRootPart"]
2390
Torso = Character["Torso"]
2391
Head = Character["Head"]
2392
RightArm = Character["Right Arm"]
2393
LeftArm = Character["Left Arm"]
2394
RightLeg = Character["Right Leg"]
2395
LeftLeg = Character["Left Leg"]
2396
RootJoint = RootPart["RootJoint"]
2397
Neck = Torso["Neck"]
2398
RightShoulder = Torso["Right Shoulder"]
2399
LeftShoulder = Torso["Left Shoulder"]
2400
RightHip = Torso["Right Hip"]
2401
LeftHip = Torso["Left Hip"]
2402
2403
local Orin = "http://www.roblox.com/asset/?id=1065951398"
2404
Head.face.Texture = Orin
2405
function weld(a, b, acf)
2406
	local w = Instance.new("Weld", a)
2407
	w.Part0 = a
2408
	w.Part1 = b
2409
	w.C0 = acf
2410
end
2411
--------------------------------
2412
char.Head.face.Texture = "rbxassetid://0"
2413
--------------------------------
2414
local naeeym2 = Instance.new("BillboardGui",char)
2415
naeeym2.AlwaysOnTop = true
2416
naeeym2.Size = UDim2.new(5,35,2,35)
2417
naeeym2.StudsOffset = Vector3.new(0,2,0)
2418
naeeym2.Adornee = hed
2419
naeeym2.Name = "Name"
2420
 
2421
local tecks2 = Instance.new("TextLabel",naeeym2)
2422
tecks2.BackgroundTransparency = 1
2423
tecks2.TextScaled = true
2424
tecks2.BorderSizePixel = 0
2425
tecks2.Text = ""
2426
tecks2.Font = "Fantasy"
2427
tecks2.TextSize = 30
2428
tecks2.TextStrokeTransparency = 0
2429
tecks2.TextColor3 = BrickColor.new('Really red').Color
2430
tecks2.TextStrokeColor3 = BrickColor.new('Really black').Color
2431
tecks2.Size = UDim2.new(1,0,0.5,0)
2432
tecks2.Parent = naeeym2
2433
textfag = tecks2
2434
tecks2.Text = ""
2435
tecks2.Text = "script by xdielivex"
2436
wait(2)
2437
tecks2.Text = ""
2438
coroutine.resume(coroutine.create(function()
2439
    while textfag ~= nil do
2440
        swait()
2441
        textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))  
2442
        textfag.Rotation = math.random(-3,3)
2443
    end
2444
end))
2445
-------------------------------------------------------
2446
wait(0.2)
2447
local plr = game:service'Players'.LocalPlayer
2448
local char = plr.Character
2449
local hum = char.Humanoid
2450
local hed = char.Head
2451
local root = char.HumanoidRootPart
2452
local rootj = root.RootJoint
2453
local tors = char.Torso
2454
local ra = char["Right Arm"]
2455
local la = char["Left Arm"]
2456
local rl = char["Right Leg"]
2457
local ll = char["Left Leg"]
2458
local neck = tors["Neck"]
2459
local mouse = plr:GetMouse()
2460
local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
2461
local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
2462
local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
2463
local maincolor = BrickColor.new("Plum")
2464
2465
-------------------------------------------------------
2466
--Start Good Stuff--
2467
-------------------------------------------------------
2468
cam = game.Workspace.CurrentCamera
2469
CF = CFrame.new
2470
angles = CFrame.Angles
2471
attack = false
2472
Euler = CFrame.fromEulerAnglesXYZ
2473
Rad = math.rad
2474
IT = Instance.new
2475
BrickC = BrickColor.new
2476
Cos = math.cos
2477
Acos = math.acos
2478
Sin = math.sin
2479
Asin = math.asin
2480
Abs = math.abs
2481
Mrandom = math.random
2482
Floor = math.floor
2483
-------------------------------------------------------
2484
--End Good Stuff--
2485
-------------------------------------------------------
2486
-------------------------------------------------------
2487
--Start HeartBeat--
2488
-------------------------------------------------------
2489
ArtificialHB = Instance.new("BindableEvent", script)
2490
ArtificialHB.Name = "Heartbeat"
2491
script:WaitForChild("Heartbeat")
2492
2493
frame = 1 / 60
2494
tf = 0
2495
allowframeloss = false
2496
tossremainder = false
2497
2498
2499
lastframe = tick()
2500
script.Heartbeat:Fire()
2501
2502
2503
game:GetService("RunService").Heartbeat:connect(function(s, p)
2504
	tf = tf + s
2505
	if tf >= frame then
2506
		if allowframeloss then
2507
			script.Heartbeat:Fire()
2508
			lastframe = tick()
2509
		else
2510
			for i = 1, math.floor(tf / frame) do
2511
				script.Heartbeat:Fire()
2512
			end
2513
			lastframe = tick()
2514
		end
2515
		if tossremainder then
2516
			tf = 0
2517
		else
2518
			tf = tf - frame * math.floor(tf / frame)
2519
		end
2520
	end
2521
end)
2522
-------------------------------------------------------
2523
--End HeartBeat--
2524
-------------------------------------------------------
2525
2526
-------------------------------------------------------
2527
--Start Important Functions--
2528
-------------------------------------------------------
2529
function swait(num)
2530
	if num == 0 or num == nil then
2531
		game:service("RunService").Stepped:wait(0)
2532
	else
2533
		for i = 0, num do
2534
			game:service("RunService").Stepped:wait(0)
2535
		end
2536
	end
2537
end
2538
function thread(f)
2539
	coroutine.resume(coroutine.create(f))
2540
end
2541
function clerp(a, b, t)
2542
	local qa = {
2543
		QuaternionFromCFrame(a)
2544
	}
2545
	local qb = {
2546
		QuaternionFromCFrame(b)
2547
	}
2548
	local ax, ay, az = a.x, a.y, a.z
2549
	local bx, by, bz = b.x, b.y, b.z
2550
	local _t = 1 - t
2551
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
2552
end
2553
function QuaternionFromCFrame(cf)
2554
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
2555
	local trace = m00 + m11 + m22
2556
	if trace > 0 then
2557
		local s = math.sqrt(1 + trace)
2558
		local recip = 0.5 / s
2559
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
2560
	else
2561
		local i = 0
2562
		if m00 < m11 then
2563
			i = 1
2564
		end
2565
		if m22 > (i == 0 and m00 or m11) then
2566
			i = 2
2567
		end
2568
		if i == 0 then
2569
			local s = math.sqrt(m00 - m11 - m22 + 1)
2570
			local recip = 0.5 / s
2571
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
2572
		elseif i == 1 then
2573
			local s = math.sqrt(m11 - m22 - m00 + 1)
2574
			local recip = 0.5 / s
2575
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
2576
		elseif i == 2 then
2577
			local s = math.sqrt(m22 - m00 - m11 + 1)
2578
			local recip = 0.5 / s
2579
			return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
2580
		end
2581
	end
2582
end
2583
function QuaternionToCFrame(px, py, pz, x, y, z, w)
2584
	local xs, ys, zs = x + x, y + y, z + z
2585
	local wx, wy, wz = w * xs, w * ys, w * zs
2586
	local xx = x * xs
2587
	local xy = x * ys
2588
	local xz = x * zs
2589
	local yy = y * ys
2590
	local yz = y * zs
2591
	local zz = z * zs
2592
	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))
2593
end
2594
function QuaternionSlerp(a, b, t)
2595
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
2596
	local startInterp, finishInterp
2597
	if cosTheta >= 1.0E-4 then
2598
		if 1 - cosTheta > 1.0E-4 then
2599
			local theta = math.acos(cosTheta)
2600
			local invSinTheta = 1 / Sin(theta)
2601
			startInterp = Sin((1 - t) * theta) * invSinTheta
2602
			finishInterp = Sin(t * theta) * invSinTheta
2603
		else
2604
			startInterp = 1 - t
2605
			finishInterp = t
2606
		end
2607
	elseif 1 + cosTheta > 1.0E-4 then
2608
		local theta = math.acos(-cosTheta)
2609
		local invSinTheta = 1 / Sin(theta)
2610
		startInterp = Sin((t - 1) * theta) * invSinTheta
2611
		finishInterp = Sin(t * theta) * invSinTheta
2612
	else
2613
		startInterp = t - 1
2614
		finishInterp = t
2615
	end
2616
	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
2617
end
2618
function rayCast(Position, Direction, Range, Ignore)
2619
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
2620
end
2621
local RbxUtility = LoadLibrary("RbxUtility")
2622
local Create = RbxUtility.Create
2623
2624
-------------------------------------------------------
2625
--Start Damage Function--
2626
-------------------------------------------------------
2627
function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
2628
	if hit.Parent == nil then
2629
		return
2630
	end
2631
	local h = hit.Parent:FindFirstChildOfClass("Humanoid")
2632
	for _, v in pairs(hit.Parent:children()) do
2633
		if v:IsA("Humanoid") then
2634
			h = v
2635
		end
2636
	end
2637
         if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
2638
	
2639
         hit.Parent:FindFirstChild("Head"):BreakJoints()
2640
         end
2641
2642
	if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
2643
		if hit.Parent:findFirstChild("DebounceHit") ~= nil then
2644
			if hit.Parent.DebounceHit.Value == true then
2645
				return
2646
			end
2647
		end
2648
         if insta == true then
2649
         hit.Parent:FindFirstChild("Head"):BreakJoints()
2650
         end
2651
		local c = Create("ObjectValue"){
2652
			Name = "creator",
2653
			Value = game:service("Players").LocalPlayer,
2654
			Parent = h,
2655
		}
2656
		game:GetService("Debris"):AddItem(c, .5)
2657
		if HitSound ~= nil and HitPitch ~= nil then
2658
			CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) 
2659
		end
2660
		local Damage = math.random(minim, maxim)
2661
		local blocked = false
2662
		local block = hit.Parent:findFirstChild("Block")
2663
		if block ~= nil then
2664
			if block.className == "IntValue" then
2665
				if block.Value > 0 then
2666
					blocked = true
2667
					block.Value = block.Value - 1
2668
					print(block.Value)
2669
				end
2670
			end
2671
		end
2672
		if blocked == false then
2673
			h.Health = h.Health - Damage
2674
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
2675
		else
2676
			h.Health = h.Health - (Damage / 2)
2677
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
2678
		end
2679
		if Type == "Knockdown" then
2680
			local hum = hit.Parent.Humanoid
2681
			hum.PlatformStand = true
2682
			coroutine.resume(coroutine.create(function(HHumanoid)
2683
				swait(1)
2684
				HHumanoid.PlatformStand = false
2685
			end), hum)
2686
			local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
2687
			local bodvol = Create("BodyVelocity"){
2688
				velocity = angle * knockback,
2689
				P = 5000,
2690
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
2691
				Parent = hit,
2692
			}
2693
			local rl = Create("BodyAngularVelocity"){
2694
				P = 3000,
2695
				maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
2696
				angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
2697
				Parent = hit,
2698
			}
2699
			game:GetService("Debris"):AddItem(bodvol, .5)
2700
			game:GetService("Debris"):AddItem(rl, .5)
2701
		elseif Type == "Normal" then
2702
			local vp = Create("BodyVelocity"){
2703
				P = 500,
2704
				maxForce = Vector3.new(math.huge, 0, math.huge),
2705
				velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
2706
			}
2707
			if knockback > 0 then
2708
				vp.Parent = hit.Parent.Torso
2709
			end
2710
			game:GetService("Debris"):AddItem(vp, .5)
2711
		elseif Type == "Up" then
2712
			local bodyVelocity = Create("BodyVelocity"){
2713
				velocity = Vector3.new(0, 20, 0),
2714
				P = 5000,
2715
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
2716
				Parent = hit,
2717
			}
2718
			game:GetService("Debris"):AddItem(bodyVelocity, .5)
2719
		elseif Type == "DarkUp" then
2720
			coroutine.resume(coroutine.create(function()
2721
				for i = 0, 1, 0.1 do
2722
					swait()
2723
					Effects.Block.Create(BrickColor.new("Really red"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
2724
				end
2725
			end))
2726
			local bodyVelocity = Create("BodyVelocity"){
2727
				velocity = Vector3.new(0, 20, 0),
2728
				P = 5000,
2729
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
2730
				Parent = hit,
2731
			}
2732
			game:GetService("Debris"):AddItem(bodyVelocity, 1)
2733
		elseif Type == "Snare" then
2734
			local bp = Create("BodyPosition"){
2735
				P = 2000,
2736
				D = 100,
2737
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
2738
				position = hit.Parent.Torso.Position,
2739
				Parent = hit.Parent.Torso,
2740
			}
2741
			game:GetService("Debris"):AddItem(bp, 1)
2742
		elseif Type == "Freeze" then
2743
			local BodPos = Create("BodyPosition"){
2744
				P = 50000,
2745
				D = 1000,
2746
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
2747
				position = hit.Parent.Torso.Position,
2748
				Parent = hit.Parent.Torso,
2749
			}
2750
			local BodGy = Create("BodyGyro") {
2751
				maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
2752
				P = 20e+003,
2753
				Parent = hit.Parent.Torso,
2754
				cframe = hit.Parent.Torso.CFrame,
2755
			}
2756
			hit.Parent.Torso.Anchored = true
2757
			coroutine.resume(coroutine.create(function(Part) 
2758
				swait(1.5)
2759
				Part.Anchored = false
2760
			end), hit.Parent.Torso)
2761
			game:GetService("Debris"):AddItem(BodPos, 3)
2762
			game:GetService("Debris"):AddItem(BodGy, 3)
2763
		end
2764
		local debounce = Create("BoolValue"){
2765
			Name = "DebounceHit",
2766
			Parent = hit.Parent,
2767
			Value = true,
2768
		}
2769
		game:GetService("Debris"):AddItem(debounce, Delay)
2770
		c = Create("ObjectValue"){
2771
			Name = "creator",
2772
			Value = Player,
2773
			Parent = h,
2774
		}
2775
		game:GetService("Debris"):AddItem(c, .5)
2776
	end
2777
end
2778
-------------------------------------------------------
2779
--End Damage Function--
2780
-------------------------------------------------------
2781
2782
-------------------------------------------------------
2783
--Start Damage Function Customization--
2784
-------------------------------------------------------
2785
function ShowDamage(Pos, Text, Time, Color)
2786
	local Rate = (1 / 30)
2787
	local Pos = (Pos or Vector3.new(0, 0, 0))
2788
	local Text = (Text or "")
2789
	local Time = (Time or 2)
2790
	local Color = (Color or Color3.new(255, 255, 1))
2791
	local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
2792
	EffectPart.Anchored = true
2793
	local BillboardGui = Create("BillboardGui"){
2794
		Size = UDim2.new(3, 0, 3, 0),
2795
		Adornee = EffectPart,
2796
		Parent = EffectPart,
2797
	}
2798
	local TextLabel = Create("TextLabel"){
2799
		BackgroundTransparency = 1,
2800
		Size = UDim2.new(1, 0, 1, 0),
2801
		Text = Text,
2802
		Font = "Bodoni",
2803
		TextColor3 = Color,
2804
		TextScaled = true,
2805
		TextStrokeColor3 = Color3.fromRGB(220, 188, 129),
2806
		Parent = BillboardGui,
2807
	}
2808
	game.Debris:AddItem(EffectPart, (Time))
2809
	EffectPart.Parent = game:GetService("Workspace")
2810
	delay(0, function()
2811
		local Frames = (Time / Rate)
2812
		for Frame = 1, Frames do
2813
			wait(Rate)
2814
			local Percent = (Frame / Frames)
2815
			EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
2816
			TextLabel.TextTransparency = Percent
2817
		end
2818
		if EffectPart and EffectPart.Parent then
2819
			EffectPart:Destroy()
2820
		end
2821
	end)
2822
end
2823
-------------------------------------------------------
2824
--End Damage Function Customization--
2825
-------------------------------------------------------
2826
2827
function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
2828
  for _, c in pairs(workspace:children()) do
2829
    local hum = c:findFirstChild("Humanoid")
2830
    if hum ~= nil then
2831
      local head = c:findFirstChild("Head")
2832
      if head ~= nil then
2833
        local targ = head.Position - Part.Position
2834
        local mag = targ.magnitude
2835
        if magni >= mag and c.Name ~= plr.Name then
2836
          Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
2837
        end
2838
      end
2839
    end
2840
  end
2841
end
2842
2843
2844
CFuncs = {
2845
	Part = {
2846
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
2847
			local Part = Create("Part")({
2848
				Parent = Parent,
2849
				Reflectance = Reflectance,
2850
				Transparency = Transparency,
2851
				CanCollide = false,
2852
				Locked = true,
2853
				BrickColor = BrickColor.new(tostring(BColor)),
2854
				Name = Name,
2855
				Size = Size,
2856
				Material = Material
2857
			})
2858
			RemoveOutlines(Part)
2859
			return Part
2860
		end
2861
	},
2862
	Mesh = {
2863
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
2864
			local Msh = Create(Mesh)({
2865
				Parent = Part,
2866
				Offset = OffSet,
2867
				Scale = Scale
2868
			})
2869
			if Mesh == "SpecialMesh" then
2870
				Msh.MeshType = MeshType
2871
				Msh.MeshId = MeshId
2872
			end
2873
			return Msh
2874
		end
2875
	},
2876
	Mesh = {
2877
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
2878
			local Msh = Create(Mesh)({
2879
				Parent = Part,
2880
				Offset = OffSet,
2881
				Scale = Scale
2882
			})
2883
			if Mesh == "SpecialMesh" then
2884
				Msh.MeshType = MeshType
2885
				Msh.MeshId = MeshId
2886
			end
2887
			return Msh
2888
		end
2889
	},
2890
	Weld = {
2891
		Create = function(Parent, Part0, Part1, C0, C1)
2892
			local Weld = Create("Weld")({
2893
				Parent = Parent,
2894
				Part0 = Part0,
2895
				Part1 = Part1,
2896
				C0 = C0,
2897
				C1 = C1
2898
			})
2899
			return Weld
2900
		end
2901
	},
2902
	Sound = {
2903
		Create = function(id, par, vol, pit)
2904
			coroutine.resume(coroutine.create(function()
2905
				local S = Create("Sound")({
2906
					Volume = vol,
2907
					Pitch = pit or 1,
2908
					SoundId = id,
2909
					Parent = par or workspace
2910
				})
2911
				wait()
2912
				S:play()
2913
				game:GetService("Debris"):AddItem(S, 6)
2914
			end))
2915
		end
2916
	},
2917
	ParticleEmitter = {
2918
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
2919
			local fp = Create("ParticleEmitter")({
2920
				Parent = Parent,
2921
				Color = ColorSequence.new(Color1, Color2),
2922
				LightEmission = LightEmission,
2923
				Size = Size,
2924
				Texture = Texture,
2925
				Transparency = Transparency,
2926
				ZOffset = ZOffset,
2927
				Acceleration = Accel,
2928
				Drag = Drag,
2929
				LockedToPart = LockedToPart,
2930
				VelocityInheritance = VelocityInheritance,
2931
				EmissionDirection = EmissionDirection,
2932
				Enabled = Enabled,
2933
				Lifetime = LifeTime,
2934
				Rate = Rate,
2935
				Rotation = Rotation,
2936
				RotSpeed = RotSpeed,
2937
				Speed = Speed,
2938
				VelocitySpread = VelocitySpread
2939
			})
2940
			return fp
2941
		end
2942
	}
2943
}
2944
function RemoveOutlines(part)
2945
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
2946
end
2947
function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
2948
	local Part = Create("Part")({
2949
		formFactor = FormFactor,
2950
		Parent = Parent,
2951
		Reflectance = Reflectance,
2952
		Transparency = Transparency,
2953
		CanCollide = false,
2954
		Locked = true,
2955
		BrickColor = BrickColor.new(tostring(BColor)),
2956
		Name = Name,
2957
		Size = Size,
2958
		Material = Material
2959
	})
2960
	RemoveOutlines(Part)
2961
	return Part
2962
end
2963
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
2964
	local Msh = Create(Mesh)({
2965
		Parent = Part,
2966
		Offset = OffSet,
2967
		Scale = Scale
2968
	})
2969
	if Mesh == "SpecialMesh" then
2970
		Msh.MeshType = MeshType
2971
		Msh.MeshId = MeshId
2972
	end
2973
	return Msh
2974
end
2975
function CreateWeld(Parent, Part0, Part1, C0, C1)
2976
	local Weld = Create("Weld")({
2977
		Parent = Parent,
2978
		Part0 = Part0,
2979
		Part1 = Part1,
2980
		C0 = C0,
2981
		C1 = C1
2982
	})
2983
	return Weld
2984
end
2985
2986
2987
2988
-------------------------------------------------------
2989
--End Effect Function--
2990
-------------------------------------------------------
2991
function Cso(ID, PARENT, VOLUME, PITCH)
2992
	local NSound = nil
2993
	coroutine.resume(coroutine.create(function()
2994
		NSound = IT("Sound", PARENT)
2995
		NSound.Volume = VOLUME
2996
		NSound.Pitch = PITCH
2997
		NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
2998
		swait()
2999
		NSound:play()
3000
		game:GetService("Debris"):AddItem(NSound, 50)
3001
	end))
3002
	return NSound
3003
end
3004
function CameraEnshaking(Length, Intensity)
3005
	coroutine.resume(coroutine.create(function()
3006
		local intensity = 1 * Intensity
3007
		local rotM = 0.01 * Intensity
3008
		for i = 0, Length, 0.1 do
3009
			swait()
3010
			intensity = intensity - 0.05 * Intensity / Length
3011
			rotM = rotM - 5.0E-4 * Intensity / Length
3012
			hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
3013
			cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
3014
		end
3015
		hum.CameraOffset = Vector3.new(0, 0, 0)
3016
	end))
3017
end
3018
-------------------------------------------------------
3019
--End Important Functions--
3020
-------------------------------------------------------
3021
3022
----------------------------------------------------------------------------------
3023
hum.WalkSpeed = 20
3024
hum.JumpPower = 60
3025
----------------------------------------------------------------------------------
3026
local AddInstance = function(Object, ...)
3027
local Obj = Instance.new(Object)
3028
for i,v in next,(...) do
3029
Obj[i] = v
3030
end
3031
return Obj
3032
end
3033
----------------------------------------------------
3034
3035
3036
  local Reaper = AddInstance("Part",{
3037
            Parent = hed,
3038
            CFrame = hed.CFrame,
3039
            formFactor = "Symmetric",
3040
            Size = Vector3.new(1, 1, 1),
3041
            CanCollide = false,
3042
            TopSurface = "Smooth",
3043
            BottomSurface = "Smooth",
3044
            Locked = true,
3045
        })
3046
        local Weld = AddInstance("Weld",{
3047
            Parent = Reaper,
3048
            Part0 = hed,
3049
            C0 = CFrame.new(0, 1.45, 0)*CFrame.Angles(0, 0, 0),
3050
            Part1 = Reaper,
3051
        })
3052
        local Mesh = AddInstance("SpecialMesh",{
3053
            Parent = Reaper,
3054
            MeshId = "rbxassetid://0",
3055
            TextureId = "rbxassetid://0",
3056
            Scale = Vector3.new(0.85,0.85,0.85),
3057
            VertexColor = Vector3.new(1, 1, 1),
3058
        })
3059
3060
-------------------------------------------------------
3061
IT = Instance.new
3062
CF = CFrame.new
3063
VT = Vector3.new
3064
RAD = math.rad
3065
C3 = Color3.new
3066
UD2 = UDim2.new
3067
BRICKC = BrickColor.new
3068
ANGLES = CFrame.Angles
3069
EULER = CFrame.fromEulerAnglesXYZ
3070
COS = math.cos
3071
ACOS = math.acos
3072
SIN = math.sin
3073
ASIN = math.asin
3074
ABS = math.abs
3075
MRANDOM = math.random
3076
FLOOR = math.floor
3077
3078
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
3079
	local label = IT("TextLabel")
3080
	label.BackgroundTransparency = 1
3081
	label.Size = UD2(1, 0, 1, 0)
3082
	label.Position = UD2(0, 0, 0, 0)
3083
	label.TextColor3 = TEXTCOLOR
3084
	label.TextStrokeTransparency = STROKETRANSPARENCY
3085
	label.TextTransparency = TRANSPARENCY
3086
	label.FontSize = TEXTFONTSIZE
3087
	label.Font = TEXTFONT
3088
	label.BorderSizePixel = BORDERSIZEPIXEL
3089
	label.TextScaled = false
3090
	label.Text = TEXT
3091
	label.Name = NAME
3092
	label.Parent = PARENT
3093
	return label
3094
end
3095
3096
function chatfunc(text)
3097
	local chat = coroutine.wrap(function()
3098
	if Character:FindFirstChild("TalkingBillBoard")~= nil then
3099
		Character:FindFirstChild("TalkingBillBoard"):destroy()
3100
	end
3101
	local Bill = Instance.new("BillboardGui",Character)
3102
	Bill.Size = UDim2.new(0,100,0,40)
3103
	Bill.StudsOffset = Vector3.new(0,3,0)
3104
	Bill.Adornee = Character.Head
3105
	Bill.Name = "TalkingBillBoard"
3106
	local Hehe = Instance.new("TextLabel",Bill)
3107
	Hehe.BackgroundTransparency = 1
3108
	Hehe.BorderSizePixel = 0
3109
	Hehe.Text = ""
3110
	Hehe.Font = "Bodoni"
3111
	Hehe.TextSize = 40
3112
	Hehe.TextStrokeTransparency = 0
3113
	Hehe.Size = UDim2.new(1,0,0.5,0)
3114
	coroutine.resume(coroutine.create(function()
3115
		while Hehe ~= nil do
3116
			swait()	
3117
			Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))	
3118
			Hehe.Rotation = math.random(-5,5)
3119
			Hehe.TextColor3 = Color3.new(220, 188, 129)
3120
			Hehe.TextStrokeColor3 = Color3.new(220, 188, 129)
3121
		end
3122
	end))
3123
	for i = 1,string.len(text),1 do
3124
		swait()
3125
		Hehe.Text = string.sub(text,1,i)
3126
	end
3127
	swait(90)--Re[math.random(1, 93)]
3128
	for i = 0, 1, .025 do
3129
		swait()
3130-
            C0 = CFrame.new(-0.02, 0.3, 0)*CFrame.Angles(0, 480.5, 0),
3130+
3131
		Hehe.TextStrokeTransparency = i
3132
		Hehe.TextTransparency = i
3133
	end
3134
	Bill:Destroy()
3135-
            MeshId = "rbxassetid://488906775",
3135+
3136
chat()
3137
end
3138
3139
function onChatted(msg)
3140
	chatfunc(msg)
3141
end
3142
3143
Player.Chatted:connect(onChatted)
3144
3145
function Ban()
3146
wait(1.5)
3147
  local Hair = AddInstance("Part",{
3148
            Parent = hed,
3149
            CFrame = hed.CFrame,
3150
            formFactor = "Symmetric",
3151
            Size = Vector3.new(1, 1, 1),
3152
            CanCollide = false,
3153
            TopSurface = "Smooth",
3154
            BottomSurface = "Smooth",
3155
            Locked = true,
3156
        })
3157
        local Weld = AddInstance("Weld",{
3158
            Parent = Hair,
3159
            Part0 = hed,
3160
            C0 = CFrame.new(0, 0.3, 0.45)*CFrame.Angles(0, 480.5, 0),
3161
            Part1 = Hair,
3162
        })
3163
        local Mesh = AddInstance("SpecialMesh",{
3164
            Parent = Hair,
3165
            MeshId = "rbxassetid://430736398",
3166
            TextureId = "rbxassetid://869796655",
3167
            Scale = Vector3.new(1,1,1),
3168
            VertexColor = Vector3.new(1, 1, 1),
3169
        })
3170
  local Cape = AddInstance("Part",{
3171
            Parent = Torso,
3172
            CFrame = Torso.CFrame,
3173
            formFactor = "Symmetric",
3174
            Size = Vector3.new(1, 1, 1),
3175
            CanCollide = false,
3176
            TopSurface = "Smooth",
3177
            BottomSurface = "Smooth",
3178
            Locked = true,
3179
        })
3180
        local Weld = AddInstance("Weld",{
3181
            Parent = Cape,
3182
            Part0 = Torso,
3183
            C0 = CFrame.new(0, -1.2, 0.65)*CFrame.Angles(0, 0, 0),
3184
            Part1 = Cape,
3185
        })
3186
        local Mesh = AddInstance("SpecialMesh",{
3187
            Parent = Cape,
3188
            MeshId = "rbxassetid://2774049768",
3189
            TextureId = "rbxassetid://2774049797",
3190
            Scale = Vector3.new(5, 4, 5),
3191
            VertexColor = Vector3.new(1, 1, 1),
3192
        })
3193
	local har3 = Instance.new("Part", char.Head)
3194
		har3.BrickColor = BrickColor.new("Black")
3195
		har3.Name = "Hair" 
3196
		har3.formFactor = 0
3197
		har3.Size = Vector3.new(0,-0.25,0) 
3198
		har3.BottomSurface = 0 
3199
		har3.TopSurface = 0 
3200
		har3.CanCollide = false
3201
		Mesh3 = Instance.new("SpecialMesh",har3)
3202
        Mesh3.MeshId = "rbxassetid://1018860047"
3203
        Mesh3.Scale=Vector3.new(1.01, .99, 1.01)
3204
        local bWeld = Instance.new("Weld", char.Head)
3205
        bWeld.Part0 = char.Head
3206
        bWeld.Part1 = har3
3207
        bWeld.C1 = CFrame.new(0,-.1,.3)
3208
3209
swait()
3210
plr = game.Players.LocalPlayer
3211
char = plr.Character
3212
mouse = plr:GetMouse()
3213
whitecolor = Color3.new(220, 188, 129)
3214
epicmode = false
3215
normal = true
3216
for i,v in pairs(char:GetChildren()) do
3217
   if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" then
3218
      v:Destroy()
3219
     end
3220
end
3221
local shirt = Instance.new("Shirt",char)
3222
shirt.ShirtTemplate = "rbxassetid://0"
3223
local pants = Instance.new("Pants",char)
3224
pants.PantsTemplate = "rbxassetid://0"
3225
local bdycolors = char["Body Colors"]
3226
bdycolors.HeadColor3 = whitecolor
3227
bdycolors.LeftArmColor3 = whitecolor
3228
bdycolors.LeftLegColor3 = whitecolor
3229
bdycolors.RightArmColor3 = whitecolor
3230
bdycolors.RightLegColor3 = whitecolor
3231
bdycolors.TorsoColor3 = whitecolor
3232
for i,v in pairs(char:GetChildren()) do
3233
    if v.ClassName == "Hat" or v.ClassName == "Accessory" then
3234
        v:Destroy()
3235
    end
3236
end
3237
3238
local BC = Character["Body Colors"]
3239
BC.HeadColor = BrickColor.new("Flame yellowish orange")
3240
BC.LeftArmColor = BrickColor.new("Flame yellowish orange")
3241
BC.LeftLegColor = BrickColor.new("Flame yellowish orange")
3242
BC.RightArmColor = BrickColor.new("Flame yellowish orange")
3243
BC.RightLegColor = BrickColor.new("Flame yellowish orange")
3244
BC.TorsoColor = BrickColor.new("Curry")
3245
end
3246
3247
mouse.Button1Down:connect(function(key)
3248
	if attack == false then
3249
		Ban()
3250
	end
3251
end)
3252
-----------------------------------------------
3253
3254
theme = Instance.new("Sound", Head)
3255
theme.Volume = 0.7
3256
theme.Name = "theme"
3257
theme.Looped = true
3258
3259
mouse.KeyDown:connect(function(Press)
3260
Press=Press:lower()
3261
if Press=='z' then
3262
id = 0
3263
theme.SoundId = "rbxassetid://"..id
3264
theme:Play()
3265
end
3266
end)
3267
3268
mouse.KeyDown:connect(function(Press)
3269
Press=Press:lower()
3270
if Press=='c' then
3271
id = 143809158
3272
theme.SoundId = "rbxassetid://"..id
3273
theme:Play()
3274-
end)
3274+
3275
end)
3276
3277
mouse.KeyDown:connect(function(Press)
3278
Press=Press:lower()
3279
if Press=='v' then
3280
id = 136343853
3281
theme.SoundId = "rbxassetid://"..id
3282
theme:Play()
3283
end
3284
end)
3285
3286
mouse.KeyDown:connect(function(Press)
3287
Press=Press:lower()
3288
if Press=='b' then
3289
id = 317697384
3290
theme.SoundId = "rbxassetid://"..id
3291
theme:Play()
3292
end
3293
end)
3294
3295
mouse.KeyDown:connect(function(Press)
3296
Press=Press:lower()
3297
if Press=='x' then
3298
id = 235751894
3299
theme.SoundId = "rbxassetid://"..id
3300
theme:Play()
3301
end
3302
end)
3303
mas:Destroy()