First, as explained by Fibbles, you shouldn't write
!a = b
because what you do with = is an assignation. You should use != instead, which is equivalent to
! (a == b).
So your code should look like this :
if ( place_meeting(x,y,Obj_Floor) )
if ( other.colour != self.colour )
instance_destroy();
Moreover, if you are in the "step" event, the "other" keyword is not necessarily pointing to your obj_floor. You should put this code in the collision event of the player, and remove the first line. So you should have :
In the Player "collision with obj_floor" event :
if ( other.colour != self.colour )
instance_destroy();
Plus, I recommend putting a semicolon at the end of your line, even if gml allows the contrary.