Messi33536086

Untitled

Jul 27th, 2025
18
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.94 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 = "rbxassetid://114215709259365",
  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. Window:EditOpenButton({
  220. Title = "OPEN STRIKE X SCRIPTS",
  221. Icon = "star",
  222. CornerRadius = UDim.new(0, 16),
  223. StrokeThickness = 1,
  224. Color = ColorSequence.new(
  225. Color3.fromHex("FF6666"),
  226. Color3.fromHex("8B0000")
  227. ),
  228. OnlyMobile = false,
  229. Enabled = true,
  230. Draggable = true,
  231. })
  232.  
  233. -- Add tabs
  234. local AutoFarms = Window:Tab({
  235. Title = "اشياء اوتوماتيك",
  236. Icon = "house",
  237. Locked = false,
  238. })
  239.  
  240. local Seed = Window:Tab({
  241. Title = "بذور",
  242. Icon = "apple",
  243. Locked = false,
  244. })
  245.  
  246. local Gear = Window:Tab({
  247. Title = "ادوات الزراعة",
  248. Icon = "hammer",
  249. Locked = false,
  250. })
  251.  
  252. local ZenEvent = Window:Tab({
  253. Title = "الحدث",
  254. Icon = "brick-wall-fire",
  255. Locked = false,
  256. })
  257.  
  258. local Egg = Window:Tab({
  259. Title = "حيوانات الليفة",
  260. Icon = "dog",
  261. Locked = false,
  262. })
  263.  
  264. local Teleport = Window:Tab({
  265. Title = "تنقل",
  266. Icon = "map-pin-house",
  267. Locked = false,
  268. })
  269.  
  270. local Player = Window:Tab({
  271. Title = "الاعب",
  272. Icon = "person-standing",
  273. Locked = false,
  274. })
  275.  
  276. local Misc = Window:Tab({
  277. Title = "اخرى",
  278. Icon = "box",
  279. Locked = false,
  280. })
  281.  
  282. -- AutoFarms Tab
  283. AutoFarms:Button({
  284. Title = "بيع كل الحقيبة",
  285. Desc = "",
  286. Locked = false,
  287. Callback = function()
  288. local event = game:GetService("ReplicatedStorage").GameEvents.Sell_Inventory
  289. local player = game.Players.LocalPlayer.Character
  290. player:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(87, 3, 0)
  291. wait(0.3)
  292. event:FireServer()
  293. end
  294. })
  295.  
  296. local AutoSell = false
  297. local AutoSellFruit = AutoFarms:Toggle({
  298. Title = "بيع كل الحقيبة تلقائي",
  299. Desc = "يبيع لك كل الحقيبة كل شوية",
  300. Icon = "",
  301. Type = "Toggle",
  302. Default = false,
  303. Callback = function(state)
  304. AutoSell = state
  305. if AutoSell then
  306. while AutoSell do
  307. wait(3)
  308. local event = game:GetService("ReplicatedStorage").GameEvents.Sell_Inventory
  309. local player = game.Players.LocalPlayer.Character
  310. player:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(87, 3, 0)
  311. wait(0.3)
  312. event:FireServer()
  313. end
  314. end
  315. end
  316. })
  317. local HarvestAuraToggle = false
  318.  
  319. local HarvestAura = AutoFarms:Toggle({
  320. Title = "جمع كل المحاصيل القريبة منك",
  321. Desc = "",
  322. Icon = "",
  323. Type = "Toggle",
  324. Default = false,
  325. Callback = function(state)
  326. HarvestAuraToggle = state
  327.  
  328. if HarvestAuraToggle then
  329. if not game:IsLoaded() then
  330. game.Loaded:Wait()
  331. end
  332.  
  333. -- الخدمات
  334. local Players = game:GetService("Players")
  335. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  336. local Workspace = game:GetService("Workspace")
  337.  
  338. local localPlayer = Players.LocalPlayer
  339. local Backpack = localPlayer:WaitForChild("Backpack")
  340. local Character = localPlayer.Character or localPlayer.CharacterAdded:Wait()
  341. local HumanoidRootPart = Character:WaitForChild("HumanoidRootPart")
  342. local plant_physical = nil
  343.  
  344. -- البحث عن المزرعة
  345. local farms = Workspace:FindFirstChild("Farm")
  346. for _, v in farms:GetDescendants() do
  347. if v.Name == "Owner" and v.Value == localPlayer.Name then
  348. local plot = v.Parent.Parent
  349. plant_physical = plot:FindFirstChild("Plants_Physical")
  350. break
  351. end
  352. end
  353.  
  354. if not plant_physical then
  355. return localPlayer:Kick("❌ لم يتم العثور على مجلد النباتات (Plants_Physical)!")
  356. end
  357.  
  358. local harvest_delay = 0.1
  359. local min_weight = 0.1
  360.  
  361. local function is_full()
  362. return #Backpack:GetChildren() > 200
  363. end
  364.  
  365. -- الدالة الرئيسية
  366. task.spawn(function()
  367. while HarvestAuraToggle do
  368. if not is_full() then
  369. for _, v in plant_physical:GetDescendants() do
  370. if v:IsA("ProximityPrompt") and v.Parent and v.Parent.Parent:FindFirstChild("Weight") and v.Parent.Parent:FindFirstChild("Variant") then
  371. local plant = v.Parent.Parent
  372. local weight = plant.Weight.Value
  373. local distance = (plant:GetPivot().Position - Character:GetPivot().Position).Magnitude
  374.  
  375. if weight >= tonumber(min_weight) and distance < v.MaxActivationDistance * 2 then
  376. fireproximityprompt(v)
  377. task.wait(harvest_delay)
  378. end
  379. end
  380. end
  381. end
  382. task.wait()
  383. end
  384. end)
  385. end
  386. end
  387. })
  388.  
  389. local AutoPlantToggle = false
  390. local autoPlantConnection
  391.  
  392. local AutoPlant = AutoFarms:Toggle({
  393. Title = "زراعة تلقائى",
  394. Desc = "يزرع لك في المكان الي انت واقف فيه",
  395. Icon = "",
  396. Type = "Toggle",
  397. Default = false,
  398. Callback = function(state)
  399. AutoPlantToggle = state
  400.  
  401. if AutoPlantToggle then
  402. if not game:IsLoaded() then
  403. game.Loaded:Wait()
  404. end
  405.  
  406. local Players = game:GetService("Players")
  407. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  408.  
  409. local localPlayer = Players.LocalPlayer
  410. local backpack = localPlayer:WaitForChild("Backpack")
  411.  
  412. local item_types = {
  413. Seed = "n"
  414. }
  415.  
  416. local inventory_enums = {
  417. ITEM_TYPE = "b"
  418. }
  419.  
  420. local plant_seed_method = "Player Position"
  421. local selected_position_plant = nil
  422. local plant_delay = 0.25
  423.  
  424. function get_tool()
  425. return localPlayer.Character and localPlayer.Character:FindFirstChildOfClass("Tool")
  426. end
  427.  
  428. autoPlantConnection = task.spawn(function()
  429. while AutoPlantToggle do
  430. for _, tool in ipairs(backpack:GetChildren()) do
  431. if tool:IsA("Tool") and tool:GetAttribute(inventory_enums.ITEM_TYPE) == item_types.Seed then
  432. localPlayer.Character.Humanoid:EquipTool(tool)
  433. task.wait(0.1)
  434.  
  435. local equipped = get_tool()
  436. if equipped and equipped:GetAttribute("Seed") and equipped:GetAttribute("Quantity") then
  437. for i = 1, equipped:GetAttribute("Quantity") do
  438. local position
  439.  
  440. if plant_seed_method == "Player Position" then
  441. position = localPlayer.Character:GetPivot().Position
  442. elseif plant_seed_method == "Selected Position" and selected_position_plant then
  443. position = selected_position_plant
  444. else
  445. warn("No position selected for planting.")
  446. break
  447. end
  448.  
  449. ReplicatedStorage:WaitForChild("GameEvents"):WaitForChild("Plant_RE"):FireServer(position, equipped:GetAttribute("Seed"))
  450. task.wait(plant_delay)
  451. end
  452. end
  453. end
  454. end
  455. task.wait()
  456. end
  457. end)
  458.  
  459. else
  460. -- إيقاف الزرع التلقائي
  461. AutoPlantToggle = false
  462. end
  463. end
  464. })
  465.  
  466.  
  467. -- Seed Tab
  468. Seed:Button({
  469. Title = "فتح متجر البذور",
  470. Desc = "",
  471. Locked = false,
  472. Callback = function()
  473. local path = workspace.NPCS.Sam.HumanoidRootPart.ProximityPrompt
  474. fireproximityprompt(path)
  475. end
  476. })
  477.  
  478. local BuySeedDropDown = Seed:Dropdown({
  479. Title = "شراء بذور",
  480. 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"},
  481. Default = { "Carrot" },
  482. Callback = function(option)
  483. local args = {option}
  484. game:GetService("ReplicatedStorage"):WaitForChild("GameEvents"):WaitForChild("BuySeedStock"):FireServer(unpack(args))
  485. end
  486. })
  487.  
  488. -- Gear Tab
  489. local BuyGear = Gear:Dropdown({
  490. Title = "شراء اداه",
  491. 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"},
  492. Default = { "Carrot" },
  493. Callback = function(tooo)
  494. local args = {tooo}
  495. game:GetService("ReplicatedStorage"):WaitForChild("GameEvents"):WaitForChild("BuyGearStock"):FireServer(unpack(args))
  496. end
  497. })
  498.  
  499. -- Egg Tab
  500. local BuyEgg = Egg:Dropdown({
  501. Title = "شراء بيض",
  502. Values = { "Common Egg", "Common Summer Egg", "Rare Summer Egg", "Mythical Egg", "Paradise Egg", "Bug Egg"},
  503. Default = { "Carrot" },
  504. Callback = function(egg)
  505. local args = {egg}
  506. game:GetService("ReplicatedStorage"):WaitForChild("GameEvents"):WaitForChild("BuyPetEgg"):FireServer(unpack(args))
  507. end
  508. })
  509. local EspEggToggle = false
  510.  
  511. local replicatedStorage = game:GetService("ReplicatedStorage")
  512. local collectionService = game:GetService("CollectionService")
  513. local players = game:GetService("Players")
  514. local runService = game:GetService("RunService")
  515.  
  516. local localPlayer = players.LocalPlayer
  517. local currentCamera = workspace.CurrentCamera
  518.  
  519. local hatchFunction = getupvalue(getupvalue(getconnections(replicatedStorage.GameEvents.PetEggService.OnClientEvent)[1].Function, 1), 2)
  520. local eggModels = getupvalue(hatchFunction, 1)
  521. local eggPets = getupvalue(hatchFunction, 2)
  522.  
  523. local espCache = {}
  524. local activeEggs = {}
  525.  
  526. local function getObjectFromId(objectId)
  527. for _, eggModel in pairs(eggModels) do
  528. if eggModel:GetAttribute("OBJECT_UUID") ~= objectId then continue end
  529. return eggModel
  530. end
  531. end
  532.  
  533. local function UpdateEsp(objectId, petName)
  534. local object = getObjectFromId(objectId)
  535. if not object or not espCache[objectId] then return end
  536.  
  537. local eggName = object:GetAttribute("EggName")
  538. espCache[objectId].Text = `{eggName} | {petName}`
  539. end
  540.  
  541. local function AddEsp(object)
  542. if object:GetAttribute("OWNER") ~= localPlayer.Name then return end
  543.  
  544. local eggName = object:GetAttribute("EggName")
  545. local petName = eggPets[object:GetAttribute("OBJECT_UUID")]
  546.  
  547. local objectId = object:GetAttribute("OBJECT_UUID")
  548. if not objectId then return end
  549.  
  550. local label = Drawing.new("Text")
  551. label.Text = `{eggName} | {petName or "?"}`
  552. label.Size = 18
  553. label.Color = Color3.new(1, 1, 1)
  554. label.Outline = true
  555. label.OutlineColor = Color3.new(0, 0, 0)
  556. label.Center = true
  557. label.Visible = false
  558.  
  559. espCache[objectId] = label
  560. activeEggs[objectId] = object
  561. end
  562.  
  563. local function RemoveEsp(object)
  564. if object:GetAttribute("OWNER") ~= localPlayer.Name then return end
  565.  
  566. local objectId = object:GetAttribute("OBJECT_UUID")
  567. if espCache[objectId] then
  568. espCache[objectId]:Remove()
  569. espCache[objectId] = nil
  570. end
  571.  
  572. activeEggs[objectId] = nil
  573. end
  574.  
  575. local function UpdateAllEsp()
  576. if not EspEggToggle then return end
  577.  
  578. for objectId, object in pairs(activeEggs) do
  579. if not object or not object:IsDescendantOf(workspace) then
  580. activeEggs[objectId] = nil
  581. if espCache[objectId] then
  582. espCache[objectId].Visible = false
  583. end
  584. continue
  585. end
  586.  
  587. local label = espCache[objectId]
  588. if label then
  589. local pos, onScreen = currentCamera:WorldToViewportPoint(object:GetPivot().Position)
  590. if onScreen then
  591. label.Position = Vector2.new(pos.X, pos.Y)
  592. label.Visible = true
  593. else
  594. label.Visible = false
  595. end
  596. end
  597. end
  598. end
  599.  
  600. -- ربط البيض الحالي
  601. for _, object in pairs(collectionService:GetTagged("PetEggServer")) do
  602. task.spawn(AddEsp, object)
  603. end
  604.  
  605. collectionService:GetInstanceAddedSignal("PetEggServer"):Connect(AddEsp)
  606. collectionService:GetInstanceRemovedSignal("PetEggServer"):Connect(RemoveEsp)
  607.  
  608. -- تأمين hookfunction ضد string error
  609. local conn = getconnections(replicatedStorage.GameEvents.EggReadyToHatch_RE.OnClientEvent)[1]
  610. if conn and typeof(conn.Function) == "function" then
  611. local old
  612. old = hookfunction(conn.Function, newcclosure(function(objectId, petName)
  613. UpdateEsp(objectId, petName)
  614. return old(objectId, petName)
  615. end))
  616. else
  617. warn("⚠️ لم يتم العثور على دالة hook صالحة لـ EggReadyToHatch_RE.")
  618. end
  619.  
  620. -- تحديث كل فريم
  621. runService.PreRender:Connect(UpdateAllEsp)
  622.  
  623. -- التوجل اللي بيشغل ويطفي الـ ESP
  624. local EspPeg = AutoFarms:Toggle({
  625. Title = "كشف الحيوان الي داخل البيضة",
  626. Desc = "",
  627. Icon = "",
  628. Type = "Toggle",
  629. Default = false,
  630. Callback = function(state)
  631. EspEggToggle = state
  632. if not state then
  633. for _, label in pairs(espCache) do
  634. label.Visible = false
  635. end
  636. end
  637. end
  638. })
  639.  
  640. -- Teleport Tab
  641. Teleport:Button({
  642. Title = "تنقل لمكان بيع الفواكهة",
  643. Desc = "",
  644. Locked = false,
  645. Callback = function()
  646. local player = game.Players.LocalPlayer.Character
  647. player:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(87, 3, 0)
  648. end
  649. })
  650.  
  651. Teleport:Button({
  652. Title = "تنقل الى محل البذور",
  653. Desc = "",
  654. Locked = false,
  655. Callback = function()
  656. local player = game.Players.LocalPlayer.Character
  657. player:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(87, 3, -27)
  658. end
  659. })
  660.  
  661. Teleport:Button({
  662. Title = "تنقل الى محل الادوات",
  663. Desc = "",
  664. Locked = false,
  665. Callback = function()
  666. local player = game.Players.LocalPlayer.Character
  667. player:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(-285, 3, -14)
  668. end
  669. })
  670.  
  671. Teleport:Button({
  672. Title = "تنقل الى محل البيض",
  673. Desc = "",
  674. Locked = false,
  675. Callback = function()
  676. local player = game.Players.LocalPlayer.Character
  677. player:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(-288, 3, -1)
  678. end
  679. })
  680.  
  681. Teleport:Button({
  682. Title = "تنقل الى الحدث",
  683. Desc = "",
  684. Locked = false,
  685. Callback = function()
  686. local player = game.Players.LocalPlayer.Character
  687. player:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(-94, 4, -10)
  688. end
  689. })
  690.  
  691. -- Player Tab
  692. local PlayerSpeed = Player:Slider({
  693. Title = "السرعة",
  694. Step = 1,
  695. Value = {
  696. Min = 16,
  697. Max = 200,
  698. Default = 16,
  699. },
  700. Callback = function(value)
  701. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = value
  702. end
  703. })
  704.  
  705. local PlayerJump = Player:Slider({
  706. Title = "النط",
  707. Step = 1,
  708. Value = {
  709. Min = 50,
  710. Max = 200,
  711. Default = 50,
  712. },
  713. Callback = function(value)
  714. game.Players.LocalPlayer.Character.Humanoid.JumpPower = value
  715. end
  716. })
  717.  
  718. -- ZenEvent Tab
  719. ZenEvent:Button({
  720. Title = "اعطاء كل الفواكهة الى Zen",
  721. Desc = "لازم الفاكهة تكون فيها تطويره Tranquil",
  722. Locked = false,
  723. Callback = function()
  724. local args = {"SubmitAllPlants"}
  725. game:GetService("ReplicatedStorage"):WaitForChild("GameEvents"):WaitForChild("ZenQuestRemoteEvent"):FireServer(unpack(args))
  726. end
  727. })
  728.  
  729. ZenEvent:Button({
  730. Title = "اعطاء الفاكهة الى Zen",
  731. Desc = "لازم الفاكهة تكون فيها تطويره Tranquil",
  732. Locked = false,
  733. Callback = function()
  734. local args = {"SubmitHeldPlant"}
  735. game:GetService("ReplicatedStorage"):WaitForChild("GameEvents"):WaitForChild("ZenQuestRemoteEvent"):FireServer(unpack(args))
  736. end
  737. })
  738.  
  739. local BuyEvent = ZenEvent:Dropdown({
  740. Title = "شراء من متجر الحدث",
  741. 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"},
  742. Default = { "Carrot" },
  743. Callback = function(zen)
  744. local args = {zen}
  745. game:GetService("ReplicatedStorage"):WaitForChild("GameEvents"):WaitForChild("BuyEventShopStock"):FireServer(unpack(args))
  746. end
  747. })
  748.  
  749. ZenEvent:Button({
  750. Title = "اعطاء الفاكهة الى Zen Shop",
  751. Desc = "لازم الفاكهة تكون فيها تطويره Tranquil",
  752. Locked = false,
  753. Callback = function()
  754. local args = {"SubmitHeldPlant"}
  755. game:GetService("ReplicatedStorage"):WaitForChild("GameEvents"):WaitForChild("ZenAuraRemoteEvent"):FireServer(unpack(args))
  756. end
  757. })
  758.  
  759. ZenEvent:Button({
  760. Title = "اعطاء كل الفاكهة الى Zen Shop",
  761. Desc = "لازم الفاكهة تكون فيها تطويره Tranquil",
  762. Locked = false,
  763. Callback = function()
  764. local args = {"SubmitAllPlants"}
  765. game:GetService("ReplicatedStorage"):WaitForChild("GameEvents"):WaitForChild("ZenAuraRemoteEvent"):FireServer(unpack(args))
  766. end
  767. })
  768. local open = false
  769. Gear:Button({
  770. Title = "فتح/قفل متجر الادوات",
  771. Desc = "",
  772. Locked = false,
  773. Callback = function()
  774. if open == false then
  775. open = true
  776. game:GetService("Players").LocalPlayer.PlayerGui.Gear_Shop.Enabled = true
  777. else
  778. open = false
  779. game:GetService("Players").LocalPlayer.PlayerGui.Gear_Shop.Enabled = false
  780. end
  781. end
  782. })
  783.  
  784. local open = false
  785. Egg:Button({
  786. Title = "فتح/قفل متجر البيض",
  787. Desc = "",
  788. Locked = false,
  789. Callback = function()
  790. if open == false then
  791. open = true
  792. game:GetService("Players").LocalPlayer.PlayerGui.PetShop_UI.Enabled = true
  793. else
  794. open = false
  795. game:GetService("Players").LocalPlayer.PlayerGui.PetShop_UI.Enabled = false
  796. end
  797. end
  798. })
  799.  
  800. local likedPlayers = {}
  801.  
  802. -- تحديث أسماء اللاعبين تلقائيًا كل 5 ثواني
  803. local Players = game:GetService("Players")
  804.  
  805. local function getPlayerNames()
  806. local names = {}
  807. for _, plr in ipairs(Players:GetPlayers()) do
  808. if plr.Name ~= Players.LocalPlayer.Name then
  809. table.insert(names, plr.Name)
  810. end
  811. end
  812. return names
  813. end
  814.  
  815. local playerNames = getPlayerNames()
  816.  
  817. -- إنشاء الـDropdown
  818. local LikePlayer = Misc:Dropdown({
  819. Title = "اختار لاعب لتضع لايك لحديقته",
  820. Values = playerNames,
  821. Default = {playerNames[1] or ""},
  822. Callback = function(selectedName)
  823. if likedPlayers[selectedName] then
  824. WindUI:Notify({
  825. Title = "تم من قبل!",
  826. Content = "✅ لقد أعطيت لايك لـ " .. selectedName .. " من قبل.",
  827. Icon = "alert-octagon",
  828. Duration = 4
  829. })
  830. return
  831. end
  832.  
  833. local playerToLike = Players:FindFirstChild(selectedName)
  834. if playerToLike then
  835. game:GetService("ReplicatedStorage"):WaitForChild("GameEvents"):WaitForChild("LikeGarden"):InvokeServer(playerToLike)
  836. likedPlayers[selectedName] = true
  837.  
  838. WindUI:Notify({
  839. Title = "تم!",
  840. Content = "👍 أعطيت لايك لحديقة " .. selectedName,
  841. Icon = "heart",
  842. Duration = 4
  843. })
  844. else
  845. WindUI:Notify({
  846. Title = "خطأ!",
  847. Content = "⚠️ اللاعب غير موجود.",
  848. Icon = "alert-triangle",
  849. Duration = 4
  850. })
  851. end
  852. end
  853. })
  854.  
  855. task.spawn(function()
  856. while true do
  857. task.wait(5)
  858. local newNames = getPlayerNames()
  859. LikePlayer:Refresh(newNames)
  860. end
  861. end)
Advertisement
Add Comment
Please, Sign In to add comment