Im making a halloween themed game, where when u click a door candies spawn infront of the door, i made a quick position for it
Candy.Position = door.Position + Vector3.new(math.random(-2,4),0,-3)
But if u rotate the door, the candies dont spawn on the front anymore since the axis changes
So? how do i make it so it spawns in front of the door?
My suggestion: make an invisible part that you can not collide with around where the door is, then spawn the candies from that. That way if you rotate the door it wont change the spawn