Ui not importing properly

I want to simply import this Ui in as an RBXM file.

It works for 1 second then goes really weird.

I have tried restarting studio and it worked when I use a normal game but when I try the game I need the ui in, it goes really weird.