Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions 111
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
local function testSeed(name)
local remotes = game:GetService("ReplicatedStorage"):FindFirstChild("Remotes") or game:GetService("ReplicatedStorage")
local buy = remotes:FindFirstChild("BuySeed") or remotes:FindFirstChild("PurchaseSeed") or remotes:FindFirstChild("BuyItem")

if buy then
print("กำลังทดสอบเมล็ด: " .. name)
buy:FireServer(name)
task.wait(0.5)
else
warn("ไม่พบ Remote ซื้อเมล็ด")
end
end

-- ทดสอบหลายชื่อ
testSeed("Carrot")
testSeed("Strawberry")
testSeed("Blueberry")
testSeed("Tomato")
testSeed("Mango")
testSeed("Mushroom")
testSeed("DragonFruit")
testSeed("Sunflower")
testSeed("Cherry")
Loading