Title is the Question .
mouse.Button1Down:Connect(function()
local target = mouse.Target
if target ~= nil and target.Name == "MapGrid" then
local clone = examplebuildingt:Clone()
clone:GetBoundingBox().CFrame = target.CFrame + Vector3.new(0,clone:GetBoundingBox().Y / 2 , 0)
clone.Parent = game.Workspace
end
end)

3 comments
didnt work
Did you SET the PrimaryPart first?
Ok it works now