Advertisement
Peerapat_PKY

LogDesKey

Oct 11th, 2023 (edited)
49,548
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.50 KB | None | 0 0
  1. print("Load Hook")
  2. repeat wait(1) until game:IsLoaded()
  3. if not game:IsLoaded() then
  4. game.Loaded:Wait()
  5. end
  6.  
  7. _G.Port = "7963"
  8. _G.Dely = 180
  9.  
  10. if _G.Port == "" then
  11. game.Players.LocalPlayer:Kick("Port Server empty..")
  12. end
  13. if _G.Dely == nil then
  14. _G.Dely = 180
  15. end
  16.  
  17. _G.Name = game.Players.LocalPlayer.Name
  18.  
  19. local numbers = {}
  20. local Sword = {}
  21. local Gun = {}
  22. local Fruit = {}
  23. local RacV4 = {}
  24.  
  25. local Log_Sword = {}
  26. local Log_FightingStyle = {}
  27. local Log_Fruit = {}
  28. local Log_RacV4 = {}
  29. local Log_Money = {}
  30. local Log_RacCheck = {}
  31.  
  32. local placeId = game.PlaceId
  33. Magnet = bring
  34. if placeId == 2753915549 then
  35. _G.World = "W1"
  36. elseif placeId == 4442272183 then
  37. _G.World = "W2"
  38. elseif placeId == 7449423635 then
  39. _G.World = "W3"
  40. end
  41. if Masteryfruit == nil then
  42. Masteryfruit = "unknow"
  43. end
  44. if CountAwaken == nil then
  45. CountAwaken = "unknow"
  46. end
  47. if _G.Sword_ToolTip == nil then
  48. _G.Sword_ToolTip = ""
  49. end
  50. if game:GetService("Players").LocalPlayer.Data.DevilFruit.Value == "" then
  51. _G.fruit = "unknow"
  52. end
  53. function comma_value(amount)
  54. local formatted = amount
  55. while true do
  56. formatted, k = string.gsub(formatted, "^(-?%d+)(%d%d%d)", '%1,%2')
  57. if (k==0) then
  58. break
  59. end
  60. end
  61. return formatted
  62. end
  63. function concat(ta)
  64. return table.concat(ta," ")
  65. end
  66. local function CheckFightingStyle(...)
  67. local ResponeData;
  68. if #{...} > 1 then
  69. ResponeData = game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(...)
  70. else
  71. ResponeData = game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(...,true)
  72. end
  73. if ResponeData == 1 or ResponeData == 2 then
  74. return true
  75. end
  76. return false
  77. end
  78. function SetDescription_RamTool(Url,Content)
  79. local Request = (syn and syn.request) or request or (http and http.request) or http_request
  80. local Response = Request({
  81. Url = Url,
  82. Method = "POST",
  83. Body = Content
  84. })
  85. end
  86. function checK_fruit(name)
  87. if table.find(Fruit,tostring(name)) then
  88. table.insert(Log_Fruit,tostring(name))
  89. else
  90. table.insert(Log_Fruit,tostring("-"))
  91. end
  92. end
  93. getgenv().Material = function()
  94. Mat_Make = {}
  95. for i, v in pairs(game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer("getInventory")) do
  96. if v.Type == "Material" then
  97. if string.find(v.Name,"Dark Fragment") then
  98. Amount = v.Count
  99. table.insert(Mat_Make,"Dark Fragment"..tostring(Amount))
  100. end
  101. end
  102. end
  103. if #Mat_Make >= 1 then
  104. return "["..concat(Mat_Make,'').."]"
  105. end
  106. return ''
  107. end
  108.  
  109. spawn(function()
  110. pcall(function()
  111. while true do
  112. _G.level = comma_value(game:GetService("Players").LocalPlayer.Data.Level.Value)
  113. _G.fruit = game:GetService("Players").LocalPlayer.Data.DevilFruit.Value
  114. for _, v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  115. if v.ClassName == "Tool" then
  116. _G.Melee = v.Name
  117. else
  118. for i,v in pairs(game:GetService("Players").LocalPlayer.Backpack:GetChildren()) do
  119. if v.ToolTip == 'Melee' then
  120. _G.Melee = v.Name
  121. end
  122. end
  123. end
  124. end
  125. if game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer("AwakeningChanger", "Check") then
  126. for i,v in pairs(game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer("getAwakenedAbilities")) do
  127. if v["Key"] then
  128. if v["Awakened"] then
  129. if i ~= "X" then
  130. table.insert(numbers,v["Key"])
  131. else
  132. table.insert(numbers,v["Key"])
  133. end
  134. end
  135. end
  136. end
  137. CountAwaken = #numbers
  138. end
  139. if game.Players.LocalPlayer.Character:FindFirstChild(tostring(_G.fruit)) and _G.fruit ~= nil then
  140. for _, v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  141. if v.Name == _G.fruit then
  142. if v.ClassName == "Tool" then
  143. Masteryfruit = game.Players.LocalPlayer.Character[tostring(_G.fruit)].Level.Value
  144. end
  145. end
  146. end
  147. else
  148. for i,v in pairs(game:GetService("Players").LocalPlayer.Backpack:GetChildren()) do
  149. if v.Name == _G.fruit then
  150. Masteryfruit = game.Players.LocalPlayer.Backpack[tostring(_G.fruit)].Level.Value
  151. end
  152. end
  153. end
  154. local args = {
  155. [1] = "getInventoryWeapons"
  156. }
  157. inventory = game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  158. for i,v in pairs(inventory) do
  159. if v.Type == "Sword" then
  160. table.insert(Sword,v.Name)
  161. end
  162. end
  163. local args = {
  164. [1] = "getInventoryFruits"
  165. }
  166. __FR = game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  167. for i, v in pairs(__FR) do
  168. --rconsoleprint(v.Name.."\n")
  169. table.insert(Fruit,v.Name)
  170. end
  171.  
  172. --[[ if table.find(Sword,"Yama") then
  173. table.insert(Log_Sword,"YA")
  174. end ]]
  175. --[[ if table.find(Sword,"Hallow Scythe") then
  176. table.insert(Log_Sword,"HS")
  177. end ]]
  178. --[[ if table.find(Sword,"Tushita") then
  179. table.insert(Log_Sword,"TU")
  180. end ]]
  181. --[[ if table.find(Sword,"Dark Dagger") then
  182. table.insert(Log_Sword,"DDG")
  183. end ]]
  184. if table.find(Sword,"Cursed Dual Katana") then
  185. table.insert(Log_Sword,"CDK")
  186. else
  187. table.insert(Log_Sword,"-")
  188. end
  189. --[[ if table.find(Sword,"True Triple Katana") then
  190. table.insert(Log_Sword,"3TK")
  191. end
  192. if table.find(Sword,"Spikey Trident") then
  193. table.insert(Log_Sword,"ST")
  194. end ]]
  195. if table.find(Sword,"Shark Anchor") then
  196. table.insert(Log_Sword,"SA")
  197. end
  198. if CheckFightingStyle("BuySanguineArt") then
  199. table.insert(Log_FightingStyle,"SR")
  200. end
  201. if CheckFightingStyle("BuyGodhuman") then
  202. table.insert(Log_FightingStyle,"G")
  203. end
  204. if CheckFightingStyle("BuyDragonTalon") then
  205. table.insert(Log_FightingStyle,"D")
  206. end
  207. if CheckFightingStyle("BuyElectricClaw") then
  208. table.insert(Log_FightingStyle,"E")
  209. end
  210. if CheckFightingStyle("BuySharkmanKarate") then
  211. table.insert(Log_FightingStyle,"S")
  212. end
  213. if CheckFightingStyle("BuyDeathStep") then
  214. table.insert(Log_FightingStyle,"B")
  215. end
  216. getgenv().Race_Awaken = function()
  217. plr = game.Players.LocalPlayer
  218. race = game:GetService("Players").LocalPlayer.Data.Race.Value
  219. p1 = game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer("Alchemist","1")
  220. p2 = game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer("Wenlocktoad","1")
  221. ab = game.Players.LocalPlayer.Backpack:FindFirstChild("Awakening") or game.Players.LocalPlayer.Character:FindFirstChild("Awakening")
  222. Gear, Tiers = game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer("UpgradeRace", "Check")
  223. if Tiers ~= nil or type(Tiers) == number then
  224. a = Tiers
  225. else
  226. a = ''
  227. end
  228. if p1 ==-2 and p2 ~=-2 and tostring(p2) ~= "nil" then
  229. return race..' (2)'
  230. elseif p2 ==-2 and p2 ~= nil and not ab then
  231. return race..' (3)'
  232. elseif ab then
  233. return race..' (T'..a..')'
  234. else
  235. return race
  236. end
  237. end
  238. for _, v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  239. --[[ if v.Name == "Yama" then
  240. _G.Sword_ToolTip = "YA "
  241. end
  242. if v.Name == "Hallow Scythe" then
  243. _G.Sword_ToolTip = "HS "
  244. end
  245. if v.Name == "Tushita" then
  246. _G.Sword_ToolTip = "TU "
  247. end
  248. if v.Name == "Dark Dagger" then
  249. _G.Sword_ToolTip = "DDG "
  250. end ]]
  251. if v.Name == "Cursed Dual Katana" then
  252. _G.Sword_ToolTip = "CDK "
  253. end
  254. --[[ if v.Name == "True Triple Katana" then
  255. _G.Sword_ToolTip = "3TK "
  256. end
  257. if v.Name == "Spikey Trident" then
  258. _G.Sword_ToolTip = "TS "
  259. end ]]
  260. if v.Name == "Shark Anchor" then
  261. _G.Sword_ToolTip = "SA "
  262. end
  263. end
  264. for i,v in pairs(game:GetService("Players").LocalPlayer.Backpack:GetChildren()) do
  265. --[[ if v.Name == "Yama" then
  266. _G.Sword_ToolTip = "YA "
  267. end
  268. if v.Name == "Hallow Scythe" then
  269. _G.Sword_ToolTip = "HS "
  270. end
  271. if v.Name == "Tushita" then
  272. _G.Sword_ToolTip = "TU "
  273. end ]]
  274. --[[ if v.Name == "Dark Dagger" then
  275. _G.Sword_ToolTip = "DDG "
  276. end ]]
  277. if v.Name == "Cursed Dual Katana" then
  278. _G.Sword_ToolTip = "CDK "
  279. end
  280. --[[ if v.Name == "True Triple Katana" then
  281. _G.Sword_ToolTip = "3TK "
  282. end ]]
  283. --[[ if v.Name == "Spikey Trident" then
  284. _G.Sword_ToolTip = "TS "
  285. end ]]
  286. if v.Name == "Shark Anchor" then
  287. _G.Sword_ToolTip = "SA "
  288. end
  289. end
  290. local args = {
  291. [1] = "getInventoryWeapons"
  292. }
  293. inventory2 = game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  294. for i,v in pairs(inventory2) do
  295. if v.Type == "Gun" then
  296. table.insert(Gun,v.Name)
  297. end
  298. end
  299.  
  300. if table.find(Gun,"Soul Guitar") then
  301. table.insert(Log_Sword,"Gu")
  302. end
  303. for _, v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  304. if v.Name == "Soul Guitar" then
  305. _G.Sword_ToolTip = "Gu"
  306. end
  307. end
  308. for i,v in pairs(game:GetService("Players").LocalPlayer.Backpack:GetChildren()) do
  309. if v.Name == "Soul Guitar" then
  310. _G.Sword_ToolTip = "Gu "
  311. end
  312. end
  313. ----------------------------------------------------------------------------------------
  314. local args = {
  315. [1] = "getInventory"
  316. }
  317. inventory5 = game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  318. for i,v in pairs(inventory5) do
  319. if v.Type == "Wear" then
  320. table.insert(RacV4,v.Name)
  321. end
  322. end
  323. if table.find(RacV4,"Valkyrie Helm") then
  324. table.insert(Log_RacV4,"VR")
  325. else
  326. table.insert(Log_RacV4,"-")
  327. end
  328. --[[ if table.find(RacV4,"Dark Coat") then
  329. table.insert(Log_RacV4,"DC")
  330. end ]]
  331. for i,v in pairs(inventory5) do
  332. if v.Type == "Material" then
  333. table.insert(RacV4,v.Name)
  334. end
  335. end
  336. if table.find(RacV4,"Mirror Fractal") then
  337. table.insert(Log_RacV4,"MR")
  338. end
  339. if game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer("CheckTempleDoor") then
  340. table.insert(Log_RacV4,"PL")
  341. end
  342. -- local raceValue = game:GetService("Players").LocalPlayer.Data.Race.Value
  343. table.insert(Log_RacCheck,getgenv().Race_Awaken())
  344. local beli = comma_value(game:GetService("Players").LocalPlayer.Data.Beli.Value)
  345. table.insert(Log_Money,'B:'..beli..']')
  346. local fagment = comma_value(game:GetService("Players").LocalPlayer.Data.Fragments.Value)
  347. table.insert(Log_Money,'[F:'..fagment)
  348. ----------------------------------------------------------------------------------------
  349. checK_fruit("Leopard-Leopard")
  350. checK_fruit("Dragon-Dragon")
  351. checK_fruit("Dough-Dough")
  352. checK_fruit("Mammoth-Mammoth")
  353. checK_fruit("Kitsune-Kitsune")
  354. checK_fruit("T-Rex-T-Rex")
  355.  
  356. SetDescription_RamTool('http://localhost:'.._G.Port..'/SetDescription?Account='.._G.Name..'','['..tostring(concat(Log_FightingStyle))..']'..'['.._G.Sword_ToolTip..tostring(concat(Log_Sword))..']'..'['..tostring(concat(Log_RacV4))..']'..'['..tostring(_G.fruit)..' Mas.'..tostring(Masteryfruit)..' Aw. '..tostring(CountAwaken)..']'..'['..tostring(concat(Log_Money))..']'..'['..tostring(concat(Log_RacCheck))..']'..'['..tostring(concat(Log_Fruit))..']'..tostring(getgenv().Material()))
  357. SetDescription_RamTool('http://localhost:'.._G.Port..'/SetAlias?Account='.._G.Name..'','['.._G.level.._G.World..']')
  358.  
  359. print("Loaded")
  360.  
  361. table.clear(numbers)
  362. table.clear(Sword)
  363. table.clear(Fruit)
  364. table.clear(Log_Sword)
  365. table.clear(Log_FightingStyle)
  366. table.clear(Log_Fruit)
  367. table.clear(Log_RacV4)
  368. table.clear(Log_Money)
  369. table.clear(Log_RacCheck)
  370. wait(_G.Dely)
  371. end
  372. end)
  373. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement