I'm trying to print without leaving spaces, for example:
print(player, "has been killed by" ,killer,".") --> John Doe has been killed by Jane Doe .
The fullstop at the end shouldn't be spaced out from the name of the killer so I want to know how to stop spaces. So I want it to be:
--> John Doe has been killed by Jane Doe.
you could add(concatenate) the strings together using two periods (..) for example:
print("Jane".."Doe") --> JaneDoe
A good way to do this is by concatenating (basically adding string values from elsewhere).
print(player, " has been killed by " .. killer .. '.') --John doe has been killed by Jane Doe
Remember to add spaces at the end of the string ("John Doe ") so it does look like this "John doehas been killed byJane Doe"