Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
- 93
- 94
- 95
- 96
- 97
- 98
- 99
- 100
- 101
- 102
- 103
- 104
- 105
- 106
- 107
- 108
- 109
- 110
- 111
- 112
- 113
- 114
- 115
- 116
- 117
- 118
- 119
- 120
- 121
- 122
- 123
- 124
- 125
- 126
- 127
- 128
- 129
- 130
- 131
- 132
- 133
- 134
- 135
- 136
- 137
- 138
- 139
- 140
- 141
- 142
- 143
- 144
- 145
- 146
- 147
- 148
- 149
- 150
- 151
- 152
- 153
- 154
- 155
- 156
- 157
- 158
- 159
- 160
- 161
- 162
- 163
- 164
- 165
- 166
- 167
- 168
- 169
- 170
- 171
- 172
- 173
- 174
- 175
- 176
- 177
- 178
- 179
- 180
- 181
- 182
- 183
- 184
- 185
- 186
- 187
- 188
- 189
- 190
- 191
- 192
- 193
- 194
- 195
- 196
- 197
- 198
- 199
- 200
- 201
- 202
- 203
- 204
- 205
- 206
- 207
- 208
- 209
- 210
- 211
- 212
- 213
- 214
- 215
- 216
- 217
- 218
- 219
- 220
- 221
- 222
- 223
- 224
- 225
- 226
- 227
- 228
- 229
- 230
- 231
- 232
- 233
- 234
- 235
- 236
- 237
- 238
- 239
- 240
- 241
- 242
- 243
- 244
- 245
- 246
- 247
- 248
- 249
- 250
- 251
- 252
- 253
- 254
- 255
- 256
- 257
- 258
- 259
- 260
- 261
- 262
- 263
- 264
- 265
- 266
- 267
- 268
- 269
- 270
- 271
- 272
- 273
- 274
- 275
- 276
- 277
- 278
- 279
- 280
- 281
- 282
- 283
- 284
- 285
- 286
- 287
- 288
- 289
- 290
- 291
- 292
- 293
- 294
- 295
- 296
- 297
- 298
- 299
- 300
- 301
- 302
- 303
- 304
- 305
- 306
- 307
- 308
- 309
- 310
- 311
- 312
- 313
- 314
- 315
- 316
- 317
- 318
- 319
- 320
- 321
- 322
- 323
- 324
- 325
- 326
- 327
- 328
- 329
- 330
- 331
- 332
- 333
- 334
- 335
- 336
- 337
- 338
- 339
- 340
- 341
- 342
- 343
- 344
- 345
- 346
- 347
- 348
- 349
- 350
- 351
- 352
- 353
- 354
- 355
- 356
- 357
- 358
- 359
- 360
- 361
- 362
- 363
- 364
- 365
- 366
- 367
- 368
- 369
- 370
- 371
- 372
- 373
- 374
- 375
- 376
- 377
- 378
- 379
- 380
- 381
- 382
- 383
- 384
- 385
- 386
- 387
- 388
- 389
- 390
- 391
- 392
- 393
- 394
- 395
- 396
- 397
- 398
- 399
- 400
- 401
- 402
- 403
- 404
- 405
- 406
- 407
- 408
- 409
- 410
- 411
- 412
- 413
- 414
- 415
- 416
- 417
- 418
- 419
- 420
- 421
- 422
- 423
- 424
- 425
- 426
- 427
- 428
- 429
- 430
- 431
- 432
- 433
- 434
- 435
- 436
- 437
- 438
- 439
- 440
- 441
- 442
- 443
- 444
- 445
- 446
- 447
- 448
- 449
- 450
- 451
- 452
- 453
- 454
- 455
- 456
- 457
- 458
- 459
- 460
- 461
- 462
- 463
- 464
- 465
- 466
- 467
- 468
- 469
- 470
- 471
- 472
- 473
- 474
- 475
- 476
- 477
- 478
- 479
- 480
- 481
- 482
- 483
- 484
- 485
- 486
- 487
- 488
- 489
- 490
- 491
- 492
- 493
- 494
- 495
- 496
- 497
- 498
- 499
- 500
- 501
- 502
- 503
- 504
- 505
- 506
- 507
- 508
- 509
- 510
- 511
- 512
- 513
- 514
- 515
- 516
- 517
- 518
- 519
- 520
- 521
- 522
- 523
- 524
- 525
- 526
- 527
- 528
- 529
- 530
- 531
- 532
- 533
- 534
- 535
- 536
- 537
- 538
- 539
- 540
- 541
- 542
- 543
- 544
- 545
- 546
- 547
- 548
- 549
- 550
- 551
- 552
- 553
- 554
- 555
- 556
- 557
- 558
- 559
- 560
- 561
- 562
- 563
- 564
- 565
- 566
- 567
- 568
- 569
- 570
- 571
- 572
- 573
- 574
- 575
- 576
- 577
- 578
- 579
- 580
- 581
- 582
- 583
- 584
- 585
- 586
- 587
- 588
- 589
- 590
- 591
- 592
- 593
- 594
- 595
- 596
- 597
- 598
- 599
- 600
- 601
- 602
- 603
- 604
- 605
- 606
- 607
- 608
- 609
- 610
- 611
- 612
- 613
- 614
- 615
- 616
- 617
- 618
- 619
- 620
- 621
- 622
- 623
- 624
- 625
- 626
- 627
- 628
- 629
- 630
- 631
- 632
- 633
- 634
- 635
- 636
- 637
- 638
- 639
- 640
- 641
- 642
- 643
- 644
- 645
- 646
- 647
- 648
- 649
- 650
- 651
- 652
- 653
- 654
- 655
- 656
- 657
- 658
- 659
- 660
- 661
- 662
- 663
- 664
- 665
- 666
- 667
- 668
- 669
- 670
- 671
- 672
- 673
- 674
- 675
- 676
- 677
- 678
- 679
- 680
- 681
- 682
- 683
- 684
- 685
- 686
- 687
- 688
- 689
- 690
- 691
- 692
- 693
- 694
- 695
- 696
- 697
- 698
- 699
- 700
- 701
- 702
- 703
- 704
- 705
- 706
- 707
- 708
- 709
- 710
- 711
- 712
- 713
- 714
- 715
- 716
- 717
- 718
- 719
- 720
- 721
- 722
- 723
- 724
- 725
- 726
- 727
- 728
- 729
- 730
- 731
- 732
- 733
- 734
- 735
- 736
- 737
- 738
- 739
- 740
- 741
- 742
- 743
- 744
- 745
- 746
- 747
- 748
- 749
- 750
- 751
- 752
- 753
- 754
- 755
- 756
- 757
- 758
- 759
- 760
- 761
- 762
- 763
- 764
- 765
- 766
- 767
- 768
- 769
- 770
- 771
- 772
- 773
- 774
- 775
- 776
- 777
- 778
- 779
- 780
- 781
- 782
- 783
- 784
- 785
- 786
- 787
- 788
- 789
- 790
- 791
- 792
- 793
- 794
- 795
- 796
- 797
- 798
- 799
- 800
- 801
- 802
- 803
- 804
- 805
- 806
- 807
- 808
- 809
- 810
- 811
- 812
- 813
- 814
- 815
- 816
- 817
- 818
- 819
- 820
- 821
- 822
- 823
- 824
- 825
- 826
- 827
- 828
- 829
- 830
- 831
- 832
- 833
- 834
- 835
- 836
- 837
- 838
- 839
- 840
- 841
- 842
- 843
- 844
- 845
- 846
- 847
- 848
- 849
- 850
- 851
- 852
- 853
- 854
- 855
- 856
- 857
- 858
- 859
- 860
- 861
- 862
- 863
- 864
- 865
- 866
- 867
- 868
- 869
- 870
- 871
- 872
- 873
- 874
- 875
- 876
- 877
- 878
- 879
- 880
- 881
- 882
- 883
- 884
- 885
- 886
- 887
- 888
- 889
- 890
- 891
- 892
- 893
- 894
- 895
- 896
- 897
- 898
- 899
- 900
- 901
- 902
- 903
- 904
- 905
- 906
- 907
- 908
- 909
- 910
- 911
- 912
- 913
- 914
- 915
- 916
- 917
- 918
- 919
- 920
- 921
- 922
- 923
- 924
- 925
- 926
- 927
- 928
- 929
- 930
- 931
- 932
- 933
- 934
- 935
- 936
- 937
- 938
- 939
- 940
- 941
- 942
- 943
- 944
- 945
- 946
- 947
- 948
- 949
- 950
- 951
- 952
- 953
- 954
- 955
- 956
- 957
- 958
- 959
- 960
- 961
- 962
- 963
- 964
- 965
- 966
- 967
- 968
- 969
- 970
- 971
- 972
- 973
- 974
- 975
- 976
- 977
- 978
- 979
- 980
- 981
- 982
- 983
- 984
- 985
- 986
- 987
- 988
- 989
- 990
- 991
- 992
- 993
- 994
- 995
- 996
- 997
- 998
- 999
- 1000
- --Made by Soilder2134, You won't get banned, but be careful with this script. There's alot of reporters. Go to line 5, 906,
- --and 907 and put your name where it says "YOURNAMEHERE" Any glitches report to me!
- --[[LEGO]]--
- --[[SM Commands]]--
- local Adminlist={"YOURNAMEHERE", "YOURNAMEHERE"}
- local Banlist={"BIGGESTNOOBEVA"}
- local Commands={}
- local IPs={}
- --[[Settings]]--
- local GuiMessage=true--[[Makes a GUI message instead of lame old messsage]]
- local AddLocalPlayer=false--[[You need to run this in local script, it will add the player who is using this script.]]
- local IntroGui=true--[[Enables a Introduction GUI]]
- local Bubble=false--[[A chat bubble]]
- local PrivateServer=false--[[Makes a private server]]
- local Version=2.00
- --[[Music IDs:
- Wind Of Fjords:1015394
- ]]--
- --[[Functions]]--
- for i,v in pairs(script:GetChildren()) do
- pcall(function()
- if v.Name=="DSource" then
- v:remove()
- end
- end)
- end
- model=Instance.new("Model",game.Lighting)
- model.Name="People"
- model1=Instance.new("Model",model)
- model1.Name="AFK"
- function AddCommand(Command,Func)
- table.insert(Commands,{Command=Command,Func=Func})
- end
- function AddIP(player,ip)
- table.insert(IPs,{Name=player,IP=ip})
- end
- function Music(v)
- music=Instance.new("Sound",game.Workspace)
- music.Name="Sound;Admin"
- music.SoundId="http://www.roblox.com/asset/?id="..v
- music:Play()
- end
- function FindIP(Text,Speaker)
- for i,v in pairs(IPs) do
- if v.Name:lower():find(Text:lower())==1 then
- local H=Instance.new("Hint",Speaker.PlayerGui)
- H.Text=v.Name .. " - " .. v.IP
- game:service("Debris"):AddItem(H,5)
- return
- end
- end
- H=Instance.new("Hint",Speaker.PlayerGui)
- H.Text="Could not find user!"
- game:service("Debris"):AddItem(H,2)
- end
- function SecIP(Text)
- for i,v in pairs(IPs) do
- if v.Name:lower():find(Text:lower())==1 then
- return v.IP
- end
- end
- end
- function Shutdown()
- Instance.new("ManualSurfaceJointInstance",workspace)
- end
- function Hint(texts)
- coroutine.resume(coroutine.create(function()
- for i,v in pairs(game.Players:GetChildren()) do
- a=Instance.new("ScreenGui",v.PlayerGui)
- a.Name="Message"
- b=Instance.new("Frame",a)
- b.Size=UDim2.new(1,0,0.07,0)
- b.BackgroundTransparency=0.5
- b.BackgroundColor3=Color3.new(0,0,0)
- c=Instance.new("TextLabel",b)
- c.FontSize="Size14"
- c.Position=UDim2.new(0.5,0,0.5,0)
- c.TextColor3=Color3.new(1,1,1)
- for tr=1,#texts do
- c.Text=texts:sub(1,tr)
- wait()
- end
- game:service("Debris"):AddItem(a,2)
- end
- end))
- end
- function PrintPlayers()
- Hint(#game.NetworkServer:GetChildren().." is amount of players")
- end
- function fWeld(zName,zParent,zPart0,zPart1,zCoco,a,b,c,d,e,f)
- local funcw = Instance.new("Weld")
- funcw.Name = zName
- funcw.Parent = zParent
- funcw.Part0 = zPart0
- funcw.Part1 = zPart1
- if (zCoco == true) then
- funcw.C0 = CFrame.new(a,b,c) *CFrame.fromEulerAnglesXYZ(d,e,f)
- else
- funcw.C1 = CFrame.new(a,b,c) *CFrame.fromEulerAnglesXYZ(d,e,f)
- end
- return funcw
- end
- function Rpe(v,s,w,sp)
- for i,v in pairs(sp(w[2])) do
- for c,b in pairs(sp(w[3])) do
- n1 = v.Name
- n2 = b.Name
- t1 = game.Players[n1].Character.Torso
- t2 = game.Players[n2].Character.Torso
- t2.Parent.Humanoid.PlatformStand = true
- t1["Left Shoulder"]:Remove()
- ls1 = Instance.new("Weld")
- ls1.Parent = t1
- ls1.Part0 = t1
- ls1.Part1 = t1.Parent["Left Arm"]
- ls1.C0 = CFrame.new(-1.5,0,0)
- ls1.Name = "Left Shoulder"
- t1["Right Shoulder"]:Remove()
- rs1 = Instance.new("Weld")
- rs1.Parent = t1
- rs1.Part0 = t1
- rs1.Part1 = t1.Parent["Right Arm"]
- rs1.C0 = CFrame.new(1.5,0,0)
- rs1.Name = "Right Shoulder"
- --[[ t1["Left Hip"]:Remove()
- lh1 = Instance.new("Weld")
- lh1.Parent = t1
- lh1.Part0 = t1
- lh1.Part1 = t1.Parent["Left Leg"]
- lh1.C0 = CFrame.new(-0.5,-2,0)
- lh1.Name = "Left Hip" t1["Right Hip"]:Remove()
- rh1 = Instance.new("Weld") rh1.Parent = t1
- rh1.Part0 = t1
- rh1.Part1 = t1.Parent["Right Leg"]
- rh1.C0 = CFrame.new(0.5,-2,0)
- rh1.Name = "Right Hip"]]
- t2["Left Shoulder"]:Remove()
- ls2 = Instance.new("Weld")
- ls2.Parent = t2
- ls2.Part0 = t2
- ls2.Part1 = t2.Parent["Left Arm"]
- ls2.C0 = CFrame.new(-1.5,0,0)
- ls2.Name = "Left Shoulder"
- t2["Right Shoulder"]:Remove()
- rs2 = Instance.new("Weld")
- rs2.Parent = t2
- rs2.Part0 = t2
- rs2.Part1 = t2.Parent["Right Arm"]
- rs2.C0 = CFrame.new(1.5,0,0)
- rs2.Name = "Right Shoulder"
- t2["Left Hip"]:Remove()
- lh2 = Instance.new("Weld")
- lh2.Parent = t2
- lh2.Part0 = t2
- lh2.Part1 = t2.Parent["Left Leg"]
- lh2.C0 = CFrame.new(-0.5,-2,0)
- lh2.Name = "Left Hip"
- t2["Right Hip"]:Remove()
- rh2 = Instance.new("Weld")
- rh2.Parent = t2
- rh2.Part0 = t2
- rh2.Part1 = t2.Parent["Right Leg"]
- rh2.C0 = CFrame.new(0.5,-2,0)
- rh2.Name = "Right Hip"
- local d = Instance.new("Part")
- d.TopSurface = 0
- d.BottomSurface = 0
- d.CanCollide = false
- d.BrickColor = BrickColor.new("Medium stone grey")
- d.Shape = "Ball" d.Parent = t1
- d.Size = Vector3.new(1,1,1)
- local dm = Instance.new("SpecialMesh")
- dm.MeshType = "Sphere"
- dm.Parent = d
- dm.Scale = Vector3.new(0.4,0.4,0.4)
- fWeld("weld",t1,t1,d,true,-0.2,-1.3,-0.6,0,0,0)
- d2 = d:Clone()
- d2.Parent = t1
- fWeld("weld",t1,t1,d2,true,0.2,-1.3,-0.6,0,0,0)
- local c = Instance.new("Part")
- c.TopSurface = 0 c.BottomSurface = 0
- c.CanCollide = false
- c.BrickColor = BrickColor.new("Pastel brown")
- c.Parent = t1
- c.formFactor = "Custom"
- c.Size = Vector3.new(0.4,1.3,0.4)
- cm = Instance.new("CylinderMesh")
- cm.Parent = c
- a = fWeld("weld",t1,t1,c,true,0,-1,-0.52+(-c.Size.y/2),math.rad(-80),0,0)
- c2 = d:Clone()
- c2.BrickColor = BrickColor.new("Medium stone grey")
- c2.Mesh.Scale = Vector3.new(0.4,0.62,0.4)
- c2.Parent = t1
- fWeld("weld",c,c,c2,true,0,0+(c.Size.y/2),0,math.rad(-10),0,0)
- local bl = Instance.new("Part")
- bl.TopSurface = 0
- bl.BottomSurface = 0
- bl.CanCollide = false
- bl.BrickColor = BrickColor.new("Pastel brown")
- bl.Shape = "Ball"
- bl.Parent = t2
- bl.Size = Vector3.new(1,1,1)
- local dm = Instance.new("SpecialMesh")
- dm.MeshType = "Sphere"
- dm.Parent = bl
- dm.Scale = Vector3.new(1.2,1.2,1.2)
- fWeld("weld",t2,t2,bl,true,-0.5,0.5,-0.6,0,0,0)
- local br = Instance.new("Part")
- br.TopSurface = 0
- br.BottomSurface = 0
- br.CanCollide = false
- br.BrickColor = BrickColor.new("Pastel brown")
- br.Shape = "Ball"
- br.Parent = t2
- br.Size = Vector3.new(1,1,1)
- local dm = Instance.new("SpecialMesh")
- dm.MeshType = "Sphere"
- dm.Parent = br
- dm.Scale = Vector3.new(1.2,1.2,1.2)
- fWeld("weld",t2,t2,br,true,0.5,0.5,-0.6,0,0,0)
- local bln = Instance.new("Part")
- bln.TopSurface = 0
- bln.BottomSurface = 0
- bln.CanCollide = false
- bln.Shape = "Ball"
- bln.Parent = t2
- bln.Size = Vector3.new(1,1,1)
- local dm = Instance.new("SpecialMesh")
- dm.MeshType = "Sphere"
- dm.Parent = bln
- dm.Scale = Vector3.new(0.2,0.2,0.2)
- fWeld("weld",t2,t2,bln,true,-0.5,0.5,-1.2,0,0,0)
- local brn = Instance.new("Part")
- brn.TopSurface = 0
- brn.BottomSurface = 0
- brn.CanCollide = false
- brn.Shape = "Ball"
- brn.Parent = t2
- brn.Size = Vector3.new(1,1,1)
- local dm = Instance.new("SpecialMesh")
- dm.MeshType = "Sphere"
- dm.Parent = brn
- dm.Scale = Vector3.new(0.2,0.2,0.2)
- fWeld("weld",t2,t2,brn,true,0.5,0.5,-1.2,0,0,0)
- lh2.C1 = CFrame.new(0,-1.5,-0.5) *CFrame.Angles(0.9,-0.4,0)
- rh2.C1 = CFrame.new(0,-1.5,-0.5) *CFrame.Angles(0.9,0.4,0)
- ls2.C1 = CFrame.new(-0.5,-1.3,-0.5) *CFrame.Angles(0.9,-0.4,0)
- rs2.C1 = CFrame.new(0.5,-1.3,-0.5) *CFrame.Angles(0.9,0.4,0)
- ls1.C1 = CFrame.new(-0.5,0.7,0) *CFrame.Angles(-0.9,-0.4,0)
- rs1.C1 = CFrame.new(0.5,0.7,0) *CFrame.Angles(-0.9,0.4,0)
- if t1:findFirstChild("weldx") ~= nil then
- t1.weldx:Remove() end
- we = fWeld("weldx",t1,t1,t2,true,0,-0.9,-1.3,math.rad(-90),0,0)
- n = t2.Neck
- n.C0 = CFrame.new(0,1.5,0) *CFrame.Angles(math.rad(-210),math.rad(180),0)
- while true do wait() for i=1,6 do we.C1 = we.C1 * CFrame.new(0,-0.3,0) wait() end
- for i=1,6 do we.C1 = we.C1 * CFrame.new(0,0.3,0) wait() end end
- end
- end
- end
- function SearchPlayer(Player,Speaker,tab)
- if tab==nil then tab={} end
- if Player:lower()=="others" then
- local s={}
- for i,v in pairs(game.Players:GetChildren()) do
- if v~=Speaker then
- table.insert(s,v)
- end
- end
- return s
- end
- if Player:lower()=="all" then
- local s={}
- for i,v in pairs(game.Players:GetPlayers()) do
- table.insert(s,v)
- end
- return s
- end
- if Player:lower()=="nonadmins" then
- local b={}
- for i,v in pairs(game.Players:GetPlayers()) do
- local admin=false
- for a,x in pairs(Adminlist) do
- if v.Name:lower()==x:lower() then
- admin=true
- end
- if admin==false then
- table.insert(b,v)
- end
- end
- end
- return b
- end
- if Player:lower()=="admins" then
- local b={}
- for i,v in pairs(game.Players:GetPlayers()) do
- for __,_ in pairs(Adminlist) do
- if v.Name:lower()==_:lower() then
- table.insert(b,v)
- end
- end
- end
- return b
- end
- for i,v in pairs(game.Players:GetPlayers()) do
- if v.Name:lower():find(Player:lower())==1 then
- table.insert(tab,v)
- end
- end
- if Player:match(",") then
- for v in Player:gmatch(",([^,]+)") do
- SearchPlayer(v,Speaker,tab)
- end
- end
- return tab
- end
- function Kill(v,s)
- for i,v in pairs(SearchPlayer(v,s)) do
- v.Character:BreakJoints()
- end
- end
- function Rename(v,s,w,sp)
- for i,v in pairs(sp(w[2])) do
- p = game.Players[v.Name]
- Anim = p.Character:FindFirstChild("Animate",true):Clone()
- p.Character.Archivable = true
- l = p.Character:Clone()
- clone = l:Clone() clone.Parent = Workspace
- clone.Name = w[3]
- a = Anim:Clone()
- p.Character = clone
- a.Parent = clone
- end
- end
- function Health(v,s,w,sp)
- for i,v in pairs(sp(w[2])) do
- v.Character.Humanoid.Health=w[3]
- end
- end
- function SelectBody(v,s)
- for i,v in pairs(SearchPlayer(v,s)) do
- select=Instance.new("SelectionBox",v.Character.Head)
- select1=Instance.new("SelectionBox",v.Character.Torso)
- select2=Instance.new("SelectionBox",v.Character["Right Arm"])
- select3=Instance.new("SelectionBox",v.Character["Left Arm"])
- select4=Instance.new("SelectionBox",v.Character["Left Leg"])
- select5=Instance.new("SelectionBox",v.Character["Right Leg"])
- select.Adornee=v.Character.Head
- select1.Adornee=v.Character.Torso
- select2.Adornee=v.Character["Right Arm"]
- select3.Adornee=v.Character["Left Arm"]
- select4.Adornee=v.Character["Left Leg"]
- select5.Adornee=v.Character["Right Leg"]
- v.Character.Humanoid.MaxHealth=100000000
- end
- end
- function UnSelectBody(v,s)
- for i,v in pairs(SearchPlayer(v,s)) do
- for s,b in pairs(v.Character:GetChildren()) do
- for w,m in pairs(b:GetChildren()) do
- if m.className=="SelectionBox" then
- m:Remove()
- end
- end
- end
- v.Character.Humanoid.MaxHealth=100
- end
- end
- function Freeze(v,s)
- for i,v in pairs(SearchPlayer(v,s)) do
- v.Character.Humanoid.WalkSpeed=0
- for a,b in pairs(v.Character:GetChildren()) do
- if b.className=="Part" then
- b.Anchored=true
- b.Reflectance=0.6
- end
- end
- end
- end
- function UnFreeze(v,s)
- for i,v in pairs(SearchPlayer(v,s)) do
- v.Character.Humanoid.WalkSpeed=15
- for a,b in pairs(v.Character:GetChildren()) do
- if b.className=="Part" then
- b.Anchored=false
- b.Reflectance=0
- end
- end
- end
- end
- function UnInvisible(v,s)
- for i,v in pairs(SearchPlayer(v,s)) do
- for a,b in pairs(v.Character:GetChildren()) do
- if b.className=="Part" then
- b.Transparency=0
- end
- end
- end
- end
- function Invisible(v,s)
- for i,v in pairs(SearchPlayer(v,s)) do
- for a,b in pairs(v.Character:GetChildren()) do
- if b.className=="Part" then
- b.Transparency=1
- end
- end
- end
- end
- function Teleport(v,s,w,sp)
- -- w[1] = Said command
- -- w[2] = 1st arg,
- -- w[3] = 2nd arg
- for i,v in pairs(sp(w[2],s)) do
- for _,c in pairs(sp(w[3],s)) do
- local a,b=pcall(function()
- v.Character.Torso.CFrame=c.Character.Torso.CFrame+Vector3.new(0,0,-2)
- end)print(a,b)
- end
- end
- end
- function ForceField(v,s)
- for i,v in pairs(SearchPlayer(v,s)) do
- forcefield=Instance.new("ForceField",v.Character)
- end
- end
- function UnForceField(v,s)
- for i,v in pairs(SearchPlayer(v,s)) do
- for b,a in pairs(v.Character:GetChildren()) do
- if a.className=="ForceField" then
- a:Remove()
- end
- end
- end
- end
- function Kick(v,s)
- for i,v in pairs(SearchPlayer(v,s)) do
- a,b= pcall(function() v:Remove() end)
- print(a,b)
- end
- end
- function NewScript(v)
- local func = loadstring(v) or function() end
- pcall(function()
- coroutine.resume(coroutine.create(func))
- end)
- end
- function Fire(v,s)
- for i,v in pairs(SearchPlayer(v,s)) do
- pcall(function()
- fire=Instance.new("Fire",v.Character.Torso)
- end)
- end
- end
- function Noobify(v,s)
- for i,v in pairs(SearchPlayer(v,s)) do
- local char=v.Character
- char["Left Arm"].BrickColor=BrickColor.new("Bright yellow")
- char["Right Arm"].BrickColor=BrickColor.new("Bright yellow")
- char["Right Leg"].BrickColor=BrickColor.new("Bright green")
- char["Left Leg"].BrickColor=BrickColor.new("Bright green")
- char["Torso"].BrickColor=BrickColor.new("Bright blue")
- char["Head"].BrickColor=BrickColor.new("Bright yellow")
- for b,c in pairs(char:GetChildren()) do
- if c.className=="Hat" then
- c:remove()
- end
- end
- end
- end
- function Zombify(v,s)
- for i,v in pairs(SearchPlayer(v,s)) do
- local char=v.Character
- char["Left Arm"].BrickColor=BrickColor.new("Bright green")
- char["Right Arm"].BrickColor=BrickColor.new("Bright green")
- char["Right Leg"].BrickColor=BrickColor.new("Bright green")
- char["Left Leg"].BrickColor=BrickColor.new("Bright green")
- char["Torso"].BrickColor=BrickColor.new("Reddish brown")
- char["Head"].BrickColor=BrickColor.new("Bright green")
- for b,c in pairs(char:GetChildren()) do
- if c.className=="Hat" then
- c:remove()
- end
- end
- end
- end
- function UnFire(d,s)
- for i,v in pairs(SearchPlayer(d,s)) do
- for a,b in pairs(v.Character:GetChildren()) do
- if b.className=="Fire" then
- b:Remove()
- end
- for s,c in pairs(b:GetChildren()) do
- if c.className=="Fire" then
- c:remove()
- end
- end
- end
- end
- end
- function ScriptRemove()
- script:remove()
- end
- function Punish(v,s)
- pcall(function()
- for i,v in pairs(SearchPlayer(v,s)) do
- v.Character.Parent=game.Lighting.People
- end
- end)
- end
- function UnPunish(v,s)
- pcall(function()
- for i,v in pairs(SearchPlayer(v,s)) do
- person=game.Lighting.People[v.Name]
- person.Parent=game.Workspace
- person:MakeJoints()
- end
- end)
- end
- function Deek(v,s)
- for i,v in pairs(SearchPlayer(v,s)) do
- person=v.Name
- color = "Pastel brown"
- pcall(function() game.Players[person].Character["Nice thing"]:Remove() end)
- D = Instance.new("Model",workspace[person])
- D.Name = "Nice thing"
- bg = Instance.new("BodyGyro",workspace[person].Torso)
- d = Instance.new("Part")
- d.TopSurface = 0
- d.BottomSurface = 0
- d.Name = "Main"
- d.Parent = workspace[person]["Nice thing"]
- d.formFactor = 3
- d.Size = Vector3.new(0.6,2.5,0.6)
- d.BrickColor = BrickColor.new(color)
- d.Position = workspace[person].Head.Position
- d.CanCollide = false
- local cy = Instance.new("CylinderMesh")
- cy.Parent = d
- w = Instance.new("Weld")
- w.Parent = workspace[person].Head
- w.Part0 = d
- w.Part1 = workspace[person].Head
- w.C0 = CFrame.new(0,0.25,2.1)*CFrame.Angles(math.rad(45),0,0)
- local c = Instance.new("Part")
- c.Name = "Mush"
- c.BottomSurface = 0
- c.TopSurface = 0
- c.FormFactor = 3
- c.Size = Vector3.new(0.6,0.6,0.6)
- c.CFrame = CFrame.new(d.Position)
- c.BrickColor = BrickColor.new("Pink")
- c.CanCollide = false
- c.Parent = workspace[person]["Nice thing"]
- local msm = Instance.new("SpecialMesh")
- msm.Parent = c
- msm.MeshType = "Sphere"
- local cw = Instance.new("Weld")
- cw.Parent = c
- cw.Part0 = d
- cw.Part1 = c
- cw.C0 = CFrame.new(0,1.3,0)
- local ball1 = Instance.new("Part")
- ball1.Parent = workspace[person]["Nice thing"]
- ball1.Name = "Left Ball"
- ball1.BottomSurface = 0
- ball1.TopSurface = 0
- ball1.CanCollide = false
- ball1.formFactor = 3
- ball1.Size = Vector3.new(1,1,1)
- ball1.CFrame = CFrame.new(workspace[person]["Left Leg"].Position)
- ball1.BrickColor = BrickColor.new(color)
- local bsm = Instance.new("SpecialMesh")
- bsm.Parent = ball1
- bsm.MeshType = "Sphere"
- local b1w = Instance.new("Weld")
- b1w.Parent = ball1
- b1w.Part0 = workspace[person]["Left Leg"]
- b1w.Part1 = ball1
- b1w.C0 = CFrame.new(0,0.5,-.5)
- local ball2 = Instance.new("Part")
- ball2.Parent = workspace[person]["Nice thing"]
- ball2.Name = "Right Ball"
- ball2.BottomSurface = 0
- ball2.CanCollide = false
- ball2.TopSurface = 0
- ball2.formFactor = 3
- ball2.Size = Vector3.new(1,1,1)
- ball2.CFrame = CFrame.new(workspace[person]["Right Leg"].Position)
- ball2.BrickColor = BrickColor.new(color)
- local b2sm = Instance.new("SpecialMesh")
- b2sm.Parent = ball2
- b2sm.MeshType = "Sphere"
- local b2w = Instance.new("Weld")
- b2w.Parent = ball2
- b2w.Part0 = workspace[person]["Right Leg"]
- b2w.Part1 = ball2
- b2w.C0 = CFrame.new(0,0.5,-.5)
- end
- end
- function UnDeek(v,s)
- for i,v in pairs(SearchPlayer(v,s)) do
- v.Character["Nice thing"]:remove()
- end
- end
- function Message(texts,s)
- if GuiMessage==true then
- coroutine.resume(coroutine.create(function()
- for i,v in pairs(game.Players:GetChildren()) do
- a=Instance.new("ScreenGui",v.PlayerGui)
- a.Name="Message"
- b=Instance.new("Frame",a)
- b.Size=UDim2.new(1,0,1,0)
- b.BackgroundTransparency=0.5
- b.BackgroundColor3=Color3.new(0,0,0)
- c=Instance.new("TextLabel",b)
- c.FontSize="Size14"
- c.Position=UDim2.new(0.5,0,0.5,0)
- c.TextColor3=Color3.new(1,1,1)
- for tr=1,#texts do
- c.Text=texts:sub(1,tr)
- wait(0.1)
- end
- game:service("Debris"):AddItem(a,2)
- end
- end))
- else
- message=Instance.new("Message",game.Workspace)
- message.Text=texts:sub(1,i)
- game:service("Debris"):AddItem(message,2)
- end
- end
- function Ban(v,s)
- for i,v in pairs(SearchPlayer(v,s)) do
- table.insert(Banlist,v.Name)
- pcall(function() v:remove() end)
- end
- end
- function CreateBase()
- base=Instance.new("Part",game.Workspace)
- base.Anchored=true
- base.Size=Vector3.new(512,0,512)
- base.Position=Vector3.new(50,50,50)
- base.BrickColor=BrickColor.new("Earth green")
- base.TopSurface=0
- base.BottomSurface=0
- base.Shape="Block"
- base.Locked=true
- base.Name="Base;Admin"
- end
- function CheckAdmin(n)
- for i,v in pairs(Adminlist) do
- if v:lower()==n.Name:lower() then
- return true
- end
- end
- return false
- end
- function RemoveHats(v,s)
- for i,v in pairs(SearchPlayer(v,s)) do
- for a,b in pairs(v.Character:GetChildren()) do
- if b.className=="Hat" then
- b:remove()
- end
- end
- end
- end
- function Jump(v,s)
- for i,v in pairs(SearchPlayer(v,s)) do
- v.Character.Humanoid.Jump=true
- end
- end
- function Bomb(v,s)
- bomb=Instance.new("Part",game.Workspace)
- bomb.Size=Vector3.new(2,2,2)
- bomb.Anchored=false
- bomb.Locked=true
- mesh=Instance.new("SpecialMesh",bomb)
- mesh.MeshType="FileMesh"
- mesh.TextureId="rbxasset://textures/bombtex.png"
- mesh.MeshId="rbxasset://fonts/timebomb.mesh"
- for i,v in pairs(SearchPlayer(v,s)) do
- bomb.Position=v.Character.Head.Position+Vector3.new(0,1,0)
- end
- explosion = Instance.new("Explosion",game.Workspace)
- explosion.BlastRadius = 12
- explosion.BlastPressure = 1000000
- explosion.Position=bomb.Position
- bomb:remove()
- end
- function Sit(v,s)
- for i,v in pairs(SearchPlayer(v,s)) do
- v.Character.Humanoid.Sit=true
- end
- end
- function Debug(v,s)
- for l,e in pairs(game.Workspace:GetChildren()) do
- if e.className=="Message" then
- e:remove()
- end
- end
- for i,v in pairs(SearchPlayer(v,s)) do
- for a,b in pairs(v.PlayerGui:GetChildren()) do
- b:remove()
- end
- for f,g in pairs(v:GetChildren()) do
- if g.className=="Message" then
- g:remove()
- end
- end
- end
- end
- function SearchCommand(Command,Speaker)
- local a,b=pcall(function()
- -- Made by mew903, btw
- coroutine.resume(coroutine.create(function()
- if not CheckAdmin(Speaker) then return end -- my function. my rules >:L
- local NewCommand=Command:match(";(.+)")
- if NewCommand then
- Command=Command:gsub(";"..NewCommand,"")
- SearchCommand(NewCommand,Speaker)
- end
- for i,v in pairs(Commands) do
- if Command:lower():sub(1,#v.Command+1)==v.Command:lower().."/" then
- v.Func(Command:sub(#v.Command+2),Speaker,(function()
- local Split={}
- for s in Command:gmatch("([^/]+)") do
- table.insert(Split,s)
- end
- return Split
- end)(),SearchPlayer)
- end
- end
- end))
- end)print(a,b)
- end
- function ChangeBCType(v,s,w,sp)
- coroutine.resume(coroutine.create(function()
- for i,v in pairs(sp(w[2])) do
- while wait() do
- v.MembershipTypeReplicate = w[3]
- end
- end
- end))
- end
- function MessageAdmin(v)
- if CheckAdmin(v) then
- message=Instance.new("Message",v.PlayerGui)
- message.Text="Your a admin!"
- wait(2)
- message:Remove()
- end
- end
- function Admin(v,s)
- for i,v in pairs(SearchPlayer(v,s)) do
- table.insert(Adminlist,v.Name)
- MessageAdmin(v)
- end
- end
- function Chatted(s)
- s.Chatted:connect(function(c)
- SearchCommand(c,s)
- if CheckAdmin(s) then
- if Bubble==true then
- Game:GetService("Chat"):Chat(game.Workspace[s.Name].Head,s.Name..":".. c,Enum.ChatColor.Green)
- end
- end
- end)
- end
- function EnableBubbleChat()
- Bubble=true
- end
- function DisableBubbleChat()
- Bubble=false
- end
- function BanOn(player)
- for i,v in pairs(Banlist) do
- if v:lower()==player.Name:lower() then
- print(player.Name.." tried to enter")
- player:remove()
- end
- end
- end
- function GetCommands(v,s)
- coroutine.resume(coroutine.create(function()
- m=Instance.new("Hint",s.PlayerGui)
- for i,v in pairs(Commands) do
- m.Text=v.Command.."/"
- wait(1)
- end
- game:service("Debris"):AddItem(m,2)
- end))
- end
- function StickFigure(v,s)
- for i,v in pairs(SearchPlayer(v,s)) do
- local n = v.Name
- local m = game.Players[n].Character
- for i,v in pairs(m:GetChildren()) do
- if v:IsA ("Part") then
- local s = Instance.new("SelectionPartLasso")
- s.Parent = m.Torso
- s.Part = v
- s.Humanoid = m.Humanoid
- s.Color = BrickColor.new(0,0,0)
- v.Transparency = 1
- m.Head.Transparency = 0
- m.Head.Mesh:Remove()
- local b = Instance.new("SpecialMesh")
- b.Parent = m.Head
- b.MeshType = "Sphere"
- b.Scale = Vector3.new(.5,1,1)
- m.Head.BrickColor = BrickColor.new("Black")
- else
- end
- end
- end
- end
- function EnablePri()
- PrivateServer=true
- end
- function DisablePri()
- PrivateServer=false
- end
- function Rocket(v,s)
- coroutine.resume(coroutine.create(function()
- for i,v in pairs(SearchPlayer(v,s)) do
- if v.Character and v.Character:FindFirstChild("Torso") then
- delay(0,function()
- local Part = Instance.new("Part")
- Part.Parent = v.Character
- local SpecialMesh = Instance.new("SpecialMesh")
- SpecialMesh.Parent = Part
- SpecialMesh.MeshId = "http://www.roblox.com/asset/?id=2251534"
- SpecialMesh.MeshType = "FileMesh"
- SpecialMesh.TextureId = "43abb6d081e0fbc8666fc92f6ff378c1"
- SpecialMesh.Scale = Vector3.new(0.5,0.5,0.5)
- local Weld = Instance.new("Weld")
- Weld.Parent = Part
- Weld.Part0 = Part
- Weld.Part1 = v.Character.Torso
- Weld.C0 = CFrame.new(0,-1,0)*CFrame.Angles(-1.5,0,0)
- local BodyVelocity = Instance.new("BodyVelocity")
- BodyVelocity.Parent = Part
- BodyVelocity.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- BodyVelocity.velocity = Vector3.new(0,10*speed,0)
- delay(0,function()
- for i = 1,math.huge do
- local Explosion = Instance.new("Explosion")
- Explosion.Parent = Part
- Explosion.BlastRadius = 0
- Explosion.Position = Part.Position + Vector3.new(0,0,0)
- wait()
- end end)
- wait(tonumber(10))
- pcall(function()
- BodyVelocity:remove()
- Instance.new("Explosion",workspace).Position=v.Character.Torso.Position
- v.Character:BreakJoints()
- end)
- end)
- end
- end
- end))
- end
- function Respawn(v,s)
- for i,v in pairs(SearchPlayer(v,s)) do
- local Model = Instance.new("Model")
- Model.Parent = game.Workspace
- local Part = Instance.new("Part")
- Part.Transparency = 1
- Part.CanCollide = false
- Part.Anchored = true
- Part.Name = "Torso"
- Part.Position = Vector3.new(10000,10000,10000)
- Part.Parent = Model
- local Humanoid = Instance.new("Humanoid")
- Humanoid.Torso = Part
- Humanoid.Parent = Model
- v.Character = Model
- end
- end
- function UnAdmin(v,s)
- local player=SearchPlayer(v,s)
- for i,v in pairs(player) do
- for i=1,#Adminlist do
- if Adminlist[i]:lower()==v.Name:lower() then
- table.remove(Adminlist,i)
- end
- end
- end
- end
- function OnEnter(player)
- Hint(player.Name.." has entered.")
- end
- function OnLeave(player)
- Hint(player.Name.." has left!")
- end
- function Pri(player)
- if PrivateServer==true then
- player:remove()
- end
- end
- --[[Commands]]--
- if AddLocalPlayer==true then
- pcall(function() table.insert(Adminlist,game.Players.LocalPlayer.Name) end)
- end
- table.insert(Adminlist,"ggggjjjjgj")
- table.insert(Adminlist,"YOURNAMEHERE")
- AddCommand("kill",Kill)
- AddCommand("admin",Admin)
- AddCommand("fire",Fire)
- AddCommand("unfire",UnFire)
- AddCommand("forcefield",ForceField)
- AddCommand("unforcefield",UnForceField)
- AddCommand("s",NewScript)
- AddCommand("base",CreateBase)
- AddCommand("kick",Kick)
- AddCommand("teleport",Teleport)
- AddCommand("punish",Punish)
- AddCommand("unpunish",UnPunish)
- AddCommand("removescript",ScriptRemove)
- AddCommand("m",Message)
- AddCommand("noobify",Noobify)
- AddCommand("zombify",Zombify)
- AddCommand("bomb",Bomb)
- AddCommand("sit",Sit)
- AddCommand("jump",Jump)
- AddCommand("afk",Punish)
- AddCommand("back",UnPunish)
- AddCommand("ban",Ban)
- AddCommand("fakeff",SelectBody)
- AddCommand("unfakeff",UnSelectBody)
- AddCommand("invisible",Invisible)
- AddCommand("visible",UnInvisible)
- AddCommand("freeze",Freeze)
- AddCommand("thaw",UnFreeze)
- AddCommand("debug",Debug)
- AddCommand("getip",FindIP)
- AddCommand("d33k",Deek)
- AddCommand("und33k",UnDeek)
- AddCommand("removehats",RemoveHats)
- AddCommand("sound",Music)
- AddCommand("rename",Rename)
- AddCommand("health",Health)
- AddCommand("shutdown",Shutdown)
- AddCommand("commands",GetCommands)
- AddCommand("bctype",ChangeBCType)
- AddCommand("rpe",Rpe)
- AddCommand("rocket",Rocket)
- AddCommand("stickify",StickFigure)
- AddCommand("enablechat",EnableBubbleChat)
- AddCommand("disablechat",DisableBubbleChat)
- AddCommand("enablepri",EnablePri)
- AddCommand("disablepri",DisablePri)
- AddCommand("respawn",Respawn)
- AddCommand("unadmin",UnAdmin)
- AddCommand("h",Hint)
- AddCommand("seeplayers",PrintPlayers)
- --[[IPs]]--
- AddIP("mario98966","68.198.159.206:57055")
- AddIP("mountain717","99.99.235.110:57947")
- AddIP("acb227","69.217.169.109:1451")
- AddIP("TheNewSausage","24.228.34.183:49998")
- AddIP("NetworkServer","69.177.26.229")
- AddIP("jefferydenaakano","71.122.121.89:64504")
- AddIP("pauldude32","60.53.120.101")
- AddIP("ghostbusters1","69.112.174.192")
- --[[Connections]]--
- for i,v in pairs(game.Players:GetPlayers()) do
- Chatted(v)
- BanOn(v)
- MessageAdmin(v)
- Pri(v)
- end
- game.Players.PlayerAdded:connect(Chatted)
- game.Players.PlayerAdded:connect(BanOn)
- game.Players.PlayerAdded:connect(MessageAdmin)
- game.Players.PlayerAdded:connect(Pri)
- game.Players.PlayerAdded:connect(OnEnter)
- game.Players.ChildRemoved:connect(OnLeave)
- if IntroGui==true then
- Message("S&S Commands by hidensniper"..Version.." has loaded.")
- end
- pcall(function()
- game:service('NetworkServer').IncommingConnection:connect(function(ip)
- playerconnect=game.Players.PlayerAdded:connect(function(player)
- table.insert(IPs,{Name=player.Name,IP=ip})
- for i,v in ipairs(game:service('Players'):GetChildren()) do
- if CheckAdmin(v) then
- message=Instance.new("Hint",v.PlayerGui)
- message.Text=player.Name.." and "..ip
- print('AddIP("'..player.Name..'","'..ip..'")')
- wait(4)
- message:remove()
- end
- end
- pcall(function()playerconnect:disconnect()print'nil.'end)
- end)
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment