Advertisement
Peerapat_PKY

Test 123

Mar 19th, 2024
798
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.69 KB | None | 0 0
  1. getgenv().Settings = {
  2. Show_Item_Settings = {
  3. Godhuman = true, -- true or false
  4. Soul_Guitar = false, -- true or false
  5. Valkyrie_Helm = true,
  6. Cursed_Dual_Katana = true,
  7. Shark_Anchor = true
  8. },
  9. Show_Material_Settings = {
  10. Mirror_Fractal = true,
  11. },
  12. Delay_Settings = {
  13. Enabled = false, -- true or false
  14. CheckingDelay = 60,
  15. },
  16. AutoRejoin = true,
  17. }
  18.  
  19. repeat wait(.25) until game:IsLoaded() and game.Players.LocalPlayer.Character and game.Players.LocalPlayer:FindFirstChild("Backpack") and game.Players.LocalPlayer.Character:FindFirstChild("Humanoid") and game.Players.LocalPlayer:FindFirstChild("PlayerGui") and game.Players.LocalPlayer.PlayerGui:FindFirstChild("Main") and pcall(function() return game.Players.LocalPlayer.Idled end)
  20. repeat wait()
  21. pcall(function()
  22. join = game.Players.localPlayer.Neutral == false
  23. if _G.Team == "Pirates" then
  24. for i,v in pairs({"MouseButton1Click", "MouseButton1Down", "Activated"}) do
  25. for i,v in pairs(getconnections(game:GetService("Players").LocalPlayer.PlayerGui.Main.ChooseTeam.Container.Pirates.Frame.ViewportFrame.TextButton[v])) do
  26. v.Function()
  27. end
  28. end
  29. elseif _G.Team == "Marines" then
  30. for i,v in pairs({"MouseButton1Click", "MouseButton1Down", "Activated"}) do
  31. for i,v in pairs(getconnections(game:GetService("Players").LocalPlayer.PlayerGui.Main.ChooseTeam.Container.Marines.Frame.ViewportFrame.TextButton[v])) do
  32. v.Function()
  33. end
  34. end
  35. else
  36. for i,v in pairs({"MouseButton1Click", "MouseButton1Down", "Activated"}) do
  37. for i,v in pairs(getconnections(game:GetService("Players").LocalPlayer.PlayerGui.Main.ChooseTeam.Container.Pirates.Frame.ViewportFrame.TextButton[v])) do
  38. v.Function()
  39. end
  40. end
  41. end
  42. end)
  43. until game.Players.LocalPlayer.Team ~= nil
  44. --
  45. local requests = (syn and syn.request) or (krnl and request) or (fluxus and fluxus.request) or (electron and http.request) or request or http.request
  46. local host = "http://localhost:7963"
  47. local Port = "7963"
  48. getgenv().Local=function(data)
  49. if data==1 then return game.Players.LocalPlayer.Name end
  50. if data==2 then return game.Players.LocalPlayer.UserId end
  51. end
  52. local json_encode = function(data)
  53. return game:GetService("HttpService"):JSONEncode(data)
  54. end
  55. getgenv().SetAlias=function(Alias)
  56. local SetAlias = requests({
  57. Url = host.."/SetAlias?Account="..getgenv().Local(2),
  58. Method = "POST",
  59. Body = Alias,
  60. })
  61. print("Changed Alias to : "..Alias)
  62. return SetAlias
  63. end
  64.  
  65. getgenv().SetDescription=function(Description)
  66. local SetDescription = requests({
  67. Url = host.."/SetDescription?Account="..getgenv().Local(2),
  68. Method = "POST",
  69. Body = Description,
  70. })
  71. print("Changed Description to : "..Description)
  72. return SetDescription
  73. end
  74.  
  75. spawn(function()
  76. while true do wait()
  77. local x, p = pcall(function()
  78. Nexus:CreateButton("World1btn", "World 1", {100, 40})
  79. Nexus:CreateButton("World2btn", "World 2", {100, 40})
  80. Nexus:CreateButton("World3btn", "World 3", {205, 40})
  81. Nexus:CreateButton("Rejoinbtn", "Rejoin", {100, 40})
  82. Nexus:CreateButton("Shutdownbtn", "Game Shutdown", {100, 40})
  83. end)
  84. if x then break end
  85. end
  86. end)
  87.  
  88. local SkillAwake = '❌'
  89. local WorldText = '1'
  90.  
  91. local placeId = game.PlaceId
  92. if placeId == 2753915549 then
  93. WorldText = '1'
  94. elseif placeId == 4442272183 then
  95. WorldText = '2'
  96. elseif placeId == 7449423635 then
  97. WorldText = '3'
  98. end
  99.  
  100. local formatNumber = (function (n) n = tostring(n) return n:reverse():gsub("%d%d%d", "%1,"):reverse():gsub("^,", "") end)
  101.  
  102. function Abbreviate(x)
  103. local abbreviations = {
  104. "K", -- 4 digits
  105. "M", -- 7 digits
  106. "B", -- 10 digits
  107. "T", -- 13 digits
  108. "QD", -- 16 digits
  109. "QT", -- 19 digits
  110. "SXT", -- 22 digits
  111. "SEPT", -- 25 digits
  112. "OCT", -- 28 digits
  113. "NON", -- 31 digits
  114. "DEC", -- 34 digits
  115. "UDEC", -- 37 digits
  116. "DDEC", -- 40 digits
  117. }
  118. if x < 1000 then
  119. return tostring(x)
  120. end
  121.  
  122. local digits = math.floor(math.log10(x)) + 1
  123. local index = math.min(#abbreviations, math.floor((digits - 1) / 3))
  124. local front = x / math.pow(10, index * 3)
  125.  
  126. return string.format("%i%s", front, abbreviations[index])
  127. end
  128.  
  129. task.spawn(function()
  130. while true do wait(2)
  131. pcall(function()
  132. for i ,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
  133. if v:IsA("Tool") then
  134. if v.ToolTip == "Blox Fruit" then
  135. if v:FindFirstChild("AwakenedMoves") then
  136. if v.AwakenedMoves:FindFirstChild("Z") then
  137. AwakeZ = true
  138. end
  139. if v.AwakenedMoves:FindFirstChild("X") then
  140. AwakeX = true
  141. end
  142. if v.AwakenedMoves:FindFirstChild("C") then
  143. AwakeC = true
  144. end
  145. if v.AwakenedMoves:FindFirstChild("V") then
  146. AwakeV = true
  147. end
  148. if v.AwakenedMoves:FindFirstChild("F") then
  149. AwakeF = true
  150. end
  151. if v.AwakenedMoves:FindFirstChild("TAP") then
  152. AwakeTAP = true
  153. end
  154. if v.Name == "Dough-Dough" then
  155. if AwakeZ == true and AwakeX == true and AwakeC == true and AwakeV == true and AwakeF == true and AwakeTAP == true then
  156. SkillAwake = "✔️"
  157. else
  158. SkillAwake = "❌"
  159. end
  160. else
  161. if (AwakeZ == true and AwakeX == true and AwakeC == true and AwakeV == true and AwakeF == true) or (AwakeZ == true and AwakeX == true and AwakeC == true and AwakeV == true) then
  162. SkillAwake = "✔️"
  163. else
  164. SkillAwake = "❌"
  165. end
  166. end
  167. else
  168. SkillAwake = "Can't Awakened"
  169. end
  170. elseif game:GetService("Players").LocalPlayer.Data.DevilFruit.Value == '' then
  171. SkillAwake = "Not Fruit"
  172. end
  173. end
  174. end
  175. end)
  176. end
  177. end)
  178.  
  179. local function GetNewAwake()
  180. AwakeText = ''
  181. pcall(function()
  182. for i ,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
  183. if v:IsA("Tool") then
  184. if v.ToolTip == "Blox Fruit" then
  185. if v:FindFirstChild("AwakenedMoves") then
  186. if v.AwakenedMoves:FindFirstChild("Z") then
  187. AwakeZ = true
  188. end
  189. if v.AwakenedMoves:FindFirstChild("X") then
  190. AwakeX = true
  191. end
  192. if v.AwakenedMoves:FindFirstChild("C") then
  193. AwakeC = true
  194. end
  195. if v.AwakenedMoves:FindFirstChild("V") then
  196. AwakeV = true
  197. end
  198. if v.AwakenedMoves:FindFirstChild("F") then
  199. AwakeF = true
  200. end
  201. if v.AwakenedMoves:FindFirstChild("TAP") then
  202. AwakeTAP = true
  203. end
  204. if v.Name == "Dough-Dough" then
  205. if AwakeZ == true and AwakeX == true and AwakeC == true and AwakeV == true and AwakeF == true and AwakeTAP == true then
  206. AwakeText = "Awake "..string.split(game:GetService("Players").LocalPlayer.Data.DevilFruit.Value,"-")[2].." ["..game:GetService("Players").LocalPlayer.Backpack[game.Players.LocalPlayer.Data.DevilFruit.Value].Level.Value.."]"
  207. else
  208. AwakeText = string.split(game:GetService("Players").LocalPlayer.Data.DevilFruit.Value,"-")[2].." ["..game:GetService("Players").LocalPlayer.Backpack[game.Players.LocalPlayer.Data.DevilFruit.Value].Level.Value.."]"
  209. end
  210. else
  211. if (AwakeZ == true and AwakeX == true and AwakeC == true and AwakeV == true and AwakeF == true) or (AwakeZ == true and AwakeX == true and AwakeC == true and AwakeV == true) then
  212. AwakeText = "Awake "..string.split(game:GetService("Players").LocalPlayer.Data.DevilFruit.Value,"-")[2].." ["..game:GetService("Players").LocalPlayer.Backpack[game.Players.LocalPlayer.Data.DevilFruit.Value].Level.Value.."]"
  213. else
  214. AwakeText = string.split(game:GetService("Players").LocalPlayer.Data.DevilFruit.Value,"-")[2].." ["..game:GetService("Players").LocalPlayer.Backpack[game.Players.LocalPlayer.Data.DevilFruit.Value].Level.Value.."]"
  215. end
  216. end
  217. else
  218. AwakeText = string.split(game:GetService("Players").LocalPlayer.Data.DevilFruit.Value,"-")[2].." ["..game:GetService("Players").LocalPlayer.Backpack[game.Players.LocalPlayer.Data.DevilFruit.Value].Level.Value.."]"
  219. end
  220. elseif game:GetService("Players").LocalPlayer.Data.DevilFruit.Value == '' then
  221. AwakeText = "Not Fruit"
  222. end
  223. end
  224. end
  225. for i ,v in pairs(game:GetService("Workspace").Characters[game.Players.LocalPlayer.Name]:GetChildren()) do
  226. if v:IsA("Tool") then
  227. if v.ToolTip == "Blox Fruit" then
  228. if v:FindFirstChild("AwakenedMoves") then
  229. if v.AwakenedMoves:FindFirstChild("Z") then
  230. AwakeZ = true
  231. end
  232. if v.AwakenedMoves:FindFirstChild("X") then
  233. AwakeX = true
  234. end
  235. if v.AwakenedMoves:FindFirstChild("C") then
  236. AwakeC = true
  237. end
  238. if v.AwakenedMoves:FindFirstChild("V") then
  239. AwakeV = true
  240. end
  241. if v.AwakenedMoves:FindFirstChild("F") then
  242. AwakeF = true
  243. end
  244. if v.AwakenedMoves:FindFirstChild("TAP") then
  245. AwakeTAP = true
  246. end
  247. if v.Name == "Dough-Dough" then
  248. if AwakeZ == true and AwakeX == true and AwakeC == true and AwakeV == true and AwakeF == true and AwakeTAP == true then
  249. AwakeText = "Awake "..string.split(game:GetService("Players").LocalPlayer.Data.DevilFruit.Value,"-")[2].." ["..game:GetService("Players").LocalPlayer.Character[game.Players.LocalPlayer.Data.DevilFruit.Value].Level.Value.."]"
  250. else
  251. AwakeText = string.split(game:GetService("Players").LocalPlayer.Data.DevilFruit.Value,"-")[2].." ["..game:GetService("Players").LocalPlayer.Character[game.Players.LocalPlayer.Data.DevilFruit.Value].Level.Value.."]"
  252. end
  253. else
  254. if (AwakeZ == true and AwakeX == true and AwakeC == true and AwakeV == true and AwakeF == true) or (AwakeZ == true and AwakeX == true and AwakeC == true and AwakeV == true) then
  255. AwakeText = "Awake "..string.split(game:GetService("Players").LocalPlayer.Data.DevilFruit.Value,"-")[2].." ["..game:GetService("Players").LocalPlayer.Character[game.Players.LocalPlayer.Data.DevilFruit.Value].Level.Value.."]"
  256. else
  257. AwakeText = string.split(game:GetService("Players").LocalPlayer.Data.DevilFruit.Value,"-")[2].." ["..game:GetService("Players").LocalPlayer.Character[game.Players.LocalPlayer.Data.DevilFruit.Value].Level.Value.."]"
  258. end
  259. end
  260. else
  261. AwakeText = string.split(game:GetService("Players").LocalPlayer.Data.DevilFruit.Value,"-")[2].." ["..game:GetService("Players").LocalPlayer.Character[game.Players.LocalPlayer.Data.DevilFruit.Value].Level.Value.."]"
  262. end
  263. end
  264. end
  265. end
  266. end)
  267. return AwakeText
  268. end
  269.  
  270. function GetGOD()
  271. if getgenv().Settings.Show_Item_Settings["Godhuman"] == true then
  272. GodHuman = tonumber(game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer("BuyGodhuman",true))
  273. if GodHuman then
  274. if GodHuman == 1 then
  275. CombatText = 'GOD'
  276. end
  277. end
  278. else
  279. CombatText = ''
  280. end
  281. return CombatText
  282. end
  283.  
  284. local function GetAllMeleeNew()
  285. combat = 0
  286. BuyDragonTalon = tonumber(game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer("BuyDragonTalon",true))
  287. if BuyDragonTalon then
  288. if BuyDragonTalon == 1 then
  289. combat += 1
  290. end
  291. end
  292. BuySuperhuman = tonumber(game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer("BuySuperhuman",true))
  293. if BuySuperhuman then
  294. if BuySuperhuman == 1 then
  295. combat += 1
  296. end
  297. end
  298. BuySharkmanKarate = tonumber(game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer("BuySharkmanKarate",true))
  299. if BuySharkmanKarate then
  300. if BuySharkmanKarate == 1 then
  301. combat += 1
  302. end
  303. end
  304. BuyDeathStep = tonumber(game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer("BuyDeathStep",true))
  305. if BuyDeathStep then
  306. if BuyDeathStep == 1 then
  307. combat += 1
  308. end
  309. end
  310. BuyElectricClaw = tonumber(game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer("BuyElectricClaw",true))
  311. if BuyElectricClaw then
  312. if BuyElectricClaw == 1 then
  313. combat += 1
  314. end
  315. end
  316. GodHuman = tonumber(game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer("BuyGodhuman",true))
  317. if GodHuman then
  318. if GodHuman == 1 then
  319. combat += 1
  320. end
  321. end
  322. return combat
  323. end
  324.  
  325. function CheckMirrorFractalNew()
  326. if getgenv().Settings.Show_Material_Settings["Mirror_Fractal"] == true then
  327. MirrorFac_Text = ''
  328. for i,v in pairs(game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer("getInventory")) do
  329. if type(v) == "table" then
  330. if v.Type == "Material" then
  331. if v.Name == "Mirror Fractal" then
  332. MirrorFac_Text = " | MR "
  333. end
  334. end
  335. end
  336. end
  337. else
  338. MirrorFac_Text = ''
  339. end
  340. return MirrorFac_Text
  341. end
  342.  
  343. function GetFruitInU()
  344. local ReturnText = {}
  345. for i,v in pairs(game:GetService("ReplicatedStorage").Remotes["CommF_"]:InvokeServer("getInventoryFruits")) do
  346. if type(v) == "table" then
  347. if v ~= nil then
  348. if v.Price >= 1000000 then
  349. table.insert(ReturnText,string.split(v.Name,"-")[2])
  350. end
  351. end
  352. end
  353. end
  354.  
  355. if #ReturnText ~= 0 then
  356. return table.concat(ReturnText,", ")
  357. else
  358. return "❌"
  359. end
  360. end
  361.  
  362. function CheckLevel()
  363. RaceText = ''
  364. if game:GetService("Players").LocalPlayer.Data.Level.Value < 2550 then
  365. RaceText = 'Lv. '..game:GetService("Players").LocalPlayer.Data.Level.Value.." "
  366. else
  367. RaceText = 'Lv.2550 [ MAX ] '
  368. end
  369. return RaceText
  370. end
  371.  
  372. function CheckFragment()
  373. RaceText = ''
  374. if game:GetService("Players").LocalPlayer.Data.Fragments.Value then
  375. RaceText = 'F. '..game:GetService("Players").LocalPlayer.Data.Fragments.Value.." "
  376. end
  377. return RaceText
  378. end
  379.  
  380. function CheckBeli()
  381. RaceText = ''
  382. if game:GetService("Players").LocalPlayer.Data.Beli.Value then
  383. RaceText = 'B. '..game:GetService("Players").LocalPlayer.Data.Beli.Value.." "
  384. end
  385. return RaceText
  386. end
  387.  
  388. local function CheckSGTNew()
  389. if getgenv().Settings.Show_Item_Settings["Soul_Guitar"] == true then
  390. SGT_Text = ''
  391. for i,v in pairs(game:GetService("ReplicatedStorage").Remotes["CommF_"]:InvokeServer("getInventoryWeapons")) do -- เช็คในกระเป๋า
  392. for i1,v1 in pairs(v) do
  393. if v1 == 'Soul Guitar' then
  394. SGT_Text = '+SG'
  395. end
  396. if game:GetService("Players").LocalPlayer.Backpack:FindFirstChild('Soul Guitar') or game:GetService("Players").LocalPlayer.Character:FindFirstChild('Soul Guitar') then
  397. SGT_Text = '+SG'
  398. end
  399. end
  400. end
  401. else
  402. SGT_Text = ''
  403. end
  404. return SGT_Text
  405. end
  406.  
  407. local function CheckCDKNew()
  408. if getgenv().Settings.Show_Item_Settings["Cursed_Dual_Katana"] == true then
  409. CDK_Text = ''
  410. for i,v in pairs(game:GetService("ReplicatedStorage").Remotes["CommF_"]:InvokeServer("getInventoryWeapons")) do -- เช็คในกระเป๋า
  411. for i1,v1 in pairs(v) do
  412. if v1 == 'Cursed Dual Katana' then
  413. CDK_Text = ' | CDK'
  414. end
  415. end
  416. end
  417. if game:GetService("Players").LocalPlayer.Backpack:FindFirstChild('Cursed Dual Katana') or game:GetService("Players").LocalPlayer.Character:FindFirstChild('Cursed Dual Katana') then
  418. CDK_Text = ' | CDK'
  419. end
  420. else
  421. CDK_Text = ''
  422. end
  423. return CDK_Text
  424. end
  425. local function CheckNewAchor()
  426. if getgenv().Settings.Show_Item_Settings["Shark_Anchor"] == true then
  427. SA_TEXT = ''
  428. for i,v in pairs(game:GetService("ReplicatedStorage").Remotes["CommF_"]:InvokeServer("getInventoryWeapons")) do -- เช็คในกระเป๋า
  429. for i1,v1 in pairs(v) do
  430. if v1 == 'Shark Anchor' then
  431. SA_TEXT = ' | SA'
  432. end
  433. end
  434. end
  435. if game:GetService("Players").LocalPlayer.Backpack:FindFirstChild('Shark Anchor') or game:GetService("Players").LocalPlayer.Character:FindFirstChild('Shark Anchor') then
  436. SA_TEXT = ' | SA'
  437. end
  438. else
  439. SA_TEXT = ''
  440. end
  441. return SA_TEXT
  442. end
  443.  
  444. local function CheckVK()
  445. if getgenv().Settings.Show_Item_Settings["Valkyrie_Helm"] == true then
  446. VK_Text = ''
  447. for i,v in pairs(game:GetService("ReplicatedStorage").Remotes["CommF_"]:InvokeServer("getInventoryWeapons")) do -- เช็คในกระเป๋า
  448. for i1,v1 in pairs(v) do
  449. if v1 == 'Valkyrie Helm' then
  450. VK_Text = ' | AM '
  451. end
  452. end
  453. end
  454. if game:GetService("Players").LocalPlayer.Backpack:FindFirstChild('Valkyrie Helm') or game:GetService("Players").LocalPlayer.Character:FindFirstChild('Valkyrie Helm') then
  455. VK_Text = ' |AM '
  456. end
  457. else
  458. VK_Text = ''
  459. end
  460. return VK_Text
  461. end
  462.  
  463. local function CheckRaceV()
  464. ReturnText = '1'
  465. if game.Players.LocalPlayer.Backpack:FindFirstChild("Awakening") or game.Players.LocalPlayer.Character:FindFirstChild("Awakening") then
  466. ReturnText = '4'
  467. elseif game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer("Wenlocktoad","1") == -2 then
  468. ReturnText = '3'
  469. elseif game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer("Alchemist","3") == -2 then
  470. ReturnText = '2'
  471. end
  472. return ReturnText
  473. end
  474. local function CheckLever()
  475. if game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer("CheckTempleDoor") == true then
  476. return " | PL"
  477. end
  478. return ""
  479. end
  480.  
  481. task.spawn(function()
  482. while true do
  483. pcall(function()
  484. getgenv().SetDescription(CheckLevel()..GetNewAwake()..CheckLever().." | "..game:GetService("Players").LocalPlayer.Data.Race.Value.." ["..CheckRaceV().."]".." Melee : "..GetAllMeleeNew().." W : "..WorldText..' Fruits: '..GetFruitInU()..CheckBeli().. CheckFragment())
  485. getgenv().SetAlias(GetGOD()..CheckMirrorFractalNew()..CheckVK()..CheckCDKNew()..CheckSGTNew()..CheckNewAchor())
  486. end);
  487. if getgenv().Settings.Delay_Settings.Enabled == true then
  488. wait(getgenv().Settings.Delay_Settings.CheckingDelay)
  489. else
  490. wait(1)
  491. end
  492. end;
  493. end);
  494.  
  495. Kick = false
  496. -- [Auto Rejoin]
  497. spawn(function()
  498. while wait() do
  499. if getgenv().Settings["AutoRejoin"] then
  500. game:GetService("CoreGui").RobloxPromptGui.promptOverlay.ChildAdded:Connect(function(child)
  501. if child.Name == 'ErrorPrompt' and child:FindFirstChild('MessageArea') and child.MessageArea:FindFirstChild("ErrorFrame") and Kick == false then
  502. print("Kicked!")
  503. Kick = true
  504. local tpservice= game:GetService("TeleportService")
  505. local plr = game.Players.LocalPlayer
  506. tpservice:Teleport(game.PlaceId, plr)
  507. wait(10)
  508. end
  509. end)
  510. end
  511. end
  512. end)
  513.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement