iiFlamez

Untitled

Sep 18th, 2016
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.05 KB | None | 0 0
  1. --[[ VALUES ]]--
  2. VERSION = "2.1"
  3. --[[ SUPPORTED GAMES ]]--
  4. LasVegas = 163865146
  5. PhantomForces = 292439477
  6. ApocRisingReimagined = 237590657
  7. ApocRisingReborn = 237590761
  8. --EpicMiniGames = ""
  9. --[[ GAME DETECTOR ]] --
  10. if game.PlaceId == LasVegas then
  11. game_Supported = "YES"
  12. elseif game.PlaceId == PhantomForces then
  13. game_Supported = "YES"
  14. elseif game.PlaceId == ApocRisingReimagined then
  15. game_Supported = "YES"
  16. elseif game.PlaceId == ApocRisingReborn then
  17. game_Supported = "YES"
  18. --elseif game.PlaceId == EpicMiniGames then
  19. --game_Supported = "YES"
  20. else
  21. game_Supported = "NO"
  22. end
  23. Asset123 = game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId)
  24. Game_name = Asset123.Name
  25. --[[ GUI CREATING ]]--
  26. game:GetObjects("rbxassetid://378228753")[1].Parent = game.CoreGui
  27. wait(1)
  28. --
  29. MainGui = game.CoreGui.JusticeGui.MainGui
  30. GameGui = game.CoreGui.JusticeGui.GameGui
  31. CustomGui = game.CoreGui.JusticeGui.CustomGui
  32. ApocGui = game.CoreGui.JusticeGui.ApocGui
  33. OpenGui = game.CoreGui.JusticeGui.Open
  34. -- NotSupportedGui = game.CoreGui.JusticeGui.NotSupported
  35. --[[ INVISIBLE AND VISIBLE GUI FUNCTIONS ]] --
  36. function make_gui_visible(Gui)
  37. Gui.Position = UDim2.new(.5,-200,.5,-100)
  38. Gui.Visible = true
  39. end
  40. function make_gui_invisible(Gui)
  41. Gui.Position = UDim2.new(999,999,999,999)
  42. Gui.Visible = false
  43. end
  44. make_gui_invisible(MainGui)
  45. make_gui_invisible(GameGui)
  46. make_gui_invisible(CustomGui)
  47. make_gui_invisible(ApocGui)
  48. OpenGui.Visible = false
  49. -- make_gui_invisible(NotSupportedGui)
  50. --[[ GUI EDITING ]]--
  51. -- WELCOME GUI
  52. MainGui.Welcome.Text = ("Welcome, " ..game.Players.LocalPlayer.Name.. "!")
  53. MainGui.Title.Text = ("Justice v." ..VERSION)
  54. MainGui.Game.Text = ("Game: " ..Game_name.. " // ID: " ..game.PlaceId)
  55. MainGui.GameSupported.Text = ("Game Supported: " ..game_Supported)
  56. -- LOADING GUI
  57. GameGui.Game.Text = ("Welcome, " ..game.Players.LocalPlayer.Name.. "!")
  58. GameGui.Log1.Text = ""
  59. GameGui.Log2.Text = ""
  60. GameGui.Log3.Text = ""
  61. GameGui.Log4.Text = ""
  62. -- CUSTOM GUI
  63. CustomGui.Page1.Welcome.Text = ("Game: " ..Game_name.. " // ID: " ..game.PlaceId)
  64. CustomGui.Page2.Welcome.Text = ("Game: " ..Game_name.. " // ID: " ..game.PlaceId)
  65. CustomGui.Page1.Button1.Text = ""
  66. CustomGui.Page1.Button2.Text = ""
  67. CustomGui.Page1.Button3.Text = ""
  68. CustomGui.Page1.Button4.Text = ""
  69. CustomGui.Page1.Button5.Text = ""
  70. CustomGui.Page1.Button6.Text = ""
  71. CustomGui.Page1.Button7.Text = ""
  72. CustomGui.Page1.Button8.Text = ""
  73.  
  74. CustomGui.Page2.Button1.Text = ""
  75. CustomGui.Page2.Button2.Text = ""
  76. CustomGui.Page2.Button3.Text = ""
  77. CustomGui.Page2.Button4.Text = ""
  78. CustomGui.Page2.Button5.Text = ""
  79. CustomGui.Page2.Button6.Text = ""
  80. CustomGui.Page2.Button7.Text = ""
  81. CustomGui.Page2.Button8.Text = ""
  82. -- APOC GUI
  83. ApocGui.Page1.Welcome.Text = ("Game: " ..Game_name.. " // ID: " ..game.PlaceId)
  84. ApocGui.Page2.Welcome.Text = ("Game: " ..Game_name.. " // ID: " ..game.PlaceId)
  85. ApocGui.Page1.Button1.Text = ""
  86. ApocGui.Page1.Button2.Text = ""
  87. ApocGui.Page1.Button3.Text = ""
  88. ApocGui.Page1.Button4.Text = ""
  89. ApocGui.Page1.Button5.Text = ""
  90. ApocGui.Page1.Button6.Text = ""
  91. ApocGui.Page1.Button7.Text = ""
  92. ApocGui.Page1.Button8.Text = ""
  93. ApocGui.Page1.Custom.Text = "LOCALPLAYER"
  94.  
  95. ApocGui.Page2.Button1.Text = ""
  96. ApocGui.Page2.Button2.Text = ""
  97. ApocGui.Page2.Button3.Text = ""
  98. ApocGui.Page2.Button4.Text = ""
  99. ApocGui.Page2.Button5.Text = ""
  100. ApocGui.Page2.Button6.Text = ""
  101. ApocGui.Page2.Custom.Text = "SERVER"
  102.  
  103. -- [[ OPEN GUI FUNCTIONS ]]--
  104. OpenGui.MouseButton1Down:connect(function()
  105. OpenGui.Visible = false
  106. wait(.2)
  107. if game.PlaceId == ApocRisingReimagined or game.PlaceId == ApocRisingReborn then
  108. make_gui_visible(ApocGui)
  109. else
  110. make_gui_visible(CustomGui)
  111. end
  112. end)
  113. -- [[ MAIN AND GAME FUNCTIONS ]] --
  114. function functionMain_Gui()
  115. make_gui_visible(MainGui)
  116. MainGui.Open.MouseButton1Down:connect(function()
  117. MainGui:Destroy()
  118. functionGame_Gui()
  119. end)
  120. MainGui.Close.MouseButton1Down:connect(function()
  121. game.CoreGui.JusticeGui:Destroy() -- rip
  122. end)
  123. end
  124. function functionGame_Gui()
  125. make_gui_visible(GameGui)
  126. GameGui.Close.Visible = false
  127. GameGui.Close.MouseButton1Down:connect(function()
  128. if game_Supported == "YES" then
  129. GameGui:Destroy()
  130. if game.PlaceId == ApocRisingReimagined or game.PlaceId == ApocRisingReborn then
  131. functionApocGui()
  132. else
  133. functionCustomGui()
  134. end
  135. else
  136. -- make_gui_visible(NotSupported)
  137. GameGui:Destroy()
  138. end
  139. end)
  140. if game_Supported == "YES" then
  141. wait(1)
  142. GameGui.Log1.Text = "Game supported!"
  143. wait(1)
  144. GameGui.Log1.Text = "Loaded custom commands!"
  145. GameGui.Log2.Text = "Game supported!"
  146. wait(1)
  147. GameGui.Close.Text = "CUSTOM COMMANDS"
  148. else
  149. wait(1)
  150. GameGui.Log1.Text = "Game not supported!"
  151. wait(1)
  152. end
  153. GameGui.Close.Visible = true
  154. end
  155. -- [[ CUSTOM GUI FUNCTIONS ]] --
  156. function functionCustomGui()
  157. make_gui_visible(CustomGui)
  158. CustomGui.Page1.Close.MouseButton1Down:connect(function()
  159. make_gui_invisible(CustomGui)
  160. wait(.2)
  161. OpenGui.Visible = true
  162. end)
  163. CustomGui.Page2.Close.MouseButton1Down:connect(function()
  164. make_gui_invisible(CustomGui)
  165. wait(.2)
  166. OpenGui.Visible = true
  167. end)
  168. CustomGui.Page1.Page.Visible = false
  169. CustomGui.Page2.Visible = false
  170. if game.PlaceId == LasVegas then
  171. CustomGui.Page1.Button1.Text = "Give 10 Million Cash"
  172. CustomGui.Page1.Button2.Text = ""
  173. CustomGui.Page1.Button3.Text = ""
  174. CustomGui.Page1.Button4.Text = ""
  175. CustomGui.Page1.Button5.Text = ""
  176. CustomGui.Page1.Button6.Text = ""
  177. CustomGui.Page1.Button7.Text = ""
  178. CustomGui.Page1.Button8.Text = ""
  179.  
  180. CustomGui.Page1.Button1.MouseButton1Down:connect(function()
  181. local CASH_AMOUNT = math.huge
  182. game.ReplicatedStorage.Events.MoneyRequest:FireServer(CASH_AMOUNT, 'Cash', true)
  183. end)
  184. elseif game.PlaceId == PhantomForces then
  185. CustomGui.Page1.Button1.Text = "Load PhantomX Gui"
  186. CustomGui.Page1.Button1.MouseButton1Down:connect(function()
  187. game:GetObjects('rbxassetid://311949717')[1].Parent = game.CoreGui
  188. local PhantomX = game.CoreGui:WaitForChild('PhantomX')
  189. local script = Instance.new('Script', game.CoreGui)
  190. script.Name = ''
  191. script.Source = PhantomX.CONTROL.Source
  192. loadstring(script.Source)()
  193. loadstring(game:GetObjects("rbxassetid://298918246")[1].Source)()
  194. end)
  195. --elseif game.PlaceId == EpicMiniGames then
  196. end
  197. end
  198. -- [[ APOCALYPSE RISING ]] --
  199. function LocalPlayerGod()
  200. _G.lpgod = true
  201. local ChangeProp = game.Lighting.Remote.ChangeProperty
  202. local Plr = game.Players.LocalPlayer
  203. while _G.lpgod == true and wait() do -- health hack
  204. ChangeProp:FireServer(Plr.Character.Humanoid, "Health", 100)
  205. end
  206. end
  207. function NoLocalPlayerGod()
  208. _G.lpgod = false
  209. end
  210. function UnlimitedHunger()
  211. _G.unlimhunger = true
  212. while _G.unlimhunger == true and wait(2) do
  213. game.Players.LocalPlayer.playerstats.Hunger.Value = 100
  214. end
  215. end
  216. function UnlimitedThirst()
  217. _G.unlimthirst = true
  218. while _G.unlimthirst == true and wait(2) do
  219. game.Players.LocalPlayer.playerstats.Thirst.Value = 100
  220. end
  221. end
  222. -- [[ APOCALYPSE GUI FUNCTIONS ]] --
  223. function functionApocGui()
  224. make_gui_visible(ApocGui)
  225. if game.PlaceId == ApocRisingReimagined or game.PlaceId == ApocRisingReborn then
  226. ApocGui.Page1.Visible = true
  227. ApocGui.Page2.Visible = false
  228. -- CLOSE
  229. ApocGui.Page1.Close.MouseButton1Down:connect(function()
  230. make_gui_invisible(ApocGui)
  231. wait(.2)
  232. OpenGui.Visible = true
  233. end)
  234. ApocGui.Page2.Close.MouseButton1Down:connect(function()
  235. make_gui_invisible(ApocGui)
  236. wait(.2)
  237. OpenGui.Visible = true
  238. end)
  239. -- NEXT/BACK
  240. ApocGui.Page1.Page.Text = "NEXT"
  241. ApocGui.Page1.Page.MouseButton1Down:connect(function()
  242. ApocGui.Page1.Visible = false
  243. ApocGui.Page2.Visible = true
  244. end)
  245. ApocGui.Page2.Page.Text = "BACK"
  246. ApocGui.Page2.Page.MouseButton1Down:connect(function()
  247. ApocGui.Page1.Visible = true
  248. ApocGui.Page2.Visible = false
  249. end)
  250. ApocGui.Page1.Button1.Text = "SEMI-GOD"
  251. ApocGui.Page1.Button2.Text = "UNSEMI-GOD"
  252. ApocGui.Page1.Button3.Text = "UNLIMITED HUNGER"
  253. ApocGui.Page1.Button4.Text = "UNLIMITED THIRST"
  254. ApocGui.Page1.Button5.Text = "MK 17 KIT"
  255. ApocGui.Page1.Button6.Text = "G36K KIT"
  256. ApocGui.Page1.Button7.Text = "FAL KIT"
  257. ApocGui.Page1.Button8.Text = "CAR REPAIR KIT"
  258.  
  259. ApocGui.Page2.Button1.Text = "SEMI-GOD"
  260. ApocGui.Page2.Button2.Text = "N/A"
  261. ApocGui.Page2.Button3.Text = "KILL"
  262. ApocGui.Page2.Button4.Text = "N/A"
  263. ApocGui.Page2.Button5.Text = "GOTO(WIP)"
  264. ApocGui.Page2.Button6.Text = "BRING(WIP)"
  265.  
  266. ApocGui.Page1.Button1.MouseButton1Down:connect(function()
  267. LocalPlayerGod()
  268. print("lp godded")
  269. end)
  270. ApocGui.Page1.Button2.MouseButton1Down:connect(function()
  271. NoLocalPlayerGod()
  272. print("lp ungodded")
  273. end)
  274. ApocGui.Page1.Button3.MouseButton1Down:connect(function()
  275. UnlimitedHunger()
  276. print("unlimited hunger")
  277. end)
  278. ApocGui.Page1.Button4.MouseButton1Down:connect(function()
  279. UnlimitedThirst()
  280. print "unlimited thirst"
  281. end)
  282. ApocGui.Page1.Button5.MouseButton1Down:connect(function()
  283. local function s(n)
  284. local new = game.Lighting.LootDrops[n]:Clone()
  285. new.Parent = workspace
  286. new:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10)))
  287. end
  288. t ={"ACOG","Mk 17","Compass","CBJ-MS","TEC9Ammo32","TEC9Ammo32","Sabre","MilitaryPackBlack","Binoculars","Detonator","Suppressor9","Suppressor762","Grip","Reflex","GPS","Map","C4","C4","Entrencher","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50"}
  289. for i = 1, #t do
  290. s(t[i])
  291. end
  292. print "mk 17 kit"
  293. end)
  294. ApocGui.Page1.Button6.MouseButton1Down:connect(function()
  295. local function AA(BB)
  296. local new = game.Lighting.LootDrops[BB]:Clone()
  297. new.Parent = workspace
  298. new:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10)))
  299. end
  300. CC ={"ACOG","G36K","Compass","CBJ-MS","TEC9Ammo32","TEC9Ammo32","Sabre","MilitaryPackBlack","Binoculars","Detonator","Suppressor9","Suppressor556","Grip","Reflex","GPS","Map","C4","C4","Entrencher","STANAGAmmo100","STANAGAmmo100","STANAGAmmo100","STANAGAmmo100","STANAGAmmo100","STANAGAmmo100","STANAGAmmo100","STANAGAmmo100","STANAGAmmo100","STANAGAmmo100","STANAGAmmo100","STANAGAmmo100","STANAGAmmo100","STANAGAmmo100",}
  301. for DD = 1, #CC do
  302. AA(CC[DD])
  303. end
  304. end)
  305. ApocGui.Page1.Button7.MouseButton1Down:connect(function()
  306. local function Ab(Ac)
  307. local new = game.Lighting.LootDrops[Ac]:Clone()
  308. new.Parent = workspace
  309. new:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10)))
  310. end
  311. Aa ={"ACOG","FAL","Compass","CBJ-MS","TEC9Ammo32","TEC9Ammo32","Sabre","MilitaryPackBlack","Binoculars","Detonator","Suppressor9","Suppressor762","Grip","Reflex","GPS","Map","C4","C4","Entrencher","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50"}
  312. for Ad = 1, #Aa do
  313. Ab(Aa[Ad])
  314. end
  315. end)
  316. ApocGui.Page1.Button8.MouseButton1Down:connect(function()
  317. local function Bc(Bb)
  318. local new = game.Lighting.LootDrops[Bb]:Clone()
  319. new.Parent = workspace
  320. new:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10)))
  321. end
  322. Tt ={"ReinforcedWheel","ReinforcedWheel","ReinforcedWheel","ReinforcedWheel","ReinforcedWheel","ReinforcedWheel","BallisticGlass","ArmorPlates","FuelTank","EngineParts","ScrapMetal","JerryCan","JerryCan"}
  323. for cC = 1, #Tt do
  324. Bc(Tt[cC])
  325. end
  326. end)
  327.  
  328. ApocGui.Page2.Username.Text = "Username (Exact)"
  329.  
  330.  
  331. ApocGui.Page2.Button1.MouseButton1Down:connect(function()
  332. local input = ApocGui.Page2.Username.Text
  333. playr = game.Players:FindFirstChild(input,true)
  334. while wait() do
  335. game.Lighting.Remote.ChangeProperty:FireServer(playr.Character.Humanoid, "Health", 100)
  336. end
  337. end)
  338. ApocGui.Page2.Button2.MouseButton1Down:connect(function()
  339. print("n/a")
  340. end)
  341. ApocGui.Page2.Button3.MouseButton1Down:connect(function()
  342. local input = ApocGui.Page2.Username.Text
  343. playr = game.Players:FindFirstChild(input,true)
  344. game.Lighting.Remote.AddDamage:FireServer(playr.Character.Humanoid,100)
  345. end)
  346. ApocGui.Page2.Button4.MouseButton1Down:connect(function()
  347.  
  348. end)
  349. ApocGui.Page2.Button5.MouseButton1Down:connect(function()
  350.  
  351. end)
  352. ApocGui.Page2.Button6.MouseButton1Down:connect(function()
  353.  
  354. end)
  355.  
  356. end
  357. end
  358. -- [[ RUN ]] --
  359. functionMain_Gui()
Add Comment
Please, Sign In to add comment