Attempt to concatenate string with instance

Hello,
I am having an error on this line and im not sure why, i think i did it all correct,
Line:

	local message = player.Name.." bought a "..trail.Name.." for "..trail.Price

Error:

	  21:05:20.193  ServerScriptService.Server:164: attempt to concatenate string with Instance  -  Server - Server:164

What’s the value of trail.Price?

1 Like

Is price an IntValue/ValueBase? If so, you forgot to add .Value at the end of it,

trail.Price.Value
2 Likes

oh thank you so much, i must have missed it