Messi33536086

Untitled

Jul 27th, 2025
19
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.74 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. local old
  609. old = hookfunction(getconnections(replicatedStorage.GameEvents.EggReadyToHatch_RE.OnClientEvent)[1].Function, newcclosure(function(objectId, petName)
  610. UpdateEsp(objectId, petName)
  611. return old(objectId, petName)
  612. end))
  613.  
  614. -- ربط التحديث بالرندر
  615. runService.PreRender:Connect(UpdateAllEsp)
  616.  
  617. -- التوجل
  618. local EspPeg = AutoFarms:Toggle({
  619. Title = "كشف الحيوان الي داخل البيضة",
  620. Desc = "",
  621. Icon = "",
  622. Type = "Toggle",
  623. Default = false,
  624. Callback = function(state)
  625. EspEggToggle = state
  626. if not state then
  627. -- نخفي كل الليبلات لو اتقفل
  628. for _, label in pairs(espCache) do
  629. label.Visible = false
  630. end
  631. end
  632. end
  633. })
  634.  
  635. -- Teleport Tab
  636. Teleport:Button({
  637. Title = "تنقل لمكان بيع الفواكهة",
  638. Desc = "",
  639. Locked = false,
  640. Callback = function()
  641. local player = game.Players.LocalPlayer.Character
  642. player:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(87, 3, 0)
  643. end
  644. })
  645.  
  646. Teleport:Button({
  647. Title = "تنقل الى محل البذور",
  648. Desc = "",
  649. Locked = false,
  650. Callback = function()
  651. local player = game.Players.LocalPlayer.Character
  652. player:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(87, 3, -27)
  653. end
  654. })
  655.  
  656. Teleport:Button({
  657. Title = "تنقل الى محل الادوات",
  658. Desc = "",
  659. Locked = false,
  660. Callback = function()
  661. local player = game.Players.LocalPlayer.Character
  662. player:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(-285, 3, -14)
  663. end
  664. })
  665.  
  666. Teleport:Button({
  667. Title = "تنقل الى محل البيض",
  668. Desc = "",
  669. Locked = false,
  670. Callback = function()
  671. local player = game.Players.LocalPlayer.Character
  672. player:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(-288, 3, -1)
  673. end
  674. })
  675.  
  676. Teleport:Button({
  677. Title = "تنقل الى الحدث",
  678. Desc = "",
  679. Locked = false,
  680. Callback = function()
  681. local player = game.Players.LocalPlayer.Character
  682. player:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(-94, 4, -10)
  683. end
  684. })
  685.  
  686. -- Player Tab
  687. local PlayerSpeed = Player:Slider({
  688. Title = "السرعة",
  689. Step = 1,
  690. Value = {
  691. Min = 16,
  692. Max = 200,
  693. Default = 16,
  694. },
  695. Callback = function(value)
  696. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = value
  697. end
  698. })
  699.  
  700. local PlayerJump = Player:Slider({
  701. Title = "النط",
  702. Step = 1,
  703. Value = {
  704. Min = 50,
  705. Max = 200,
  706. Default = 50,
  707. },
  708. Callback = function(value)
  709. game.Players.LocalPlayer.Character.Humanoid.JumpPower = value
  710. end
  711. })
  712.  
  713. -- ZenEvent Tab
  714. ZenEvent:Button({
  715. Title = "اعطاء كل الفواكهة الى Zen",
  716. Desc = "لازم الفاكهة تكون فيها تطويره Tranquil",
  717. Locked = false,
  718. Callback = function()
  719. local args = {"SubmitAllPlants"}
  720. game:GetService("ReplicatedStorage"):WaitForChild("GameEvents"):WaitForChild("ZenQuestRemoteEvent"):FireServer(unpack(args))
  721. end
  722. })
  723.  
  724. ZenEvent:Button({
  725. Title = "اعطاء الفاكهة الى Zen",
  726. Desc = "لازم الفاكهة تكون فيها تطويره Tranquil",
  727. Locked = false,
  728. Callback = function()
  729. local args = {"SubmitHeldPlant"}
  730. game:GetService("ReplicatedStorage"):WaitForChild("GameEvents"):WaitForChild("ZenQuestRemoteEvent"):FireServer(unpack(args))
  731. end
  732. })
  733.  
  734. local BuyEvent = ZenEvent:Dropdown({
  735. Title = "شراء من متجر الحدث",
  736. 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"},
  737. Default = { "Carrot" },
  738. Callback = function(zen)
  739. local args = {zen}
  740. game:GetService("ReplicatedStorage"):WaitForChild("GameEvents"):WaitForChild("BuyEventShopStock"):FireServer(unpack(args))
  741. end
  742. })
  743.  
  744. ZenEvent:Button({
  745. Title = "اعطاء الفاكهة الى Zen Shop",
  746. Desc = "لازم الفاكهة تكون فيها تطويره Tranquil",
  747. Locked = false,
  748. Callback = function()
  749. local args = {"SubmitHeldPlant"}
  750. game:GetService("ReplicatedStorage"):WaitForChild("GameEvents"):WaitForChild("ZenAuraRemoteEvent"):FireServer(unpack(args))
  751. end
  752. })
  753.  
  754. ZenEvent:Button({
  755. Title = "اعطاء كل الفاكهة الى Zen Shop",
  756. Desc = "لازم الفاكهة تكون فيها تطويره Tranquil",
  757. Locked = false,
  758. Callback = function()
  759. local args = {"SubmitAllPlants"}
  760. game:GetService("ReplicatedStorage"):WaitForChild("GameEvents"):WaitForChild("ZenAuraRemoteEvent"):FireServer(unpack(args))
  761. end
  762. })
  763. local open = false
  764. Gear:Button({
  765. Title = "فتح/قفل متجر الادوات",
  766. Desc = "",
  767. Locked = false,
  768. Callback = function()
  769. if open == false then
  770. open = true
  771. game:GetService("Players").LocalPlayer.PlayerGui.Gear_Shop.Enabled = true
  772. else
  773. open = false
  774. game:GetService("Players").LocalPlayer.PlayerGui.Gear_Shop.Enabled = false
  775. end
  776. end
  777. })
  778.  
  779. local open = false
  780. Egg:Button({
  781. Title = "فتح/قفل متجر البيض",
  782. Desc = "",
  783. Locked = false,
  784. Callback = function()
  785. if open == false then
  786. open = true
  787. game:GetService("Players").LocalPlayer.PlayerGui.PetShop_UI.Enabled = true
  788. else
  789. open = false
  790. game:GetService("Players").LocalPlayer.PlayerGui.PetShop_UI.Enabled = false
  791. end
  792. end
  793. })
  794.  
  795. local likedPlayers = {}
  796.  
  797. -- تحديث أسماء اللاعبين تلقائيًا كل 5 ثواني
  798. local Players = game:GetService("Players")
  799.  
  800. local function getPlayerNames()
  801. local names = {}
  802. for _, plr in ipairs(Players:GetPlayers()) do
  803. if plr.Name ~= Players.LocalPlayer.Name then
  804. table.insert(names, plr.Name)
  805. end
  806. end
  807. return names
  808. end
  809.  
  810. local playerNames = getPlayerNames()
  811.  
  812. -- إنشاء الـDropdown
  813. local LikePlayer = Misc:Dropdown({
  814. Title = "اختار لاعب لتضع لايك لحديقته",
  815. Values = playerNames,
  816. Default = {playerNames[1] or ""},
  817. Callback = function(selectedName)
  818. if likedPlayers[selectedName] then
  819. WindUI:Notify({
  820. Title = "تم من قبل!",
  821. Content = "✅ لقد أعطيت لايك لـ " .. selectedName .. " من قبل.",
  822. Icon = "alert-octagon",
  823. Duration = 4
  824. })
  825. return
  826. end
  827.  
  828. local playerToLike = Players:FindFirstChild(selectedName)
  829. if playerToLike then
  830. game:GetService("ReplicatedStorage"):WaitForChild("GameEvents"):WaitForChild("LikeGarden"):InvokeServer(playerToLike)
  831. likedPlayers[selectedName] = true
  832.  
  833. WindUI:Notify({
  834. Title = "تم!",
  835. Content = "👍 أعطيت لايك لحديقة " .. selectedName,
  836. Icon = "heart",
  837. Duration = 4
  838. })
  839. else
  840. WindUI:Notify({
  841. Title = "خطأ!",
  842. Content = "⚠️ اللاعب غير موجود.",
  843. Icon = "alert-triangle",
  844. Duration = 4
  845. })
  846. end
  847. end
  848. })
  849.  
  850. task.spawn(function()
  851. while true do
  852. task.wait(5)
  853. local newNames = getPlayerNames()
  854. LikePlayer:Refresh(newNames)
  855. end
  856. end)
Advertisement
Add Comment
Please, Sign In to add comment