local value = workspace:FindFirstChild("Value")
if value then
-- runs if the value exists
end
I think you also mentioned checking if the value of namecar is the same as carname
local nameCar = plr.OwnCar:FindFirstChild("NameCar")
if nameCar and nameCar.Value == finder.CarName.Value then
-- name car exists and is equal to the value of carname
end
This didn’t work for me sadly.
I want to check if I already got a value named after the car the player has if not then I want to create a new value then