Weird whitespaces/spaces at the start of NPC chat bubble

Basically I’m working on an NPC that speaks to players but for some reason it’s just sending a bunch of spaces at the top of of their bubbles. It takes in speech from the closest player and then searches the message for keywords and gives a response. How exactly could I use string formatting or anything to fix this?

Edited to put in the right category

What it looks like:
image

1 Like

I believe this could be a issue with text boxes, also this is the wrong category.

1 Like

I’m not sure, it just gets even buggy when i use \n to hide the whitespaces

1 Like