Messi33536086

Untitled

Jul 23rd, 2025
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.06 KB | None | 0 0
  1. local WindUI = loadstring(game:HttpGet("https://github.com/Footagesus/WindUI/releases/latest/download/main.lua"))()
  2.  
  3. -- Create the window with the new theme
  4. local Window = WindUI:CreateWindow({
  5. Title = "F6 | Hub",
  6. Icon = "star",
  7. Author = "F6 | Author",
  8. Folder = "F6Hub",
  9. Size = UDim2.fromScale(0.95, 0.85),
  10. Transparent = false,
  11. Theme = "Dark", -- Explicitly set the theme
  12. Resizable = true,
  13. SideBarWidth = 200,
  14. Background = "rbxassetid://114215709259365",
  15. BackgroundImageTransparency = 0,
  16. HideSearchBar = false,
  17. ScrollBarEnabled = true,
  18. User = {
  19. Enabled = false,
  20. Anonymous = false,
  21. Callback = function()
  22. print("clicked")
  23. end,
  24. },
  25. })
  26.  
  27. Window:EditOpenButton({
  28. Title = "F6 | Hub",
  29. Icon = "star",
  30. CornerRadius = UDim.new(0, 16),
  31. StrokeThickness = 2,
  32. Color = ColorSequence.new(
  33. Color3.fromHex("ADD8E6"),
  34. Color3.fromHex("6A0DAD")
  35. ),
  36. OnlyMobile = false,
  37. Enabled = true,
  38. Draggable = true,
  39. })
  40.  
  41. -- Add tabs
  42. local AutoFarms = Window:Tab({
  43. Title = "اشياء اوتوماتيك",
  44. Icon = "house",
  45. Locked = false,
  46. })
  47.  
  48. local Seed = Window:Tab({
  49. Title = "بذور",
  50. Icon = "apple",
  51. Locked = false,
  52. })
  53.  
  54. local Gear = Window:Tab({
  55. Title = "ادوات الزراعة",
  56. Icon = "hammer",
  57. Locked = false,
  58. })
  59.  
  60. local ZenEvent = Window:Tab({
  61. Title = "الحدث",
  62. Icon = "brick-wall-fire",
  63. Locked = false,
  64. })
  65.  
  66. local Egg = Window:Tab({
  67. Title = "حيوانات الليفة",
  68. Icon = "dog",
  69. Locked = false,
  70. })
  71.  
  72. local Teleport = Window:Tab({
  73. Title = "تنقل",
  74. Icon = "map-pin-house",
  75. Locked = false,
  76. })
  77.  
  78. local Player = Window:Tab({
  79. Title = "الاعب",
  80. Icon = "person-standing",
  81. Locked = false,
  82. })
  83.  
  84. -- AutoFarms Tab
  85. AutoFarms:Button({
  86. Title = "بيع كل الحقيبة",
  87. Desc = "يبيع لك كل الفواكهة الي في الحقيبة",
  88. Locked = false,
  89. Callback = function()
  90. local event = game:GetService("ReplicatedStorage").GameEvents.Sell_Inventory
  91. local player = game.Players.LocalPlayer.Character
  92. player:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(87, 3, 0)
  93. wait(0.3)
  94. event:FireServer()
  95. end
  96. })
  97.  
  98. local AutoSell = false
  99. local AutoSellFruit = AutoFarms:Toggle({
  100. Title = "بيع كل الحقيبة تلقائي",
  101. Desc = "يبيع لك كل الحقيبة كل شوية",
  102. Icon = "",
  103. Type = "Toggle",
  104. Default = false,
  105. Callback = function(state)
  106. AutoSell = state
  107. if AutoSell then
  108. while AutoSell do
  109. wait(.3)
  110. local event = game:GetService("ReplicatedStorage").GameEvents.Sell_Inventory
  111. local player = game.Players.LocalPlayer.Character
  112. player:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(87, 3, 0)
  113. wait(0.3)
  114. event:FireServer()
  115. end
  116. end
  117. end
  118. })
  119. local HarvestAuraToggle = false
  120.  
  121. local HarvestAura = AutoFarms:Toggle({
  122. Title = "جمع كل المحاصيل القريبة منك",
  123. Desc = "يجمع كل المحاصيل القريبة منك",
  124. Icon = "",
  125. Type = "Toggle",
  126. Default = false,
  127. Callback = function(state)
  128. HarvestAuraToggle = state
  129.  
  130. if HarvestAuraToggle then
  131. if not game:IsLoaded() then
  132. game.Loaded:Wait()
  133. end
  134.  
  135. -- الخدمات
  136. local Players = game:GetService("Players")
  137. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  138. local Workspace = game:GetService("Workspace")
  139.  
  140. local localPlayer = Players.LocalPlayer
  141. local Backpack = localPlayer:WaitForChild("Backpack")
  142. local Character = localPlayer.Character or localPlayer.CharacterAdded:Wait()
  143. local HumanoidRootPart = Character:WaitForChild("HumanoidRootPart")
  144. local plant_physical = nil
  145.  
  146. -- البحث عن المزرعة
  147. local farms = Workspace:FindFirstChild("Farm")
  148. for _, v in farms:GetDescendants() do
  149. if v.Name == "Owner" and v.Value == localPlayer.Name then
  150. local plot = v.Parent.Parent
  151. plant_physical = plot:FindFirstChild("Plants_Physical")
  152. break
  153. end
  154. end
  155.  
  156. if not plant_physical then
  157. return localPlayer:Kick("❌ لم يتم العثور على مجلد النباتات (Plants_Physical)!")
  158. end
  159.  
  160. local harvest_delay = 0.1
  161. local min_weight = 0.1
  162.  
  163. local function is_full()
  164. return #Backpack:GetChildren() > 200
  165. end
  166.  
  167. -- الدالة الرئيسية
  168. task.spawn(function()
  169. while HarvestAuraToggle do
  170. if not is_full() then
  171. for _, v in plant_physical:GetDescendants() do
  172. if v:IsA("ProximityPrompt") and v.Parent and v.Parent.Parent:FindFirstChild("Weight") and v.Parent.Parent:FindFirstChild("Variant") then
  173. local plant = v.Parent.Parent
  174. local weight = plant.Weight.Value
  175. local distance = (plant:GetPivot().Position - Character:GetPivot().Position).Magnitude
  176.  
  177. if weight >= tonumber(min_weight) and distance < v.MaxActivationDistance * 2 then
  178. fireproximityprompt(v)
  179. task.wait(harvest_delay)
  180. end
  181. end
  182. end
  183. end
  184. task.wait()
  185. end
  186. end)
  187. end
  188. end
  189. })
  190.  
  191. local AutoPlantToggle = false
  192. local autoPlantConnection
  193.  
  194. local AutoPlant = AutoFarms:Toggle({
  195. Title = "زراعة تلقائى",
  196. Desc = "يزرع لك في المكان الي انت واقف فيه",
  197. Icon = "",
  198. Type = "Toggle",
  199. Default = false,
  200. Callback = function(state)
  201. AutoPlantToggle = state
  202.  
  203. if AutoPlantToggle then
  204. if not game:IsLoaded() then
  205. game.Loaded:Wait()
  206. end
  207.  
  208. local Players = game:GetService("Players")
  209. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  210.  
  211. local localPlayer = Players.LocalPlayer
  212. local backpack = localPlayer:WaitForChild("Backpack")
  213.  
  214. local item_types = {
  215. Seed = "n"
  216. }
  217.  
  218. local inventory_enums = {
  219. ITEM_TYPE = "b"
  220. }
  221.  
  222. local plant_seed_method = "Player Position"
  223. local selected_position_plant = nil
  224. local plant_delay = 0.25
  225.  
  226. function get_tool()
  227. return localPlayer.Character and localPlayer.Character:FindFirstChildOfClass("Tool")
  228. end
  229.  
  230. autoPlantConnection = task.spawn(function()
  231. while AutoPlantToggle do
  232. for _, tool in ipairs(backpack:GetChildren()) do
  233. if tool:IsA("Tool") and tool:GetAttribute(inventory_enums.ITEM_TYPE) == item_types.Seed then
  234. localPlayer.Character.Humanoid:EquipTool(tool)
  235. task.wait(0.1)
  236.  
  237. local equipped = get_tool()
  238. if equipped and equipped:GetAttribute("Seed") and equipped:GetAttribute("Quantity") then
  239. for i = 1, equipped:GetAttribute("Quantity") do
  240. local position
  241.  
  242. if plant_seed_method == "Player Position" then
  243. position = localPlayer.Character:GetPivot().Position
  244. elseif plant_seed_method == "Selected Position" and selected_position_plant then
  245. position = selected_position_plant
  246. else
  247. warn("No position selected for planting.")
  248. break
  249. end
  250.  
  251. ReplicatedStorage:WaitForChild("GameEvents"):WaitForChild("Plant_RE"):FireServer(position, equipped:GetAttribute("Seed"))
  252. task.wait(plant_delay)
  253. end
  254. end
  255. end
  256. end
  257. task.wait()
  258. end
  259. end)
  260.  
  261. else
  262. -- إيقاف الزرع التلقائي
  263. AutoPlantToggle = false
  264. end
  265. end
  266. })
  267.  
  268.  
  269. -- Seed Tab
  270. Seed:Button({
  271. Title = "فتح متجر البذور",
  272. Desc = "يفتح لك متجر البذور وين م كنت",
  273. Locked = false,
  274. Callback = function()
  275. local path = workspace.NPCS.Sam.HumanoidRootPart.ProximityPrompt
  276. fireproximityprompt(path)
  277. end
  278. })
  279.  
  280. local BuySeedDropDown = Seed:Dropdown({
  281. Title = "شراء بذور",
  282. Values = { "Carrot", "Strawberry", "Blueberry", "Orange Tulip", "Tomato", "Corn", "Daffodil", "Watermelon", "Pumpkin", "Apple", "Bamboo", "Coconut", "Cactus", "Dragon Fruit", "Mango", "Grape", "Mushroom", "Pepper", "Cacao", "Beanstalk", "Ember Lily", "Sugar Apple", "Burning Bud", "Giant Pinecone"},
  283. Default = { "Carrot" },
  284. Callback = function(option)
  285. local args = {option}
  286. game:GetService("ReplicatedStorage"):WaitForChild("GameEvents"):WaitForChild("BuySeedStock"):FireServer(unpack(args))
  287. end
  288. })
  289.  
  290. -- Gear Tab
  291. local BuyGear = Gear:Dropdown({
  292. Title = "شراء اداه",
  293. Values = { "Watering Can", "Trowel", "Recall Wrench", "Basic Sprinkler", "Advanced Sprinkler", "Medium Toy", "Medium Treat", "Godly Sprinkler", "Magnifying Glass", "Tanning Mirror", "Master Sprinkler", "Cleaning Spray", "Favorite Tool", "Harvest Tool", "Friendship Pot", "Levelup Lollipop"},
  294. Default = { "Carrot" },
  295. Callback = function(tooo)
  296. local args = {tooo}
  297. game:GetService("ReplicatedStorage"):WaitForChild("GameEvents"):WaitForChild("BuyGearStock"):FireServer(unpack(args))
  298. end
  299. })
  300.  
  301. -- Egg Tab
  302. local BuyEgg = Egg:Dropdown({
  303. Title = "شراء بيض",
  304. Values = { "Common Egg", "Common Summer Egg", "Rare Summer Egg", "Mythical Egg", "Paradise Egg", "Bug Egg"},
  305. Default = { "Carrot" },
  306. Callback = function(egg)
  307. local args = {egg}
  308. game:GetService("ReplicatedStorage"):WaitForChild("GameEvents"):WaitForChild("BuyPetEgg"):FireServer(unpack(args))
  309. end
  310. })
  311.  
  312.  
  313. -- Teleport Tab
  314. Teleport:Button({
  315. Title = "تنقل لمكان بيع الفواكهة",
  316. Desc = "ينقلك لمكان بيع الفواكهه",
  317. Locked = false,
  318. Callback = function()
  319. local player = game.Players.LocalPlayer.Character
  320. player:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(87, 3, 0)
  321. end
  322. })
  323.  
  324. Teleport:Button({
  325. Title = "تنقل الى محل البذور",
  326. Desc = "ينقلك لمكان شراء البذور",
  327. Locked = false,
  328. Callback = function()
  329. local player = game.Players.LocalPlayer.Character
  330. player:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(87, 3, -27)
  331. end
  332. })
  333.  
  334. Teleport:Button({
  335. Title = "تنقل الى محل الادوات",
  336. Desc = "ينقلك لمكان شراء الادوات",
  337. Locked = false,
  338. Callback = function()
  339. local player = game.Players.LocalPlayer.Character
  340. player:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(-285, 3, -14)
  341. end
  342. })
  343.  
  344. Teleport:Button({
  345. Title = "تنقل الى محل البيض",
  346. Desc = "ينقلك لمكان شراء بيض حيوانات الليفة",
  347. Locked = false,
  348. Callback = function()
  349. local player = game.Players.LocalPlayer.Character
  350. player:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(-288, 3, -1)
  351. end
  352. })
  353.  
  354. Teleport:Button({
  355. Title = "تنقل الى الحدث",
  356. Desc = "ينقلك لمكان الحدث",
  357. Locked = false,
  358. Callback = function()
  359. local player = game.Players.LocalPlayer.Character
  360. player:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(-94, 4, -10)
  361. end
  362. })
  363.  
  364. -- Player Tab
  365. local PlayerSpeed = Player:Slider({
  366. Title = "السرعة",
  367. Step = 1,
  368. Value = {
  369. Min = 16,
  370. Max = 200,
  371. Default = 16,
  372. },
  373. Callback = function(value)
  374. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = value
  375. end
  376. })
  377.  
  378. local PlayerJump = Player:Slider({
  379. Title = "النط",
  380. Step = 1,
  381. Value = {
  382. Min = 50,
  383. Max = 200,
  384. Default = 50,
  385. },
  386. Callback = function(value)
  387. game.Players.LocalPlayer.Character.Humanoid.JumpPower = value
  388. end
  389. })
  390.  
  391. -- ZenEvent Tab
  392. ZenEvent:Button({
  393. Title = "اعطاء كل الفواكهة للحدث",
  394. Desc = "لازم الفاكهة تكون بامبو او فيها تطويره الحدث الجديده",
  395. Locked = false,
  396. Callback = function()
  397. local args = {"SubmitAllPlants"}
  398. game:GetService("ReplicatedStorage"):WaitForChild("GameEvents"):WaitForChild("ZenQuestRemoteEvent"):FireServer(unpack(args))
  399. end
  400. })
  401.  
  402. ZenEvent:Button({
  403. Title = "اعطاء كل الفاكهة للحدث",
  404. Desc = "لازم الفاكهة تكون بامبو او فيها تطويره الحدث الجديده",
  405. Locked = false,
  406. Callback = function()
  407. local args = {"SubmitHeldPlant"}
  408. game:GetService("ReplicatedStorage"):WaitForChild("GameEvents"):WaitForChild("ZenQuestRemoteEvent"):FireServer(unpack(args))
  409. end
  410. })
  411.  
  412. local BuyEvent = ZenEvent:Dropdown({
  413. Title = "شراء من متجر الحدث",
  414. Values = {"Zen Seed Pack", "Zen Egg", "Hot Spring", "Zen Sand", "Tranquil Radar", "Zenflare", "Zen Crate", "Soft Sunshine", "Koi", "Zen Gnome Crate", "Spiked Mango", "Pet Shard Tranquil"},
  415. Default = { "Carrot" },
  416. Callback = function(zen)
  417. local args = {zen}
  418. game:GetService("ReplicatedStorage"):WaitForChild("GameEvents"):WaitForChild("BuyEventShopStock"):FireServer(unpack(args))
  419. end
  420. })
  421.  
  422. ZenEvent:Button({
  423. Title = "اعطاء الفاكهة لمتجر الحدث",
  424. Desc = "لازم الفاكهة تكون بامبو او فيها تطويره الحدث الجديده",
  425. Locked = false,
  426. Callback = function()
  427. local args = {"SubmitHeldPlant"}
  428. game:GetService("ReplicatedStorage"):WaitForChild("GameEvents"):WaitForChild("ZenAuraRemoteEvent"):FireServer(unpack(args))
  429. end
  430. })
  431.  
  432. ZenEvent:Button({
  433. Title = "اعطاء كل الفاكهة لمتجر الحدث",
  434. Desc = "لازم الفاكهة تكون بامبو او فيها تطويره الحدث الجديده",
  435. Locked = false,
  436. Callback = function()
  437. local args = {"SubmitAllPlants"}
  438. game:GetService("ReplicatedStorage"):WaitForChild("GameEvents"):WaitForChild("ZenAuraRemoteEvent"):FireServer(unpack(args))
  439. end
  440. })
Advertisement
Add Comment
Please, Sign In to add comment