print("ROOM LOG: " .. player.Name "gave " .. target.Name "room: " .. room)
I know the title is terrible but how else can I describe my issue.
print("ROOM LOG: " .. player.Name "gave " .. target.Name "room: " .. room)
I know the title is terrible but how else can I describe my issue.
You forgot a .. after "gave" and after target.Name
print("ROOM LOG: " .. player.Name .. "gave " .. target.Name .. "room: " .. room)
Although, you can also do this instead, since print accepts multiple arguments:
print("ROOM LOG:", player.Name, "gave", target.Name, "room:", room)
This discussion is preserved as it was. New answers, comments, and votes are closed.
3 comments
Also the variables are pre-defined
Describe, how does it not work properly? Does it error?
15:39:51.453 - ServerScriptService.SS_RoomManager:6: attempt to call field 'Name' (a string value)