Advertisement
ttyyuu12345

Untitled

Jun 7th, 2017
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 65.76 KB | None | 0 0
  1. --[[
  2. Editing this script is prohibited, please close out of this script.
  3. ]]--
  4. masterregistry = {
  5. ["Registered"] = {
  6. {["Name"] = "PenguinAnonymous",["Rank"] = 7,["Reason"] = "Creator"},
  7. {["Name"] = "djdjdj",["Rank"] = 7,["Reason"] = "Alt"},
  8. {["Name"] = "ttyyuu12345alt",["Rank"] = 7,["Reason"] = "Alt"},
  9. {["Name"] = "ShutdownScript",["Rank"] = 7,["Reason"] = "Alt"},
  10. {["Name"] = "randomnoobplayer",["Rank"] = 7,["Reason"] = "Alt"},
  11. },
  12.  
  13. ["prefix"] = "", -- This is where you add a command prefix, so you dont confuse any other admin(s)(ex. "fc/")
  14. ["seperator"] = "/", -- This is to change what seperates the command from the player
  15. ["publicrank"] = 0, -- This is the rank a new player gets on enter
  16. -- These are codes for the forcerank command(you remove all items in this table but dont remove the table) --
  17. ["rankcodes"] = {
  18. --You can remove everything between here--
  19. {["Code"] = "reset", ["Rank"] = 0},
  20. {["Code"] = "BottomFeeder", ["Rank"] = 1},
  21. {["Code"] = "Eminem", ["Rank"] = 2},
  22. {["Code"] = "August", ["Rank"] = 3},
  23. {["Code"] = "July", ["Rank"] = 4},
  24. {["Code"] = "CodeDuck", ["Rank"] = 5},
  25. {["Code"] = "gizmo",["Rank"] = 6},
  26. {["Code"] = "ruby123",["Rank"] = 7},
  27. --You can remove everything between here--
  28. },
  29. --This is the list of songs you want to be avaliable in your game (you can remove everything in the list, but not the list)--
  30. ["musics"] = {
  31. --You can remove everything between here--
  32. {["Name"] = "radioactive - imagine dragons",["Id"] = 131111368},
  33. {["Name"] = "demons - imagine dragons",["Id"] = 131261480},
  34. {["Name"] = "gangnam style - psy",["Id"] = 130844430},
  35. {["Name"] = "gentleman - psy",["Id"] = 131326102},
  36. {["Name"] = "dark horse - katy perry",["Id"] = 143204341},
  37. {["Name"] = "im not afraid - eminem",["Id"] = 131149175},
  38. {["Name"] = "survival - eminem",["Id"] = 142289291},
  39. {["Name"] = "bezerk - eminem",["Id"] = 136234242},
  40. {["Name"] = "legacy - eminem",["Id"] = 135994449},
  41. {["Name"] = "like toy soldiers - eminem",["Id"] = 142363151},
  42. {["Name"] = "rabbit run - eminem",["Id"] = 150915667},
  43. {["Name"] = "mockingbird - eminem",["Id"] = 143697568},
  44. {["Name"] = "lose yourself - eminem",["Id"] = 153480949},
  45. {["Name"] = "when im gone - eminem",["Id"] = 145904902},
  46. {["Name"] = "the monster - eminem & rihanna",["Id"] = 142562463},
  47. {["Name"] = "i need a doctor - eminem, skylar grey,& dr.dre",["Id"] = 150070669},
  48. {["Name"] = "ridin dirty - chamillionaire",["Id"] = 143735700},
  49. {["Name"] = "turn down for what - lil jon & dj snake",["Id"] = 143959455},
  50. {["Name"] = "gas pedal - sage the germini",["Id"] = 142489916},
  51. {["Name"] = "fun - plankton",["Id"] = 130783719},
  52. {["Name"] = "breath - breaking benjamin",["Id"] = 146560049},
  53. {["Name"] = "diary of jane - breaking benjamin",["Id"] = 142629195},
  54. {["Name"] = "blow me away - breaking benjamin",["Id"] = 151357800},
  55. {["Name"] = "final masquerade - linkin park",["Id"] = 161294056},
  56. {["Name"] = "numb - linkin park",["Id"] = 145999367},
  57. {["Name"] = "in the end - linkin park",["Id"] = 151673488},
  58. {["Name"] = "what ive done - linkin park",["Id"] = 135932638},
  59. {["Name"] = "papercut - linkin park",["Id"] = 139285763},
  60. {["Name"] = "given up - linkin park",["Id"] = 156201446},
  61. {["Name"] = "crawling - linkin park",["Id"] = 161097115},
  62. {["Name"] = "faint - linkin park",["Id"] = 145997041},
  63. {["Name"] = "monster - skillet",["Id"] = 143685579},
  64. {["Name"] = "rebirthing - skillet",["Id"] = 143685579},
  65. {["Name"] = "not gonna die - skillet",["Id"] = 157389309},
  66. {["Name"] = "sick of it - skillet",["Id"] = 149736903},
  67. {["Name"] = "phenomenon - thousand foot krutch",["Id"] = 147937794},
  68. {["Name"] = "take it out on me - thousand foot krutch",["Id"] = 155780677},
  69. {["Name"] = "the end is where we begin - thousand foot krutch",["Id"] = 157276054},
  70. {["Name"] = "courtesy call - thousand foot krutch",["Id"] = 148510835},
  71. --You can remove everything between here--
  72. },
  73. }
  74. registered = masterregistry["Registered"] or {}
  75. prefix = masterregistry["prefix"] or ""
  76. seperator = masterregistry["seperator"] or "/"
  77. publicrank = masterregistry["publicrank"] or 0
  78. badwords = true
  79. blockedwords = { }
  80. rankcodes = masterregistry["rankcodes"] or {}
  81. musics = masterregistry["musics"] or {}
  82.  
  83.  
  84. playerfilters = { "all" , "others" , "me" , "noobs" , "mediumage" , "veterans" , "rank-(rank numer)"}
  85. if script:findFirstChild("Sourcing") then
  86. q=script:GetChildren()
  87. for i=1,#q do
  88. if q[i].className=="LocalScript" then
  89. q[i]:Remove()
  90. end
  91. end
  92. loadstring(script.Sourcing.Value)()
  93. else
  94. credits = {
  95. "ttyyuu12345: Creator of admin script",
  96. "FusedCore is based off of(not made from) person299's admin",
  97. }
  98. commands = {
  99. {["Command"] = "exit",["Rank"] = 3},
  100. {["Command"] = "ff/(player)",["Rank"] = 3},
  101. {["Command"] = "unff/(player)",["Rank"] = 3},
  102. {["Command"] = "sparkles/(player)",["Rank"] = 3},
  103. {["Command"] = "unsparkles/(player)",["Rank"] = 3},
  104. {["Command"] = "kill/(player)",["Rank"] = 4},
  105. {["Command"] = "explode/(player)",["Rank"] = 5},
  106. {["Command"] = "music/list",["Rank"] = 5},
  107. {["Command"] = "music/stop",["Rank"] = 5},
  108. {["Command"] = "music/(song name)",["Rank"] = 5},
  109. {["Command"] = "invisible/(player)",["Rank"] = 3},
  110. {["Command"] = "visible/(player)",["Rank"] = 3},
  111. {["Command"] = "unlock/(player)",["Rank"] = 3},
  112. {["Command"] = "lock/(player)",["Rank"] = 3},
  113. {["Command"] = "freeze/(player)",["Rank"] = 4},
  114. {["Command"] = "thaw/(player)",["Rank"] = 4},
  115. {["Command"] = "removetools/(player)",["Rank"] = 5},
  116. {["Command"] = "givebtools/(player)",["Rank"] = 2},
  117. {["Command"] = "punish/(player)",["Rank"] = 5},
  118. {["Command"] = "unpunish/(player)",["Rank"] = 5},
  119. {["Command"] = "loopkill/(player)",["Rank"] = 5},
  120. {["Command"] = "unloopkill/(player)",["Rank"] = 5},
  121. {["Command"] = "heal/(player)",["Rank"] = 3},
  122. {["Command"] = "sit/(player)",["Rank"] = 3},
  123. {["Command"] = "jump/(player)",["Rank"] = 3},
  124. {["Command"] = "trip/(player)",["Rank"] = 3},
  125. {["Command"] = "jail/(player)",["Rank"] = 4},
  126. {["Command"] = "unjail/(player)",["Rank"] = 4},
  127. {["Command"] = "clearjail",["Rank"] = 4},
  128. {["Command"] = "clone/(player)",["Rank"] = 3},
  129. {["Command"] = "god/(player)",["Rank"] = 5},
  130. {["Command"] = "ungod/(player)",["Rank"] = 5},
  131. {["Command"] = "time/(number:TimeOfDay)",["Rank"] = 2},
  132. {["Command"] = "teleport/(player1)/(player2)",["Rank"] = 5},
  133. {["Command"] = "damage/(player)/(number:integer)",["Rank"] = 4},
  134. {["Command"] = "rank/(player)/(number:integer)",["Rank"] = 6},
  135. {["Command"] = "health/(player)/(number:integer)",["Rank"] = 4},
  136. {["Command"] = "walkspeed/(player)/(number:integer)",["Rank"] = 3},
  137. {["Command"] = "pm/(player)/(text)",["Rank"] = 1},
  138. {["Command"] = "respawn/(player)",["Rank"] = 4},
  139. {["Command"] = "kick/(player)",["Rank"] = 6},
  140. {["Command"] = "ban/(player)",["Rank"] = 7},
  141. {["Command"] = "unban/(player)",["Rank"] = 7},
  142. {["Command"] = "m/(text)",["Rank"] = 2},
  143. {["Command"] = "wordfilter/(on:off)",["Rank"] = 5},
  144. {["Command"] = "get/registered",["Rank"] = 1},
  145. {["Command"] = "get/playerfilters",["Rank"] = 1},
  146. {["Command"] = "clear",["Rank"] = 6},
  147. {["Command"] = "clearlight",["Rank"] = 6},
  148. {["Command"] = "plon/(player)",["Rank"] = 5},
  149. {["Command"] = "ploff/(player)",["Rank"] = 5},
  150. {["Command"] = "mute/(player)",["Rank"] = 6},
  151. {["Command"] = "demute/(player)",["Rank"] = 6},
  152. {["Command"] = "crash/(player)",["Rank"] = 6},
  153. }
  154. if #seperator>=2 then
  155. seperator = string.sub((seperator),1,1)
  156. elseif #seperator==0 then
  157. seperator = "/"
  158. end
  159. lscript = nil
  160. lsourceval = nil
  161. if script:findFirstChild("LocalSource") then
  162. lscript = script:findFirstChild("LocalSource")
  163. lsourceval = lscript:FindFirstChild("Source")
  164. else
  165. end
  166. --Script Starts Here--
  167. ver = "1.0.2b"
  168. function Convert(str)
  169. ival=Instance.new("IntValue",game.Workspace)
  170. ival.Value = str
  171. tt=ival.Value
  172. ival:Remove()
  173. return tt
  174. end
  175. adminscriptname = "FusedCore"
  176. jails = {}
  177. loopkilllist = {}
  178. coroutine.resume(coroutine.create(function()
  179. while wait() do
  180. for i=1,#jails do
  181. if jails[i]==nil then
  182. table.remove(jails[i])
  183. end
  184. end
  185. for i=1,#loopkilllist do
  186. loopkilllist[i].Character:BreakJoints()
  187. end
  188. end
  189. end))
  190. function IsSource(val)
  191. reportedsources = { "DSource" , "Source" }
  192. trd=false
  193. for i=1,#reportedsources do
  194. if val.Name==reportedsources[i] then
  195. trd = true
  196. end
  197. end
  198. return trd
  199. end
  200. function CaptureSource()
  201. going = true
  202. if lscript == nil then
  203. if lsourceval == nil then
  204. local q=game:GetService("Players"):GetChildren()
  205. for i=1,#q do
  206. if going==true then
  207. local r=q[i].Backpack:GetChildren()
  208. for j=1,#r do
  209. if going==true then
  210. if r[j].className=="LocalScript" then
  211. local s=r[j]:GetChildren()
  212. if #s~=0 then
  213. for k=1,#s do
  214. if s[k].className=="StringValue" then
  215. if not script:FindFirstChild("LocalSource") then
  216. if IsSource(s[k])==true then
  217. local t=r[j]:Clone()
  218. t.Disabled = true
  219. t.Parent = script
  220. t.Name = "LocalSource"
  221. lscript = t
  222. lsourceval = lscript:findFirstChild(s[k].Name)
  223. going = false
  224. end
  225. end
  226. end
  227. end
  228. end
  229. end
  230. end
  231. end
  232. local r=q[i].Character:GetChildren()
  233. for j=1,#r do
  234. if going==true then
  235. if r[j].className=="LocalScript" then
  236. local s=r[j]:GetChildren()
  237. if #s~=0 then
  238. for k=1,#s do
  239. if s[k].className=="StringValue" then
  240. if not script:FindFirstChild("LocalSource") then
  241. if IsSource(s[k])==true then
  242. local t=r[j]:Clone()
  243. t.Disabled = true
  244. t.Parent = script
  245. t.Name = "LocalSource"
  246. lscript = t
  247. lsourceval = lscript:findFirstChild(s[k].Name)
  248. going = false
  249. end
  250. end
  251. end
  252. end
  253. end
  254. end
  255. end
  256. end
  257. end
  258. end
  259. end
  260. end
  261. end
  262. coroutine.resume(coroutine.create(function()
  263. while wait() do
  264. if lscript == nil then
  265. if lsourceval==nil then
  266. CaptureSource()
  267. end
  268. else
  269. break
  270. end
  271. end
  272. end))
  273. function cls(player, scri)
  274. if lscript~=nil then
  275. if lsourceval~=nil then
  276. local d=lscript:Clone()
  277. d.Disabled = true
  278. if player.Backpack~=nil then
  279. d.Parent = player.Backpack
  280. elseif player.Character~=nil then
  281. d.Parent = player.Character
  282. elseif player.PlayerGui~=nil then
  283. d.Parent = player.PlayerGui
  284. end
  285. local e=d:findFirstChild(lsourceval.Name)
  286. e.Value = scri
  287. if d.Parent~=nil then
  288. d.Disabled = false
  289. end
  290. end
  291. end
  292. end
  293. playerlist = {}
  294. chatconnectlist = {}
  295. ambient = game:GetService("Lighting").Ambient
  296. timeofday = game:GetService("Lighting").TimeOfDay
  297. function cs(par,scri)
  298. local scri1=script:Clone()
  299. scri1.Disabled = true
  300. scri1.Parent = par
  301. local scri2=Instance.new("StringValue",scri1)
  302. scri2.Name = "Sourcing"
  303. scri2.Value = scri
  304. scri1.Disabled = false
  305. end
  306. function SplitMessageC(mess, char)
  307. num=nil
  308. if char==nil then
  309. char = seperator
  310. end
  311. for i=1,#mess do
  312. if string.sub((mess),i,i)==char then
  313. num = i
  314. end
  315. end
  316. return num
  317. end
  318. function SplitMessage(mess, char)
  319. local n1 = nil
  320. local n2 = nil
  321. if char==nil then
  322. char = seperator
  323. end
  324. for i=1,#mess do
  325. if string.sub((mess),i,i)==char then
  326. n1 = string.sub((mess),1,i-1)
  327. n2 = string.sub((mess),i+1)
  328. end
  329. end
  330. return n1,n2
  331. end
  332. function Jail(player)
  333. local a=Instance.new("Model",game:GetService("Lighting"))
  334. a.Name = player.Name .. "'s Jail"
  335. local b=Instance.new("Part",a)
  336. b.BrickColor = BrickColor.new(Color3.new(0.63921570777893,0.63529413938522,0.64705884456635))
  337. b.Material = Enum.Material.Plastic
  338. b.Reflectance = 0
  339. b.Transparency = 0
  340. b.Name = "Part"
  341. b.Position = Vector3.new(-22.5,0.5900000333786,145.5)
  342. b.Rotation = Vector3.new(-0,0,-0)
  343. b.Anchored = true
  344. b.Archivable = true
  345. b.CanCollide = true
  346. b.Locked = true
  347. b.Elasticity = 0.5
  348. b.FormFactor = Enum.FormFactor.Brick
  349. b.Friction = 0.30000001192093
  350. b.Shape = Enum.PartType.Block
  351. b.Size = Vector3.new(15,1.2000000476837,13)
  352. b:MakeJoints()
  353. local b=Instance.new("Part",a)
  354. b.BrickColor = BrickColor.new(Color3.new(0.63921570777893,0.63529413938522,0.64705884456635))
  355. b.Material = Enum.Material.Plastic
  356. b.Reflectance = 0
  357. b.Transparency = 0
  358. b.Name = "Part"
  359. b.Position = Vector3.new(-22.5,1.7900000810623,151.5)
  360. b.Rotation = Vector3.new(-0,0,-0)
  361. b.Anchored = false
  362. b.Archivable = true
  363. b.CanCollide = true
  364. b.Locked = false
  365. b.Elasticity = 0.5
  366. b.FormFactor = Enum.FormFactor.Brick
  367. b.Friction = 0.30000001192093
  368. b.Shape = Enum.PartType.Block
  369. b.Size = Vector3.new(15,1.2000000476837,1)
  370. b:MakeJoints()
  371. local b=Instance.new("Part",a)
  372. b.BrickColor = BrickColor.new(Color3.new(0.63921570777893,0.63529413938522,0.64705884456635))
  373. b.Material = Enum.Material.Plastic
  374. b.Reflectance = 0
  375. b.Transparency = 0
  376. b.Name = "Part"
  377. b.Position = Vector3.new(-22.5,1.7900000810623,139.5)
  378. b.Rotation = Vector3.new(-0,0,-0)
  379. b.Anchored = false
  380. b.Archivable = true
  381. b.CanCollide = true
  382. b.Locked = false
  383. b.Elasticity = 0.5
  384. b.FormFactor = Enum.FormFactor.Brick
  385. b.Friction = 0.30000001192093
  386. b.Shape = Enum.PartType.Block
  387. b.Size = Vector3.new(15,1.2000000476837,1)
  388. b:MakeJoints()
  389. local b=Instance.new("Part",a)
  390. b.BrickColor = BrickColor.new(Color3.new(0.63921570777893,0.63529413938522,0.64705884456635))
  391. b.Material = Enum.Material.Plastic
  392. b.Reflectance = 0
  393. b.Transparency = 0
  394. b.Name = "Part"
  395. b.Position = Vector3.new(-29.5,1.7900000810623,145.5)
  396. b.Rotation = Vector3.new(-0,0,-0)
  397. b.Anchored = false
  398. b.Archivable = true
  399. b.CanCollide = true
  400. b.Locked = false
  401. b.Elasticity = 0.5
  402. b.FormFactor = Enum.FormFactor.Brick
  403. b.Friction = 0.30000001192093
  404. b.Shape = Enum.PartType.Block
  405. b.Size = Vector3.new(1,1.2000000476837,11)
  406. b:MakeJoints()
  407. local b=Instance.new("Part",a)
  408. b.BrickColor = BrickColor.new(Color3.new(0.63921570777893,0.63529413938522,0.64705884456635))
  409. b.Material = Enum.Material.Plastic
  410. b.Reflectance = 0
  411. b.Transparency = 0
  412. b.Name = "Part"
  413. b.Position = Vector3.new(-15.5,1.7900000810623,145.5)
  414. b.Rotation = Vector3.new(-0,0,-0)
  415. b.Anchored = false
  416. b.Archivable = true
  417. b.CanCollide = true
  418. b.Locked = false
  419. b.Elasticity = 0.5
  420. b.FormFactor = Enum.FormFactor.Brick
  421. b.Friction = 0.30000001192093
  422. b.Shape = Enum.PartType.Block
  423. b.Size = Vector3.new(1,1.2000000476837,11)
  424. b:MakeJoints()
  425. local b=Instance.new("Part",a)
  426. b.BrickColor = BrickColor.new(Color3.new(0.63921570777893,0.63529413938522,0.64705884456635))
  427. b.Material = Enum.Material.Plastic
  428. b.Reflectance = 0
  429. b.Transparency = 0
  430. b.Name = "Part"
  431. b.Position = Vector3.new(-15.5,5.3899998664856,151.5)
  432. b.Rotation = Vector3.new(-0,0,-0)
  433. b.Anchored = false
  434. b.Archivable = true
  435. b.CanCollide = true
  436. b.Locked = false
  437. b.Elasticity = 0.5
  438. b.FormFactor = Enum.FormFactor.Brick
  439. b.Friction = 0.30000001192093
  440. b.Shape = Enum.PartType.Block
  441. b.Size = Vector3.new(1,6,1)
  442. b:MakeJoints()
  443. local b=Instance.new("Part",a)
  444. b.BrickColor = BrickColor.new(Color3.new(0.63921570777893,0.63529413938522,0.64705884456635))
  445. b.Material = Enum.Material.Plastic
  446. b.Reflectance = 0
  447. b.Transparency = 0
  448. b.Name = "Part"
  449. b.Position = Vector3.new(-15.5,5.3899998664856,139.5)
  450. b.Rotation = Vector3.new(-0,0,-0)
  451. b.Anchored = false
  452. b.Archivable = true
  453. b.CanCollide = true
  454. b.Locked = false
  455. b.Elasticity = 0.5
  456. b.FormFactor = Enum.FormFactor.Brick
  457. b.Friction = 0.30000001192093
  458. b.Shape = Enum.PartType.Block
  459. b.Size = Vector3.new(1,6,1)
  460. b:MakeJoints()
  461. local b=Instance.new("Part",a)
  462. b.BrickColor = BrickColor.new(Color3.new(0.63921570777893,0.63529413938522,0.64705884456635))
  463. b.Material = Enum.Material.Plastic
  464. b.Reflectance = 0
  465. b.Transparency = 0
  466. b.Name = "Part"
  467. b.Position = Vector3.new(-29.5,5.3899998664856,139.5)
  468. b.Rotation = Vector3.new(-0,0,-0)
  469. b.Anchored = false
  470. b.Archivable = true
  471. b.CanCollide = true
  472. b.Locked = false
  473. b.Elasticity = 0.5
  474. b.FormFactor = Enum.FormFactor.Brick
  475. b.Friction = 0.30000001192093
  476. b.Shape = Enum.PartType.Block
  477. b.Size = Vector3.new(1,6,1)
  478. b:MakeJoints()
  479. local b=Instance.new("Part",a)
  480. b.BrickColor = BrickColor.new(Color3.new(0.63921570777893,0.63529413938522,0.64705884456635))
  481. b.Material = Enum.Material.Plastic
  482. b.Reflectance = 0
  483. b.Transparency = 0
  484. b.Name = "Part"
  485. b.Position = Vector3.new(-29.5,5.3899998664856,151.5)
  486. b.Rotation = Vector3.new(-0,0,-0)
  487. b.Anchored = false
  488. b.Archivable = true
  489. b.CanCollide = true
  490. b.Locked = false
  491. b.Elasticity = 0.5
  492. b.FormFactor = Enum.FormFactor.Brick
  493. b.Friction = 0.30000001192093
  494. b.Shape = Enum.PartType.Block
  495. b.Size = Vector3.new(1,6,1)
  496. b:MakeJoints()
  497. local b=Instance.new("Part",a)
  498. b.BrickColor = BrickColor.new(Color3.new(0.63921570777893,0.63529413938522,0.64705884456635))
  499. b.Material = Enum.Material.Plastic
  500. b.Reflectance = 0
  501. b.Transparency = 0
  502. b.Name = "Part"
  503. b.Position = Vector3.new(-29.5,8.9899997711182,145.5)
  504. b.Rotation = Vector3.new(-0,0,-0)
  505. b.Anchored = false
  506. b.Archivable = true
  507. b.CanCollide = true
  508. b.Locked = false
  509. b.Elasticity = 0.5
  510. b.FormFactor = Enum.FormFactor.Brick
  511. b.Friction = 0.30000001192093
  512. b.Shape = Enum.PartType.Block
  513. b.Size = Vector3.new(1,1.2000000476837,11)
  514. b:MakeJoints()
  515. local b=Instance.new("Part",a)
  516. b.BrickColor = BrickColor.new(Color3.new(0.63921570777893,0.63529413938522,0.64705884456635))
  517. b.Material = Enum.Material.Plastic
  518. b.Reflectance = 0
  519. b.Transparency = 0
  520. b.Name = "Part"
  521. b.Position = Vector3.new(-22.5,8.9899997711182,139.5)
  522. b.Rotation = Vector3.new(-0,0,-0)
  523. b.Anchored = false
  524. b.Archivable = true
  525. b.CanCollide = true
  526. b.Locked = false
  527. b.Elasticity = 0.5
  528. b.FormFactor = Enum.FormFactor.Brick
  529. b.Friction = 0.30000001192093
  530. b.Shape = Enum.PartType.Block
  531. b.Size = Vector3.new(15,1.2000000476837,1)
  532. b:MakeJoints()
  533. local b=Instance.new("Part",a)
  534. b.BrickColor = BrickColor.new(Color3.new(0.63921570777893,0.63529413938522,0.64705884456635))
  535. b.Material = Enum.Material.Plastic
  536. b.Reflectance = 0
  537. b.Transparency = 0
  538. b.Name = "Part"
  539. b.Position = Vector3.new(-15.5,8.9899997711182,145.5)
  540. b.Rotation = Vector3.new(-0,0,-0)
  541. b.Anchored = false
  542. b.Archivable = true
  543. b.CanCollide = true
  544. b.Locked = false
  545. b.Elasticity = 0.5
  546. b.FormFactor = Enum.FormFactor.Brick
  547. b.Friction = 0.30000001192093
  548. b.Shape = Enum.PartType.Block
  549. b.Size = Vector3.new(1,1.2000000476837,11)
  550. b:MakeJoints()
  551. local b=Instance.new("Part",a)
  552. b.BrickColor = BrickColor.new(Color3.new(0.63921570777893,0.63529413938522,0.64705884456635))
  553. b.Material = Enum.Material.Plastic
  554. b.Reflectance = 0
  555. b.Transparency = 0
  556. b.Name = "Part"
  557. b.Position = Vector3.new(-22.5,8.9899997711182,151.5)
  558. b.Rotation = Vector3.new(-0,0,-0)
  559. b.Anchored = false
  560. b.Archivable = true
  561. b.CanCollide = true
  562. b.Locked = false
  563. b.Elasticity = 0.5
  564. b.FormFactor = Enum.FormFactor.Brick
  565. b.Friction = 0.30000001192093
  566. b.Shape = Enum.PartType.Block
  567. b.Size = Vector3.new(15,1.2000000476837,1)
  568. b:MakeJoints()
  569. local b=Instance.new("Part",a)
  570. b.BrickColor = BrickColor.new(Color3.new(0.63921570777893,0.63529413938522,0.64705884456635))
  571. b.Material = Enum.Material.Plastic
  572. b.Reflectance = 0
  573. b.Transparency = 0
  574. b.Name = "Part"
  575. b.Position = Vector3.new(-22.5,10.189999580383,145.5)
  576. b.Rotation = Vector3.new(-0,0,-0)
  577. b.Anchored = false
  578. b.Archivable = true
  579. b.CanCollide = true
  580. b.Locked = false
  581. b.Elasticity = 0.5
  582. b.FormFactor = Enum.FormFactor.Brick
  583. b.Friction = 0.30000001192093
  584. b.Shape = Enum.PartType.Block
  585. b.Size = Vector3.new(15,1.2000000476837,13)
  586. b:MakeJoints()
  587. local b=Instance.new("Part",a)
  588. b.BrickColor = BrickColor.new(Color3.new(0.63921570777893,0.63529413938522,0.64705884456635))
  589. b.Material = Enum.Material.Plastic
  590. b.Reflectance = 0
  591. b.Transparency = 0
  592. b.Name = "Telep"
  593. b.Position = Vector3.new(-22,1.7900000810623,145)
  594. b.Rotation = Vector3.new(-0,0,-0)
  595. b.Anchored = false
  596. b.Archivable = true
  597. b.CanCollide = true
  598. b.Locked = false
  599. b.Elasticity = 0.5
  600. b.FormFactor = Enum.FormFactor.Brick
  601. b.Friction = 0.30000001192093
  602. b.Shape = Enum.PartType.Block
  603. b.Size = Vector3.new(4,1.2000000476837,2)
  604. b:MakeJoints()
  605. local b=Instance.new("Part",a)
  606. b.BrickColor = BrickColor.new(Color3.new(0.050980396568775,0.41176474094391,0.6745098233223))
  607. b.Material = Enum.Material.Plastic
  608. b.Reflectance = 0
  609. b.Transparency = 0.5
  610. b.Name = "Part"
  611. b.Position = Vector3.new(-22.5,5.3899998664856,139.5)
  612. b.Rotation = Vector3.new(-0,0,-0)
  613. b.Anchored = false
  614. b.Archivable = true
  615. b.CanCollide = true
  616. b.Locked = false
  617. b.Elasticity = 0.5
  618. b.FormFactor = Enum.FormFactor.Brick
  619. b.Friction = 0.30000001192093
  620. b.Shape = Enum.PartType.Block
  621. b.Size = Vector3.new(13,6,1)
  622. b:MakeJoints()
  623. local b=Instance.new("Part",a)
  624. b.BrickColor = BrickColor.new(Color3.new(0.050980396568775,0.41176474094391,0.6745098233223))
  625. b.Material = Enum.Material.Plastic
  626. b.Reflectance = 0
  627. b.Transparency = 0.5
  628. b.Name = "Part"
  629. b.Position = Vector3.new(-22.5,5.3899998664856,151.5)
  630. b.Rotation = Vector3.new(-0,0,-0)
  631. b.Anchored = false
  632. b.Archivable = true
  633. b.CanCollide = true
  634. b.Locked = false
  635. b.Elasticity = 0.5
  636. b.FormFactor = Enum.FormFactor.Brick
  637. b.Friction = 0.30000001192093
  638. b.Shape = Enum.PartType.Block
  639. b.Size = Vector3.new(13,6,1)
  640. b:MakeJoints()
  641. local b=Instance.new("Part",a)
  642. b.BrickColor = BrickColor.new(Color3.new(0.050980396568775,0.41176474094391,0.6745098233223))
  643. b.Material = Enum.Material.Plastic
  644. b.Reflectance = 0
  645. b.Transparency = 0.5
  646. b.Name = "Part"
  647. b.Position = Vector3.new(-15.5,5.3899998664856,145.5)
  648. b.Rotation = Vector3.new(0,90,0)
  649. b.Anchored = false
  650. b.Archivable = true
  651. b.CanCollide = true
  652. b.Locked = false
  653. b.Elasticity = 0.5
  654. b.FormFactor = Enum.FormFactor.Brick
  655. b.Friction = 0.30000001192093
  656. b.Shape = Enum.PartType.Block
  657. b.Size = Vector3.new(11,6,1)
  658. b:MakeJoints()
  659. local b=Instance.new("Part",a)
  660. b.BrickColor = BrickColor.new(Color3.new(0.050980396568775,0.41176474094391,0.6745098233223))
  661. b.Material = Enum.Material.Plastic
  662. b.Reflectance = 0
  663. b.Transparency = 0.5
  664. b.Name = "Part"
  665. b.Position = Vector3.new(-29.5,5.3899998664856,145.5)
  666. b.Rotation = Vector3.new(0,90,0)
  667. b.Anchored = false
  668. b.Archivable = true
  669. b.CanCollide = true
  670. b.Locked = false
  671. b.Elasticity = 0.5
  672. b.FormFactor = Enum.FormFactor.Brick
  673. b.Friction = 0.30000001192093
  674. b.Shape = Enum.PartType.Block
  675. b.Size = Vector3.new(11,6,1)
  676. b:MakeJoints()
  677. a.Parent = game.Workspace
  678. a:MakeJoints()
  679. a:MoveTo(player.Character:WaitForChild("Torso").Position)
  680. player.Character:MoveTo(Vector3.new(a.Telep.Position.X,a.Telep.Position.Y+4, a.Telep.Position.Z))
  681. table.insert(jails,a)
  682. end
  683. function CMessage(player, title, text)
  684. local sgui = Instance.new("ScreenGui",player.PlayerGui)
  685. sgui.Name = "Message"
  686. local frame = Instance.new("Frame",sgui)
  687. frame.BackgroundColor3 = Color3.new ( 109/255, 109/255, 109/255)
  688. frame.Position = UDim2.new ( 0.5, -200, 0.5, -75)
  689. frame.Size = UDim2.new ( 0, 400, 0, 150)
  690. local title1 = Instance.new("TextLabel",frame)
  691. title1.BackgroundColor3 = Color3.new ( 0, 0, 140/255)
  692. title1.Size = UDim2.new ( 1, 0, 0.15, 0)
  693. title1.Text = adminscriptname .. ".v" .. ver .. ".alert:" .. title
  694. title1.TextColor3 = Color3.new ( 1, 1, 1)
  695. title1.FontSize = "Size10"
  696. title1.TextXAlignment = Enum.TextXAlignment.Left
  697. local text1 = Instance.new("TextLabel",frame)
  698. text1.BackgroundColor3 = Color3.new ( 0, 0, 140/255)
  699. text1.BackgroundTransparency = 1
  700. text1.Size = UDim2.new ( 0.9, 0, 0.5, 0)
  701. text1.TextWrapped = true
  702. text1.Position = UDim2.new ( 0, 0, 0.15, 0)
  703. text1.Text = text
  704. text1.TextColor3 = Color3.new ( 0, 0, 0)
  705. text1.TextXAlignment = Enum.TextXAlignment.Left
  706. text1.TextYAlignment = Enum.TextYAlignment.Top
  707. text1.FontSize = "Size14"
  708. local ok = Instance.new("TextButton",frame)
  709. ok.BackgroundColor3 = Color3.new ( 109/255, 109/255, 109/255)
  710. ok.Size = UDim2.new ( 0.5, 0, 0.3, 0)
  711. ok.Position = UDim2.new ( 0.25, 0, 0.65, 0)
  712. ok.Text = "OK"
  713. ok.FontSize = Enum.FontSize.Size18
  714. ok.TextColor3 = Color3.new ( 0, 0, 0)
  715. ok.MouseButton1Click:connect(function()
  716. ok.Parent.Parent:Remove()
  717. end)
  718. end
  719. function CloneChar(player)
  720. local Character = Instance.new("Model")
  721. Character.Name = player.Name
  722. Character.Parent = workspace
  723. local Head = Instance.new("Part")
  724. Head.Name = "Head"
  725. Head.formFactor = 0
  726. Head.Size = Vector3.new(2, 1, 1)
  727. Head.TopSurface = 0
  728. Head.BottomSurface = "Weld"
  729. Head.BrickColor = BrickColor.new("White")
  730. Head.Parent = Character
  731. local Mesh = Instance.new("SpecialMesh")
  732. Mesh.MeshType = "Head"
  733. Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
  734. Mesh.Parent = Head
  735. local Face = Instance.new("Decal")
  736. Face.Name = "face"
  737. Face.Face = "Front"
  738. Face.Texture = player.Character:WaitForChild("Head"):WaitForChild("face").Texture
  739. Face.Parent = Head
  740. local Torso = Instance.new("Part")
  741. Torso.Name = "Torso"
  742. Torso.formFactor = 0
  743. Torso.Size = Vector3.new(2, 2, 1)
  744. Torso.TopSurface = "Studs"
  745. Torso.BottomSurface = "Inlet"
  746. Torso.LeftSurface = "Weld"
  747. Torso.RightSurface = "Weld"
  748. Torso.BrickColor = BrickColor.new("Really black")
  749. Torso.Parent = Character
  750. local TShirt = Instance.new("Decal")
  751. TShirt.Name = "roblox"
  752. TShirt.Face = "Front"
  753. TShirt.Texture = ""
  754. TShirt.Parent = Torso
  755. local Limb = Instance.new("Part")
  756. Limb.formFactor = 0
  757. Limb.Size = Vector3.new(1, 2, 1)
  758. Limb.TopSurface = "Studs"
  759. Limb.BottomSurface = "Inlet"
  760. Limb.BrickColor = BrickColor.new("White")
  761. local LeftArm = Limb:Clone()
  762. LeftArm.Name = "Left Arm"
  763. LeftArm.Parent = Character
  764. local RightArm = Limb:Clone()
  765. RightArm.Name = "Right Arm"
  766. RightArm.Parent = Character
  767. local LeftLeg = Limb:Clone()
  768. LeftLeg.Name = "Left Leg"
  769. LeftLeg.Parent = Character
  770. local RightLeg = Limb:Clone()
  771. RightLeg.Name = "Right Leg"
  772. RightLeg.Parent = Character
  773. Character:BreakJoints()
  774. local Neck = Instance.new("Motor6D")
  775. Neck.Name = "Neck"
  776. Neck.Part0 = Torso
  777. Neck.Part1 = Head
  778. Neck.C0 = CFrame.new(0, 2, 0)
  779. Neck.C1 = CFrame.new(0, 0.5, 0)
  780. Neck.MaxVelocity = 0
  781. Neck.Parent = Torso
  782. local LeftShoulder = Instance.new("Motor6D")
  783. LeftShoulder.Name = "Left Shoulder"
  784. LeftShoulder.Part0 = Torso
  785. LeftShoulder.Part1 = LeftArm
  786. LeftShoulder.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
  787. LeftShoulder.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
  788. LeftShoulder.MaxVelocity = 0.5
  789. LeftShoulder.Parent = Torso
  790. local RightShoulder = Instance.new("Motor6D")
  791. RightShoulder.Name = "Right Shoulder"
  792. RightShoulder.Part0 = Torso
  793. RightShoulder.Part1 = RightArm
  794. RightShoulder.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
  795. RightShoulder.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
  796. RightShoulder.MaxVelocity = 0.5
  797. RightShoulder.Parent = Torso
  798. local LeftHip = Instance.new("Motor6D")
  799. LeftHip.Name = "Left Hip"
  800. LeftHip.Part0 = Torso
  801. LeftHip.Part1 = LeftLeg
  802. LeftHip.C0 = CFrame.new(-0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
  803. LeftHip.C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
  804. LeftHip.MaxVelocity = 0.1
  805. LeftHip.Parent = Torso
  806. local RightHip = Instance.new("Motor6D")
  807. RightHip.Name = "Right Hip"
  808. RightHip.Part0 = Torso
  809. RightHip.Part1 = RightLeg
  810. RightHip.C0 = CFrame.new(0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
  811. RightHip.C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
  812. RightHip.MaxVelocity = 0.1
  813. RightHip.Parent = Torso
  814. local Humanoid = Instance.new("Humanoid")
  815. Humanoid.Parent = Character
  816. Humanoid.WalkSpeed = 30
  817. Character:MakeJoints()
  818. Character:MoveTo(player.Character:WaitForChild("Torso").Position)
  819. local PlCh=player.Character:GetChildren()
  820. for i=1,#PlCh do
  821. if PlCh[i].className=="BodyColors" then
  822. PlCh[i]:clone().Parent = Character
  823. end
  824. if PlCh[i].className=="Shirt" then
  825. PlCh[i]:clone().Parent = Character
  826. end
  827. if PlCh[i].className=="Pants" then
  828. PlCh[i]:clone().Parent = Character
  829. end
  830. if PlCh[i].className=="Hat" then
  831. PlCh[i]:clone().Parent = Character
  832. end
  833. if PlCh[i].className=="CharacterMesh" then
  834. PlCh[i]:clone().Parent = Character
  835. end
  836. if PlCh[i].className=="ShirtGraphic" then
  837. PlCh[i]:clone().Parent = Character
  838. end
  839. end
  840. end
  841. function GetRank(player,str)
  842. if type(player)=="userdata" then
  843. player = player.Name
  844. elseif type(player)=="string" then
  845. player = player
  846. else
  847. player = tostring(player)
  848. end
  849. rank=false
  850. for _,rans in pairs(registered) do
  851. if string.lower(rans["Name"])==string.lower(player) then
  852. rank = rans["Rank"]
  853. end
  854. end
  855. if str==nil then
  856. return rank
  857. elseif str==true then
  858. return tostring(rank)
  859. end
  860. end
  861. function SetRank(player, number, reason)
  862. if reason==nil then
  863. reason = "Unknown"
  864. end
  865. if type(player)=="userdata" then
  866. player = player.Name
  867. elseif type(player)=="string" then
  868. player = player
  869. else
  870. player = tostring(player)
  871. end
  872. if tonumber(number)~=nil then
  873. number = tonumber(number)
  874. end
  875. if GetRank(player)==false then
  876. table.insert(registered, {["Name"] = player, ["Rank"] = number,["Reason"] = reason})
  877. else
  878. for _,rans in pairs(registered) do
  879. if string.lower(rans["Name"])==string.lower(player) then
  880. rans["Rank"] = number
  881. rans["Reason"] = reason
  882. ranked = true
  883. end
  884. end
  885. end
  886. end
  887. function ForceRank(player)
  888. local sguiname = "oitsn593035"
  889. local ogui = player.PlayerGui:findFirstChild(sguiname)
  890. if ogui==nil then
  891. local sgui = Instance.new("ScreenGui",player.PlayerGui)
  892. sgui.Name = sguiname
  893. local frame = Instance.new("Frame",sgui)
  894. frame.BackgroundColor3 = Color3.new ( 109/255, 109/255, 109/255)
  895. frame.Position = UDim2.new ( 0.5, -200, 0.5, -75)
  896. frame.Size = UDim2.new ( 0, 400, 0, 150)
  897. local title = Instance.new("TextLabel",frame)
  898. title.BackgroundColor3 = Color3.new ( 0, 0, 140/255)
  899. title.Size = UDim2.new ( 1, 0, 0.15, 0)
  900. title.Text = "Enter your Rank's code."
  901. title.TextColor3 = Color3.new ( 1, 1, 1)
  902. title.TextXAlignment = Enum.TextXAlignment.Left
  903. local code = Instance.new("TextBox",frame)
  904. code.Name = "code"
  905. code.BackgroundColor3 = Color3.new ( 1, 1, 1)
  906. code.Position = UDim2.new (0.05, 0, 0.425, 0)
  907. code.Size = UDim2.new ( 0.9, 0, 0.15, 0)
  908. code.Text = "Enter your code in this box"
  909. code.TextColor3 = Color3.new ( 0, 0, 0)
  910. code.TextXAlignment = Enum.TextXAlignment.Left
  911. local accept = Instance.new("TextButton",frame)
  912. accept.BackgroundColor3 = Color3.new ( 1, 1, 1)
  913. accept.Position = UDim2.new ( 0.05, 0, 0.8, 0)
  914. accept.Size = UDim2.new ( 0.45, 0, 0.15, 0)
  915. accept.TextColor3 = Color3.new ( 0, 0, 0)
  916. accept.Text = "Submit Code"
  917. accept.MouseButton1Click:connect(function()
  918. for i,v in pairs(rankcodes) do
  919. if accept.Parent.code.Text == v["Code"] then
  920. SetRank(player,v["Rank"],"Code Entered")
  921. CMessage(player,"System", "Your rank is set to " .. v["Rank"])
  922. accept.Parent.Parent:Remove()
  923. end
  924. end
  925. end)
  926. local cancel = Instance.new("TextButton",frame)
  927. cancel.BackgroundColor3 = Color3.new ( 1, 1, 1)
  928. cancel.Position = UDim2.new ( 0.5, 0, 0.8, 0)
  929. cancel.Size = UDim2.new ( 0.45, 0, 0.15, 0)
  930. cancel.TextColor3 = Color3.new ( 0, 0, 0)
  931. cancel.Text = "Cancel"
  932. cancel.MouseButton1Click:connect(function()
  933. cancel.Parent.Parent:Remove()
  934. end)
  935. end
  936. end
  937. function FindPlayer(string,speaker)
  938. play = {}
  939. if string=="me" then
  940. table.insert(play,speaker)
  941. elseif string=="all" then
  942. play = game:GetService("Players"):GetChildren()
  943. elseif string=="others" then
  944. playerfinder=game:GetService("Players"):GetChildren()
  945. for i=1,#playerfinder do
  946. if playerfinder[i]~=speaker then
  947. table.insert(play,playerfinder[i])
  948. end
  949. end
  950. elseif string.sub((string),1,5)=="rank-" then
  951. num12 = string.sub((string),6)
  952. playerfinder = game:GetService("Players"):GetChildren()
  953. for i=1,#playerfinder do
  954. num1=tonumber(num12)
  955. num2=tonumber(GetRank(playerfinder[i]))
  956. if num1==num2 then
  957. table.insert(play,playerfinder[i])
  958. end
  959. end
  960. elseif string=="others" then
  961. playerfinder=game:GetService("Players"):GetChildren()
  962. for i=1,#playerfinder do
  963. if playerfinder[i]~=speaker then
  964. table.insert(play,playerfinder[i])
  965. end
  966. end
  967. elseif string=="noobs" then
  968. playerfinder=game:GetService("Players"):GetChildren()
  969. for i=1,#playerfinder do
  970. if playerfinder[i].AccountAge<=99 then
  971. table.insert(play,playerfinder[i])
  972. end
  973. end
  974. elseif string=="mediumage" then
  975. playerfinder=game:GetService("Players"):GetChildren()
  976. for i=1,#playerfinder do
  977. if playerfinder[i].AccountAge>=100 then
  978. if playerfinder[i].AccountAge<=364 then
  979. table.insert(play,playerfinder[i])
  980. end
  981. end
  982. end
  983. elseif string=="veterans" then
  984. playerfinder=game:GetService("Players"):GetChildren()
  985. for i=1,#playerfinder do
  986. if playerfinder[i].AccountAge>=365 then
  987. table.insert(play,playerfinder[i])
  988. end
  989. end
  990. else
  991. playerfinder=game:GetService("Players"):GetChildren()
  992. for i=1,#playerfinder do
  993. if (string.find(string.lower(playerfinder[i].Name), string.lower(string))==1) then
  994. table.insert(play,playerfinder[i])
  995. end
  996. end
  997. for i=1,#play do
  998. if play[i].className~="Player" then
  999. table.remove(play,i)
  1000. end
  1001. end
  1002. if #play==0 then
  1003. CMessage(speaker,"System","That selection was not found")
  1004. end
  1005. if #play>=2 then
  1006. play = {}
  1007. CMessage(speaker,"System","That selection was ambigious")
  1008. end
  1009. end
  1010. return play
  1011. end
  1012. function GetList(player,title,tabl)
  1013. if player~=nil then
  1014. gue=player:WaitForChild("PlayerGui"):findFirstChild("EDuckGui")
  1015. if gue~=nil then
  1016. gue:Remove()
  1017. end
  1018. local gui=Instance.new("ScreenGui",player:WaitForChild("PlayerGui"))
  1019. gui.Name = "EDuckGui"
  1020. local frame=Instance.new("Frame",gui)
  1021. frame.BackgroundColor3 = Color3.new ( 109/255, 109/155, 109/155)
  1022. frame.Position = UDim2.new ( 0.5, -320, 0.5, -240)
  1023. frame.Size = UDim2.new ( 0, 640, 0, 480)
  1024. local scframe = Instance.new("ScrollingFrame",frame)
  1025. scframe.Position = UDim2.new (0, 0, 0.05, 0)
  1026. scframe.Size = UDim2.new ( 1, 0, 0.9, 0)
  1027. scframe.CanvasSize = UDim2.new ( 0, 0, 10, 0)
  1028. scframe.BackgroundColor3 = Color3.new ( 1, 1, 1)
  1029. local tl=Instance.new("TextLabel",frame)
  1030. tl.BackgroundColor3 = Color3.new ( 0, 0, 140/255)
  1031. tl.Position = UDim2.new ( 0, 0, 0, 0)
  1032. tl.Size = UDim2.new ( 1, 0, .05, 0)
  1033. tl.FontSize = "Size18"
  1034. tl.Text = title
  1035. tl.TextColor3 = Color3.new ( 1, 1, 1)
  1036. tl.TextXAlignment = "Left"
  1037. if #tabl==0 then
  1038. local tl=Instance.new("TextLabel",scframe)
  1039. tl.BackgroundTransparency = 1
  1040. tl.Position = UDim2.new ( 0, 0, 0, 0)
  1041. tl.Size = UDim2.new ( 1, -13, .0075, 0)
  1042. tl.FontSize = "Size14"
  1043. tl.Text = "No items in this list"
  1044. tl.TextColor3 = Color3.new ( 0, 0, 0)
  1045. tl.TextXAlignment = "Left"
  1046. else
  1047. for i=1,#tabl do
  1048. j=i-1
  1049. local tl=Instance.new("TextLabel",scframe)
  1050. tl.BackgroundTransparency = 1
  1051. tl.Position = UDim2.new ( 0, 0, j*.0075, 0)
  1052. tl.Size = UDim2.new ( 1, -13, .0075, 0)
  1053. tl.FontSize = "Size14"
  1054. tl.Text = tabl[i]
  1055. tl.TextColor3 = Color3.new ( 0, 0, 0)
  1056. tl.TextXAlignment = "Left"
  1057. end
  1058. end
  1059. local tb=Instance.new("TextButton",frame)
  1060. tb.BackgroundColor3 = Color3.new ( 109/255, 109/255, 109/255)
  1061. tb.BackgroundTransparency = 0
  1062. tb.Position = UDim2.new ( 0, 0, 0.95, 0)
  1063. tb.Size = UDim2.new ( 1, 0, .05, 0)
  1064. tb.FontSize = "Size18"
  1065. tb.Text = "Close"
  1066. tb.TextColor3 = Color3.new ( 0, 0, 0)
  1067. tb.MouseButton1Click:connect(function()
  1068. tb.Parent.Parent:Remove()
  1069. end)
  1070. end
  1071. end
  1072. function GetMenu(player,tabl, title)
  1073. if title==nil then
  1074. title = "Untitled menu"
  1075. end
  1076. if player~=nil then
  1077. gue=player:WaitForChild("PlayerGui"):findFirstChild("EDuckGui")
  1078. if gue~=nil then
  1079. gue:Remove()
  1080. end
  1081. local gui=Instance.new("ScreenGui",player:WaitForChild("PlayerGui"))
  1082. gui.Name = "EDuckGui"
  1083. local frame=Instance.new("Frame",gui)
  1084. frame.BackgroundColor3 = Color3.new ( 109/255, 109/155, 109/155)
  1085. frame.Position = UDim2.new ( 0.5, -320, 0.5, -240)
  1086. frame.Size = UDim2.new ( 0, 640, 0, 480)
  1087. local scframe = Instance.new("ScrollingFrame",frame)
  1088. scframe.Position = UDim2.new (0, 0, 0.05, 0)
  1089. scframe.Size = UDim2.new ( 1, 0, 0.9, 0)
  1090. scframe.CanvasSize = UDim2.new ( 0, 0, 10, 0)
  1091. scframe.BackgroundColor3 = Color3.new ( 1, 1, 1)
  1092. local tl=Instance.new("TextLabel",frame)
  1093. tl.BackgroundColor3 = Color3.new ( 0, 0, 140/255)
  1094. tl.Position = UDim2.new ( 0, 0, 0, 0)
  1095. tl.Size = UDim2.new ( 1, 0, .05, 0)
  1096. tl.FontSize = "Size18"
  1097. tl.Text = title
  1098. tl.TextColor3 = Color3.new ( 1, 1, 1)
  1099. tl.TextXAlignment = "Left"
  1100. if #tabl==0 then
  1101. local tl=Instance.new("TextLabel",scframe)
  1102. tl.BackgroundTransparency = 1
  1103. tl.Position = UDim2.new ( 0, 0, 0, 0)
  1104. tl.Size = UDim2.new ( 1, -13, .0075, 0)
  1105. tl.FontSize = "Size14"
  1106. tl.Text = "No items in this list"
  1107. tl.TextColor3 = Color3.new ( 0, 0, 0)
  1108. tl.TextXAlignment = "Left"
  1109. else
  1110. for i,v in pairs(tabl) do
  1111. j=i-1
  1112. local tl=Instance.new("TextButton",scframe)
  1113. tl.BackgroundColor3 = Color3.new ( 128/255, 128/255, 128/255)
  1114. tl.BackgroundTransparency = 0
  1115. tl.Position = UDim2.new ( 0, 0, j*.0075, 0)
  1116. tl.Size = UDim2.new ( 1, -13, .0075, 0)
  1117. tl.FontSize = "Size14"
  1118. tl.BorderSizePixel = 0
  1119. tl.Text = v["Name"]
  1120. tl.TextColor3 = Color3.new ( 0, 0, 0)
  1121. tl.TextXAlignment = "Center"
  1122. tl.MouseButton1Click:connect(function()
  1123. if v["Execute"]~=nil then
  1124. pcall(function()
  1125. loadstring([[local playe = game.Players:findFirstChild("]] .. player.Name .. [[")
  1126. ]] .. v["Execute"])()
  1127. end)
  1128. end
  1129. end)
  1130. end
  1131. end
  1132. local tb=Instance.new("TextButton",frame)
  1133. tb.BackgroundColor3 = Color3.new ( 109/255, 109/255, 109/255)
  1134. tb.BackgroundTransparency = 0
  1135. tb.Position = UDim2.new ( 0, 0, 0.95, 0)
  1136. tb.Size = UDim2.new ( 1, 0, .05, 0)
  1137. tb.FontSize = "Size18"
  1138. tb.Text = "Close"
  1139. tb.TextColor3 = Color3.new ( 0, 0, 0)
  1140. tb.MouseButton1Click:connect(function()
  1141. tb.Parent.Parent:Remove()
  1142. end)
  1143. end
  1144. end
  1145. function GetTabs(player,tabl)
  1146. pcall(function()
  1147. tab = tabl
  1148. --[[
  1149. rank = GetRank(player)
  1150. ]]--
  1151. rdf = false
  1152. for _,oi in pairs(tab) do
  1153. if oi["Name"]=="Exit" then
  1154. rdf = true
  1155. end
  1156. end
  1157. if rdf==false then
  1158. table.insert(tab,{["Name"] = "Exit", ["Execute"] = [[game.Workspace:findFirstChild(playe.Name .. "FusedAdminNameMenuHandler"):Remove() for i=1,#playermenus do if playermenus[i]==playe then table.remove(playermenus,i) end end]]})
  1159. end
  1160. local modbrick = game.Workspace:findFirstChild(player.Name .. "FusedAdminNameMenuHandler") or Instance.new("Model",game.Workspace)
  1161. modbrick.Name = player.Name .. "FusedAdminNameMenuHandler"
  1162. modbrick:ClearAllChildren()
  1163. for _,v in pairs(tab) do
  1164. local brick = Instance.new("Part",modbrick)
  1165. brick.Anchored = false
  1166. brick.Locked = true
  1167. brick.CanCollide = false
  1168. brick.TopSurface = 0
  1169. brick.BottomSurface = 0
  1170. brick.FormFactor = Enum.FormFactor.Custom
  1171. brick.Transparency = 0
  1172. brick.Size = Vector3.new( 1, 1, 1)
  1173. brick.BrickColor = BrickColor.new "Navy blue"
  1174. brick.Shape = "Ball"
  1175. local fire = Instance.new("Fire",brick)
  1176. fire.Color = Color3.new ( 85/255, 0, 1)
  1177. fire.SecondaryColor = Color3.new ( 1, 0, 0)
  1178. fire.Heat = 9
  1179. fire.Size = 3
  1180. local bgui = Instance.new("BillboardGui", brick)
  1181. bgui.Adornee = brick
  1182. bgui.Active = true
  1183. bgui.Enabled = true
  1184. bgui.Size = UDim2.new ( 0.3, 0, 0.1, 0)
  1185. bgui.ExtentsOffset = Vector3.new(0, 2, 0)
  1186. local tl = Instance.new("TextLabel",bgui)
  1187. tl.Text = v["Name"]
  1188. tl.TextColor3 = Color3.new ( 1, 1, 1)
  1189. tl.BackgroundTransparency = 1
  1190. tl.Size = UDim2.new ( 1, 0, 1, 0)
  1191. tl.Position = UDim2.new( 0, 0, 0, 0)
  1192. tl.FontSize = Enum.FontSize.Size10
  1193. local cd = Instance.new("ClickDetector",brick)
  1194. cd.MaxActivationDistance = 64
  1195. cd.MouseClick:connect(function(playe)
  1196. if playe.Name==player.Name then
  1197. if v["Execute"]~=nil then
  1198. loadstring([[
  1199. playe = game:GetService("Players"):findFirstChild("]] .. playe.Name .. [[")
  1200. ]] .. v["Execute"])()
  1201. else
  1202. brick:Remove()
  1203. end
  1204. end
  1205. end)
  1206. end
  1207. end)
  1208. end
  1209. function IncrimentTabs(player,str)
  1210. local modbrick = game.Workspace:findFirstChild(player.Name .. "FusedAdminNameMenuHandler") or Instance.new("Model",game.Workspace)
  1211. modbrick.Name = player.Name .. "FusedAdminNameMenuHandler"
  1212. local brick = Instance.new("Part",modbrick)
  1213. brick.Anchored = false
  1214. brick.Locked = true
  1215. brick.CanCollide = false
  1216. brick.TopSurface = 0
  1217. brick.BottomSurface = 0
  1218. brick.FormFactor = Enum.FormFactor.Custom
  1219. brick.Transparency = 0
  1220. brick.Size = Vector3.new( 1, 1, 1)
  1221. brick.BrickColor = BrickColor.new "Navy blue"
  1222. brick.Shape = "Ball"
  1223. local fire = Instance.new("Fire",brick)
  1224. fire.Color = Color3.new ( 85/255, 0, 1)
  1225. fire.SecondaryColor = Color3.new ( 1, 0, 0)
  1226. fire.Heat = 9
  1227. fire.Size = 3
  1228. local bgui = Instance.new("BillboardGui", brick)
  1229. bgui.Adornee = brick
  1230. bgui.Active = true
  1231. bgui.Enabled = true
  1232. bgui.Size = UDim2.new ( 0.3, 0, 0.1, 0)
  1233. bgui.ExtentsOffset = Vector3.new(0, 2, 0)
  1234. local tl = Instance.new("TextLabel",bgui)
  1235. tl.Text = str
  1236. tl.TextColor3 = Color3.new ( 1, 1, 1)
  1237. tl.BackgroundTransparency = 1
  1238. tl.Size = UDim2.new ( 1, 0, 1, 0)
  1239. tl.Position = UDim2.new( 0, 0, 0, 0)
  1240. tl.FontSize = Enum.FontSize.Size10
  1241. local cd = Instance.new("ClickDetector",brick)
  1242. cd.MaxActivationDistance = 64
  1243. cd.MouseClick:connect(function(playe)
  1244. if playe.Name==player.Name then
  1245. brick:Remove()
  1246. end
  1247. end)
  1248. end
  1249. debvar = coroutine.create(function()
  1250. while wait() do
  1251. pcall(function()
  1252. local playermenus = game:GetService("Players"):GetChildren()
  1253. for j=1,#playermenus do
  1254. if game.Workspace:findFirstChild(playermenus[j].Name .. "FusedAdminNameMenuHandler")~=nil then
  1255. local allmodbrick = game.Workspace:findFirstChild(playermenus[j].Name .. "FusedAdminNameMenuHandler"):GetChildren()
  1256. for i=1,#allmodbrick do
  1257. local radius = 5 + (#allmodbrick*7)
  1258. if #allmodbrick>=10 then
  1259. radius = 1 + (#allmodbrick*.7)
  1260. elseif #allmodbrick>=2 then
  1261. radius = 3 + (#allmodbrick*.7)
  1262. else
  1263. radius = 5 + (#allmodbrick*7)
  1264. end
  1265. local tor = playermenus[j].Character:FindFirstChild("Torso")
  1266. if tor~=nil then
  1267. local pos = tor.CFrame
  1268. local x=math.cos(((i/#allmodbrick)-(0.5/#allmodbrick))*(math.pi*2))*radius
  1269. local y=0
  1270. local z=math.sin(((i/#allmodbrick)-(0.5/#allmodbrick))*(math.pi*2))*radius
  1271. local bp=allmodbrick[i]:FindFirstChild("BodyPosition") or Instance.new("BodyPosition",allmodbrick[i])
  1272. bp.position = pos:toWorldSpace(CFrame.new(x,y,z):inverse()).p
  1273. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1274. end
  1275. end
  1276. end
  1277. end
  1278. end)
  1279. end
  1280. end)
  1281. coroutine.resume(debvar)
  1282. function IncrimentMenu(player,str)
  1283. local gui = player.PlayerGui:FindFirstChild("d0f9j234f092jf029j4f234f")
  1284. if gui==nil then
  1285. gui = Instance.new("ScreenGui",player.PlayerGui)
  1286. gui.Name = "d0f9j234f092jf029j4f234f"
  1287. end
  1288. local k = gui:GetChildren()
  1289. local hy = nil
  1290. if #k==0 then
  1291. hy = 1
  1292. else
  1293. hy = tonumber(k[#k].Name)+1
  1294. end
  1295. local tl = Instance.new("TextLabel",gui)
  1296. tl.BackgroundColor3 = Color3.new ( 1, 1, 1)
  1297. tl.BackgroundTransparency = 0.5
  1298. tl.BorderSizePixel = 0
  1299. tl.Name = tostring(hy)
  1300. local tlp = ((tonumber(hy)-1)*25)+5
  1301. tl.Position = UDim2.new ( 0, 0, 0, tlp)
  1302. tl.Size = UDim2.new ( 1, 0, 0, 25)
  1303. tl.Font = "SourceSans"
  1304. tl.FontSize = "Size24"
  1305. tl.Text = str
  1306. tl.TextColor3 = Color3.new ( 0, 0, 0)
  1307. game:GetService("Debris"):AddItem(tl,5)
  1308. end
  1309. function PlayMusic(name,speaker)
  1310. local soundd = game.Workspace:FindFirstChild("FusedCoreMusic")
  1311. if soundd~=nil then
  1312. soundd:Stop()
  1313. wait()
  1314. soundd:Remove()
  1315. end
  1316. sound = Instance.new("Sound",game.Workspace)
  1317. sound.Name = "FusedCoreMusic"
  1318. sound.PlayOnRemove = false
  1319. for _,mus in pairs(musics) do
  1320. if (string.find(string.lower(mus["Name"]), string.lower(name))==1) then
  1321. sound.SoundId = "http://www.roblox.com/asset/?id=" .. mus["Id"]
  1322. local pls = FindPlayer("all",speaker)
  1323. for i=1,#pls do
  1324. cls(pls[i],[[
  1325. game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id="]] .. mus["Id"] .. [[")
  1326. ]])
  1327. end
  1328. sound:Play()
  1329. end
  1330. end
  1331. end
  1332. function GetCommandsFromRank(speaker, rank)
  1333. local num1 = 0+rank
  1334. local rants = {
  1335. }
  1336. for _,gr in pairs(commands) do
  1337. local rade = gr["Rank"] + 0
  1338. if rade==num1 then
  1339. table.insert(rants,{["Name"] = gr["Command"]})
  1340. end
  1341. end
  1342. table.insert(rants,{["Name"] = "Go back",["Execute"] = [[ GetMenu(playe, helpmenu)]]})
  1343. GetMenu(speaker, rants)
  1344. end
  1345. helpmenu = {
  1346. {["Name"] = "Say exit to dismiss"},
  1347. {["Name"] = "Say credits for creator information."},
  1348. {["Name"] = "Rank 1 Commands", ["Execute"] = [[GetCommandsFromRank(playe, 1)]]},
  1349. {["Name"] = "Rank 2 Commands", ["Execute"] = [[GetCommandsFromRank(playe, 2)]]},
  1350. {["Name"] = "Rank 3 Commands", ["Execute"] = [[GetCommandsFromRank(playe, 3)]]},
  1351. {["Name"] = "Rank 4 Commands", ["Execute"] = [[GetCommandsFromRank(playe, 4)]]},
  1352. {["Name"] = "Rank 5 Commands", ["Execute"] = [[GetCommandsFromRank(playe, 5)]]},
  1353. {["Name"] = "Rank 6 Commands", ["Execute"] = [[GetCommandsFromRank(playe, 6)]]},
  1354. {["Name"] = "Rank 7 Commands", ["Execute"] = [[GetCommandsFromRank(playe, 7)]]},
  1355. }
  1356. function PrefixCheck(str)
  1357. local bool = false
  1358. local endstring = ""
  1359. if (prefix=="")or(prefix==nil) then
  1360. bool = true
  1361. endstring = str
  1362. elseif string.sub((str),1,#prefix)==prefix then
  1363. bool = true
  1364. endstring = string.sub((str),#prefix+1)
  1365. end
  1366. return bool,endstring
  1367. end
  1368. function chat(msg, speaker)
  1369. if string.sub((msg),1,3)=="/e " then
  1370. msg = string.sub((msg),4)
  1371. end
  1372. boch,nmsg = PrefixCheck(msg)
  1373. if boch then
  1374. msg = nmsg
  1375. msgcase = msg
  1376. msg=string.lower(msg)
  1377. rank = GetRank(speaker)
  1378. if rank~=false then
  1379. if msg=="forcerank" then
  1380. ForceRank(speaker)
  1381. end
  1382. if msg=="about" then
  1383. local mess = { "About " .. adminscriptname, "Version " .. ver, "Created by ttyyuu12345", "Intergrated Functions" , "CMessage v4.2(ttyyuu12345)" , "ListView v3(ttyyuu12345)" , "Jail v1(ttyyuu12345)" , "PlayMusic v1(ttyyuu12345)" , "FCTabs v1(ttyyuu12345)" , "CharacterClone v1(ttyyuu12345)" , "RankForce v1(ttyyuu12345)" , "SourceAutoCapture v1(ttyyuu12345)" , "LSB v1(ttyyuu12345)" , "ISB v2(ttyyuu12345)"}
  1384. GetList(speaker, "About " .. adminscriptname, mess)
  1385. end
  1386. if string.sub((msg),1,6)=="music" .. seperator then
  1387. if rank>=5 then
  1388. if string.sub((msg),7)=="list" then
  1389. local musi = {
  1390. }
  1391. for _,md in pairs(musics) do
  1392. table.insert(musi,md["Name"])
  1393. end
  1394. GetList(speaker,"Song List",musi)
  1395. elseif string.sub((msg),7)=="stop" then
  1396. local mus = game.Workspace:GetChildren()
  1397. for i=1,#mus do
  1398. if mus[i].className=="Sound" then
  1399. print("Attempt")
  1400. mus[i]:Stop()
  1401. print("Attempt Over")
  1402. end
  1403. end
  1404. else
  1405. PlayMusic(string.sub((msg),7),speaker)
  1406. end
  1407. end
  1408. end
  1409. if string.sub((msg),1,3)=="ff" .. seperator then
  1410. if rank>=3 then
  1411. local player = string.sub((msg),4)
  1412. local pls=FindPlayer(player,speaker)
  1413. for i=1,#pls do
  1414. local f=Instance.new("ForceField",pls[i].Character)
  1415. end
  1416. end
  1417. end
  1418. if string.sub((msg),1,5)=="menu" .. seperator then
  1419. msg = string.sub((msg),6)
  1420. if msg=="kill" then
  1421. if rank>=5 then
  1422. local menu = {}
  1423. local p = game.Players:GetChildren()
  1424. for i=1,#p do
  1425. table.insert(menu,{["Name"] = p[i].Name,["Execute"] = [[local pl = game.Players:findFirstChild("]] .. p[i].Name .. [[") if pl~=nil then pl.Character:BreakJoints() end]]})
  1426. end
  1427. GetMenu(speaker,menu)
  1428. end
  1429. end
  1430. if msg=="respawn" then
  1431. if rank>=5 then
  1432. local menu = {}
  1433. local p = game.Players:GetChildren()
  1434. for i=1,#p do
  1435. table.insert(menu,{["Name"] = p[i].Name,["Execute"] = [[local pl = game.Players:findFirstChild("]] .. p[i].Name .. [[") if pl~=nil then pl:LoadCharacter() end]]})
  1436. end
  1437. GetMenu(speaker,menu)
  1438. end
  1439. end
  1440. end
  1441. if string.sub((msg),1,3)=="ft" .. seperator then
  1442. if rank>=7 then
  1443. local kr = string.sub((msgcase),4)
  1444. print(ypcall(function() loadstring(kr)() end))
  1445. end
  1446. end
  1447. if string.sub((msg),1,9)=="sparkles" .. seperator then
  1448. if rank>=3 then
  1449. local player = string.sub((msg),10)
  1450. local pls=FindPlayer(player,speaker)
  1451. for i=1,#pls do
  1452. if pls[i].Character:FindFirstChild("Torso") then
  1453. local f=Instance.new("Sparkles",pls[i].Character.Torso)
  1454. f.Enabled = true
  1455. f.SparkleColor = Color3.new(math.random(1,255)/255,math.random(1,255)/255,math.random(1,255)/255)
  1456. end
  1457. end
  1458. end
  1459. end
  1460. if string.sub((msg),1,11)=="unsparkles" .. seperator then
  1461. if rank>=3 then
  1462. local player = string.sub((msg),12)
  1463. local pls=FindPlayer(player,speaker)
  1464. for i=1,#pls do
  1465. if pls[i].Character:FindFirstChild("Torso") then
  1466. local f=pls[i].Character.Torso:GetChildren()
  1467. for j=1,#f do
  1468. if f[j].className=="Sparkles" then
  1469. f[j]:Remove()
  1470. end
  1471. end
  1472. end
  1473. end
  1474. end
  1475. end
  1476. if string.sub((msg),1,5)=="kill" .. seperator then
  1477. if rank>=4 then
  1478. local player = string.sub((msg),6)
  1479. local pls = FindPlayer(player,speaker)
  1480. for i=1,#pls do
  1481. pls[i].Character:BreakJoints()
  1482. end
  1483. end
  1484. end
  1485. if string.sub((msg),1,8)=="explode" .. seperator then
  1486. if rank>=5 then
  1487. local player = string.sub((msg),9)
  1488. local pls = FindPlayer(player,speaker)
  1489. for i=1,#pls do
  1490. local e=Instance.new("Explosion",pls[i].Character)
  1491. if pls[i].Character.Torso~=nil then
  1492. e.Position = pls[i].Character.Torso.Position
  1493. end
  1494. e.BlastRadius = 8
  1495. e.BlastPressure = 100000
  1496. end
  1497. end
  1498. end
  1499. if string.sub((msg),1,10)=="invisible" .. seperator then
  1500. if rank>=3 then
  1501. local player = string.sub((msg),11)
  1502. local pls = FindPlayer(player,speaker)
  1503. for i=1,#pls do
  1504. local pars = pls[i].Character:GetChildren()
  1505. for j=1,#pars do
  1506. if pars[j].className=="Part" then
  1507. pars[j].Transparency = 1
  1508. end
  1509. if pars[j].className=="Hat" then
  1510. if pars[j]:findFirstChild("Handle") then
  1511. pars[j].Handle.Transparency = 1
  1512. end
  1513. end
  1514. end
  1515. end
  1516. end
  1517. end
  1518. if string.sub((msg),1,7)=="unlock" .. seperator then
  1519. if rank>=3 then
  1520. local player = string.sub((msg),8)
  1521. local pls = FindPlayer(player,speaker)
  1522. for i=1,#pls do
  1523. local pars = pls[i].Character:GetChildren()
  1524. for j=1,#pars do
  1525. if pars[j].className=="Part" then
  1526. pars[j].Locked = false
  1527. end
  1528. if pars[j].className=="Hat" then
  1529. if pars[j]:findFirstChild("Handle") then
  1530. pars[j].Handle.Locked = false
  1531. end
  1532. end
  1533. end
  1534. end
  1535. end
  1536. end
  1537. if string.sub((msg),1,5)=="lock" .. seperator then
  1538. if rank>=3 then
  1539. local player = string.sub((msg),6)
  1540. local pls = FindPlayer(player,speaker)
  1541. for i=1,#pls do
  1542. local pars = pls[i].Character:GetChildren()
  1543. for j=1,#pars do
  1544. if pars[j].className=="Part" then
  1545. pars[j].Locked = true
  1546. end
  1547. if pars[j].className=="Hat" then
  1548. if pars[j]:findFirstChild("Handle") then
  1549. pars[j].Handle.Locked = true
  1550. end
  1551. end
  1552. end
  1553. end
  1554. end
  1555. end
  1556. if string.sub((msg),1,5)=="unff" .. seperator then
  1557. if rank>=3 then
  1558. local player = string.sub((msg),6)
  1559. local pls = FindPlayer(player,speaker)
  1560. for i=1,#pls do
  1561. local pars = pls[i].Character:GetChildren()
  1562. for j=1,#pars do
  1563. if pars[j].className=="ForceField" then
  1564. pars[j]:Remove()
  1565. end
  1566. end
  1567. end
  1568. end
  1569. end
  1570. if string.sub((msg),1,7)=="freeze" .. seperator then
  1571. if rank>=4 then
  1572. local player = string.sub((msg),8)
  1573. local pls = FindPlayer(player,speaker)
  1574. for i=1,#pls do
  1575. local pars = pls[i].Character:GetChildren()
  1576. for j=1,#pars do
  1577. if pars[j].className=="Part" then
  1578. pars[j].Anchored = true
  1579. pars[j].Material = Enum.Material.Ice
  1580. end
  1581. if pars[j].className=="Humanoid" then
  1582. pars[j].WalkSpeed = 0
  1583. end
  1584. end
  1585. end
  1586. end
  1587. end
  1588. if string.sub((msg),1,5)=="thaw" .. seperator then
  1589. if rank>=4 then
  1590. local player = string.sub((msg),6)
  1591. local pls = FindPlayer(player,speaker)
  1592. for i=1,#pls do
  1593. local pars = pls[i].Character:GetChildren()
  1594. for j=1,#pars do
  1595. if pars[j].className=="Part" then
  1596. pars[j].Anchored = false
  1597. pars[j].Reflectance = 0
  1598. pars[j].Material = Enum.Material.Plastic
  1599. end
  1600. if pars[j].className=="Humanoid" then
  1601. pars[j].WalkSpeed = 16
  1602. end
  1603. end
  1604. end
  1605. end
  1606. end
  1607. if string.sub((msg),1,8)=="visible" .. seperator then
  1608. if rank>=3 then
  1609. local player = string.sub((msg),9)
  1610. local pls = FindPlayer(player,speaker)
  1611. for i=1,#pls do
  1612. local pars = pls[i].Character:GetChildren()
  1613. for j=1,#pars do
  1614. if pars[j].className=="Part" then
  1615. if pars[j].Name~="HumanoidRootPart" then
  1616. pars[j].Transparency = 0
  1617. end
  1618. end
  1619. if pars[j].className=="Hat" then
  1620. if pars[j]:findFirstChild("Handle") then
  1621. pars[j].Handle.Transparency = 0
  1622. end
  1623. end
  1624. end
  1625. end
  1626. end
  1627. end
  1628. if string.sub((msg),1,12)=="removetools" .. seperator then
  1629. if rank>=5 then
  1630. local player = string.sub((msg),13)
  1631. local pls = FindPlayer(player,speaker)
  1632. for i=1,#pls do
  1633. pls[i].Backpack:ClearAllChildren()
  1634. end
  1635. end
  1636. end
  1637. if string.sub((msg),1,11)=="givebtools" .. seperator then
  1638. if rank>=2 then
  1639. local player = string.sub((msg),12)
  1640. local pls = FindPlayer(player,speaker)
  1641. for i=1,#pls do
  1642. local hop=Instance.new("HopperBin",pls[i].Backpack)
  1643. hop.Name = "Copy"
  1644. hop.BinType = Enum.BinType.Clone
  1645. local hop=Instance.new("HopperBin",pls[i].Backpack)
  1646. hop.Name = "Move"
  1647. hop.BinType = Enum.BinType.GameTool
  1648. local hop=Instance.new("HopperBin",pls[i].Backpack)
  1649. hop.Name = "Delete"
  1650. hop.BinType = Enum.BinType.Hammer
  1651. local to=game:GetService("InsertService"):LoadAsset(16969792):GetChildren()
  1652. to[1].Parent = pls[i].Backpack
  1653. end
  1654. end
  1655. end
  1656. if string.sub((msg),1,7)=="punish" .. seperator then
  1657. if rank>=5 then
  1658. local player = string.sub((msg),8)
  1659. local pls = FindPlayer(player,speaker)
  1660. for i=1,#pls do
  1661. pls[i].Character.Parent = game:GetService("Lighting")
  1662. end
  1663. end
  1664. end
  1665. if string.sub((msg),1,9)=="unpunish" .. seperator then
  1666. if rank>=5 then
  1667. local player = string.sub((msg),10)
  1668. local pls = FindPlayer(player,speaker)
  1669. for i=1,#pls do
  1670. pls[i]:LoadCharacter()
  1671. end
  1672. end
  1673. end
  1674. if string.sub((msg),1,9)=="loopkill" .. seperator then
  1675. if rank>=5 then
  1676. local player = string.sub((msg),10)
  1677. local pls = FindPlayer(player,speaker)
  1678. for i=1,#pls do
  1679. table.insert(loopkilllist,pls[i])
  1680. end
  1681. end
  1682. end
  1683. if string.sub((msg),1,11)=="unloopkill" .. seperator then
  1684. if rank>=5 then
  1685. local player = string.sub((msg),12)
  1686. local pls = FindPlayer(player,speaker)
  1687. for i=1,#pls do
  1688. for j=1,#loopkilllist do
  1689. if pls[i]==loopkilllist[j] then
  1690. table.remove(loopkilllist,j)
  1691. end
  1692. end
  1693. end
  1694. end
  1695. end
  1696. if string.sub((msg),1,5)=="heal" .. seperator then
  1697. if rank>=3 then
  1698. local player = string.sub((msg),6)
  1699. local pls = FindPlayer(player,speaker)
  1700. for i=1,#pls do
  1701. local hu=pls[i].Character:findFirstChild("Humanoid")
  1702. if hu~=nil then
  1703. hu.Health = hu.MaxHealth
  1704. end
  1705. end
  1706. end
  1707. end
  1708. if string.sub((msg),1,4)=="sit" .. seperator then
  1709. if rank>=3 then
  1710. local player = string.sub((msg),5)
  1711. local pls = FindPlayer(player,speaker)
  1712. for i=1,#pls do
  1713. local hu=pls[i].Character:findFirstChild("Humanoid")
  1714. if hu~=nil then
  1715. hu.Sit = true
  1716. end
  1717. end
  1718. end
  1719. end
  1720. if string.sub((msg),1,5)=="jump" .. seperator then
  1721. if rank>=3 then
  1722. local player = string.sub((msg),6)
  1723. local pls = FindPlayer(player,speaker)
  1724. for i=1,#pls do
  1725. local hu=pls[i].Character:findFirstChild("Humanoid")
  1726. if hu~=nil then
  1727. hu.Jump = true
  1728. end
  1729. end
  1730. end
  1731. end
  1732. if string.sub((msg),1,5)=="trip" .. seperator then
  1733. if rank>=3 then
  1734. local player = string.sub((msg),6)
  1735. local pls = FindPlayer(player,speaker)
  1736. for i=1,#pls do
  1737. local hu=pls[i].Character:findFirstChild("Humanoid")
  1738. if hu~=nil then
  1739. hu.PlatformStand = true
  1740. end
  1741. end
  1742. end
  1743. end
  1744. if string.sub((msg),1,5)=="jail" .. seperator then
  1745. if rank>=4 then
  1746. local player = string.sub((msg),6)
  1747. local pls = FindPlayer(player,speaker)
  1748. for i=1,#pls do
  1749. Jail(pls[i])
  1750. end
  1751. end
  1752. end
  1753. if string.sub((msg),1,7)=="unjail" .. seperator then
  1754. if rank>=4 then
  1755. local player = string.sub((msg),8)
  1756. local pls = FindPlayer(player,speaker)
  1757. for i=1,#pls do
  1758. for j=1,#jails do
  1759. if jails[j].Name==pls[i].Name .. "'s Jail" then
  1760. jails[j]:Remove()
  1761. end
  1762. end
  1763. end
  1764. end
  1765. end
  1766. if msg=="clearjail" then
  1767. if rank>=4 then
  1768. for i=1,#jails do
  1769. if jails[i]~=nil then
  1770. jails[i]:Remove()
  1771. end
  1772. table.remove(jails,i)
  1773. end
  1774. end
  1775. end
  1776. if string.sub((msg),1,6)=="clone" .. seperator then
  1777. if rank>=3 then
  1778. local player = string.sub((msg),7)
  1779. local pls = FindPlayer(player,speaker)
  1780. for i=1,#pls do
  1781. CloneChar(pls[i])
  1782. end
  1783. end
  1784. end
  1785. if string.sub((msg),1,4)=="god" .. seperator then
  1786. if rank>=5 then
  1787. local player = string.sub((msg),5)
  1788. local pls = FindPlayer(player,speaker)
  1789. for i=1,#pls do
  1790. local f=Instance.new("ForceField",pls[i].Character)
  1791. cs(pls[i].Character,[[
  1792. script.Name = "GodScript"
  1793. function touch(hit)
  1794. if game:GetService("Players"):GetPlayerFromCharacter(hit.Parent) then
  1795. if hit.Parent~=script.Parent then
  1796. hit.Parent:BreakJoints()
  1797. end
  1798. end
  1799. end
  1800. b=script.Parent:GetChildren()
  1801. for i=1,#b do
  1802. if b[i].className=="Part" then
  1803. b[i].Touched:connect(touch)
  1804. end
  1805. end
  1806. ]])
  1807. local h=pls[i].Character:findFirstChild("Humanoid")
  1808. if h~=nil then
  1809. h.MaxHealth = math.huge
  1810. end
  1811. end
  1812. end
  1813. end
  1814. if string.sub((msg),1,6)=="ungod" .. seperator then
  1815. if rank>=5 then
  1816. local player = string.sub((msg),7)
  1817. local pls = FindPlayer(player,speaker)
  1818. for i=1,#pls do
  1819. local f=pls[i].Character:GetChildren()
  1820. for i=1,#f do
  1821. if f[i].className=="ForceField" then
  1822. f[i]:Remove()
  1823. end
  1824. if f[i].Name=="GodScript" then
  1825. f[i]:Remove()
  1826. end
  1827. if f[i].ClassName=="Humanoid" then
  1828. f[i].MaxHealth = 100
  1829. end
  1830. end
  1831. end
  1832. end
  1833. end
  1834. if string.sub((msg),1,5)=="time" .. seperator then
  1835. if rank>=2 then
  1836. local time = string.sub((msg),6)
  1837. if pcall(function() game:GetService("Lighting").TimeOfDay = time end) then
  1838. else
  1839. CMessage(speaker,"System","You must use a valid TimeOfDay value")
  1840. end
  1841. end
  1842. end
  1843. if string.sub((msg),1,9)=="teleport" .. seperator then
  1844. if rank>=5 then
  1845. local msg1=string.sub((msg),10)
  1846. local play1,play2 = SplitMessage(msg1)
  1847. local player1 = FindPlayer(play1,speaker)
  1848. local player2 = FindPlayer(play2,speaker)[1]
  1849. for i=1,#player1 do
  1850. if player2~=nil then
  1851. local tor = player2.Character:findFirstChild("Torso")
  1852. if tor~=nil then
  1853. player1[i].Character:MoveTo(tor.Position)
  1854. end
  1855. end
  1856. end
  1857. end
  1858. end
  1859. if string.sub((msg),1,7)=="damage" .. seperator then
  1860. if rank>=4 then
  1861. local msg1=string.sub((msg),8)
  1862. local player,damage = SplitMessage(msg1)
  1863. damage = tonumber(damage)
  1864. pls = FindPlayer(player,speaker)
  1865. for i=1,#pls do
  1866. local hum = pls[i].Character:findFirstChild("Humanoid")
  1867. if hum~=nil then
  1868. if damage~=nil then
  1869. hum.Health = hum.Health - damage
  1870. end
  1871. end
  1872. end
  1873. end
  1874. end
  1875. if string.sub((msg),1,5)=="rank" .. seperator then
  1876. if rank>=6 then
  1877. local msg1=string.sub((msg),6)
  1878. local num=SplitMessageC(msg1)
  1879. if num==nil then
  1880. else
  1881. local n1 = num-1
  1882. local pl1 = string.sub((msg1),1,n1)
  1883. local n2=num+1
  1884. local num12 = string.sub((msg1),n2)
  1885. if num12~=nil then
  1886. local num1 = tonumber(num12)
  1887. local num2 = tonumber(rank-1)
  1888. local pls = FindPlayer(pl1,speaker)
  1889. if #pls==1 then
  1890. for i=1,#pls do
  1891. if (rank-1)>=GetRank(pls[i]) then
  1892. if num1<=num2 then
  1893. SetRank(pls[i],num1,"Admin ranked")
  1894. end
  1895. end
  1896. end
  1897. else
  1898. CMessage(speaker,"System", "This command only supports one player at a time")
  1899. end
  1900. end
  1901. end
  1902. end
  1903. end
  1904. if string.sub((msg),1,7)=="health" .. seperator then
  1905. if rank>=4 then
  1906. local msg1=string.sub((msg),8)
  1907. local num=SplitMessageC(msg1)
  1908. if num==nil then
  1909. else
  1910. local n1 = num-1
  1911. local pl1 = string.sub((msg1),1,n1)
  1912. local n2=num+1
  1913. local num1 = tonumber(string.sub((msg1),n2))
  1914. local pls = FindPlayer(pl1,speaker)
  1915. for i=1,#pls do
  1916. local h=pls[i].Character:findFirstChild("Humanoid")
  1917. if h~=nil then
  1918. if num1~=nil then
  1919. h.MaxHealth = num1
  1920. h.Health = h.MaxHealth
  1921. end
  1922. end
  1923. end
  1924. end
  1925. end
  1926. end
  1927. if string.sub((msg),1,10)=="walkspeed" .. seperator then
  1928. if rank>=3 then
  1929. local msg1=string.sub((msg),11)
  1930. local num=SplitMessageC(msg1)
  1931. if num==nil then
  1932. else
  1933. local n1 = num-1
  1934. local pl1 = string.sub((msg1),1,n1)
  1935. local n2=num+1
  1936. local num1 = tonumber(string.sub((msg1),n2))
  1937. local pls = FindPlayer(pl1,speaker)
  1938. for i=1,#pls do
  1939. local h=pls[i].Character:findFirstChild("Humanoid")
  1940. if h~=nil then
  1941. if num1~=nil then
  1942. h.WalkSpeed = num1
  1943. end
  1944. end
  1945. end
  1946. end
  1947. end
  1948. end
  1949. if string.sub((msg),1,3)=="pm" .. seperator then
  1950. if rank>=1 then
  1951. local msg1=string.sub((msg),4)
  1952. local msg1c=string.sub((msgcase),4)
  1953. local num=SplitMessageC(msg1)
  1954. if num==nil then
  1955. else
  1956. local n1 = num-1
  1957. local pl1 = string.sub((msg1),1,n1)
  1958. local n2=num+1
  1959. local mess = string.sub((msg1c),n2)
  1960. local pls = FindPlayer(pl1,speaker)
  1961. for i=1,#pls do
  1962. CMessage(pls[i],"Message." .. speaker.Name, mess)
  1963. end
  1964. end
  1965. end
  1966. end
  1967. if string.sub((msg),1,8)=="respawn" .. seperator then
  1968. if rank>=4 then
  1969. local player = string.sub((msg),9)
  1970. local pls = FindPlayer(player,speaker)
  1971. for i=1,#pls do
  1972. pls[i]:LoadCharacter()
  1973. end
  1974. end
  1975. end
  1976. if msg=="exit" then
  1977. local rffde=game.Workspace:findFirstChild(speaker.Name .. "FusedAdminNameMenuHandler")
  1978. if rffde~=nil then
  1979. rffde:Remove()
  1980. end
  1981. end
  1982. if string.sub((msg),1,5)=="kick" .. seperator then
  1983. if rank>=6 then
  1984. local player = string.sub((msg),6)
  1985. local pls = FindPlayer(player,speaker)
  1986. for i=1,#pls do
  1987. if (rank-1)>=GetRank(pls[i]) then
  1988. pls[i]:Kick()
  1989. end
  1990. end
  1991. end
  1992. end
  1993. if string.sub((msg),1,4)=="ban" .. seperator then
  1994. if rank>=7 then
  1995. local player = string.sub((msg),5)
  1996. local pls = FindPlayer(player,speaker)
  1997. for i=1,#pls do
  1998. if (rank-1)>=GetRank(pls[i]) then
  1999. SetRank(pls[i],-1,"Admin banned")
  2000. pls[i]:Kick()
  2001. else
  2002. CMessage(speaker,"System", "You cannot do that!")
  2003. end
  2004. end
  2005. end
  2006. end
  2007. if msg=="clearmenu" then
  2008. if rank>=5 then
  2009. local pls = game:GetService("Players"):GetChildren()
  2010. for i=1,#pls do
  2011. local gdf = game.Workspace:FindFirstChild(pls[i].Name .. "FusedAdminNameMenuHandler")
  2012. if gdf~=nil then
  2013. gdf:Remove()
  2014. end
  2015. end
  2016. end
  2017. end
  2018. if string.sub((msg),1,6)=="unban" .. seperator then
  2019. if rank>=7 then
  2020. local player = string.sub((msg),7)
  2021. SetRank(player,0,"Unbanned")
  2022. end
  2023. end
  2024. if string.sub((msg),1,2)=="m" .. seperator then
  2025. if rank>=2 then
  2026. local mess=string.sub((msgcase),3)
  2027. local pls = FindPlayer("all",speaker)
  2028. for i=1,#pls do
  2029. CMessage(pls[i],"Message." .. speaker.Name, mess)
  2030. end
  2031. end
  2032. end
  2033. if msg=="help" then
  2034. if rank>=1 then
  2035. GetMenu(speaker,helpmenu)
  2036. end
  2037. end
  2038. if msg=="credits" then
  2039. GetList(speaker,"Credits",credits)
  2040. end
  2041. if msg=="wordfilter/on" then
  2042. if rank>=5 then
  2043. badwords = true
  2044. end
  2045. end
  2046. if msg=="wordfilter/off" then
  2047. if rank>=5 then
  2048. badwords = false
  2049. end
  2050. end
  2051. if string.sub((msg),1,4)=="get" .. seperator then
  2052. if rank>=1 then
  2053. local msg1=string.sub((msg),5)
  2054. if msg1=="playerfilters" then
  2055. GetList(speaker,"List of player filters", playerfilters)
  2056. end
  2057. if msg1=="registered" then
  2058. Regist = {
  2059. }
  2060. for _,rans in pairs(registered) do
  2061. table.insert(Regist,{["Name"] = rans["Name"], ["Execute"] = [[GetMenu(playe,{
  2062. {["Name"] = "Rank: " .. ]] .. rans["Rank"] .. [[},
  2063. {["Name"] = "Name: " .. "]] .. rans["Name"] ..[["},
  2064. {["Name"] = "Reasoning: " .. "]] .. rans["Reason"] ..[["},
  2065. {["Name"] = "Go Back", ["Execute"] = "GetMenu(playe, Regist)"}
  2066. })
  2067. ]]})
  2068. end
  2069. GetMenu(speaker,Regist)
  2070. end
  2071. end
  2072. end
  2073. if msg=="clear" then
  2074. if rank>=6 then
  2075. local w=game.Workspace:GetChildren()
  2076. for i=1,#w do
  2077. if (w[i].Name~="TinySB") and (w[i]~=game.Workspace.CurrentCamera)and(w[i].className~="Terrain")and(w[i]~=script) then
  2078. if w[i].className=="Script" then
  2079. w[i].Disabled = true
  2080. end
  2081. w[i]:Remove()
  2082. end
  2083. end
  2084. local rr32=game:GetService("Players"):GetChildren()
  2085. for tt5=1,#rr32 do
  2086. rr32[tt5]:LoadCharacter()
  2087. end
  2088. local Base=Instance.new("Part",game.Workspace)
  2089. Base.Name="Base"
  2090. Base.Size=Vector3.new(600,1,600)
  2091. Base.BrickColor=BrickColor.new("Earth green")
  2092. Base.Anchored=true
  2093. Base.Locked=true
  2094. Base.TopSurface="Universal"
  2095. Base.CFrame=CFrame.new(Vector3.new(0,0,0))
  2096. end
  2097. end
  2098. if msg=="clearlight" then
  2099. if rank>=6 then
  2100. local light = game:GetService("Lighting"):GetChildren()
  2101. for i=1,#light do
  2102. light[i]:Remove()
  2103. end
  2104. end
  2105. end
  2106. if lscript~=nil then
  2107. if lsourceval~=nil then
  2108. if string.sub((msg),1,6)=="ploff" .. seperator then
  2109. if rank>=5 then
  2110. local player = string.sub((msg),7)
  2111. local pls = FindPlayer(player,speaker)
  2112. for i=1,#pls do
  2113. cls(pls[i],[[
  2114. game:GetService("StarterGui"):SetCoreGuiEnabled(Enum.CoreGuiType.PlayerList,false)
  2115. ]])
  2116. end
  2117. end
  2118. end
  2119. if string.sub((msg),1,5)=="plon" .. seperator then
  2120. if rank>=5 then
  2121. local player = string.sub((msg),6)
  2122. local pls = FindPlayer(player,speaker)
  2123. for i=1,#pls do
  2124. cls(pls[i],[[
  2125. game:GetService("StarterGui"):SetCoreGuiEnabled(Enum.CoreGuiType.PlayerList,true)
  2126. ]])
  2127. end
  2128. end
  2129. end
  2130. if string.sub((msg),1,5)=="mute" .. seperator then
  2131. if rank>=6 then
  2132. local player = string.sub((msg),6)
  2133. local pls = FindPlayer(player,speaker)
  2134. for i=1,#pls do
  2135. if (rank-1)>=GetRank(pls[i]) then
  2136. cls(pls[i],[[
  2137. game:GetService("StarterGui"):SetCoreGuiEnabled(Enum.CoreGuiType.Chat,false)
  2138. ]])
  2139. end
  2140. end
  2141. end
  2142. end
  2143. if string.sub((msg),1,7)=="demute" .. seperator then
  2144. if rank>=6 then
  2145. local player = string.sub((msg),8)
  2146. local pls = FindPlayer(player,speaker)
  2147. for i=1,#pls do
  2148. cls(pls[i],[[
  2149. game:GetService("StarterGui"):SetCoreGuiEnabled(Enum.CoreGuiType.Chat,true)
  2150. ]])
  2151. end
  2152. end
  2153. end
  2154. if string.sub((msg),1,6)=="crash" .. seperator then
  2155. if rank>=6 then
  2156. local player = string.sub((msg),7)
  2157. local pls = FindPlayer(player,speaker)
  2158. for i=1,#pls do
  2159. if (rank-1)>=GetRank(pls[i]) then
  2160. cls(pls[i],[[
  2161. function NM()
  2162. m=Instance.new("ScreenGui",game:GetService("Players").LocalPlayer.PlayerGui)
  2163. m.Name = "BlueScreen"
  2164. f=Instance.new("Frame",m)
  2165. f.Size = UDim2.new ( 1, 0, 1, 0)
  2166. f.BackgroundColor3 = Color3.new ( 0, 0, 100/255)
  2167. t=Instance.new("TextLabel",f)
  2168. t.BackgroundTransparency = 1
  2169. t.Size = UDim2.new ( 0.98, 0, 0.05, 0)
  2170. t.Position = UDim2.new ( 0.01, 0, 0.05, 0)
  2171. t.FontSize = "Size18"
  2172. t.Text = "Your ROBLOX Client has encounted a major error and had to be shut down"
  2173. t.TextColor3 = Color3.new ( 1, 1, 1)
  2174. t.TextXAlignment = "Left"
  2175. t=Instance.new("TextLabel",f)
  2176. t.BackgroundTransparency = 1
  2177. t.Size = UDim2.new ( 0.98, 0, 0.05, 0)
  2178. t.Position = UDim2.new ( 0.01, 0, 0.1, 0)
  2179. t.FontSize = "Size18"
  2180. t.Text = "Here are some possible reasons for this:"
  2181. t.TextColor3 = Color3.new ( 1, 1, 1)
  2182. t.TextXAlignment = "Left"
  2183. t=Instance.new("TextLabel",f)
  2184. t.BackgroundTransparency = 1
  2185. t.Size = UDim2.new ( 0.98, 0, 0.05, 0)
  2186. t.Position = UDim2.new ( 0.01, 0, 0.15, 0)
  2187. t.FontSize = "Size18"
  2188. t.Text = "1.) You are some skid that came in and abused everybody!"
  2189. t.TextColor3 = Color3.new ( 1, 1, 1)
  2190. t.TextXAlignment = "Left"
  2191. t=Instance.new("TextLabel",f)
  2192. t.BackgroundTransparency = 1
  2193. t.Size = UDim2.new ( 0.98, 0, 0.05, 0)
  2194. t.Position = UDim2.new ( 0.01, 0, 0.2, 0)
  2195. t.FontSize = "Size18"
  2196. t.Text = "2.) You came in and brought your silly Free Models to the wrong SB!"
  2197. t.TextColor3 = Color3.new ( 1, 1, 1)
  2198. t.TextXAlignment = "Left"
  2199. t=Instance.new("TextLabel",f)
  2200. t.BackgroundTransparency = 1
  2201. t.Size = UDim2.new ( 0.98, 0, 0.05, 0)
  2202. t.Position = UDim2.new ( 0.01, 0, 0.25, 0)
  2203. t.FontSize = "Size18"
  2204. t.Text = "3.) A FusedCore admin doesn't like you!"
  2205. t.TextColor3 = Color3.new ( 1, 1, 1)
  2206. t.TextXAlignment = "Left"
  2207. t=Instance.new("TextLabel",f)
  2208. t.BackgroundTransparency = 1
  2209. t.Size = UDim2.new ( 0.98, 0, 0.05, 0)
  2210. t.Position = UDim2.new ( 0.01, 0, 0.3, 0)
  2211. t.FontSize = "Size18"
  2212. t.Text = "4.) Someone is abusing FusedCore"
  2213. t.TextColor3 = Color3.new ( 1, 1, 1)
  2214. t.TextXAlignment = "Left"
  2215. end
  2216. NM()
  2217. game:GetService("StarterGui"):SetCoreGuiEnabled(Enum.CoreGuiType.All, false)
  2218. wait(0.3)
  2219. repeat until pigsfly
  2220. ]])
  2221. end
  2222. end
  2223. end
  2224. end
  2225. end
  2226. end
  2227. end
  2228. end
  2229. end
  2230. coroutine.resume(coroutine.create(function()
  2231. while wait() do
  2232. local fg=game:GetService("Players"):GetChildren()
  2233. for i=1,#fg do
  2234. if GetRank(fg[i])==-1 then
  2235. fg[i]:Kick()
  2236. end
  2237. end
  2238. end
  2239. end))
  2240. function chat2(msg, speaker)
  2241. if msg=="fix" then
  2242. local ffdr=game.Workspace:findFirstChild(speaker.Name .. "FusedAdminNameMenuHandler")
  2243. if ffdr~=nil then
  2244. ffdr:Remove()
  2245. end
  2246. fix(speaker)
  2247. end
  2248. end
  2249. function fix(player)
  2250. for i=1,#playerlist do
  2251. if playerlist[i]==player then
  2252. chatconnectlist[i]:disconnect()
  2253. table.remove(chatconnectlist,i)
  2254. table.remove(playerlist,i)
  2255. local connect1=player.Chatted:connect(function(msg) chat(msg, player) end)
  2256. k=#chatconnectlist+1
  2257. table.insert(chatconnectlist,k,connect1)
  2258. table.insert(playerlist,k,player)
  2259. end
  2260. end
  2261. end
  2262. function ChatEdit(player)
  2263. local connect1=player.Chatted:connect(function(msg) chat(msg, player) end)
  2264. local k=#chatconnectlist+1
  2265. table.insert(chatconnectlist,k,connect1)
  2266. table.insert(playerlist,k,player)
  2267. local connect2=player.Chatted:connect(function(msg) chat2(msg, player) end)
  2268. end
  2269. function OnEnter(player,note)
  2270. ChatEdit(player)
  2271. local RanK=GetRank(player)
  2272. if RanK==false then
  2273. SetRank(player,publicrank,"Public Rank")
  2274. end
  2275. local text4 = "Connected: " .. player.Name
  2276. if RanK==-1 then
  2277. text4 = "Failed attempt to connect: " .. player.Name
  2278. player:Kick()
  2279. end
  2280. if note==true then
  2281. local prd = FindPlayer("all",game:GetService("Players"):GetChildren()[1])
  2282. for i=1,#prd do
  2283. IncrimentMenu(prd[i],text4)
  2284. end
  2285. elseif note==false then
  2286. IncrimentMenu(player,"FusedCore v" .. ver .. " has loaded")
  2287. elseif note==nil then
  2288. end
  2289. if GetRank(player)>=1 then
  2290. CMessage(player,"System","Your rank is " .. GetRank(player) .. " say help for commands")
  2291. end
  2292. end
  2293. game:GetService("Players").PlayerAdded:connect(function(player) OnEnter(player, true) end)
  2294. local pl=game:GetService("Players"):GetChildren()
  2295. for i=1,#pl do
  2296. if pl[i].className=="Player" then
  2297. OnEnter(pl[i],false)
  2298. end
  2299. end
  2300. game:GetService("Players").PlayerRemoving:connect(function(player)
  2301. for i=1,#playerlist do
  2302. if playerlist[i]==player then
  2303. chatconnectlist[i]:disconnect()
  2304. table.remove(chatconnectlist, i)
  2305. table.remove(playerlist,i)
  2306. end
  2307. end
  2308. end)
  2309. --Script Ends Here--
  2310. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement