Advertisement
memesbruh03

s&s for me

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