I’ve been trying to make a farming game, im trying to figure out how to reposition the cloned model to the plot position so i tried using :MoveTo() but for some reason its way off
anyone has any idea how to fix this?
for _, plot in ipairs(workspace.plots:GetChildren()) do
local Clickdetect = CD:Clone()
Clickdetect.Parent = plot
plot.ClickDetector.MouseClick:Connect(function(player)
print("plot clicked")
if player.Character:FindFirstChild("wheat") then
local wheatC = wheat:Clone()
wheatC.Parent = plot
wheatC:MoveTo(plot.Position)
end
end)
end