Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local WindUI = loadstring(game:HttpGet("https://github.com/Footagesus/WindUI/releases/latest/download/main.lua"))()
- -- Create the window with the new theme
- local Window = WindUI:CreateWindow({
- Title = "F6 | Hub",
- Icon = "star",
- Author = "F6 | Author",
- Folder = "F6Hub",
- Size = UDim2.fromScale(0.95, 0.85),
- Transparent = false,
- Theme = "Dark", -- Explicitly set the theme
- Resizable = true,
- SideBarWidth = 200,
- Background = "rbxassetid://114215709259365",
- BackgroundImageTransparency = 0,
- HideSearchBar = false,
- ScrollBarEnabled = true,
- User = {
- Enabled = false,
- Anonymous = false,
- Callback = function()
- print("clicked")
- end,
- },
- })
- Window:EditOpenButton({
- Title = "F6 | Hub",
- Icon = "star",
- CornerRadius = UDim.new(0, 16),
- StrokeThickness = 2,
- Color = ColorSequence.new(
- Color3.fromHex("ADD8E6"),
- Color3.fromHex("6A0DAD")
- ),
- OnlyMobile = false,
- Enabled = true,
- Draggable = true,
- })
- -- Add tabs
- local AutoFarms = Window:Tab({
- Title = "اشياء اوتوماتيك",
- Icon = "house",
- Locked = false,
- })
- local Seed = Window:Tab({
- Title = "بذور",
- Icon = "apple",
- Locked = false,
- })
- local Gear = Window:Tab({
- Title = "ادوات الزراعة",
- Icon = "hammer",
- Locked = false,
- })
- local ZenEvent = Window:Tab({
- Title = "الحدث",
- Icon = "brick-wall-fire",
- Locked = false,
- })
- local Egg = Window:Tab({
- Title = "حيوانات الليفة",
- Icon = "dog",
- Locked = false,
- })
- local Teleport = Window:Tab({
- Title = "تنقل",
- Icon = "map-pin-house",
- Locked = false,
- })
- local Player = Window:Tab({
- Title = "الاعب",
- Icon = "person-standing",
- Locked = false,
- })
- -- AutoFarms Tab
- AutoFarms:Button({
- Title = "بيع كل الحقيبة",
- Desc = "يبيع لك كل الفواكهة الي في الحقيبة",
- Locked = false,
- Callback = function()
- local event = game:GetService("ReplicatedStorage").GameEvents.Sell_Inventory
- local player = game.Players.LocalPlayer.Character
- player:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(87, 3, 0)
- wait(0.3)
- event:FireServer()
- end
- })
- local AutoSell = false
- local AutoSellFruit = AutoFarms:Toggle({
- Title = "بيع كل الحقيبة تلقائي",
- Desc = "يبيع لك كل الحقيبة كل شوية",
- Icon = "",
- Type = "Toggle",
- Default = false,
- Callback = function(state)
- AutoSell = state
- if AutoSell then
- while AutoSell do
- wait(.3)
- local event = game:GetService("ReplicatedStorage").GameEvents.Sell_Inventory
- local player = game.Players.LocalPlayer.Character
- player:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(87, 3, 0)
- wait(0.3)
- event:FireServer()
- end
- end
- end
- })
- local HarvestAuraToggle = false
- local HarvestAura = AutoFarms:Toggle({
- Title = "جمع كل المحاصيل القريبة منك",
- Desc = "يجمع كل المحاصيل القريبة منك",
- Icon = "",
- Type = "Toggle",
- Default = false,
- Callback = function(state)
- HarvestAuraToggle = state
- if HarvestAuraToggle then
- if not game:IsLoaded() then
- game.Loaded:Wait()
- end
- -- الخدمات
- local Players = game:GetService("Players")
- local ReplicatedStorage = game:GetService("ReplicatedStorage")
- local Workspace = game:GetService("Workspace")
- local localPlayer = Players.LocalPlayer
- local Backpack = localPlayer:WaitForChild("Backpack")
- local Character = localPlayer.Character or localPlayer.CharacterAdded:Wait()
- local HumanoidRootPart = Character:WaitForChild("HumanoidRootPart")
- local plant_physical = nil
- -- البحث عن المزرعة
- local farms = Workspace:FindFirstChild("Farm")
- for _, v in farms:GetDescendants() do
- if v.Name == "Owner" and v.Value == localPlayer.Name then
- local plot = v.Parent.Parent
- plant_physical = plot:FindFirstChild("Plants_Physical")
- break
- end
- end
- if not plant_physical then
- return localPlayer:Kick("❌ لم يتم العثور على مجلد النباتات (Plants_Physical)!")
- end
- local harvest_delay = 0.1
- local min_weight = 0.1
- local function is_full()
- return #Backpack:GetChildren() > 200
- end
- -- الدالة الرئيسية
- task.spawn(function()
- while HarvestAuraToggle do
- if not is_full() then
- for _, v in plant_physical:GetDescendants() do
- if v:IsA("ProximityPrompt") and v.Parent and v.Parent.Parent:FindFirstChild("Weight") and v.Parent.Parent:FindFirstChild("Variant") then
- local plant = v.Parent.Parent
- local weight = plant.Weight.Value
- local distance = (plant:GetPivot().Position - Character:GetPivot().Position).Magnitude
- if weight >= tonumber(min_weight) and distance < v.MaxActivationDistance * 2 then
- fireproximityprompt(v)
- task.wait(harvest_delay)
- end
- end
- end
- end
- task.wait()
- end
- end)
- end
- end
- })
- local AutoPlantToggle = false
- local autoPlantConnection
- local AutoPlant = AutoFarms:Toggle({
- Title = "زراعة تلقائى",
- Desc = "يزرع لك في المكان الي انت واقف فيه",
- Icon = "",
- Type = "Toggle",
- Default = false,
- Callback = function(state)
- AutoPlantToggle = state
- if AutoPlantToggle then
- if not game:IsLoaded() then
- game.Loaded:Wait()
- end
- local Players = game:GetService("Players")
- local ReplicatedStorage = game:GetService("ReplicatedStorage")
- local localPlayer = Players.LocalPlayer
- local backpack = localPlayer:WaitForChild("Backpack")
- local item_types = {
- Seed = "n"
- }
- local inventory_enums = {
- ITEM_TYPE = "b"
- }
- local plant_seed_method = "Player Position"
- local selected_position_plant = nil
- local plant_delay = 0.25
- function get_tool()
- return localPlayer.Character and localPlayer.Character:FindFirstChildOfClass("Tool")
- end
- autoPlantConnection = task.spawn(function()
- while AutoPlantToggle do
- for _, tool in ipairs(backpack:GetChildren()) do
- if tool:IsA("Tool") and tool:GetAttribute(inventory_enums.ITEM_TYPE) == item_types.Seed then
- localPlayer.Character.Humanoid:EquipTool(tool)
- task.wait(0.1)
- local equipped = get_tool()
- if equipped and equipped:GetAttribute("Seed") and equipped:GetAttribute("Quantity") then
- for i = 1, equipped:GetAttribute("Quantity") do
- local position
- if plant_seed_method == "Player Position" then
- position = localPlayer.Character:GetPivot().Position
- elseif plant_seed_method == "Selected Position" and selected_position_plant then
- position = selected_position_plant
- else
- warn("No position selected for planting.")
- break
- end
- ReplicatedStorage:WaitForChild("GameEvents"):WaitForChild("Plant_RE"):FireServer(position, equipped:GetAttribute("Seed"))
- task.wait(plant_delay)
- end
- end
- end
- end
- task.wait()
- end
- end)
- else
- -- إيقاف الزرع التلقائي
- AutoPlantToggle = false
- end
- end
- })
- -- Seed Tab
- Seed:Button({
- Title = "فتح متجر البذور",
- Desc = "يفتح لك متجر البذور وين م كنت",
- Locked = false,
- Callback = function()
- local path = workspace.NPCS.Sam.HumanoidRootPart.ProximityPrompt
- fireproximityprompt(path)
- end
- })
- local BuySeedDropDown = Seed:Dropdown({
- Title = "شراء بذور",
- 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"},
- Default = { "Carrot" },
- Callback = function(option)
- local args = {option}
- game:GetService("ReplicatedStorage"):WaitForChild("GameEvents"):WaitForChild("BuySeedStock"):FireServer(unpack(args))
- end
- })
- -- Gear Tab
- local BuyGear = Gear:Dropdown({
- Title = "شراء اداه",
- 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"},
- Default = { "Carrot" },
- Callback = function(tooo)
- local args = {tooo}
- game:GetService("ReplicatedStorage"):WaitForChild("GameEvents"):WaitForChild("BuyGearStock"):FireServer(unpack(args))
- end
- })
- -- Egg Tab
- local BuyEgg = Egg:Dropdown({
- Title = "شراء بيض",
- Values = { "Common Egg", "Common Summer Egg", "Rare Summer Egg", "Mythical Egg", "Paradise Egg", "Bug Egg"},
- Default = { "Carrot" },
- Callback = function(egg)
- local args = {egg}
- game:GetService("ReplicatedStorage"):WaitForChild("GameEvents"):WaitForChild("BuyPetEgg"):FireServer(unpack(args))
- end
- })
- -- Teleport Tab
- Teleport:Button({
- Title = "تنقل لمكان بيع الفواكهة",
- Desc = "ينقلك لمكان بيع الفواكهه",
- Locked = false,
- Callback = function()
- local player = game.Players.LocalPlayer.Character
- player:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(87, 3, 0)
- end
- })
- Teleport:Button({
- Title = "تنقل الى محل البذور",
- Desc = "ينقلك لمكان شراء البذور",
- Locked = false,
- Callback = function()
- local player = game.Players.LocalPlayer.Character
- player:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(87, 3, -27)
- end
- })
- Teleport:Button({
- Title = "تنقل الى محل الادوات",
- Desc = "ينقلك لمكان شراء الادوات",
- Locked = false,
- Callback = function()
- local player = game.Players.LocalPlayer.Character
- player:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(-285, 3, -14)
- end
- })
- Teleport:Button({
- Title = "تنقل الى محل البيض",
- Desc = "ينقلك لمكان شراء بيض حيوانات الليفة",
- Locked = false,
- Callback = function()
- local player = game.Players.LocalPlayer.Character
- player:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(-288, 3, -1)
- end
- })
- Teleport:Button({
- Title = "تنقل الى الحدث",
- Desc = "ينقلك لمكان الحدث",
- Locked = false,
- Callback = function()
- local player = game.Players.LocalPlayer.Character
- player:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(-94, 4, -10)
- end
- })
- -- Player Tab
- local PlayerSpeed = Player:Slider({
- Title = "السرعة",
- Step = 1,
- Value = {
- Min = 16,
- Max = 200,
- Default = 16,
- },
- Callback = function(value)
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = value
- end
- })
- local PlayerJump = Player:Slider({
- Title = "النط",
- Step = 1,
- Value = {
- Min = 50,
- Max = 200,
- Default = 50,
- },
- Callback = function(value)
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = value
- end
- })
- -- ZenEvent Tab
- ZenEvent:Button({
- Title = "اعطاء كل الفواكهة للحدث",
- Desc = "لازم الفاكهة تكون بامبو او فيها تطويره الحدث الجديده",
- Locked = false,
- Callback = function()
- local args = {"SubmitAllPlants"}
- game:GetService("ReplicatedStorage"):WaitForChild("GameEvents"):WaitForChild("ZenQuestRemoteEvent"):FireServer(unpack(args))
- end
- })
- ZenEvent:Button({
- Title = "اعطاء كل الفاكهة للحدث",
- Desc = "لازم الفاكهة تكون بامبو او فيها تطويره الحدث الجديده",
- Locked = false,
- Callback = function()
- local args = {"SubmitHeldPlant"}
- game:GetService("ReplicatedStorage"):WaitForChild("GameEvents"):WaitForChild("ZenQuestRemoteEvent"):FireServer(unpack(args))
- end
- })
- local BuyEvent = ZenEvent:Dropdown({
- Title = "شراء من متجر الحدث",
- 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"},
- Default = { "Carrot" },
- Callback = function(zen)
- local args = {zen}
- game:GetService("ReplicatedStorage"):WaitForChild("GameEvents"):WaitForChild("BuyEventShopStock"):FireServer(unpack(args))
- end
- })
- ZenEvent:Button({
- Title = "اعطاء الفاكهة لمتجر الحدث",
- Desc = "لازم الفاكهة تكون بامبو او فيها تطويره الحدث الجديده",
- Locked = false,
- Callback = function()
- local args = {"SubmitHeldPlant"}
- game:GetService("ReplicatedStorage"):WaitForChild("GameEvents"):WaitForChild("ZenAuraRemoteEvent"):FireServer(unpack(args))
- end
- })
- ZenEvent:Button({
- Title = "اعطاء كل الفاكهة لمتجر الحدث",
- Desc = "لازم الفاكهة تكون بامبو او فيها تطويره الحدث الجديده",
- Locked = false,
- Callback = function()
- local args = {"SubmitAllPlants"}
- game:GetService("ReplicatedStorage"):WaitForChild("GameEvents"):WaitForChild("ZenAuraRemoteEvent"):FireServer(unpack(args))
- end
- })
Advertisement
Add Comment
Please, Sign In to add comment