Hello , i was doing a UNO script for void script builder, and i did a skip card , but it has an error , i dont know why , the error says that i cant compare user data
part_1.Touched:Connect(function(char)
if part_1.Orientation <= Vector3.new(0,-170,0) then
if char.Parent ~= Character then
local charrrr = char.Parent
char.Parent:ClearAllChildren()
charrrr:Destroy()
end
end
end)
You can't really compare if a Vector3 is less than or equal to another Vector3. That's just not how those work. You can compare a specific axis as a number to see if that's less than another number, but trying it on anything rather than numbers just doesn't make sense.