Advertisement
Peerapat_PKY

des KI

Mar 28th, 2024 (edited)
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.14 KB | None | 0 0
  1. print("Load Hook")
  2. repeat wait(90) until game:IsLoaded()
  3. if not game:IsLoaded() then
  4. game.Loaded:Wait()
  5. end
  6.  
  7. _G.Port = "7963"
  8. _G.Dely = 600
  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 = 600
  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. end
  90. end
  91. getgenv().Material = function()
  92. Mat_Make = {}
  93. for i, v in pairs(game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer("getInventory")) do
  94. if v.Type == "Material" then
  95. if string.find(v.Name,"Dark Fragment") then
  96. Amount = v.Count
  97. table.insert(Mat_Make,"Dark Fragment")
  98. end
  99. end
  100. end
  101. if #Mat_Make >= 1 then
  102. return "["..concat(Mat_Make,'').."]"
  103. end
  104. return ''
  105. end
  106.  
  107. spawn(function()
  108. pcall(function()
  109. while true do
  110. _G.level = comma_value(game:GetService("Players").LocalPlayer.Data.Level.Value)
  111. _G.fruit = game:GetService("Players").LocalPlayer.Data.DevilFruit.Value
  112. for _, v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  113. if v.ClassName == "Tool" then
  114. _G.Melee = v.Name
  115. else
  116. for i,v in pairs(game:GetService("Players").LocalPlayer.Backpack:GetChildren()) do
  117. if v.ToolTip == 'Melee' then
  118. _G.Melee = v.Name
  119. end
  120. end
  121. end
  122. end
  123. if game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer("AwakeningChanger", "Check") then
  124. for i,v in pairs(game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer("getAwakenedAbilities")) do
  125. if v["Key"] then
  126. if v["Awakened"] then
  127. if i ~= "X" then
  128. table.insert(numbers,v["Key"])
  129. else
  130. table.insert(numbers,v["Key"])
  131. end
  132. end
  133. end
  134. end
  135. CountAwaken = #numbers
  136. end
  137. if game.Players.LocalPlayer.Character:FindFirstChild(tostring(_G.fruit)) and _G.fruit ~= nil then
  138. for _, v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  139. if v.Name == _G.fruit then
  140. if v.ClassName == "Tool" then
  141. Masteryfruit = game.Players.LocalPlayer.Character[tostring(_G.fruit)].Level.Value
  142. end
  143. end
  144. end
  145. else
  146. for i,v in pairs(game:GetService("Players").LocalPlayer.Backpack:GetChildren()) do
  147. if v.Name == _G.fruit then
  148. Masteryfruit = game.Players.LocalPlayer.Backpack[tostring(_G.fruit)].Level.Value
  149. end
  150. end
  151. end
  152. local args = {
  153. [1] = "getInventoryWeapons"
  154. }
  155. inventory = game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  156. for i,v in pairs(inventory) do
  157. if v.Type == "Sword" then
  158. table.insert(Sword,v.Name)
  159. end
  160. end
  161. local args = {
  162. [1] = "getInventoryFruits"
  163. }
  164. __FR = game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  165. for i, v in pairs(__FR) do
  166. --rconsoleprint(v.Name.."\n")
  167. table.insert(Fruit,v.Name)
  168. end
  169.  
  170. if table.find(Sword,"Yama") then
  171. table.insert(Log_Sword,"YA")
  172. end
  173. if table.find(Sword,"Hallow Scythe") then
  174. table.insert(Log_Sword,"HS")
  175. end
  176. if table.find(Sword,"Tushita") then
  177. table.insert(Log_Sword,"TU")
  178. end
  179. if table.find(Sword,"Dark Dagger") then
  180. table.insert(Log_Sword,"DDG")
  181. end
  182. if table.find(Sword,"Cursed Dual Katana") then
  183. table.insert(Log_Sword,"CTK")
  184. end
  185. if table.find(Sword,"True Triple Katana") then
  186. table.insert(Log_Sword,"3TK")
  187. end
  188. if table.find(Sword,"Spikey Trident") then
  189. table.insert(Log_Sword,"ST")
  190. end
  191. if table.find(Sword,"Shark Anchor") then
  192. table.insert(Log_Sword,"SH")
  193. end
  194. if CheckFightingStyle("BuyGodhuman") then
  195. table.insert(Log_FightingStyle,"G")
  196. end
  197. if CheckFightingStyle("BuyDragonTalon") then
  198. table.insert(Log_FightingStyle,"D")
  199. end
  200. if CheckFightingStyle("BuyElectricClaw") then
  201. table.insert(Log_FightingStyle,"E")
  202. end
  203. if CheckFightingStyle("BuySharkmanKarate") then
  204. table.insert(Log_FightingStyle,"S")
  205. end
  206. if CheckFightingStyle("BuyDeathStep") then
  207. table.insert(Log_FightingStyle,"B")
  208. end
  209. getgenv().Race_Awaken = function()
  210. plr = game.Players.LocalPlayer
  211. race = game:GetService("Players").LocalPlayer.Data.Race.Value
  212. p1 = game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer("Alchemist","1")
  213. p2 = game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer("Wenlocktoad","1")
  214. ab = game.Players.LocalPlayer.Backpack:FindFirstChild("Awakening") or game.Players.LocalPlayer.Character:FindFirstChild("Awakening")
  215. Gear, Tiers = game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer("UpgradeRace", "Check")
  216. if Tiers ~= nil or type(Tiers) == number then
  217. a = Tiers
  218. else
  219. a = ''
  220. end
  221. if p1 ==-2 and p2 ~=-2 and tostring(p2) ~= "nil" then
  222. return race..' (2)'
  223. elseif p2 ==-2 and p2 ~= nil and not ab then
  224. return race..' (3)'
  225. elseif ab then
  226. return race..' (T'..a..')'
  227. else
  228. return race
  229. end
  230. end
  231. for _, v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  232. if v.Name == "Yama" then
  233. _G.Sword_ToolTip = "YA "
  234. end
  235. if v.Name == "Hallow Scythe" then
  236. _G.Sword_ToolTip = "HS "
  237. end
  238. if v.Name == "Tushita" then
  239. _G.Sword_ToolTip = "TU "
  240. end
  241. if v.Name == "Dark Dagger" then
  242. _G.Sword_ToolTip = "DDG "
  243. end
  244. if v.Name == "Cursed Dual Katana" then
  245. _G.Sword_ToolTip = "CTK "
  246. end
  247. if v.Name == "True Triple Katana" then
  248. _G.Sword_ToolTip = "3TK "
  249. end
  250. if v.Name == "Spikey Trident" then
  251. _G.Sword_ToolTip = "TS "
  252. end
  253. if v.Name == "Shark Anchor" then
  254. _G.Sword_ToolTip = "SAH "
  255. end
  256. end
  257. for i,v in pairs(game:GetService("Players").LocalPlayer.Backpack:GetChildren()) do
  258. if v.Name == "Yama" then
  259. _G.Sword_ToolTip = "YA "
  260. end
  261. if v.Name == "Hallow Scythe" then
  262. _G.Sword_ToolTip = "HS "
  263. end
  264. if v.Name == "Tushita" then
  265. _G.Sword_ToolTip = "TU "
  266. end
  267. if v.Name == "Dark Dagger" then
  268. _G.Sword_ToolTip = "DDG "
  269. end
  270. if v.Name == "Cursed Dual Katana" then
  271. _G.Sword_ToolTip = "CTK "
  272. end
  273. if v.Name == "True Triple Katana" then
  274. _G.Sword_ToolTip = "3TK "
  275. end
  276. if v.Name == "Spikey Trident" then
  277. _G.Sword_ToolTip = "TS "
  278. end
  279. if v.Name == "Shark Anchor" then
  280. _G.Sword_ToolTip = "SAH "
  281. end
  282. end
  283. local args = {
  284. [1] = "getInventoryWeapons"
  285. }
  286. inventory2 = game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  287. for i,v in pairs(inventory2) do
  288. if v.Type == "Gun" then
  289. table.insert(Gun,v.Name)
  290. end
  291. end
  292.  
  293. if table.find(Gun,"Soul Guitar") then
  294. table.insert(Log_Sword,"Gu")
  295. end
  296. for _, v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  297. if v.Name == "Soul Guitar" then
  298. _G.Sword_ToolTip = "Gu"
  299. end
  300. end
  301. for i,v in pairs(game:GetService("Players").LocalPlayer.Backpack:GetChildren()) do
  302. if v.Name == "Soul Guitar" then
  303. _G.Sword_ToolTip = "Gu "
  304. end
  305. end
  306. ----------------------------------------------------------------------------------------
  307. local args = {
  308. [1] = "getInventory"
  309. }
  310. inventory5 = game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  311. for i,v in pairs(inventory5) do
  312. if v.Type == "Wear" then
  313. table.insert(RacV4,v.Name)
  314. end
  315. end
  316. if table.find(RacV4,"Valkyrie Helm") then
  317. table.insert(Log_RacV4,"VR")
  318. end
  319. if table.find(RacV4,"Dark Coat") then
  320. table.insert(Log_RacV4,"DC")
  321. end
  322. for i,v in pairs(inventory5) do
  323. if v.Type == "Material" then
  324. table.insert(RacV4,v.Name)
  325. end
  326. end
  327. if table.find(RacV4,"Mirror Fractal") then
  328. table.insert(Log_RacV4,"MR")
  329. end
  330. if game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer("CheckTempleDoor") then
  331. table.insert(Log_RacV4,"🕹")
  332. end
  333. -- local raceValue = game:GetService("Players").LocalPlayer.Data.Race.Value
  334. table.insert(Log_RacCheck,getgenv().Race_Awaken())
  335. local beli = comma_value(game:GetService("Players").LocalPlayer.Data.Beli.Value)
  336. table.insert(Log_Money,'B:'..beli..']')
  337. local fagment = comma_value(game:GetService("Players").LocalPlayer.Data.Fragments.Value)
  338. table.insert(Log_Money,'[F:'..fagment)
  339. ----------------------------------------------------------------------------------------
  340. checK_fruit("Leopard-Leopard")
  341. checK_fruit("Dragon-Dragon")
  342. checK_fruit("Dough-Dough")
  343. checK_fruit("Mammoth-Mammoth")
  344. checK_fruit("Kitsune-Kitsune")
  345. checK_fruit("T-Rex-T-Rex")
  346.  
  347. SetDescription_RamTool('http://localhost:'.._G.Port..'/SetDescription?Account='.._G.Name..'','['..tostring(concat(Log_RacV4))..']'..'['..tostring(concat(Log_FightingStyle))..']'..'['.._G.Sword_ToolTip..tostring(concat(Log_Sword))..']'..'['..tostring(_G.fruit)..' Mas.'..tostring(Masteryfruit)..' Aw. '..tostring(CountAwaken)..']'..'['..tostring(concat(Log_Money))..']'..'['..tostring(concat(Log_RacCheck))..']'..'['..tostring(concat(Log_Fruit))..']'..tostring(getgenv().Material()))
  348. SetDescription_RamTool('http://localhost:'.._G.Port..'/SetAlias?Account='.._G.Name..'','['.._G.level.._G.World..']')
  349.  
  350. print(tostring(CountAwaken))
  351. print("Loaded")
  352.  
  353. table.clear(numbers)
  354. table.clear(Sword)
  355. table.clear(Fruit)
  356. table.clear(Log_Sword)
  357. table.clear(Log_FightingStyle)
  358. table.clear(Log_Fruit)
  359. table.clear(Log_RacV4)
  360. table.clear(Log_Money)
  361. table.clear(Log_RacCheck)
  362. wait(_G.Dely)
  363. end
  364. end)
  365. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement