Attempt to call a string value

Whenever I try to get the values of both number values, it gives me the attempt to call a string value.

if Player1Value.Value > Player2Value.Value then
		screenText = player2.Name"has been eliminated!"
		wait(.1)
		Remote:FireAllClients(screenText)
		wait(3)
		if player2 and player2:FindFirstChild("Character") then
			player2.Team = lobbyTeam
			player2.Character:MoveTo(lobbyTeleport.Position)
		end
		if player1 and player1:FindFirstChild("Character") then
			player1.Character:MoveTo(lobbyTeleport.Position)
		end

image

should be player2.Name…" has been eliminated!"
also what is the type of value of Value1 and Value2 is it a StringValue or what?

thank you! i don’t know how i missed that :sweat_smile: and no, they’re just numbervalues

Could you show us the rest of your code and the output? Also make sure the values aren’t nil when the script is trying to compare them.

isnt it

player2.Name.." has been eliminated!"

its 2 dots not 3

Yup, in the draft it says 2 dots but in here it’s 3 idk why