Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.14 KB | None | 0 0
  1. --SynapseX Decompiler
  2.  
  3. local a = game.ReplicatedStorage:WaitForChild("Modules")
  4. local b = require(a.mReferences)()
  5. local c = require(a.mGUI)
  6. local d = require(a.Debounce)
  7. local e = require(a.mStaffRank)
  8. local f = SoundEffects.Clicky
  9. local g = "a824k124jahf"
  10. local h = function(i)
  11. LocalNetwork.Notify.Alert:Fire(i, "Bad")
  12. end
  13. local j = function(i)
  14. LocalNetwork.Notify.Alert:Fire(i, "Good")
  15. end
  16. if e[tostring(GroupRank)] == nil or e[tostring(GroupRank)] < 5 then
  17. do
  18. local k = frameReport
  19. local l = frameReport.Body
  20. local m = frameReport.Body2
  21. local n = l.ImageLabel
  22. local o = n.TextBox
  23. local p
  24. local q = 10
  25. local r = 0
  26. local s = d(function()
  27. m.Visible = false
  28. l.Visible = true
  29. o.Text = "Enter Reason Here"
  30. c.ManualCloseEffects(frameBottomBar.Mod)
  31. end)
  32. l.Submit.MouseButton1Click:connect(d(function()
  33. f:Play()
  34. if r >= 3 then
  35. h("You have reached the max amount of mod calls in this server!")
  36. elseif Player.UserId < 0 then
  37. h("Guest cannot make reports! Please create an account if you want to report!")
  38. elseif p ~= nil and c.MinDifference(p) < q then
  39. local t = q - c.MinDifference(p)
  40. if t > 1 then
  41. t = t .. " mins. "
  42. else
  43. t = t .. " min. "
  44. end
  45. h("You have to wait " .. t .. "to call a mod again!")
  46. elseif o.Text ~= "Enter Reason Here" and 3 <= string.len(o.Text) then
  47. m.Visible = true
  48. l.Visible = false
  49. else
  50. c.FlashGui(n)
  51. end
  52. end))
  53. l.Cancel.MouseButton1Click:connect(s)
  54. m.No.MouseButton1Click:connect(s)
  55. m.Yes.MouseButton1Click:connect(function()
  56. p = os.time()
  57. r = r + 1
  58. Network.RGT.General.ReportToMod:FireServer(o.Text)
  59. LocalNetwork.Notify.Alert:Fire("Your mod call has been successfully delivered! A mod will be coming shortly.", nil, true, true)
  60. s()
  61. end)
  62. c.OptionsEffects(frameBottomBar.Mod, frameReport, UDim2.new(0, 0, 1, -250), UDim2.new(-1, 0, 1, -250))
  63. end
  64. else
  65. do
  66. local u = game:service("MarketplaceService")
  67. local v = UDim2.new(-2, 0, 0, 0)
  68. local w = UDim2.new(1.4, 0, 0, 0)
  69. local x = Color3.new(0.3686274509803922, 0.3686274509803922, 0.3686274509803922)
  70. local y = Color3.new(0.6039215686274509, 0.6039215686274509, 0.6039215686274509)
  71. local z = Color3.new(1, 0, 0)
  72. local A = Color3.new(0.3686274509803922, 0.3686274509803922, 0.3686274509803922)
  73. local B, C, D = nil, "Ban", false
  74. local E = ""
  75. local F = frameBanPlayer.Reason.TextBox
  76. local G = frameBanPlayer.PlayerName.TextBox
  77. local H = frameBanPlayer.Days
  78. local I = frameBanPlayer.Options
  79. local J = frameBanPlayer.Evidence.TextBox
  80. local K = frameBanPlayer.Attachment
  81. local L = G.Parent:WaitForChild("Suggestion")
  82. local function M()
  83. E = ""
  84. F.Text = "Enter Reason Here..."
  85. G.Text = "Player's Name"
  86. J.Text = "Add Evidence here..."
  87. K.Text = "0"
  88. for N, O in pairs(H:GetChildren()) do
  89. O.ImageColor3 = A
  90. end
  91. H.Visible = true
  92. frameBanPlayer.BanLabel.Visible = true
  93. L.Visible = false
  94. K.Visible = true
  95. frameBanPlayer.Add.Visible = true
  96. frameBanPlayer.Evidence.Visible = true
  97. for N, O in pairs(I:GetChildren()) do
  98. if O.Name == "Ban" then
  99. O.ImageColor3 = z
  100. else
  101. O.ImageColor3 = A
  102. end
  103. end
  104. frameBanPlayer.Reason.Visible = true
  105. B = nil
  106. C = "Ban"
  107. end
  108. local P = frameModBanSong.Reason.TextBox
  109. local function Q()
  110. P.Text = "Enter Reason Here..."
  111. local R = SongAudio.SoundId:match("%d+")
  112. if tonumber(R) then
  113. local S = u:GetProductInfo(R).Name
  114. frameModBanSong.CurrentSong.Text = S
  115. else
  116. frameModBanSong.CurrentSong.Text = "No song found!"
  117. end
  118. end
  119. local function T()
  120. j("The music has been stopped!")
  121. Network.RGT.Sounds.StopSong:FireServer(g)
  122. end
  123. local U = function()
  124. frameChangeRep.Person.TextBox.Text = "Name"
  125. frameChangeRep.Rep.TextBox.Text = "Rep"
  126. end
  127. local V = function()
  128. frameTeleport.PlayerName.TextBox.Text = "Player's Name Here"
  129. end
  130. local W = frameRefund.Reason.TextBox
  131. local X = frameRefund.PlayerName.TextBox
  132. local Y = frameRefund.Options
  133. local Z = X.Parent:WaitForChild("Suggestion")
  134. local _
  135. local function a0()
  136. W.Text = "Enter Reason Here..."
  137. X.Text = "Player's Name"
  138. for N, O in pairs(Y:GetChildren()) do
  139. O.ImageColor3 = A
  140. end
  141. _ = nil
  142. end
  143. local a1 = {}
  144. local function a2()
  145. a1 = Network.RGT.Users.BanList:InvokeServer()
  146. end
  147. local a3 = frameModControl:WaitForChild("ScrollingFrame")
  148. local a4 = {
  149. {
  150. a3.BanCurrentSong,
  151. frameModBanSong,
  152. Q,
  153. 5
  154. },
  155. {
  156. a3.BanPlayer,
  157. frameBanPlayer,
  158. M,
  159. 5
  160. },
  161. {
  162. a3.StopStageMusic,
  163. nil,
  164. T,
  165. 5
  166. },
  167. {
  168. a3.ChangeRep,
  169. frameChangeRep,
  170. U,
  171. 20
  172. },
  173. {
  174. a3.Teleport,
  175. frameTeleport,
  176. V,
  177. 5
  178. },
  179. {
  180. a3.Refund,
  181. frameRefund,
  182. a0,
  183. 5
  184. }
  185. }
  186. local a5
  187. local a6 = d(function(a7, a8)
  188. for N, O in pairs(a4) do
  189. if O[2] ~= nil and O[2].Position ~= v then
  190. O[1].ImageColor3 = x
  191. O[2]:TweenPosition(v, "Out", "Quad", 0.6, true)
  192. if O[3] then
  193. O[3]()
  194. end
  195. end
  196. end
  197. if a7 and a5 ~= a7 then
  198. a8:TweenPosition(w, "Out", "Quad", 0.6, true)
  199. a7.ImageColor3 = y
  200. a5 = a7
  201. if a8.Name == "frameBanPlayer" then
  202. a2()
  203. end
  204. elseif a5 ~= nil then
  205. a5 = nil
  206. end
  207. end)
  208. for N, O in pairs(a4) do
  209. if O[2] == nil then
  210. O[1].MouseButton1Click:connect(d(function()
  211. f:Play()
  212. O[3]()
  213. end))
  214. else
  215. if e[tostring(GroupRank)] >= O[4] then
  216. O[1].MouseButton1Click:connect(d(function()
  217. f:Play()
  218. a6(O[1], O[2])
  219. end))
  220. else
  221. O[1].MouseButton1Click:connect(function()
  222. h("[Access Denied] You do not have access to this!")
  223. end)
  224. end
  225. if O[2]:FindFirstChild("Cancel") then
  226. O[2].Cancel.MouseButton1Click:connect(d(function()
  227. a6()
  228. end))
  229. end
  230. end
  231. end
  232. local a9 = d(function()
  233. if SongAudio.SoundId == "" then
  234. h("No song is currently being played!")
  235. return
  236. end
  237. if string.len(P.Text) < 5 or P.Text == "Enter Reason Here..." then
  238. h("Please enter a valid reason!")
  239. c.FlashGui(frameModBanSong.Reason)
  240. return
  241. end
  242. local R = SongAudio.SoundId:match("%d+")
  243. j("Your request for banning a song has been submitted!")
  244. Network.RGT.Sounds.BanSong:FireServer(g, R, P.Text)
  245. a6()
  246. end)
  247. frameModBanSong.Submit.MouseButton1Click:connect(a9)
  248. local function aa(a7, ab)
  249. for N, O in pairs(ab:GetChildren()) do
  250. O.ImageColor3 = A
  251. end
  252. a7.ImageColor3 = z
  253. end
  254. for N, O in pairs(H:GetChildren()) do
  255. if O.Name ~= "-123" or e[tostring(GroupRank)] >= 10 then
  256. O.MouseButton1Click:connect(d(function()
  257. B = tonumber(O.Name)
  258. aa(O, H)
  259. end))
  260. else
  261. O.MouseButton1Click:connect(function()
  262. h("[Access Denied] You do not have access to this!")
  263. end)
  264. end
  265. end
  266. local ac = d(function(a7)
  267. if a7.Name == "H" then
  268. D = not D
  269. h("Changed to " .. tostring(D))
  270. return
  271. end
  272. for N, O in pairs(I:GetChildren()) do
  273. O.ImageColor3 = A
  274. end
  275. C = a7.Name
  276. a7.ImageColor3 = z
  277. local ad = {
  278. frameBanPlayer.BanLabel,
  279. H,
  280. frameBanPlayer.Evidence,
  281. frameBanPlayer.Add,
  282. frameBanPlayer.Attachment
  283. }
  284. if C == "Unban" or C == "Check" then
  285. for N, O in pairs(ad) do
  286. O.Visible = false
  287. end
  288. else
  289. for N, O in pairs(ad) do
  290. O.Visible = true
  291. end
  292. end
  293. if C == "Check" then
  294. frameBanPlayer.Reason.Visible = false
  295. else
  296. frameBanPlayer.Reason.Visible = true
  297. end
  298. end)
  299. for N, O in pairs(I:GetChildren()) do
  300. if (e[tostring(GroupRank)] >= 10 or O.Name ~= "Unban") and (O.Name ~= "H" or e[tostring(GroupRank)] >= 20) then
  301. O.Visible = true
  302. O.MouseButton1Click:connect(function()
  303. ac(O)
  304. end)
  305. else
  306. O.MouseButton1Click:connect(function()
  307. h("[Access Denied] You do not have access to this!")
  308. end)
  309. end
  310. end
  311. local ae
  312. local function af(ag, ah, ab)
  313. if ag.Text ~= "" then
  314. for N, O in pairs(ab) do
  315. local ai
  316. if type(O) == "table" then
  317. ai = O[2]
  318. else
  319. ai = O.Name
  320. end
  321. if string.lower(ai) == string.lower(ag.Text) then
  322. return
  323. elseif string.sub(string.lower(ai), 1, #ag.Text) == string.lower(ag.Text) then
  324. ah.TextLabel.Text = ai .. "?"
  325. ah.Visible = true
  326. ae = ai
  327. return
  328. end
  329. end
  330. else
  331. ah.Visible = false
  332. end
  333. end
  334. local function aj(ag, ah)
  335. if ae ~= nil then
  336. ag.Text = ae
  337. ah.Visible = false
  338. end
  339. end
  340. local ak = d(function()
  341. if J.Text == "Add Evidence here..." or string.len(J.Text) < 5 then
  342. h("Enter a valid evidence!")
  343. c.FlashGui(frameBanPlayer.Evidence)
  344. return
  345. end
  346. E = E .. J.Text .. " "
  347. wait()
  348. j("Your evidence has been added!")
  349. J.Text = "Add More Evidence here..."
  350. K.Text = tonumber(K.Text) + 1
  351. end)
  352. frameBanPlayer.Add.MouseButton1Click:connect(ak)
  353. local function al(am)
  354. for N, O in pairs(a1) do
  355. if string.lower(O[2]) == string.lower(am) then
  356. return {
  357. O[1],
  358. O[2]
  359. }
  360. end
  361. end
  362. return nil
  363. end
  364. local an = d(function()
  365. local ao
  366. if e[tostring(GroupRank)] >= 10 or C == "Check" then
  367. ao = {
  368. nil,
  369. G.Text
  370. }
  371. else
  372. ao = al(G.Text)
  373. end
  374. if C == "Ban" and B == nil then
  375. h("You haven't selected the amount of days!")
  376. return
  377. end
  378. if ao == nil then
  379. h("We cannot find that player you are trying to ban/check!")
  380. c.FlashGui(frameBanPlayer.PlayerName)
  381. return
  382. end
  383. if C == "Ban" and B ~= "-123" and E == "" then
  384. h("Evidence is required!")
  385. c.FlashGui(frameBanPlayer.Evidence)
  386. return
  387. end
  388. if C ~= "Check" and D == false and (string.len(F.Text) < 5 or F.Text == "Enter Reason Here...") then
  389. h("Invalid Reason to ban/unban! (5 characters min.)")
  390. c.FlashGui(frameBanPlayer.Reason)
  391. retuao
  392. end
  393. j("Your request is being processed!")
  394. Network.RGT.Users.BanPerson:FireServer(g, ao[2], B, F.Text, C, D, ao[1], E)
  395. a6()
  396. end)
  397. frameBanPlayer.Submit.MouseButton1Click:connect(an)
  398. G.Changed:connect(function()
  399. af(G, L, a1)
  400. end)
  401. L.MouseButton1Click:connect(d(function()
  402. aj(G, L)
  403. end))
  404. local ap = function(Player)
  405. for N, O in pairs(game.Players:GetChildren()) do
  406. if string.lower(O.Name) == string.lower(Player) then
  407. return O
  408. end
  409. end
  410. return nil
  411. end
  412. if e[tostring(GroupRank)] == 20 then
  413. local aq = d(function()
  414. local ar = frameChangeRep.Rep.TextBox
  415. local as = frameChangeRep.Person.TextBox
  416. local at = ap(as.Text)
  417. if at == nil or tonumber(ar.Text) == nil then
  418. h("Error!")
  419. return
  420. end
  421. j("Your request is being processed!")
  422. Network.RGT.Users.ChangeRep:FireServer(g, at, tonumber(ar.Text), "afuwadh81239da")
  423. a6()
  424. end)
  425. frameChangeRep.Submit.MouseButton1Click:connect(aq)
  426. end
  427. local au = d(function()
  428. local av = frameTeleport.PlayerName.TextBox.Text
  429. local aw = frameTeleport.ServerID.TextBox.Text
  430. local ax
  431. if av == "" or av == "Player's Name" then
  432. h("Please enter a Player's Name!")
  433. c.FlashGui(frameTeleport.PlayerName)
  434. return
  435. end
  436. if tonumber(av) ~= nil then
  437. h("ALERT: You can only enter Username NOT UserId!")
  438. end
  439. if string.find(aw, "-") ~= nil then
  440. ax = aw
  441. end
  442. j("Your request is being processed!")
  443. Network.RGT.Users.Teleport:FireServer(g, av, ax)
  444. end)
  445. frameTeleport.Submit.MouseButton1Click:connect(au)
  446. local ay = d(function()
  447. local az = ap(X.Text)
  448. if _ == nil then
  449. h("You haven't selected the refund option!")
  450. return
  451. end
  452. if az == nil then
  453. h("We cannot find that player you are trying to refund!")
  454. c.FlashGui(frameRefund.PlayerName)
  455. return
  456. end
  457. print(W.Text)
  458. if string.len(W.Text) < 25 or W.Text == "Enter Reason Here..." then
  459. h("Invalid Reason to refund! (25 characters min.)")
  460. c.FlashGui(frameRefund.Reason)
  461. return
  462. end
  463. j("Your request is being processed!")
  464. Network.RGT.Users.RefundPerson:FireServer(az, _, W.Text)
  465. a6()
  466. end)
  467. frameRefund.Submit.MouseButton1Click:connect(ay)
  468. X.Changed:connect(function()
  469. af(X, Z, AllPlayers:GetChildren())
  470. end)
  471. Z.MouseButton1Click:connect(d(function()
  472. aj(X, Z)
  473. end))
  474. for N, O in pairs(Y:GetChildren()) do
  475. O.MouseButton1Click:connect(d(function()
  476. _ = O.Name
  477. aa(O, Y)
  478. end))
  479. end
  480. local function aA(Player, aB, aC)
  481. frameReportInfo.Body.Player.Text = Player
  482. frameReportInfo.Body.Complaint.Text = aB
  483. frameReportInfo.Body.Reponse.Text = aC .. " Min(s)"
  484. frameReportInfo.Visible = true
  485. frameReportInfo.Body.Close.MouseButton1Click:connect(d(function()
  486. frameReportInfo.Visible = false
  487. end))
  488. frameReportInfo.Body.Teleport.MouseButton1Click:connect(d(function()
  489. Network.RGT.Users.Teleport2:FireServer(g, Player)
  490. end))
  491. end
  492. Network.RGT.Users.ComplaintInfo.OnClientEvent:connect(aA)
  493. c.OptionsEffects(frameBottomBar.ModControl, frameModControl, UDim2.new(0, -3, 1, -280), UDim2.new(-1, -3, 1, -280))
  494. frameBottomBar.Mod.Visible = false
  495. frameBottomBar.ModControl.Visible = true
  496. end
  497. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement