I would like to get all the children in a folder’s children.
Everything I have tried so far didn’t work… Here’s my script:
local PrPr = workspace.Eggs_On_Map:GetChildren('part_egg').ProximityPrompt
print('Got PRPR...')
--Buying egg and connecting function
PrPr.Triggered:Connect(function(player)
local leaderstats = game:GetService("Players").player:WaitForChild("leaderstats")
local eggsOp = leaderstats.eggsOP
local gold = leaderstats.Gold
print(gold.Value)
print(eggsOp.Value)
end)