Messi33536086

Untitled

Aug 17th, 2025 (edited)
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.11 KB | None | 0 0
  1. wait(1)
  2. local Players = game:GetService("Players")
  3. local TweenService = game:GetService("TweenService")
  4. local Lighting = game:GetService("Lighting")
  5. local player = Players.LocalPlayer
  6.  
  7. local blur = Instance.new("BlurEffect", Lighting)
  8. blur.Size = 0
  9. TweenService:Create(blur, TweenInfo.new(0.5), {Size = 24}):Play()
  10.  
  11. local screenGui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui"))
  12. screenGui.Name = "StrikeXIntro"
  13. screenGui.ResetOnSpawn = false
  14. screenGui.IgnoreGuiInset = true
  15.  
  16. local frame = Instance.new("Frame", screenGui)
  17. frame.Size = UDim2.new(1, 0, 1, 0)
  18. frame.BackgroundTransparency = 1
  19.  
  20. local bg = Instance.new("Frame", frame)
  21. bg.Size = UDim2.new(1, 0, 1, 0)
  22. bg.BackgroundColor3 = Color3.fromRGB(20, 0, 0)
  23. bg.BackgroundTransparency = 1
  24. bg.ZIndex = 0
  25. TweenService:Create(bg, TweenInfo.new(0.5), {BackgroundTransparency = 0.3}):Play()
  26.  
  27. -- 🔥 اللوجو المتحرك
  28. local logo = Instance.new("ImageLabel", frame)
  29. logo.Image = "rbxassetid://132532204774331"
  30. logo.Size = UDim2.new(0, 150, 0, 150)
  31. logo.Position = UDim2.new(0.5, 0, 0.3, 0)
  32. logo.AnchorPoint = Vector2.new(0.5, 0.5)
  33. logo.BackgroundTransparency = 1
  34. logo.ImageTransparency = 1
  35. logo.Rotation = 0
  36.  
  37. TweenService:Create(logo, TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {
  38. ImageTransparency = 0,
  39. Size = UDim2.new(0, 200, 0, 200),
  40. Rotation = 15
  41. }):Play()
  42.  
  43. task.delay(0.5, function()
  44. TweenService:Create(logo, TweenInfo.new(0.5, Enum.EasingStyle.Back, Enum.EasingDirection.Out), {
  45. Size = UDim2.new(0, 150, 0, 150),
  46. Rotation = 0
  47. }):Play()
  48. end)
  49.  
  50. -- الكلمة STRIKE X
  51. local word = "Strike X"
  52. local letters = {}
  53.  
  54. local function tweenOutAndDestroy()
  55. for _, label in ipairs(letters) do
  56. TweenService:Create(label, TweenInfo.new(0.3), {TextTransparency = 1, TextSize = 20}):Play()
  57. end
  58. TweenService:Create(bg, TweenInfo.new(0.5), {BackgroundTransparency = 1}):Play()
  59. TweenService:Create(blur, TweenInfo.new(0.5), {Size = 0}):Play()
  60. TweenService:Create(logo, TweenInfo.new(0.5), {ImageTransparency = 1}):Play()
  61. wait(0.6)
  62. screenGui:Destroy()
  63. blur:Destroy()
  64. end
  65.  
  66. task.wait(1) -- ندي وقت للوجو قبل ما النص يدخل
  67.  
  68. for i = 1, #word do
  69. local char = word:sub(i, i)
  70.  
  71. local label = Instance.new("TextLabel")
  72. label.Text = char
  73. label.Font = Enum.Font.GothamBlack
  74. label.TextColor3 = Color3.new(1, 1, 1)
  75. label.TextStrokeTransparency = 1
  76. label.TextTransparency = 1
  77. label.TextScaled = false
  78. label.TextSize = 30
  79. label.Size = UDim2.new(0, 60, 0, 60)
  80. label.AnchorPoint = Vector2.new(0.5, 0.5)
  81. label.Position = UDim2.new(0.5, (i - (#word / 2 + 0.5)) * 65, 0.6, 0)
  82. label.BackgroundTransparency = 1
  83. label.Parent = frame
  84.  
  85. local gradient = Instance.new("UIGradient")
  86. gradient.Color = ColorSequence.new({
  87. ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 100, 100)), -- أحمر فاتح
  88. ColorSequenceKeypoint.new(1, Color3.fromRGB(180, 0, 0)) -- أحمر غامق
  89. })
  90. gradient.Rotation = 90
  91. gradient.Parent = label
  92.  
  93. local tweenIn = TweenService:Create(label, TweenInfo.new(0.3), {TextTransparency = 0, TextSize = 60})
  94. tweenIn:Play()
  95.  
  96. table.insert(letters, label)
  97. wait(0.25)
  98. end
  99.  
  100. wait(2.5)
  101. tweenOutAndDestroy()
  102. wait(1)
  103.  
  104. local WindUI = loadstring(game:HttpGet("https://github.com/Footagesus/WindUI/releases/latest/download/main.lua"))()
  105.  
  106. -- Create the window with the new theme
  107. local Window = WindUI:CreateWindow({
  108. Title = "Strike X",
  109. Icon = "star",
  110. Author = "Strike Author",
  111. Folder = "StrikeScriptsFolder",
  112. Size = UDim2.fromScale(0.95, 0.85),
  113. Transparent = false,
  114. Theme = "Dark", -- Explicitly set the theme
  115. Resizable = true,
  116. SideBarWidth = 200,
  117. Background = "video:https://github.com/f6hub-Dev/Strikevideothemeblack/raw/main/Ken%20Kaneki%20Black%20White%204K%20Live%20Wallpaper%20%5BTubeRipper.cc%5D.webm",
  118. BackgroundImageTransparency = 0,
  119. HideSearchBar = false,
  120. ScrollBarEnabled = true,
  121. User = {
  122. Enabled = false,
  123. Anonymous = false,
  124. Callback = function()
  125. print("clicked")
  126. end,
  127. },
  128. })
  129.  
  130. local player = game.Players.LocalPlayer
  131.  
  132.  
  133. pcall(function()
  134. if game.CoreGui:FindFirstChild("StrikeXMenuGUI") then
  135. game.CoreGui:FindFirstChild("StrikeXMenuGUI"):Destroy()
  136. end
  137. end)
  138.  
  139. local gui = Instance.new("ScreenGui")
  140. gui.Name = "StrikeXMenuGUI"
  141. gui.IgnoreGuiInset = true
  142. gui.ResetOnSpawn = false
  143. gui.Parent = game.CoreGui
  144.  
  145. local button = Instance.new("ImageButton")
  146. button.Size = UDim2.new(0, 60, 0, 60)
  147. button.Position = UDim2.new(0, 70, 0, 70)
  148. button.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  149. button.Image = "rbxassetid://77596720579122"
  150. button.Name = "StrikeXToggle"
  151. button.AutoButtonColor = true
  152. button.Parent = gui
  153.  
  154. local corner = Instance.new("UICorner", button)
  155. corner.CornerRadius = UDim.new(0, 12)
  156.  
  157. local stroke = Instance.new("UIStroke")
  158. stroke.Thickness = 2
  159. stroke.Color = Color3.fromRGB(255, 0, 0)
  160. stroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
  161. stroke.Parent = button
  162.  
  163. local gradient = Instance.new("UIGradient")
  164. gradient.Color = ColorSequence.new{
  165. ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 100, 100)),
  166. ColorSequenceKeypoint.new(1, Color3.fromRGB(150, 0, 0))
  167. }
  168. gradient.Rotation = 45
  169. gradient.Parent = stroke
  170.  
  171.  
  172. local dragging, dragInput, dragStart, startPos
  173.  
  174. button.InputBegan:Connect(function(input)
  175. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  176. dragging = true
  177. dragStart = input.Position
  178. startPos = button.Position
  179.  
  180. input.Changed:Connect(function()
  181. if input.UserInputState == Enum.UserInputState.End then
  182. dragging = false
  183. end
  184. end)
  185. end
  186. end)
  187.  
  188. button.InputChanged:Connect(function(input)
  189. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  190. dragInput = input
  191. end
  192. end)
  193.  
  194. game:GetService("UserInputService").InputChanged:Connect(function(input)
  195. if input == dragInput and dragging then
  196. local delta = input.Position - dragStart
  197. button.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  198. end
  199. end)
  200.  
  201.  
  202. local opened = false
  203.  
  204. button.MouseButton1Click:Connect(function()
  205. if opened == false then
  206. opened = true
  207. pcall(function() Window:Close() end)
  208. else
  209. opened = false
  210. pcall(function() Window:Open() end)
  211. end
  212. end)
  213.  
  214.  
  215. Window:OnDestroy(function()
  216. gui:Destroy()
  217. end)
  218.  
  219.  
  220. Window:EditOpenButton({
  221. Title = "OPEN STRIKE X SCRIPTS",
  222. Icon = "maximize-2",
  223. Color = ColorSequence.new({
  224. ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 0, 0)),
  225. ColorSequenceKeypoint.new(0.1, Color3.fromRGB(255, 30, 30)),
  226. ColorSequenceKeypoint.new(0.2, Color3.fromRGB(255, 100, 0)),
  227. ColorSequenceKeypoint.new(0.3, Color3.fromRGB(255, 180, 0)),
  228. ColorSequenceKeypoint.new(0.4, Color3.fromRGB(0, 255, 50)),
  229. ColorSequenceKeypoint.new(0.5, Color3.fromRGB(0, 255, 255)),
  230. ColorSequenceKeypoint.new(0.6, Color3.fromRGB(0, 160, 255)),
  231. ColorSequenceKeypoint.new(0.7, Color3.fromRGB(0, 95, 255)),
  232. ColorSequenceKeypoint.new(0.8, Color3.fromRGB(255, 0, 255)),
  233. ColorSequenceKeypoint.new(0.9, Color3.fromRGB(255, 50, 255)),
  234. ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 0, 180))
  235. })
  236. })
  237.  
  238. -- Add tabs
  239. local AutoFarms = Window:Tab({
  240. Title = "Auto",
  241. Icon = "house",
  242. Locked = false,
  243. })
  244.  
  245. local Seed = Window:Tab({
  246. Title = "Seeds",
  247. Icon = "apple",
  248. Locked = false,
  249. })
  250.  
  251. local Gear = Window:Tab({
  252. Title = "Gears",
  253. Icon = "hammer",
  254. Locked = false,
  255. })
  256.  
  257. local CookEvent = Window:Tab({
  258. Title = "Cook Event",
  259. Icon = "brick-wall-fire",
  260. Locked = false,
  261. })
  262.  
  263. local Egg = Window:Tab({
  264. Title = "Pets",
  265. Icon = "dog",
  266. Locked = false,
  267. })
  268.  
  269. local Teleport = Window:Tab({
  270. Title = "Teleports",
  271. Icon = "map-pin-house",
  272. Locked = false,
  273. })
  274.  
  275. local Player = Window:Tab({
  276. Title = "Player",
  277. Icon = "person-standing",
  278. Locked = false,
  279. })
  280.  
  281. local Misc = Window:Tab({
  282. Title = "Misc",
  283. Icon = "box",
  284. Locked = false,
  285. })
  286.  
  287. -- AutoFarms Tab
  288. AutoFarms:Button({
  289. Title = "Sell Inventory",
  290. Desc = "",
  291. Locked = false,
  292. Callback = function()
  293. local event = game:GetService("ReplicatedStorage").GameEvents.Sell_Inventory
  294. local player = game.Players.LocalPlayer.Character
  295. player:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(87, 3, 0)
  296. wait(0.3)
  297. event:FireServer()
  298. end
  299. })
  300.  
  301. local AutoSell = false
  302. local AutoSellFruit = AutoFarms:Toggle({
  303. Title = "Auto Sell Inventory",
  304. Desc = "",
  305. Icon = "",
  306. Type = "Toggle",
  307. Default = false,
  308. Callback = function(state)
  309. AutoSell = state
  310. if AutoSell then
  311. while AutoSell do
  312. wait(3)
  313. local event = game:GetService("ReplicatedStorage").GameEvents.Sell_Inventory
  314. local player = game.Players.LocalPlayer.Character
  315. player:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(87, 3, 0)
  316. wait(0.3)
  317. event:FireServer()
  318. end
  319. end
  320. end
  321. })
  322. local HarvestAuraToggle = false
  323.  
  324. local HarvestAura = AutoFarms:Toggle({
  325. Title = "Harvest Aura",
  326. Desc = "",
  327. Icon = "",
  328. Type = "Toggle",
  329. Default = false,
  330. Callback = function(state)
  331. HarvestAuraToggle = state
  332.  
  333. if HarvestAuraToggle then
  334. if not game:IsLoaded() then
  335. game.Loaded:Wait()
  336. end
  337.  
  338. -- الخدمات
  339. local Players = game:GetService("Players")
  340. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  341. local Workspace = game:GetService("Workspace")
  342.  
  343. local localPlayer = Players.LocalPlayer
  344. local Backpack = localPlayer:WaitForChild("Backpack")
  345. local Character = localPlayer.Character or localPlayer.CharacterAdded:Wait()
  346. local HumanoidRootPart = Character:WaitForChild("HumanoidRootPart")
  347. local plant_physical = nil
  348.  
  349. -- البحث عن المزرعة
  350. local farms = Workspace:FindFirstChild("Farm")
  351. for _, v in farms:GetDescendants() do
  352. if v.Name == "Owner" and v.Value == localPlayer.Name then
  353. local plot = v.Parent.Parent
  354. plant_physical = plot:FindFirstChild("Plants_Physical")
  355. break
  356. end
  357. end
  358.  
  359. if not plant_physical then
  360. return localPlayer:Kick("❌ لم يتم العثور على مجلد النباتات (Plants_Physical)!")
  361. end
  362.  
  363. local harvest_delay = 0.1
  364. local min_weight = 0.1
  365.  
  366. local function is_full()
  367. return #Backpack:GetChildren() > 200
  368. end
  369.  
  370. -- الدالة الرئيسية
  371. task.spawn(function()
  372. while HarvestAuraToggle do
  373. if not is_full() then
  374. for _, v in plant_physical:GetDescendants() do
  375. if v:IsA("ProximityPrompt") and v.Parent and v.Parent.Parent:FindFirstChild("Weight") and v.Parent.Parent:FindFirstChild("Variant") then
  376. local plant = v.Parent.Parent
  377. local weight = plant.Weight.Value
  378. local distance = (plant:GetPivot().Position - Character:GetPivot().Position).Magnitude
  379.  
  380. if weight >= tonumber(min_weight) and distance < v.MaxActivationDistance * 2 then
  381. fireproximityprompt(v)
  382. task.wait(harvest_delay)
  383. end
  384. end
  385. end
  386. end
  387. task.wait()
  388. end
  389. end)
  390. end
  391. end
  392. })
  393.  
  394. local AutoPlantToggle = false
  395. local autoPlantConnection
  396.  
  397. local AutoPlant = AutoFarms:Toggle({
  398. Title = "Auto Plant",
  399. Desc = "",
  400. Icon = "",
  401. Type = "Toggle",
  402. Default = false,
  403. Callback = function(state)
  404. AutoPlantToggle = state
  405.  
  406. if AutoPlantToggle then
  407. if not game:IsLoaded() then
  408. game.Loaded:Wait()
  409. end
  410.  
  411. local Players = game:GetService("Players")
  412. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  413.  
  414. local localPlayer = Players.LocalPlayer
  415. local backpack = localPlayer:WaitForChild("Backpack")
  416.  
  417. local item_types = {
  418. Seed = "n"
  419. }
  420.  
  421. local inventory_enums = {
  422. ITEM_TYPE = "b"
  423. }
  424.  
  425. local plant_seed_method = "Player Position"
  426. local selected_position_plant = nil
  427. local plant_delay = 0.25
  428.  
  429. function get_tool()
  430. return localPlayer.Character and localPlayer.Character:FindFirstChildOfClass("Tool")
  431. end
  432.  
  433. autoPlantConnection = task.spawn(function()
  434. while AutoPlantToggle do
  435. for _, tool in ipairs(backpack:GetChildren()) do
  436. if tool:IsA("Tool") and tool:GetAttribute(inventory_enums.ITEM_TYPE) == item_types.Seed then
  437. localPlayer.Character.Humanoid:EquipTool(tool)
  438. task.wait(0.1)
  439.  
  440. local equipped = get_tool()
  441. if equipped and equipped:GetAttribute("Seed") and equipped:GetAttribute("Quantity") then
  442. for i = 1, equipped:GetAttribute("Quantity") do
  443. local position
  444.  
  445. if plant_seed_method == "Player Position" then
  446. position = localPlayer.Character:GetPivot().Position
  447. elseif plant_seed_method == "Selected Position" and selected_position_plant then
  448. position = selected_position_plant
  449. else
  450. warn("No position selected for planting.")
  451. break
  452. end
  453.  
  454. ReplicatedStorage:WaitForChild("GameEvents"):WaitForChild("Plant_RE"):FireServer(position, equipped:GetAttribute("Seed"))
  455. task.wait(plant_delay)
  456. end
  457. end
  458. end
  459. end
  460. task.wait()
  461. end
  462. end)
  463.  
  464. else
  465. -- إيقاف الزرع التلقائي
  466. AutoPlantToggle = false
  467. end
  468. end
  469. })
  470.  
  471.  
  472. -- Seed Tab
  473. local seed = false
  474. Seed:Button({
  475. Title = "Open/Close Seeds Shop",
  476. Desc = "",
  477. Locked = false,
  478. Callback = function()
  479. if seed == false then
  480. seed = true
  481. game:GetService("Players").LocalPlayer.PlayerGui.Seed_Shop.Enabled = true
  482. else
  483. seed = false
  484. game:GetService("Players").LocalPlayer.PlayerGui.Seed_Shop.Enabled = false
  485. end
  486. end
  487. })
  488. local detectStock = false
  489. local BuySeedDropDown = Seed:Dropdown({
  490. Title = "Buy Seeds",
  491. 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", "Elder Strawberry","Romanesco"},
  492. Default = { "Carrot" },
  493. Callback = function(option)
  494.  
  495.  
  496. local args = {option}
  497. game:GetService("ReplicatedStorage"):WaitForChild("GameEvents"):WaitForChild("BuySeedStock"):FireServer(unpack(args))
  498.  
  499.  
  500. end
  501. })
  502.  
  503.  
  504.  
  505. -- Gear Tab
  506. local BuyGear = Gear:Dropdown({
  507. Title = "Buy Gears",
  508. Values = { "Watering Can", "Trading Ticket", "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", "Grandmaster Sprinkler", "Levelup Lollipop"},
  509. Default = { "Carrot" },
  510. Callback = function(tooo)
  511.  
  512. local args = {tooo}
  513. game:GetService("ReplicatedStorage"):WaitForChild("GameEvents"):WaitForChild("BuyGearStock"):FireServer(unpack(args))
  514.  
  515.  
  516.  
  517. end
  518. })
  519.  
  520.  
  521.  
  522. -- Egg Tab
  523. local BuyEgg = Egg:Dropdown({
  524. Title = "Buy Eggs",
  525. Values = { "Common Egg", "Common Summer Egg", "Rare Summer Egg", "Mythical Egg", "Paradise Egg", "Bug Egg"},
  526. Default = { "Carrot" },
  527. Callback = function(egg)
  528.  
  529. local args = {egg}
  530. game:GetService("ReplicatedStorage"):WaitForChild("GameEvents"):WaitForChild("BuyPetEgg"):FireServer(unpack(args))
  531.  
  532. end
  533. })
  534.  
  535.  
  536.  
  537.  
  538. -- Teleport Tab
  539. Teleport:Button({
  540. Title = "Tp to Seller",
  541. Desc = "",
  542. Locked = false,
  543. Callback = function()
  544. local player = game.Players.LocalPlayer.Character
  545. player:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(87, 3, 0)
  546. end
  547. })
  548.  
  549. Teleport:Button({
  550. Title = "Tp to Seeds Shop",
  551. Desc = "",
  552. Locked = false,
  553. Callback = function()
  554. local player = game.Players.LocalPlayer.Character
  555. player:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(87, 3, -27)
  556. end
  557. })
  558.  
  559. Teleport:Button({
  560. Title = "Tp to Gears Shop",
  561. Desc = "",
  562. Locked = false,
  563. Callback = function()
  564. local player = game.Players.LocalPlayer.Character
  565. player:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(-285, 3, -14)
  566. end
  567. })
  568.  
  569. Teleport:Button({
  570. Title = "Tp To Eggs Shop",
  571. Desc = "",
  572. Locked = false,
  573. Callback = function()
  574. local player = game.Players.LocalPlayer.Character
  575. player:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(-288, 3, -1)
  576. end
  577. })
  578.  
  579. Teleport:Button({
  580. Title = "Tp To Event",
  581. Desc = "",
  582. Locked = false,
  583. Callback = function()
  584. local player = game.Players.LocalPlayer.Character
  585. player:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(-94, 4, -10)
  586. end
  587. })
  588.  
  589. -- Player Tab
  590. local PlayerSpeed = Player:Slider({
  591. Title = "Speed",
  592. Step = 1,
  593. Value = {
  594. Min = 16,
  595. Max = 200,
  596. Default = 16,
  597. },
  598. Callback = function(value)
  599. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = value
  600. end
  601. })
  602.  
  603. local PlayerJump = Player:Slider({
  604. Title = "Jump",
  605. Step = 1,
  606. Value = {
  607. Min = 50,
  608. Max = 200,
  609. Default = 50,
  610. },
  611. Callback = function(value)
  612. game.Players.LocalPlayer.Character.Humanoid.JumpPower = value
  613. end
  614. })
  615.  
  616. getgenv().autoFeedHeld = false
  617. getgenv().autoFeedAll = false
  618.  
  619. local function FeedHeldPlant()
  620. game:GetService("ReplicatedStorage"):WaitForChild("GameEvents"):WaitForChild("BeanstalkRESubmitHeldPlant"):FireServer()
  621. end
  622.  
  623. local function FeedAllPlants()
  624. game:GetService("ReplicatedStorage"):WaitForChild("GameEvents"):WaitForChild("BeanstalkRESubmitAllPlant"):FireServer()
  625. end
  626.  
  627. local function autoFeedHeldPlant()
  628. repeat
  629. wait(1)
  630. game:GetService("ReplicatedStorage"):WaitForChild("GameEvents"):WaitForChild("BeanstalkRESubmitHeldPlant"):FireServer()
  631. until getgenv().autoFeedHeld == false
  632. end
  633.  
  634. local function autoFeedAllPlants()
  635. repeat
  636. wait(1)
  637. game:GetService("ReplicatedStorage"):WaitForChild("GameEvents"):WaitForChild("BeanstalkRESubmitAllPlant"):FireServer()
  638. until getgenv().autoFeedAll == false
  639. end
  640.  
  641. CookEvent:Button({
  642. Title = "Feed Held Plant To BeanStalk",
  643. Desc = "",
  644. Locked = false,
  645. Callback = function()
  646. FeedHeldPlant()
  647. end
  648. })
  649.  
  650. CookEvent:Button({
  651. Title = "Feed All Plants To Bean Stalk",
  652. Desc = "",
  653. Locked = false,
  654. Callback = function()
  655. FeedAllPlants()
  656. end
  657. })
  658.  
  659. local autoFeedBeanStalkHeld = CookEvent:Toggle({
  660. Title = "Auto Feed Held Plant To BeanStalk",
  661. Desc = "",
  662. Icon = "",
  663. Type = "Toggle",
  664. Default = false,
  665. Callback = function(state)
  666. getgenv().autoFeedHeld = state
  667. if state then
  668. task.spawn(autoFeedHeldPlant)
  669. end
  670. end
  671. })
  672.  
  673. local autoFeedAllSeeds = CookEvent:Toggle({
  674. Title = "Auto Feed All Plants To BeanStalk",
  675. Desc = "",
  676. Icon = "",
  677. Type = "Toggle",
  678. Default = false,
  679. Callback = function(state)
  680. getgenv().autoFeedAll = state
  681. if state then
  682. task.spawn(autoFeedAllPlants)
  683. end
  684. end
  685. })
  686.  
  687.  
  688.  
  689.  
  690. local open = false
  691. Gear:Button({
  692. Title = "Open/close Gears Shop",
  693. Desc = "",
  694. Locked = false,
  695. Callback = function()
  696. if open == false then
  697. open = true
  698. game:GetService("Players").LocalPlayer.PlayerGui.Gear_Shop.Enabled = true
  699. else
  700. open = false
  701. game:GetService("Players").LocalPlayer.PlayerGui.Gear_Shop.Enabled = false
  702. end
  703. end
  704. })
  705.  
  706. local open = false
  707. Egg:Button({
  708. Title = "Open/Close Eggs Shop",
  709. Desc = "",
  710. Locked = false,
  711. Callback = function()
  712. if open == false then
  713. open = true
  714. game:GetService("Players").LocalPlayer.PlayerGui.PetShop_UI.Enabled = true
  715. else
  716. open = false
  717. game:GetService("Players").LocalPlayer.PlayerGui.PetShop_UI.Enabled = false
  718. end
  719. end
  720. })
  721.  
  722. local likedPlayers = {}
  723.  
  724. -- تحديث أسماء اللاعبين تلقائيًا كل 5 ثواني
  725. local Players = game:GetService("Players")
  726.  
  727. local function getPlayerNames()
  728. local names = {}
  729. for _, plr in ipairs(Players:GetPlayers()) do
  730. if plr.Name ~= Players.LocalPlayer.Name then
  731. table.insert(names, plr.Name)
  732. end
  733. end
  734. return names
  735. end
  736.  
  737. local playerNames = getPlayerNames()
  738.  
  739. -- إنشاء الـDropdown
  740. local LikePlayer = Misc:Dropdown({
  741. Title = "Choose Player To Like His Garden",
  742. Values = playerNames,
  743. Default = {playerNames[1] or ""},
  744. Callback = function(selectedName)
  745. if likedPlayers[selectedName] then
  746. WindUI:Notify({
  747. Title = "Already Liked !",
  748. Content = "You Givee Him Like Before" .. selectedName .. " Before",
  749. Icon = "alert-octagon",
  750. Duration = 4
  751. })
  752. return
  753. end
  754.  
  755. local playerToLike = Players:FindFirstChild(selectedName)
  756. if playerToLike then
  757. game:GetService("ReplicatedStorage"):WaitForChild("GameEvents"):WaitForChild("LikeGarden"):InvokeServer(playerToLike)
  758. likedPlayers[selectedName] = true
  759.  
  760. WindUI:Notify({
  761. Title = "Donr",
  762. Content = "👍 You Gived Like To " .. selectedName,
  763. Icon = "heart",
  764. Duration = 4
  765. })
  766. else
  767. WindUI:Notify({
  768. Title = "خطأ!",
  769. Content = "⚠️ اللاعب غير موجود.",
  770. Icon = "alert-triangle",
  771. Duration = 4
  772. })
  773. end
  774. end
  775. })
  776.  
  777. task.spawn(function()
  778. while true do
  779. task.wait(5)
  780. local newNames = getPlayerNames()
  781. LikePlayer:Refresh(newNames)
  782. end
  783. end)
Advertisement
Add Comment
Please, Sign In to add comment