Advertisement
ttyyuu12345

FusedCore

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