if you keep copying and pasting code without learning what it's doing, you're gonna start getting less and less help here. noone's gonna write your game for you. how do i know you're doing this? well, you somehow knew to offset your matrix to get it centered on 0.0,0.0,0.0 but you didn't know the
center of your hut object was automatically placed at 0.0,0.0,0.0 when loaded (or you would have offset that). so, ~1/2 your hut is "underground".
you're new and i'm gonna give you some pointers because of that fact, but there comes a time (soon) when "being new" get's old. this is especially so when you choose to ignore
prior advice.
while i'm typing this, i notice veron offered some help so i'll only add to what veron said by reminding you that you randomized the matrix which means the ground height can be between 0 and 10 (according to your
Randomize Matrix code) and you'll need to apply
most of the ground height (check the
get ground height command) to whatever Y position you use with the
position object placement of the hut. i say "most" because, since the ground will be un-even (due to the randomization of the matrix), the hut will likely be on un-even ground and parts will be slightly above and/or below the matrix. this is why it's good practice to include a sort of "foundation" underneath such objects that will "look right" when partially "buried" (like the foundation of a house built on a hillside, for example).
i'll leave it at that for now. learn about what you've got so far and please take the advice given to you. lots of users here are like veron and myself and like to help newer users along but if you ignore the advice and push on
your way, we're gonna start feeling taken advantage of.