View difference between Paste ID: D3BLT6kv and R1ZTYfWC
SHOW: | | - or go back to the newest paste.
1
--MADE BY OneLegend (NOT THE SCRIPT) LOCAL SCRIPT: Go down to line 4 and put your name where it says "YOUR NAME HERE" Leave the "s
2
3
4-
local Name="YOURNAME"
4+
local Name="bmark2003"
5
local workspace=Workspace
6
local player=game.Players[Name]
7
local char=player.Character
8
local Color=BrickColor.new("Pastel brown")
9
10
if script.Parent.className~="HopperBin" then
11
pcall(function() char.Gourd:remove() end)
12
Staff=Instance.new("HopperBin")
13
Staff.Name="Sand"
14
Staff.Parent=player.Backpack
15
m=Instance.new("Model")
16
m.Parent=char
17
m.Name="Gourd"
18
p=Instance.new("Part")
19
p.Locked=true
20
p.BrickColor=BrickColor:Red()
21
p.Material="Concrete"
22
p.Size=Vector3.new(1,1,1)
23
Cent=p
24
me=Instance.new("CylinderMesh")
25
me.Scale=Vector3.new(1.2,0.4,1.2)
26
me.Parent=p
27
p.Parent=m
28
w=Instance.new("Weld")
29
w.Part1=char.Torso
30
w.Part0=p
31
w.Parent=p
32
w.C0=CFrame.new(0,0.25,-1)*CFrame.Angles(0,0,math.rad(35))
33
p=Instance.new("Part")
34
p.Locked=true
35
p.BrickColor=Color
36
p.Material="Concrete"
37
p.Size=Vector3.new(2,2,2)
38
p.Shape="Ball"
39
p.Parent=m
40
w=Instance.new("Weld")
41
w.Part1=Cent
42
w.Part0=p
43
w.Parent=p
44
w.C0=CFrame.new(0,1,0)
45
p=Instance.new("Part")
46
p.Locked=true
47
p.BrickColor=Color
48
p.Material="Concrete"
49
p.Size=Vector3.new(2,2,2)
50
p.Shape="Ball"
51
p.Parent=m
52
w=Instance.new("Weld")
53
w.Part1=Cent
54
w.Part0=p
55
w.Parent=p
56
w.C0=CFrame.new(0,-1,0)
57
Top=p
58
p=Instance.new("Part")
59
p.Locked=true
60
p.BrickColor=Color
61
p.Material="Concrete"
62
p.Size=Vector3.new(1,1,1)
63
p.Parent=m
64
me=Instance.new("CylinderMesh")
65
me.Scale=Vector3.new(0.5,0.15,0.5)
66
me.Parent=p
67
w=Instance.new("Weld")
68
w.Part1=Top
69
w.Part0=p
70
w.Parent=p
71
w.C0=CFrame.new(0,-1,0)
72
p=Instance.new("Part")
73
p.Locked=true
74
p.BrickColor=BrickColor.new("Black")
75
p.Material="Concrete"
76
p.Size=Vector3.new(1,1,1)
77
p.Parent=m
78
me=Instance.new("CylinderMesh")
79
me.Scale=Vector3.new(0.4,0.16,0.4)
80
me.Parent=p
81
w=Instance.new("Weld")
82
w.Part1=Top
83
w.Part0=p
84
w.Parent=p
85
w.C0=CFrame.new(0,-1,0)
86
p=Instance.new("Part")
87
p.Locked=true
88
p.BrickColor=BrickColor:Red()
89
p.Material="Concrete"
90
p.Size=Vector3.new(2,1,1)
91
p.Parent=m
92
me=Instance.new("BlockMesh")
93
me.Scale=Vector3.new(1.1,0.15,1.1)
94
me.Parent=p
95
w=Instance.new("Weld")
96
w.Part1=char.Torso
97
w.Part0=p
98
w.Parent=p
99
w.C0=CFrame.new(0,.75,0)
100
p=Instance.new("Part")
101
p.Locked=true
102
p.BrickColor=BrickColor:Red()
103
p.Material="Concrete"
104
p.Size=Vector3.new(2,1,1)
105
p.Parent=m
106
me=Instance.new("BlockMesh")
107
me.Scale=Vector3.new(1.29,0.15,1.1)
108
me.Parent=p
109
w=Instance.new("Weld")
110
w.Part1=char.Torso
111
w.Part0=p
112
w.Parent=p
113
w.C1=CFrame.new(0,0.1,0)*CFrame.Angles(0,0,math.rad(-40))
114
script.Name="Not A QuickScript"
115
script.Parent=Staff
116
end
117
Sword=script.Parent
118
function hint(msg,de)
119
for _,v in pairs(player:children()) do
120
if v:IsA("Message") then
121
v:remove()
122
end
123
end
124
local h=Instance.new("Hint")
125
h.Text=tostring(msg)
126
h.Parent=player
127
Delay(tonumber(de),function() h:remove() end)
128
end
129
ta={}
130
for _,v in pairs(player.Backpack:GetChildren()) do
131
if v.Name=="Sand" then
132
table.insert(ta,v)
133
end
134
end
135
if #ta==2 or #ta>2 then
136
ta[1]:remove()
137
end
138
Hopper=script.Parent
139
function Stream(mouse)
140
local b=Instance.new("Part")
141
b.BrickColor=Color
142
b.Reflectance=0
143
b.Transparency=1
144
b.Size=Vector3.new(2,2,2)
145
b.Shape="Ball"
146
b.CanCollide=false
147
b.TopSurface="Smooth"
148
b.Position=char.Head.Position
149
b.BottomSurface="Smooth"
150
b.Friction=0
151
b.Touched:connect(function(h) Hit(h) end)
152
local bo=Instance.new("BodyVelocity")
153
bo.maxForce=Vector3.new(9999,9999,9999)
154
bo.velocity=(mouse.Hit.p-char.Head.Position).unit*60
155
bo.Parent=b
156
b.Parent=Gourd
157
local Bo=b
158
while Bo.Parent and Up==false do
159
wait()
160
if mouse.Target and (Bo.Position-mouse.Target.Position).magnitude<7 then
161
Hit(mouse.Target)
162
else
163
Bo.CFrame=b.CFrame --BodyPosition anti-hax
164
bo.velocity=(mouse.Hit.p-Bo.Position).unit*150
165
end
166
local b=Instance.new("Part")
167
b.BrickColor=Color
168
b.Reflectance=0
169
b.Transparency=0.2
170
b.Touched:connect(Hit)
171
b.Size=Vector3.new(2,2,2)
172
b.CanCollide=false
173
b.Anchored=true
174
b.TopSurface="Smooth"
175
b.Parent=Gourd
176
b.CFrame=Bo.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
177
b.BottomSurface="Smooth"
178
Delay(0,function()
179
local p=b
180
for i=1,5 do
181
wait(0.05)
182
p.Transparency=i/5
183
end
184
p:remove()
185
end)
186
end
187
pcall(function() Bo:remove() end)
188
end
189
function Def(mouse)
190
local b=Instance.new("Part")
191
b.BrickColor=Color
192
b.Reflectance=0
193
b.Transparency=0.6
194
b.Size=Vector3.new(15,15,15)
195
b.Anchored=false
196
b.Shape="Ball"
197
b.CanCollide=false
198
p=Instance.new("BodyPosition")
199
p.Parent=b
200
p.maxForce=Vector3.new(math.huge,math.huge,math.huge)
201
p.position=char.Torso.Position
202
b.TopSurface="Smooth"
203
b.Position=char.Torso.Position
204
b.BottomSurface="Smooth"
205
b.Touched:connect(function(h)
206
Hit(h)
207
end)
208
b.Parent=Gourd
209
while Up==false and b.Parent do
210
b.CFrame=char.Torso.CFrame
211
p.position=char.Torso.Position
212
local p=Instance.new("Part")
213
p.Size=Vector3.new(1,1,1)
214
p.BrickColor=Color
215
p.Anchored=true
216
p.CanCollide=false
217
p.Parent=Gourd
218
p.CFrame=char.Torso.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360))
219
local m=Instance.new("BlockMesh")
220
m.Scale=Vector3.new(0.5,0.5,0.5)
221
m.Parent=p
222
Delay(0,function()
223
local p=p
224
for i=1,5 do
225
wait(0.05)
226
p.Transparency=i/5
227
end
228
p:remove()
229
end)
230
wait()
231
end
232
pcall(function() b:remove() end)
233
end
234
function Bur(mouse)
235
if mouse.Target and game.Players:getPlayerFromCharacter(mouse.Target.Parent) then 
236
local m=mouse.Target.Parent
237
m.Torso.Anchored=true
238
for i=1,15 do
239
local p=Instance.new("Part")
240
p.Size=Vector3.new(i,1,i)
241
p.BrickColor=Color
242
p.Anchored=true
243
p.Transparency=i/14
244
p.CanCollide=false
245
p.Parent=m
246
local me=Instance.new("CylinderMesh")
247
me.Scale=Vector3.new(1,1.1,1)
248
me.Parent=p
249
p.CFrame=CFrame.new(m.Torso.CFrame.x,m.Torso.CFrame.y-3.5,m.Torso.CFrame.z) 
250
end
251
for i=1,10 do
252
for i=1,6 do
253
wait()
254
local p=Instance.new("Part")
255
p.Size=Vector3.new(1,1,1)
256
p.BrickColor=Color
257
p.Anchored=true
258
p.CanCollide=false
259
p.Parent=m
260
p.CFrame=m.Torso.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360))
261
local m=Instance.new("BlockMesh")
262
m.Scale=Vector3.new(0.25,0.25,0.25)
263
m.Parent=p
264
Delay(0,function()
265
local p=p
266
for i=1,5 do
267
wait(0.05)
268
p.Transparency=i/5
269
end
270
p:remove()
271
end)
272
end
273
m.Torso.CFrame=CFrame.new(m.Torso.Position)*CFrame.new(0,-0.5,0)
274
wait()
275
end
276
Hit(m.Torso)
277
Hit(m.Head)
278
end
279
end
280
function Shift(mouse)
281
if mouse.Target then
282
local mo=Instance.new("Model",char)
283
local h=mouse.Hit.p
284
local m=char
285
for i=1,15 do
286
local p=Instance.new("Part")
287
p.Size=Vector3.new(i,1,i)
288
p.BrickColor=Color
289
p.Anchored=true
290
p.Transparency=i/14
291
p.CanCollide=false
292
p.Parent=mo
293
local me=Instance.new("CylinderMesh")
294
me.Scale=Vector3.new(1,1.1,1)
295
me.Parent=p
296
p.CFrame=CFrame.new(m.Torso.CFrame.x,m.Torso.CFrame.y-3.5,m.Torso.CFrame.z) 
297
end
298
for i=1,15 do
299
local p=Instance.new("Part")
300
p.Size=Vector3.new(i,1,i)
301
p.BrickColor=Color
302
p.Anchored=true
303
p.Transparency=i/14
304
p.CanCollide=false
305
p.Parent=mo
306
local me=Instance.new("CylinderMesh")
307
me.Scale=Vector3.new(1,1.1,1)
308
me.Parent=p
309
p.CFrame=CFrame.new(h)*CFrame.new(0,-0.5,0)
310
end
311
m.Torso.Anchored=true
312
for i=1,15 do
313
for i=1,6 do
314
wait()
315
local p=Instance.new("Part")
316
p.Size=Vector3.new(1,1,1)
317
p.BrickColor=Color
318
p.Anchored=true
319
p.CanCollide=false
320
p.Parent=mo
321
p.CFrame=m.Torso.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360))
322
local m=Instance.new("BlockMesh")
323
m.Scale=Vector3.new(0.25,0.25,0.25)
324
m.Parent=p
325
Delay(0,function()
326
local p=p
327
for i=1,5 do
328
wait(0.05)
329
p.Transparency=i/5
330
end
331
p:remove()
332
end)
333
end
334
m.Torso.CFrame=m.Torso.CFrame*CFrame.new(0,-0.6,0)
335
wait()
336
end
337
m.Torso.CFrame=CFrame.new(h)*CFrame.new(0,-1.5,0)
338
for i=1,11 do
339
for i=1,6 do
340
wait()
341
local p=Instance.new("Part")
342
p.Size=Vector3.new(1,1,1)
343
p.BrickColor=Color
344
p.Anchored=true
345
p.CanCollide=false
346
p.Parent=mo
347
p.CFrame=m.Torso.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360))
348
local m=Instance.new("BlockMesh")
349
m.Scale=Vector3.new(0.25,0.25,0.25)
350
m.Parent=p
351
Delay(0,function()
352
local p=p
353
for i=1,5 do
354
wait(0.05)
355
p.Transparency=i/5
356
end
357
p:remove()
358
end)
359
end
360
m.Torso.CFrame=m.Torso.CFrame*CFrame.new(0,0.5,0)
361
wait()
362
end
363
m.Torso.Anchored=false
364
mo:remove()
365
end
366
end
367
368
function Wave(mouse)
369
if mouse.Hit.p.x>char.Torso.Position.x then
370
Deg=-2
371
Fre=-60
372
else
373
Deg=2
374
Fre=60
375
end
376
local X=char.Torso.CFrame.x
377
for i=0,Fre,Deg do
378
wait()
379
local p=Instance.new("Part")
380
p.Parent=Gourd
381
p.Size=Vector3.new(2,1,workspace.Base.Size.z)
382
p.BrickColor=Color
383
p.Anchored=true
384
p.CFrame=CFrame.new(X,0,workspace.Base.Position.z)*CFrame.new(-i,0,0)
385
local m=Instance.new("BlockMesh")
386
m.Parent=p
387
m.Scale=Vector3.new(1,1.2,1.005)
388
Delay(0,function()
389
local p=p
390
local m=m
391
for i=1,9,0.25 do
392
m.Scale=m.Scale+Vector3.new(0,.25,0)
393
wait()
394
end
395
wait()
396
for i=1,9,0.25 do
397
m.Scale=m.Scale+Vector3.new(0,-.25,0)
398
wait()
399
end
400
p:remove()
401
end)
402
for _,v in pairs(game.Players:GetPlayers()) do
403
if v.Character and v.Character:findFirstChild("Head") then
404
if v.Character.Head.Position.y<(workspace.Base.Position.y+9.5) then
405
if v.Character.Torso.Position.x<p.Position.x+p.Size.x/2 and v.Character.Torso.Position.x>p.Position.x-p.Size.x/2 then
406
Hit(v.Character.Head)
407
end
408
end
409
end
410
end
411
end
412
end
413
function Spike(mouse)
414
local Pos=char.Torso.Position
415
for ii=8,25,3 do
416
wait()
417
for i=0,360,360/12 do 
418
local x = (ii) * math.sin(i) + Pos.x 
419
local y = Pos.y-4
420
local z = (ii)* math.cos (i) + Pos.z
421
local brick = Instance.new("Part") 
422
brick.Size=Vector3.new(1,1,1)
423
brick.Anchored=true
424
brick.BrickColor=Color
425
brick.Parent=Gourd
426
brick.CFrame = CFrame.new(x,y,z) 
427
brick.Touched:connect(Hit)
428
local mesh=Instance.new("CylinderMesh")
429
mesh.Parent=brick
430
Delay(0,function()
431
local p=brick
432
local m=mesh
433
for i=1,8 do
434
m.Scale=m.Scale+Vector3.new(0,.25,0)
435
p.CFrame=p.CFrame*CFrame.new(0,0.25,0)
436
wait()
437
end
438
for i=1,10 do
439
p.Transparency=i/10
440
wait(0.05)
441
end
442
p:remove()
443
end)
444
end
445
for _,v in pairs(game.Players:GetPlayers()) do
446
if v.Character and v.Character:findFirstChild("Torso") and (v.Character.Torso.Position-Pos).magnitude<ii then
447
Hit(v.Character.Torso)
448
end
449
end
450
wait(0.08)
451
end
452
end
453
function Coffin(mouse)
454
if mouse.Target and game.Players:getPlayerFromCharacter(mouse.Target.Parent) then
455
me=mouse.Target.Parent
456
Delay(0,function() 
457
while me:findFirstChild("Torso") do
458
wait()
459
local p=Instance.new("Part")
460
p.Size=Vector3.new(1,1,1)
461
p.BrickColor=Color
462
p.Anchored=true
463
p.CanCollide=false
464
p.Parent=me
465
p.CFrame=me.Torso.CFrame*CFrame.new(math.random(-8,8),math.random(-2,5),math.random(-8,8))*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360))
466
local m=Instance.new("BlockMesh")
467
m.Scale=Vector3.new(0.35,0.35,0.35)
468
m.Parent=p
469
Delay(0,function()
470
local p=p
471
for i=1,5 do
472
wait(0.05)
473
p.Transparency=i/5
474
end
475
p:remove()
476
end)
477
end
478
end)
479
BP=Instance.new("BodyPosition")
480
BP.maxForce=Vector3.new(math.huge,math.huge,math.huge)
481
BP.position=me.Torso.Position+Vector3.new(0,2,0)
482
BP.Parent=me.Torso
483
b=Instance.new("Part")
484
b.Size=Vector3.new(8,1,8)
485
b.BottomSurface="Smooth"
486
b.TopSurface="Smooth"
487
b.BrickColor=Color
488
b.CanCollide=false
489
m=Instance.new("BlockMesh")
490
m.Parent=b
491
m.Scale=Vector3.new(1,0.5,1)
492
b.Parent=me
493
b:BreakJoints()
494
w=Instance.new("Weld")
495
w.Parent=b
496
w.Part0=me.Torso
497
w.Part1=b
498
w.C0=CFrame.new(0,-3.5,0)
499
for i=1,7,0.25 do
500
wait(0.075)
501
m.Scale=m.Scale+Vector3.new(0,0.25,0)
502
w.C0=w.C0*CFrame.new(0,0.25/2,0)
503
BP.position=BP.position+Vector3.new(0,.75,0)
504
end
505
for i=1,2-(0.5/5),0.25/5 do
506
m.Scale=m.Scale+Vector3.new(-.25/8,0,-.25/8)
507
wait(0.05)
508
end
509
Hit(me.Head)
510
Hit(me.Torso)
511
end
512
end
513
function Cage(mouse)
514
if mouse.Target then
515
pos=mouse.Hit
516
for ii=0,360,360/6 do
517
wait()
518
for i=0,360/10 do
519
local p=Instance.new("Part")
520
p.CFrame=pos*CFrame.new(math.cos(i)*8,math.sin(i)*8*3/i,0)*CFrame.Angles(math.rad(360/ii),math.rad(360/ii),0)
521
p.Anchored=true
522
p.BrickColor=Color
523
p.Parent=Gourd
524
p.Size=Vector3.new(1,4,4)
525
Delay(5,function()
526
p:remove()
527
end)
528
end
529
end
530
end
531
end
532
533
wep={Stream,Def,Bur,Shift,Wave,Spike,Coffin,Cage}
534
name={"Sand Stream","Manual Defence","Sand Burial","Sand Shift","Sand Tsunami","Sand Spikes","Sand Coffin","Sand Cage"}
535
function CheckAdd()
536
if (Mode+1)~=(#wep+1) then
537
Mode=Mode+1
538
Hopper.Name=name[Mode].."("..Mode..")"
539
elseif (Mode+1)==(#wep+1) then
540
Mode=1
541
Hopper.Name=name[Mode].."("..Mode..")"
542
end
543
end
544
function CheckSub()
545
if (Mode-1)==0 or (Mode-1)<0 then
546
Mode=#wep
547
Hopper.Name=name[Mode].."("..Mode..")"
548
elseif (Mode-1)~=0 then
549
Mode=Mode-1
550
Hopper.Name=name[Mode].."("..Mode..")"
551
end
552
end
553
function KeyDown(key)
554
if key=="c" then
555
CheckAdd()
556
elseif key=="x" then
557
Mode=1
558
Hopper.Name=name[1].."("..Mode..")"
559
elseif key=="z" then
560
CheckSub()
561
end
562
end
563
Mode=0
564
Up=false
565
Sand=true
566
Hopper.Selected:connect(function(mouse)
567
Sand=true
568
Gourd=char.Gourd
569
mouse.KeyDown:connect(KeyDown)
570
mouse.Button1Down:connect(function()
571
Up=false
572
coroutine.resume(coroutine.create(function() wep[Mode](mouse) end))
573
end)
574
mouse.Button1Up:connect(function() Up=true  end)
575
mouse.Icon = "rbxasset://textures\\GunCursor.png"
576
Kill=char.Humanoid.Died:connect(function()
577
wait()
578
if char:findFirstChild("Head") then
579
m=char.Head
580
elseif char:findFirstChild("Torso") then
581
m=char.Torso
582
else
583
return 
584
end
585
local p=Instance.new("Part")
586
p.Size=Vector3.new(1,1,1)
587
p.BrickColor=Color
588
p.Anchored=true
589
p.Transparency=1
590
p.CanCollide=false
591
p.Parent=char
592
local me=Instance.new("CylinderMesh")
593
me.Scale=Vector3.new(1,1.1,1)
594
me.Parent=p
595
p.CFrame=CFrame.new(m.CFrame.x,workspace.Base.CFrame.y,m.CFrame.z) 
596
for i=1,100 do
597
local me=me
598
local p=p
599
wait()
600
me.Scale=me.Scale+Vector3.new(.5,0,.5)
601
p.Transparency=i/200 --100?
602
end
603
for _,v in pairs(game.Players:GetPlayers()) do
604
if v.Character and v.Name~=Name and (v.Character.Torso.Position-p.Position).magnitude<51 then
605
pcall(function() Hit(v.Character.Head) end)
606
end
607
end
608
p:remove()
609
end)
610
while Sand do
611
wait(0.05)
612
local p=Instance.new("Part")
613
p.Size=Vector3.new(1,1,1)
614
p.BrickColor=Color
615
p.Anchored=true
616
p.CanCollide=false
617
p.Parent=char
618
p.CFrame=char.Torso.CFrame*CFrame.new(math.random(-7,7),math.random(-2,5),math.random(-7,7))*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360))
619
p.Touched:connect(Hit)
620
local m=Instance.new("BlockMesh")
621
m.Scale=Vector3.new(0.15,0.15,0.15)
622
m.Parent=p
623
Delay(0,function()
624
local p=p
625
for i=1,5 do
626
wait(0.05)
627
p.Transparency=i/5
628
end
629
p:remove()
630
end)
631
end
632
end)
633
Hopper.Deselected:connect(function()
634
pcall(function() 
635
Sand=false
636
Kill:disconnect() 
637
end)
638
end)
639
function Hit(p)
640
if p.Parent.Name~=Name and p.Parent.Parent.Name~=Name and p.Name~="Base" and p.Name~="Sand" and p.Parent then
641
Delay(0,function() 
642
p.Anchored=true
643
p.Name="Sand"
644
p.BrickColor=Color
645
for i=1,5 do
646
p.Transparency=i/5
647
wait(0.1)
648
end
649
p:remove()
650
end)
651
end
652
end