Run it
Copy the script and paste it into your executor.
local gemNames = {"Diamond", "Emerald", "Ruby", "Sapphire"} -- add new gem name if game update new(check name by DEX in workplace
local function isGem(part)
for _, gemName in ipairs(gemNames) do
if part.Name == gemName then
return true
end
end
return false
end
local function moveGemToPlayer(gem, player)
if player and player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
local playerPosition = player.Character.HumanoidRootPart.Position
gem.Position = playerPosition
end
end
while true do
for _, gem in (.Workspace:())
(gem)
_, player (.Players:())
player.Character player.Character:()
playerPosition = player.Character.HumanoidRootPart.Position
distance = (gem.Position - playerPosition).Magnitude
(gem, player)
()
so em made by chatgpt 4o and improve by me,if you want put it in your hub or other... emm let me think,alr nvm just put so this script can just bring all gem when you buy flappa king but dont upgrade the auto collect, u can use this to collect and it have a little lag if u r laptop,if too lag set the wait() to 2+ work for solara