Advertisement
BINO2002

Untitled

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